Index: chrome/browser/ui/ash/launcher/arc_playstore_shortcut_launcher_item_controller.h |
diff --git a/chrome/browser/ui/ash/launcher/arc_playstore_shortcut_launcher_item_controller.h b/chrome/browser/ui/ash/launcher/arc_playstore_shortcut_launcher_item_controller.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a8dcc681601040369b365aca98a18fffb5f86e96 |
--- /dev/null |
+++ b/chrome/browser/ui/ash/launcher/arc_playstore_shortcut_launcher_item_controller.h |
@@ -0,0 +1,34 @@ |
+// Copyright 2016 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_ASH_LAUNCHER_ARC_PLAYSTORE_SHORTCUT_LAUNCHER_ITEM_CONTROLLER_H_ |
+#define CHROME_BROWSER_UI_ASH_LAUNCHER_ARC_PLAYSTORE_SHORTCUT_LAUNCHER_ITEM_CONTROLLER_H_ |
+ |
+#include <memory> |
+ |
+#include "base/macros.h" |
+#include "chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.h" |
+#include "chrome/browser/ui/ash/launcher/chrome_launcher_types.h" |
+ |
+class ArcAppLauncher; |
+class ChromeLauncherController; |
+ |
+class ArcPlaystoreShortcutLauncherItemController |
+ : public AppShortcutLauncherItemController { |
+ public: |
+ ArcPlaystoreShortcutLauncherItemController( |
+ ChromeLauncherController* controller); |
+ ~ArcPlaystoreShortcutLauncherItemController() override; |
+ |
+ // LauncherItemController overrides: |
+ ash::ShelfItemDelegate::PerformedAction Activate( |
+ ash::LaunchSource source) override; |
+ |
+ private: |
+ std::unique_ptr<ArcAppLauncher> playstore_launcher_; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(ArcPlaystoreShortcutLauncherItemController); |
+}; |
+ |
+#endif // CHROME_BROWSER_UI_ASH_LAUNCHER_ARC_PLAYSTORE_SHORTCUT_LAUNCHER_ITEM_CONTROLLER_H_ |