OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 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_ASH_LAUNCHER_ARC_PLAYSTORE_SHORTCUT_LAUNCHER_ITEM_CONT
ROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_ARC_PLAYSTORE_SHORTCUT_LAUNCHER_ITEM_CONT
ROLLER_H_ |
| 7 |
| 8 #include <memory> |
| 9 |
| 10 #include "base/macros.h" |
| 11 #include "chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.h
" |
| 12 #include "chrome/browser/ui/ash/launcher/chrome_launcher_types.h" |
| 13 |
| 14 class ArcAppLauncher; |
| 15 class ChromeLauncherController; |
| 16 |
| 17 class ArcPlaystoreShortcutLauncherItemController |
| 18 : public AppShortcutLauncherItemController { |
| 19 public: |
| 20 ArcPlaystoreShortcutLauncherItemController( |
| 21 ChromeLauncherController* controller); |
| 22 ~ArcPlaystoreShortcutLauncherItemController() override; |
| 23 |
| 24 // LauncherItemController overrides: |
| 25 ash::ShelfItemDelegate::PerformedAction Activate( |
| 26 ash::LaunchSource source) override; |
| 27 |
| 28 private: |
| 29 std::unique_ptr<ArcAppLauncher> playstore_launcher_; |
| 30 |
| 31 DISALLOW_COPY_AND_ASSIGN(ArcPlaystoreShortcutLauncherItemController); |
| 32 }; |
| 33 |
| 34 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_ARC_PLAYSTORE_SHORTCUT_LAUNCHER_ITEM_C
ONTROLLER_H_ |
OLD | NEW |