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

Side by Side Diff: chrome/browser/ui/ash/launcher/arc_playstore_shortcut_launcher_item_controller.h

Issue 1973603002: arc: Make Play Store item persistance in shelf. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase + policy_browsertest.cc Created 4 years, 7 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 unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698