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

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

Issue 10831372: Revert 152080 - 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, 4 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
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_cocoa.h ('k') | chrome/browser/ui/cocoa/browser_window_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/browser_window_cocoa.mm
===================================================================
--- chrome/browser/ui/cocoa/browser_window_cocoa.mm (revision 152086)
+++ chrome/browser/ui/cocoa/browser_window_cocoa.mm (working copy)
@@ -249,10 +249,18 @@
[controller_ setStarredState:is_starred ? YES : NO];
}
-void BrowserWindowCocoa::ZoomChangedForActiveTab(bool can_show_bubble) {
- [controller_ zoomChangedForActiveTab:can_show_bubble ? 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.
+}
+
gfx::Rect BrowserWindowCocoa::GetRestoredBounds() const {
// Flip coordinates based on the primary screen.
NSScreen* screen = [[NSScreen screens] objectAtIndex:0];
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_cocoa.h ('k') | chrome/browser/ui/cocoa/browser_window_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698