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..9fd7f83e025d28cdc4483826c421893ac4af4ef3 |
--- /dev/null |
+++ b/chrome/browser/ui/ash/launcher/arc_playstore_shortcut_launcher_item_controller.h |
@@ -0,0 +1,34 @@ |
+// Copyright (c) 2016 The Chromium Authors. All rights reserved. |
oshima
2016/05/12 22:12:01
nuke (c)
khmel
2016/05/12 22:40:27
Done.
|
+// 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_ |