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

Unified Diff: chrome/browser/views/options/content_filter_page_view.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/views/options/content_filter_page_view.cc
diff --git a/chrome/browser/views/options/content_filter_page_view.cc b/chrome/browser/views/options/content_filter_page_view.cc
index 986392e7f23e45f3e84dcab58dace3528fd1389c..45720e31621f9b01459eecbea6a4e38285a2e129 100644
--- a/chrome/browser/views/options/content_filter_page_view.cc
+++ b/chrome/browser/views/options/content_filter_page_view.cc
@@ -52,6 +52,7 @@ void ContentFilterPageView::InitControlLayout() {
IDS_PLUGIN_SETTING_LABEL,
IDS_POPUP_SETTING_LABEL,
IDS_GEOLOCATION_SETTING_LABEL,
+ IDS_NOTIFICATIONS_SETTING_LABEL,
};
COMPILE_ASSERT(arraysize(kTitleIDs) == CONTENT_SETTINGS_NUM_TYPES,
Need_a_setting_for_every_content_settings_type);
@@ -71,6 +72,7 @@ void ContentFilterPageView::InitControlLayout() {
IDS_PLUGIN_LOAD_RADIO,
IDS_POPUP_ALLOW_RADIO,
IDS_GEOLOCATION_ALLOW_RADIO,
+ IDS_NOTIFICATIONS_ALLOW_RADIO,
};
COMPILE_ASSERT(arraysize(kAllowIDs) == CONTENT_SETTINGS_NUM_TYPES,
Need_a_setting_for_every_content_settings_type);
@@ -90,6 +92,7 @@ void ContentFilterPageView::InitControlLayout() {
0,
0,
IDS_GEOLOCATION_ASK_RADIO,
+ IDS_NOTIFICATIONS_ASK_RADIO,
};
COMPILE_ASSERT(arraysize(kAskIDs) == CONTENT_SETTINGS_NUM_TYPES,
Need_a_setting_for_every_content_settings_type);
@@ -112,6 +115,7 @@ void ContentFilterPageView::InitControlLayout() {
IDS_PLUGIN_NOLOAD_RADIO,
IDS_POPUP_BLOCK_RADIO,
IDS_GEOLOCATION_BLOCK_RADIO,
+ IDS_NOTIFICATIONS_BLOCK_RADIO,
};
COMPILE_ASSERT(arraysize(kBlockIDs) == CONTENT_SETTINGS_NUM_TYPES,
Need_a_setting_for_every_content_settings_type);
« no previous file with comments | « chrome/browser/tab_contents/tab_contents.cc ('k') | chrome/browser/views/options/content_settings_window_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698