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

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

Issue 10874040: Activated send-to-mobile and bookmark in action box for Windows. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Answered review comments. 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 | « no previous file | chrome/browser/ui/views/action_box_menu.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/toolbar/action_box_menu_model.h
diff --git a/chrome/browser/ui/toolbar/action_box_menu_model.h b/chrome/browser/ui/toolbar/action_box_menu_model.h
index 132c9106ffcc79c94cf7f0f7a112824fd9e8e30d..e07f84f415b605edbbe774384d55f0402f0c509d 100644
--- a/chrome/browser/ui/toolbar/action_box_menu_model.h
+++ b/chrome/browser/ui/toolbar/action_box_menu_model.h
@@ -37,13 +37,6 @@ class ActionBoxMenuModel : public ui::SimpleMenuModel,
// or NULL if it is not an extension item.
const extensions::Extension* GetExtensionAt(int index);
- private:
- const extensions::ExtensionList& action_box_menu_items() {
- return extension_service_->toolbar_model()->action_box_menu_items();
- }
-
- typedef std::map<int, std::string> IdToEntensionIdMap;
-
// Overridden from ui::SimpleMenuModel::Delegate:
virtual bool IsCommandIdChecked(int command_id) const OVERRIDE;
virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE;
@@ -52,6 +45,13 @@ class ActionBoxMenuModel : public ui::SimpleMenuModel,
ui::Accelerator* accelerator) OVERRIDE;
virtual void ExecuteCommand(int command_id) OVERRIDE;
+ private:
+ const extensions::ExtensionList& action_box_menu_items() {
+ return extension_service_->toolbar_model()->action_box_menu_items();
+ }
+
+ typedef std::map<int, std::string> IdToEntensionIdMap;
+
// Overridden from content::NotificationObserver:
virtual void Observe(int type,
const content::NotificationSource& source,
« no previous file with comments | « no previous file | chrome/browser/ui/views/action_box_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698