Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(293)

Side by Side Diff: chrome/browser/ui/content_settings/content_setting_bubble_model_delegate.h

Issue 410993002: Componentize content_settings_types.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed empty DEPS Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_CONTENT_SETTINGS_CONTENT_SETTING_BUBBLE_MODEL_DELEGATE _H_ 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_ 6 #define CHROME_BROWSER_UI_CONTENT_SETTINGS_CONTENT_SETTING_BUBBLE_MODEL_DELEGATE _H_
7 7
8 #include "chrome/common/content_settings_types.h" 8 #include "components/content_settings/core/common/content_settings_types.h"
9 9
10 namespace content { 10 namespace content {
11 class WebContents; 11 class WebContents;
12 } 12 }
13 13
14 // Delegate which is used by ContentSettingBubbleModel class. 14 // Delegate which is used by ContentSettingBubbleModel class.
15 class ContentSettingBubbleModelDelegate { 15 class ContentSettingBubbleModelDelegate {
16 public: 16 public:
17 // Shows the cookies collected in the web contents. 17 // Shows the cookies collected in the web contents.
18 virtual void ShowCollectedCookiesDialog( 18 virtual void ShowCollectedCookiesDialog(
19 content::WebContents* web_contents) = 0; 19 content::WebContents* web_contents) = 0;
20 20
21 // Shows the Content Settings page for a given content type. 21 // Shows the Content Settings page for a given content type.
22 virtual void ShowContentSettingsPage(ContentSettingsType type) = 0; 22 virtual void ShowContentSettingsPage(ContentSettingsType type) = 0;
23 23
24 // Shows the Learn More page for a given content type. 24 // Shows the Learn More page for a given content type.
25 virtual void ShowLearnMorePage(ContentSettingsType type) = 0; 25 virtual void ShowLearnMorePage(ContentSettingsType type) = 0;
26 26
27 protected: 27 protected:
28 virtual ~ContentSettingBubbleModelDelegate() {} 28 virtual ~ContentSettingBubbleModelDelegate() {}
29 }; 29 };
30 30
31 #endif // CHROME_BROWSER_UI_CONTENT_SETTINGS_CONTENT_SETTING_BUBBLE_MODEL_DELEG ATE_H_ 31 #endif // CHROME_BROWSER_UI_CONTENT_SETTINGS_CONTENT_SETTING_BUBBLE_MODEL_DELEG ATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698