OLD | NEW |
| (Empty) |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_UI_APP_LIST_ARC_ARC_PLAYSTORE_APP_CONTEXT_MENU_H_ | |
6 #define CHROME_BROWSER_UI_APP_LIST_ARC_ARC_PLAYSTORE_APP_CONTEXT_MENU_H_ | |
7 | |
8 #include "chrome/browser/ui/app_list/app_context_menu.h" | |
9 | |
10 class AppListControllerDelegate; | |
11 class Profile; | |
12 | |
13 namespace app_list { | |
14 class AppContextMenuDelegate; | |
15 } | |
16 | |
17 class ArcPlayStoreAppContextMenu : public app_list::AppContextMenu { | |
18 public: | |
19 ArcPlayStoreAppContextMenu(app_list::AppContextMenuDelegate* delegate, | |
20 Profile* profile, | |
21 AppListControllerDelegate* controller); | |
22 ~ArcPlayStoreAppContextMenu() override; | |
23 | |
24 // AppListContextMenu overrides: | |
25 void BuildMenu(ui::SimpleMenuModel* menu_model) override; | |
26 | |
27 // ui::SimpleMenuModel::Delegate overrides: | |
28 void ExecuteCommand(int command_id, int event_flags) override; | |
29 bool IsCommandIdEnabled(int command_id) const override; | |
30 | |
31 private: | |
32 DISALLOW_COPY_AND_ASSIGN(ArcPlayStoreAppContextMenu); | |
33 }; | |
34 | |
35 #endif // CHROME_BROWSER_UI_APP_LIST_ARC_ARC_PLAYSTORE_APP_CONTEXT_MENU_H_ | |
OLD | NEW |