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

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

Issue 7331017: Multi-Profiles: Add icon chooser to profiles menu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Multi-Profiles: Add icon chooser to profiles menu 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/app/generated_resources.grd ('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 91956)
+++ chrome/browser/ui/profile_menu_model.h (working copy)
@@ -10,14 +10,23 @@
class Browser;
-// ProfileMenuModel
-//
-// Menu for the multi-profile button displayed on the browser frame when the
-// user is in a multi-profile-enabled account. Stub for now. TODO(mirandac):
-// enable and fill in as part of multi-profile work.
+// Menu for the multi-profile button displayed on the browser frame.
class ProfileMenuModel : public ui::SimpleMenuModel,
public ui::SimpleMenuModel::Delegate {
public:
+ enum {
+ COMMAND_PROFILE_NAME,
+ COMMAND_CHOOSE_AVATAR_ICON,
+ COMMAND_CUSTOMIZE_PROFILE,
+ COMMAND_DELETE_PROFILE,
+ COMMAND_CREATE_NEW_PROFILE,
+ COMMAND_SWITCH_PROFILE_MENU,
+ // The profiles submenu contains a menu item for each profile. For the i'th
+ // profile the command ID is COMMAND_SWITCH_TO_PROFILE + i. Since there can
+ // be any number of profiles this must be the last command id.
+ COMMAND_SWITCH_TO_PROFILE,
+ };
+
explicit ProfileMenuModel(Browser* browser);
virtual ~ProfileMenuModel();
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/profile_menu_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698