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

Unified Diff: chrome/browser/ui/webui/options/website_settings_handler.h

Issue 542253003: Add a global on/off switch for content settings and expose a toggle on the Website Settings options… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@global-settings
Patch Set: Rebase. Created 6 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/webui/options/website_settings_handler.h
diff --git a/chrome/browser/ui/webui/options/website_settings_handler.h b/chrome/browser/ui/webui/options/website_settings_handler.h
index 7c213c57527e7ec429516e3f582002d26edb69c5..44a15588433bec812d273df0df7d0b6d30ead02c 100644
--- a/chrome/browser/ui/webui/options/website_settings_handler.h
+++ b/chrome/browser/ui/webui/options/website_settings_handler.h
@@ -81,9 +81,12 @@ class WebsiteSettingsHandler : public content_settings::Observer,
// Populates the default setting drop down on the single site edit page.
void HandleUpdateDefaultSetting(const base::ListValue* args);
- // Sets the default setting for the lat used content setting to |args|.
+ // Sets the default setting for the last used content setting to |args|.
void HandleSetDefaultSetting(const base::ListValue* args);
+ // Sets if a certain content setting enabled to |args|.
+ void HandleSetGlobalToggle(const base::ListValue* args);
+
// Closes all tabs and app windows which have the same origin as the selected
// page.
void HandleStopOrigin(const base::ListValue* args);
« no previous file with comments | « chrome/browser/ui/website_settings/website_settings.cc ('k') | chrome/browser/ui/webui/options/website_settings_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698