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

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

Issue 2867673004: Use OnceCallback on Mojo interfaces in //ash (Closed)
Patch Set: count -> container_count Created 3 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
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 12
13 class ArcAppLauncher; 13 class ArcAppLauncher;
14 14
15 class ArcPlaystoreShortcutLauncherItemController 15 class ArcPlaystoreShortcutLauncherItemController
16 : public AppShortcutLauncherItemController { 16 : public AppShortcutLauncherItemController {
17 public: 17 public:
18 ArcPlaystoreShortcutLauncherItemController(); 18 ArcPlaystoreShortcutLauncherItemController();
19 ~ArcPlaystoreShortcutLauncherItemController() override; 19 ~ArcPlaystoreShortcutLauncherItemController() override;
20 20
21 // AppShortcutLauncherItemController overrides: 21 // AppShortcutLauncherItemController overrides:
22 void ItemSelected(std::unique_ptr<ui::Event> event, 22 void ItemSelected(std::unique_ptr<ui::Event> event,
23 int64_t display_id, 23 int64_t display_id,
24 ash::ShelfLaunchSource source, 24 ash::ShelfLaunchSource source,
25 const ItemSelectedCallback& callback) override; 25 ItemSelectedCallback callback) override;
26 26
27 private: 27 private:
28 std::unique_ptr<ArcAppLauncher> playstore_launcher_; 28 std::unique_ptr<ArcAppLauncher> playstore_launcher_;
29 29
30 DISALLOW_COPY_AND_ASSIGN(ArcPlaystoreShortcutLauncherItemController); 30 DISALLOW_COPY_AND_ASSIGN(ArcPlaystoreShortcutLauncherItemController);
31 }; 31 };
32 32
33 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_ARC_PLAYSTORE_SHORTCUT_LAUNCHER_ITEM_C ONTROLLER_H_ 33 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_ARC_PLAYSTORE_SHORTCUT_LAUNCHER_ITEM_C ONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698