Index: chrome/browser/ui/webui/options/browser_options_handler.h |
diff --git a/chrome/browser/ui/webui/options/browser_options_handler.h b/chrome/browser/ui/webui/options/browser_options_handler.h |
index b8872997781f2e0816fca42581ce0f12a28c22d4..3c90819867c8a5e818f1b7d51385080f8531a73e 100644 |
--- a/chrome/browser/ui/webui/options/browser_options_handler.h |
+++ b/chrome/browser/ui/webui/options/browser_options_handler.h |
@@ -257,6 +257,11 @@ class BrowserOptionsHandler |
// one item, the zoom factor as a numeric value. |
void HandleDefaultZoomFactor(const base::ListValue* args); |
+ // Callback for the "defaultZoomScopeAction" message. This is called if the |
+ // user toggles the default zoom scope checkbox. |
+ // |args| will contain the checkbox checked state as a boolean. |
+ void HandleDefaultZoomScope(const base::ListValue* args); |
+ |
// Callback for the "Use SSL 3.0" checkbox. This is called if the user toggles |
// the "Use SSL 3.0" checkbox. |
void HandleUseSSL3Checkbox(const base::ListValue* args); |
@@ -357,6 +362,9 @@ class BrowserOptionsHandler |
// Setup the page zoom selector control. |
void SetupPageZoomSelector(); |
+ // Setup the default zoom scope checkbox. |
+ void SetupZoomScopeCheckbox(); |
+ |
// Setup the visibility of the reset button. |
void SetupAutoOpenFileTypes(); |
@@ -430,6 +438,8 @@ class BrowserOptionsHandler |
std::unique_ptr<ChromeZoomLevelPrefs::DefaultZoomLevelSubscription> |
default_zoom_level_subscription_; |
+ std::unique_ptr<ChromeZoomLevelPrefs::DefaultZoomScopeSubscription> |
+ default_zoom_scope_subscription_; |
PrefChangeRegistrar profile_pref_registrar_; |
#if defined(OS_CHROMEOS) |