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

Unified Diff: chrome/browser/ui/views/location_bar/location_bar_view.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/views/location_bar/location_bar_view.h
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.h b/chrome/browser/ui/views/location_bar/location_bar_view.h
index 39d7180ad288e99f11fb5f7dde2b937bb5ad3dc3..110331aa99a3cd483d4ab7746bbcfdd403f6307d 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.h
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.h
@@ -20,7 +20,6 @@
#include "chrome/browser/ui/views/dropdown_bar_host.h"
#include "chrome/browser/ui/views/dropdown_bar_host_delegate.h"
#include "chrome/browser/ui/views/extensions/extension_popup.h"
-#include "chrome/browser/ui/zoom/zoom_controller.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
#include "ui/gfx/font.h"
@@ -184,14 +183,7 @@ class LocationBarView : public LocationBar,
// Returns the delegate.
Delegate* delegate() const { return delegate_; }
- // Sets the tooltip for the zoom icon.
- void SetZoomIconTooltipPercent(int zoom_percent);
-
- // Sets the zoom icon state.
- void SetZoomIconState(ZoomController::ZoomIconState zoom_icon_state);
-
- // Shows the zoom bubble.
- void ShowZoomBubble(int zoom_percent);
+ void ZoomChangedForActiveTab(bool can_show_bubble);
// Sets |preview_enabled| for the PageAction View associated with this
// |page_action|. If |preview_enabled| is true, the view will display the

Powered by Google App Engine
This is Rietveld 408576698