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

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

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/browser_window.h
diff --git a/chrome/browser/ui/browser_window.h b/chrome/browser/ui/browser_window.h
index b4b14025f24a382fc9d610e5aaba1d92bd072320..e2adc279fcd276fa1ba17cf4184a765e45025bbd 100644
--- a/chrome/browser/ui/browser_window.h
+++ b/chrome/browser/ui/browser_window.h
@@ -12,7 +12,6 @@
#include "chrome/browser/ui/bookmarks/bookmark_bar.h"
#include "chrome/browser/ui/fullscreen/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"
@@ -124,14 +123,8 @@ 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;
+ // Called when the zoom in the active tab is changed.
Evan Stade 2012/07/13 05:31:00 docs for can_show_bubble.
Dan Beam 2012/07/24 03:00:49 Done.
+ virtual void ZoomChangedForActiveTab(bool can_show_bubble) = 0;
// Accessors for fullscreen mode state.
virtual void EnterFullscreen(const GURL& url,

Powered by Google App Engine
This is Rietveld 408576698