Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / ui / content_settings / content_setting_bubble_model_delegate.h
blob2cf17d0f789d2e3a606490e92ae8626744e2fe1b
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_CONTENT_SETTINGS_CONTENT_SETTING_BUBBLE_MODEL_DELEGATE_H_
6 #define CHROME_BROWSER_UI_CONTENT_SETTINGS_CONTENT_SETTING_BUBBLE_MODEL_DELEGATE_H_
8 #include "chrome/common/content_settings_types.h"
10 namespace content {
11 class WebContents;
14 // Delegate which is used by ContentSettingBubbleModel class.
15 class ContentSettingBubbleModelDelegate {
16 public:
17 // Shows the cookies collected in the web contents.
18 virtual void ShowCollectedCookiesDialog(
19 content::WebContents* web_contents) = 0;
21 // Shows the Content Settings page for a given content type.
22 virtual void ShowContentSettingsPage(ContentSettingsType type) = 0;
24 protected:
25 virtual ~ContentSettingBubbleModelDelegate() {}
28 #endif // CHROME_BROWSER_UI_CONTENT_SETTINGS_CONTENT_SETTING_BUBBLE_MODEL_DELEGATE_H_