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

Unified Diff: chrome/browser/ui/cocoa/toolbar/toolbar_controller.h

Issue 10736028: Refactor browser window zoom handling and enable zoom icon on all platforms. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mac Created 8 years, 5 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/cocoa/toolbar/toolbar_controller.h
diff --git a/chrome/browser/ui/cocoa/toolbar/toolbar_controller.h b/chrome/browser/ui/cocoa/toolbar/toolbar_controller.h
index 267f307be4a29734d35e33042484b0f4d4a7cf32..77878dfa84f23523f4b115bf4d3b80876cd427c0 100644
--- a/chrome/browser/ui/cocoa/toolbar/toolbar_controller.h
+++ b/chrome/browser/ui/cocoa/toolbar/toolbar_controller.h
@@ -126,6 +126,11 @@ class NotificationBridge;
// Sets whether or not the current page in the frontmost tab is bookmarked.
- (void)setStarredState:(BOOL)isStarred;
+// Happens when the zoom for the active tab changes, the active tab switches, or
+// a new tab or browser window is created. |canShowBubble| indicates if it is
+// appropriate to show a zoom bubble for the change.
+- (void)zoomChangedForActiveTab:(BOOL)canShowBubble;
+
// Called to update the loading state. Handles updating the go/stop
// button state. |force| is set if the update is due to changing
// tabs, as opposed to the page-load finishing. See comment in

Powered by Google App Engine
This is Rietveld 408576698