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

Unified Diff: chrome/browser/ui/content_settings/content_setting_bubble_model.h

Issue 1312053006: Remove CONTENT_SETTINGS_NUM_TYPES (part 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@website-settings-registry-4
Patch Set: Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
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,

Powered by Google App Engine
This is Rietveld 408576698