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

Unified Diff: ui/app_list/app_list_menu.h

Issue 20656002: Add profile selector menu to app list. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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
Index: ui/app_list/app_list_menu.h
diff --git a/ui/app_list/app_list_menu.h b/ui/app_list/app_list_menu.h
index ff4be49e4c59f89d9940ae3ea88ed9f412d76cd9..0af6f287fc68a5c11d716f178aad5e9788133c8f 100644
--- a/ui/app_list/app_list_menu.h
+++ b/ui/app_list/app_list_menu.h
@@ -21,6 +21,9 @@ class AppListMenu : public ui::SimpleMenuModel::Delegate {
SHOW_SETTINGS,
SHOW_HELP,
SHOW_FEEDBACK,
+ // |The received command id| - |SELECT_PROFILE| is the profile index
+ // selected.
+ SELECT_PROFILE,
};
explicit AppListMenu(AppListViewDelegate* delegate);
@@ -39,6 +42,7 @@ class AppListMenu : public ui::SimpleMenuModel::Delegate {
virtual void ExecuteCommand(int command_id, int event_flags) OVERRIDE;
ui::SimpleMenuModel menu_model_;
+ ui::SimpleMenuModel profiles_model_;
AppListViewDelegate* delegate_;
DISALLOW_COPY_AND_ASSIGN(AppListMenu);

Powered by Google App Engine
This is Rietveld 408576698