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

Unified Diff: chrome/browser/ui/cocoa/browser_window_cocoa.mm

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: . 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/browser_window_cocoa.mm
diff --git a/chrome/browser/ui/cocoa/browser_window_cocoa.mm b/chrome/browser/ui/cocoa/browser_window_cocoa.mm
index 1592370facceb4f2cf2a6cc120fbca2f0bd252b3..1cf9fbf9e9a0b7f49a8a9ce60d822640c0e26cee 100644
--- a/chrome/browser/ui/cocoa/browser_window_cocoa.mm
+++ b/chrome/browser/ui/cocoa/browser_window_cocoa.mm
@@ -248,16 +248,8 @@ void BrowserWindowCocoa::SetStarredState(bool is_starred) {
[controller_ setStarredState:is_starred ? YES : NO];
}
-void BrowserWindowCocoa::SetZoomIconState(ZoomController::ZoomIconState state) {
- // TODO(khorimoto): Find someone to implement this.
-}
-
-void BrowserWindowCocoa::SetZoomIconTooltipPercent(int zoom_percent) {
- // TODO(khorimoto): Find someone to implement this.
-}
-
-void BrowserWindowCocoa::ShowZoomBubble(int zoom_percent) {
- // TODO(khorimoto): Find someone to implement this.
+void BrowserWindowCocoa::ZoomChangedForActiveTab(bool can_show_bubble) {
+ [controller_ locationBarBridge]->ZoomChangedForActiveTab(can_show_bubble);
}
gfx::Rect BrowserWindowCocoa::GetRestoredBounds() const {

Powered by Google App Engine
This is Rietveld 408576698