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

Unified Diff: chrome/browser/gtk/options/content_filter_page_gtk.cc

Issue 2815042: Add notifications content settings type. (Closed)
Patch Set: '' Created 10 years, 6 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/gtk/options/content_filter_page_gtk.cc
diff --git a/chrome/browser/gtk/options/content_filter_page_gtk.cc b/chrome/browser/gtk/options/content_filter_page_gtk.cc
index 29b2a52ea3f6329fb6754b37159c2f849a31ac0a..522a9a1df09b2258d1c9fcacc8cfe297d561c141 100644
--- a/chrome/browser/gtk/options/content_filter_page_gtk.cc
+++ b/chrome/browser/gtk/options/content_filter_page_gtk.cc
@@ -33,6 +33,7 @@ ContentFilterPageGtk::ContentFilterPageGtk(Profile* profile,
IDS_PLUGIN_SETTING_LABEL,
IDS_POPUP_SETTING_LABEL,
IDS_GEOLOCATION_SETTING_LABEL,
+ IDS_NOTIFICATIONS_SETTING_LABEL,
};
COMPILE_ASSERT(arraysize(kTitleIDs) == CONTENT_SETTINGS_NUM_TYPES,
kTitleIDs_IncorrectSize);
@@ -59,6 +60,7 @@ GtkWidget* ContentFilterPageGtk::InitGroup() {
IDS_PLUGIN_LOAD_RADIO,
IDS_POPUP_ALLOW_RADIO,
IDS_GEOLOCATION_ALLOW_RADIO,
+ IDS_NOTIFICATIONS_ALLOW_RADIO,
};
COMPILE_ASSERT(arraysize(kAllowIDs) == CONTENT_SETTINGS_NUM_TYPES,
kAllowIDs_IncorrectSize);
@@ -73,6 +75,7 @@ GtkWidget* ContentFilterPageGtk::InitGroup() {
0,
0,
IDS_GEOLOCATION_ASK_RADIO,
+ IDS_NOTIFICATIONS_ASK_RADIO,
};
COMPILE_ASSERT(arraysize(kAskIDs) == CONTENT_SETTINGS_NUM_TYPES,
kAskIDs_IncorrectSize);
@@ -90,6 +93,7 @@ GtkWidget* ContentFilterPageGtk::InitGroup() {
IDS_PLUGIN_NOLOAD_RADIO,
IDS_POPUP_BLOCK_RADIO,
IDS_GEOLOCATION_BLOCK_RADIO,
+ IDS_NOTIFICATIONS_BLOCK_RADIO,
};
COMPILE_ASSERT(arraysize(kBlockIDs) == CONTENT_SETTINGS_NUM_TYPES,
kBlockIDs_IncorrectSize);
« no previous file with comments | « chrome/browser/content_setting_image_model.cc ('k') | chrome/browser/gtk/options/content_settings_window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698