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

Unified Diff: chrome/browser/wrench_menu_model.h

Issue 3183013: [Mac] Don't close the Wrench menu after using the zoom buttons if the menu was opened sticky. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: nits Created 10 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_thread_helpers_win.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/wrench_menu_model.h
diff --git a/chrome/browser/wrench_menu_model.h b/chrome/browser/wrench_menu_model.h
index 911f333d1a21bc78b5bbf29a19b3f807fbd2b3e0..5b9236241ec6fdf74fe8d4134370edee1615d36f 100644
--- a/chrome/browser/wrench_menu_model.h
+++ b/chrome/browser/wrench_menu_model.h
@@ -106,6 +106,9 @@ class WrenchMenuModel : public menus::SimpleMenuModel,
// Getters.
Browser* browser() const { return browser_; }
+ // Calculates |zoom_label_| in response to a zoom change.
+ void UpdateZoomControls();
+
private:
// Testing constructor used for mocking.
friend class ::MockWrenchMenuModel;
@@ -118,8 +121,7 @@ class WrenchMenuModel : public menus::SimpleMenuModel,
void CreateCutCopyPaste();
void CreateZoomFullscreen();
- // Calculates |zoom_label_| in response to a zoom change.
- void UpdateZoomControls();
+ // Gets the current zoom information from the renderer.
double GetZoom(bool* enable_increment, bool* enable_decrement);
string16 GetSyncMenuLabel() const;
« no previous file with comments | « chrome/browser/ui_thread_helpers_win.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698