OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_ARC_PLAYSTORE_SHORTCUT_LAUNCHER_ITEM_CONT
ROLLER_H_ | 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_ | 6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_ARC_PLAYSTORE_SHORTCUT_LAUNCHER_ITEM_CONT
ROLLER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.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 | 12 |
14 class ArcAppLauncher; | 13 class ArcAppLauncher; |
15 class ChromeLauncherController; | 14 class ChromeLauncherController; |
16 | 15 |
17 class ArcPlaystoreShortcutLauncherItemController | 16 class ArcPlaystoreShortcutLauncherItemController |
18 : public AppShortcutLauncherItemController { | 17 : public AppShortcutLauncherItemController { |
19 public: | 18 public: |
20 ArcPlaystoreShortcutLauncherItemController( | 19 ArcPlaystoreShortcutLauncherItemController( |
21 ChromeLauncherController* controller); | 20 ChromeLauncherController* controller); |
22 ~ArcPlaystoreShortcutLauncherItemController() override; | 21 ~ArcPlaystoreShortcutLauncherItemController() override; |
23 | 22 |
24 // LauncherItemController overrides: | 23 // LauncherItemController overrides: |
25 ash::ShelfItemDelegate::PerformedAction Activate( | 24 ash::ShelfAction ItemSelected(ui::EventType event_type, |
26 ash::LaunchSource source) override; | 25 int event_flags, |
| 26 int64_t display_id, |
| 27 ash::ShelfLaunchSource source) override; |
27 | 28 |
28 private: | 29 private: |
29 std::unique_ptr<ArcAppLauncher> playstore_launcher_; | 30 std::unique_ptr<ArcAppLauncher> playstore_launcher_; |
30 | 31 |
31 DISALLOW_COPY_AND_ASSIGN(ArcPlaystoreShortcutLauncherItemController); | 32 DISALLOW_COPY_AND_ASSIGN(ArcPlaystoreShortcutLauncherItemController); |
32 }; | 33 }; |
33 | 34 |
34 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_ARC_PLAYSTORE_SHORTCUT_LAUNCHER_ITEM_C
ONTROLLER_H_ | 35 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_ARC_PLAYSTORE_SHORTCUT_LAUNCHER_ITEM_C
ONTROLLER_H_ |
OLD | NEW |