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

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

Issue 10444040: Tracks changes to zoom icon and zoom percentage. Notifies browser window if the icon should be chan… (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Changed delegate to observer Created 8 years, 7 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 f0595e50f6c3afafcc85e23b94770649d0872c0b..1470674ccdcf392b61f5da229b91a2bd8dc03078 100644
--- a/chrome/browser/ui/cocoa/browser_window_cocoa.mm
+++ b/chrome/browser/ui/cocoa/browser_window_cocoa.mm
@@ -252,6 +252,19 @@ void BrowserWindowCocoa::SetStarredState(bool is_starred) {
[controller_ setStarredState:is_starred ? YES : NO];
}
+void BrowserWindowCocoa::SetZoomIconState(ZoomController::ZoomIconState,
+ int zoomPercent) {
tfarina 2012/06/01 00:47:53 nit: zoom_percent
Kyle Horimoto 2012/06/01 18:04:50 Oops, that wasn't even supposed to be there at all
+ // TODO(khorimoto): Find someone to implement this.
+}
+
+void BrowserWindowCocoa::SetZoomIconTooltipPercent(int zoom_percent) {
+ // TODO(khorimoto): Find someone to implement this.
+}
+
+void BrowserWindowCocoa::ShowZoomBubble(int zoomPercent) {
tfarina 2012/06/01 00:47:53 nit: zoom_percent
Kyle Horimoto 2012/06/01 18:04:50 Done.
+ // 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];

Powered by Google App Engine
This is Rietveld 408576698