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

Unified Diff: chrome/browser/ui/profile_menu_model.h

Issue 7327003: Multi-Profiles: Add customize profile menu item (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Multi-Profiles: Add customize profile menu item Created 9 years, 5 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/profile_menu_button.cc ('k') | chrome/browser/ui/profile_menu_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/profile_menu_model.h
===================================================================
--- chrome/browser/ui/profile_menu_model.h (revision 91777)
+++ chrome/browser/ui/profile_menu_model.h (working copy)
@@ -8,7 +8,7 @@
#include "ui/base/models/simple_menu_model.h"
-class Profile;
+class Browser;
// ProfileMenuModel
//
@@ -18,7 +18,7 @@
class ProfileMenuModel : public ui::SimpleMenuModel,
public ui::SimpleMenuModel::Delegate {
public:
- explicit ProfileMenuModel(Profile* profile);
+ explicit ProfileMenuModel(Browser* browser);
virtual ~ProfileMenuModel();
// ui::SimpleMenuModel::Delegate implementation
@@ -30,11 +30,12 @@
private:
enum {
+ COMMAND_CUSTOMIZE_PROFILE,
COMMAND_CREATE_NEW_PROFILE,
COMMAND_DELETE_PROFILE,
};
- Profile* profile_;
+ Browser* browser_;
DISALLOW_COPY_AND_ASSIGN(ProfileMenuModel);
};
« no previous file with comments | « chrome/browser/ui/gtk/profile_menu_button.cc ('k') | chrome/browser/ui/profile_menu_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698