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

Side by Side Diff: chrome/browser/ui/app_list/arc/arc_playstore_app_context_menu.h

Issue 2929273002: Add the Play Store app search to the launcher. (Closed)
Patch Set: Fix unittest build failure. Created 3 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 unified diff | Download patch
OLDNEW
(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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/app_context_menu.h ('k') | chrome/browser/ui/app_list/arc/arc_playstore_app_context_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698