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

Unified Diff: chrome/browser/ui/browser_window.h

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: Rebased Created 8 years, 6 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/browser.cc ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_window.h
diff --git a/chrome/browser/ui/browser_window.h b/chrome/browser/ui/browser_window.h
index 7532fedb71a2b3624848c9c820ab88d1163dcc2e..4186e9c3f4e0718360d5f97b593bbcb25ce9001b 100644
--- a/chrome/browser/ui/browser_window.h
+++ b/chrome/browser/ui/browser_window.h
@@ -12,6 +12,7 @@
#include "chrome/browser/ui/bookmarks/bookmark_bar.h"
#include "chrome/browser/ui/fullscreen_exit_bubble_type.h"
#include "chrome/browser/ui/sync/one_click_signin_sync_starter.h"
+#include "chrome/browser/ui/zoom/zoom_controller.h"
#include "chrome/common/content_settings_types.h"
#include "ui/gfx/native_widget_types.h"
#include "webkit/glue/window_open_disposition.h"
@@ -130,6 +131,15 @@ class BrowserWindow : public BaseWindow {
// Sets the starred state for the current tab.
virtual void SetStarredState(bool is_starred) = 0;
+ // Sets the zoom icon state for the current tab.
+ virtual void SetZoomIconState(ZoomController::ZoomIconState state) = 0;
+
+ // Sets the zoom icon tooltip zoom percentage for the current tab.
+ virtual void SetZoomIconTooltipPercent(int zoom_percent) = 0;
+
+ // Show zoom bubble for the current tab.
+ virtual void ShowZoomBubble(int zoom_percent) = 0;
+
// Accessors for fullscreen mode state.
virtual void EnterFullscreen(const GURL& url,
FullscreenExitBubbleType bubble_type) = 0;
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698