Chromium Code Reviews| Index: chrome/browser/ui/content_settings/content_setting_bubble_model.h |
| diff --git a/chrome/browser/ui/content_settings/content_setting_bubble_model.h b/chrome/browser/ui/content_settings/content_setting_bubble_model.h |
| index b6b9f7b19520efe47a9d66d3b5452667ae5f6ccf..8c0aba58a6e7df9c1ca30f32e2f1a05cc1df17ca 100644 |
| --- a/chrome/browser/ui/content_settings/content_setting_bubble_model.h |
| +++ b/chrome/browser/ui/content_settings/content_setting_bubble_model.h |
| @@ -97,6 +97,12 @@ class ContentSettingBubbleModel : public content::NotificationObserver { |
| DISALLOW_COPY_AND_ASSIGN(BubbleContent); |
| }; |
| + // Returns a vector of the Supported bubble types. |
| + static const std::set<ContentSettingsType>& GetSupportedBubbleTypes(); |
| + |
| + // Returns true if the given ContentSettingsType has a bubble. |
| + static bool HasBubble(ContentSettingsType type); |
|
tapted
2015/09/03 06:36:38
HasBubbleForType?
(HasBubble sounds too much like
raymes
2015/09/07 04:29:27
I removed this and changed the callers to just che
|
| + |
| static ContentSettingBubbleModel* CreateContentSettingBubbleModel( |
| Delegate* delegate, |
| content::WebContents* web_contents, |