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

Unified Diff: chrome/browser/ui/gtk/location_bar_view_gtk.h

Issue 10831372: Revert 152080 - 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, 4 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/gtk/browser_window_gtk.cc ('k') | chrome/browser/ui/gtk/location_bar_view_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/location_bar_view_gtk.h
===================================================================
--- chrome/browser/ui/gtk/location_bar_view_gtk.h (revision 152086)
+++ chrome/browser/ui/gtk/location_bar_view_gtk.h (working copy)
@@ -24,6 +24,7 @@
#include "chrome/browser/ui/omnibox/location_bar.h"
#include "chrome/browser/ui/omnibox/omnibox_edit_controller.h"
#include "chrome/browser/ui/view_ids.h"
+#include "chrome/browser/ui/zoom/zoom_controller.h"
#include "chrome/common/content_settings_types.h"
#include "chrome/common/extensions/extension_action.h"
#include "content/public/browser/notification_observer.h"
@@ -100,18 +101,20 @@
// restore saved state that the tab holds.
void Update(const content::WebContents* tab_for_state_restoring);
+ // Show the zoom bubble.
+ void ShowZoomBubble(int zoom_percent);
+
// Show the bookmark bubble.
void ShowStarBubble(const GURL& url, bool newly_boomkarked);
// Shows the Chrome To Mobile bubble.
void ShowChromeToMobileBubble();
- // Shows the bookmark bubble.
- void ShowZoomBubble();
+ // Sets the tooltip for the zoom icon.
+ void SetZoomIconTooltipPercent(int zoom_percent);
- // Happens when the zoom changes for the active tab. |can_show_bubble| will be
- // true if it was a user action and a bubble could be shown.
- void ZoomChangedForActiveTab(bool can_show_bubble);
+ // Sets the zoom icon state.
+ void SetZoomIconState(ZoomController::ZoomIconState zoom_icon_state);
// Set the starred state of the bookmark star.
void SetStarred(bool starred);
« no previous file with comments | « chrome/browser/ui/gtk/browser_window_gtk.cc ('k') | chrome/browser/ui/gtk/location_bar_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698