Index: chrome/browser/ui/browser_command_controller.h |
diff --git a/chrome/browser/ui/browser_command_controller.h b/chrome/browser/ui/browser_command_controller.h |
index bfba09e1daa495da9aff52ce2a8d7f1f2bcfd499..26e21beb96dc2b2edc74acee2e1eb6cb6032dd68 100644 |
--- a/chrome/browser/ui/browser_command_controller.h |
+++ b/chrome/browser/ui/browser_command_controller.h |
@@ -56,6 +56,7 @@ class BrowserCommandController : public CommandUpdaterDelegate, |
// Notifies the controller that state has changed in one of the following |
// areas and it should update command states. |
void TabStateChanged(); |
+ void ZoomStateChanged(); |
void ContentRestrictionsChanged(); |
void FullscreenStateChanged(); |
void PrintingStateChanged(); |
@@ -113,6 +114,9 @@ class BrowserCommandController : public CommandUpdaterDelegate, |
// Update commands whose state depends on the tab's state. |
void UpdateCommandsForTabState(); |
+ // Update commands for Zoom when zoom state changes |
+ void UpdateCommandsForZoomState(); |
+ |
// Updates commands when the content's restrictions change. |
void UpdateCommandsForContentRestrictionState(); |