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

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: 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/browser_window.h
diff --git a/chrome/browser/ui/browser_window.h b/chrome/browser/ui/browser_window.h
index 508249ae1f66626461f7897e58cfe4fbc0d72290..9937411f922bfa83c12fce067bb97475e2150270 100644
--- a/chrome/browser/ui/browser_window.h
+++ b/chrome/browser/ui/browser_window.h
@@ -11,6 +11,7 @@
#include "chrome/browser/ui/base_window.h"
#include "chrome/browser/ui/bookmarks/bookmark_bar.h"
#include "chrome/browser/ui/fullscreen_exit_bubble_type.h"
+#include "chrome/browser/ui/zoom/zoom_tab_helper.h"
#include "chrome/common/content_settings_types.h"
#include "ui/gfx/native_widget_types.h"
#include "webkit/glue/window_open_disposition.h"
@@ -44,7 +45,6 @@ class Rect;
class Size;
}
-
enum DevToolsDockSide {
DEVTOOLS_DOCK_SIDE_BOTTOM = 0,
DEVTOOLS_DOCK_SIDE_RIGHT = 1
@@ -124,6 +124,13 @@ 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(ZoomTabHelper::ZoomIconState state,
+ int zoomPercent) = 0;
Ben Goodger (Google) 2012/05/29 18:04:41 zoom_percent, here and everywhere else.
Kyle Horimoto 2012/05/31 23:13:52 Done.
+
+ // Show zoom bubble for the current tab.
+ virtual void ShowZoomBubble(int zoomPercent) = 0;
+
// Accessors for fullscreen mode state.
virtual void EnterFullscreen(const GURL& url,
FullscreenExitBubbleType bubble_type) = 0;

Powered by Google App Engine
This is Rietveld 408576698