| 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..8ccc39764a6dacb0892324828da92150503d8d81 100644
|
| --- a/ui/app_list/app_list_menu.h
|
| +++ b/ui/app_list/app_list_menu.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef UI_APP_LIST_APP_LIST_MENU_H_
|
| #define UI_APP_LIST_APP_LIST_MENU_H_
|
|
|
| +#include "ui/app_list/app_list_model.h"
|
| #include "ui/base/models/simple_menu_model.h"
|
|
|
| namespace app_list {
|
| @@ -21,9 +22,14 @@ class AppListMenu : public ui::SimpleMenuModel::Delegate {
|
| SHOW_SETTINGS,
|
| SHOW_HELP,
|
| SHOW_FEEDBACK,
|
| + // |SELECT_PROFILE| must remain the last enum because values greater than
|
| + // |SELECT_PROFILE| are used to indicate a profile index.
|
| + SELECT_PROFILE,
|
| };
|
|
|
| - explicit AppListMenu(AppListViewDelegate* delegate);
|
| + AppListMenu(
|
| + AppListViewDelegate* delegate,
|
| + const AppListModel::Users& users);
|
| virtual ~AppListMenu();
|
|
|
| ui::SimpleMenuModel* menu_model() { return &menu_model_; }
|
| @@ -40,6 +46,7 @@ class AppListMenu : public ui::SimpleMenuModel::Delegate {
|
|
|
| ui::SimpleMenuModel menu_model_;
|
| AppListViewDelegate* delegate_;
|
| + AppListModel::Users users_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(AppListMenu);
|
| };
|
|
|