Index: chrome/browser/ui/profile_menu_model.h |
diff --git a/chrome/browser/ui/profile_menu_model.h b/chrome/browser/ui/profile_menu_model.h |
index 369430453e5d2663a74542e1ccadc9923367c88c..376a68c58551288acd407fb2761b5ae99c6f41fc 100644 |
--- a/chrome/browser/ui/profile_menu_model.h |
+++ b/chrome/browser/ui/profile_menu_model.h |
@@ -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(); |