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

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

Issue 13983002: Remove print and move bookmark to the top of the action box. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Added TearDown Created 7 years, 8 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/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 4aed1ccb6908987f6658c9efb138e9c92482bb59..02c21a8e747b6e2ce257a14f8382e57a85034f17 100644
--- a/chrome/browser/ui/toolbar/action_box_menu_model.h
+++ b/chrome/browser/ui/toolbar/action_box_menu_model.h
@@ -11,7 +11,7 @@
#include "content/public/browser/notification_observer.h"
#include "ui/base/models/simple_menu_model.h"
-class Browser;
+class Profile;
// A menu model that builds the contents of the action box menu. Effectively,
// a ui::SimpleMenuModel with methods specifically for dealing with extension
@@ -21,7 +21,7 @@ class Browser;
// the browser at creation time.
class ActionBoxMenuModel : public ui::SimpleMenuModel {
public:
- ActionBoxMenuModel(Browser* browser, ui::SimpleMenuModel::Delegate* delegate);
+ ActionBoxMenuModel(Profile* profile, ui::SimpleMenuModel::Delegate* delegate);
virtual ~ActionBoxMenuModel();
// Adds an extension to the model with a given command ID.
@@ -43,7 +43,7 @@ class ActionBoxMenuModel : public ui::SimpleMenuModel {
// total items in the model if there are no extensions installed.
int GetFirstExtensionIndex();
- Browser* browser_;
+ Profile* profile_;
// The list of extensions added to the menu, in order, if any.
extensions::ExtensionIdList extension_ids_;
« no previous file with comments | « chrome/browser/ui/toolbar/action_box_button_controller.cc ('k') | chrome/browser/ui/toolbar/action_box_menu_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698