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

Unified 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, 6 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: chrome/browser/ui/app_list/arc/arc_playstore_app_context_menu.h
diff --git a/chrome/browser/ui/app_list/arc/arc_playstore_app_context_menu.h b/chrome/browser/ui/app_list/arc/arc_playstore_app_context_menu.h
new file mode 100644
index 0000000000000000000000000000000000000000..78ee7899a597460648d87d17650c72d2b429d3ac
--- /dev/null
+++ b/chrome/browser/ui/app_list/arc/arc_playstore_app_context_menu.h
@@ -0,0 +1,35 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_APP_LIST_ARC_ARC_PLAYSTORE_APP_CONTEXT_MENU_H_
+#define CHROME_BROWSER_UI_APP_LIST_ARC_ARC_PLAYSTORE_APP_CONTEXT_MENU_H_
+
+#include "chrome/browser/ui/app_list/app_context_menu.h"
+
+class AppListControllerDelegate;
+class Profile;
+
+namespace app_list {
+class AppContextMenuDelegate;
+}
+
+class ArcPlayStoreAppContextMenu : public app_list::AppContextMenu {
+ public:
+ ArcPlayStoreAppContextMenu(app_list::AppContextMenuDelegate* delegate,
+ Profile* profile,
+ AppListControllerDelegate* controller);
+ ~ArcPlayStoreAppContextMenu() override;
+
+ // AppListContextMenu overrides:
+ void BuildMenu(ui::SimpleMenuModel* menu_model) override;
+
+ // ui::SimpleMenuModel::Delegate overrides:
+ void ExecuteCommand(int command_id, int event_flags) override;
+ bool IsCommandIdEnabled(int command_id) const override;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(ArcPlayStoreAppContextMenu);
+};
+
+#endif // CHROME_BROWSER_UI_APP_LIST_ARC_ARC_PLAYSTORE_APP_CONTEXT_MENU_H_
« 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