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

Unified Diff: chrome/browser/ui/toolbar/wrench_menu_model.h

Issue 274973002: Add Help wrench submenu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 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
« no previous file with comments | « chrome/browser/ui/browser_command_controller.cc ('k') | chrome/browser/ui/toolbar/wrench_menu_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/toolbar/wrench_menu_model.h
diff --git a/chrome/browser/ui/toolbar/wrench_menu_model.h b/chrome/browser/ui/toolbar/wrench_menu_model.h
index 5dabbb520c556d3be3ca6332a23317ba3eac174a..fbade9a0f51de84c1f87912019ec853c02209a3d 100644
--- a/chrome/browser/ui/toolbar/wrench_menu_model.h
+++ b/chrome/browser/ui/toolbar/wrench_menu_model.h
@@ -138,8 +138,10 @@ class WrenchMenuModel : public ui::SimpleMenuModel,
void UpdateZoomControls();
private:
+ class HelpMenuModel;
// Testing constructor used for mocking.
friend class ::MockWrenchMenuModel;
+
WrenchMenuModel();
void Build(bool is_new_menu);
@@ -168,6 +170,11 @@ class WrenchMenuModel : public ui::SimpleMenuModel,
// Label of the zoom label in the zoom menu item.
base::string16 zoom_label_;
+#if defined(GOOGLE_CHROME_BUILD)
+ // Help menu.
+ scoped_ptr<HelpMenuModel> help_menu_model_;
+#endif
+
// Tools menu.
scoped_ptr<ToolsMenuModel> tools_menu_model_;
« no previous file with comments | « chrome/browser/ui/browser_command_controller.cc ('k') | chrome/browser/ui/toolbar/wrench_menu_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698