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

Unified Diff: chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_item_controller.h

Issue 2540433002: Reland "Propagate information about how ARC apps are launched" (Closed)
Patch Set: Propagate flag from deferred launcher Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_item_controller.h
diff --git a/chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_item_controller.h b/chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_item_controller.h
index a17d7075bf9b525862401da6a429a55d63429139..7940bd50aa36467d2844cc400dd5b2831a665482 100644
--- a/chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_item_controller.h
+++ b/chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_item_controller.h
@@ -20,12 +20,15 @@ class ArcAppDeferredLauncherItemController : public LauncherItemController {
ArcAppDeferredLauncherItemController(
const std::string& arc_app_id,
ChromeLauncherController* controller,
+ int event_flags,
const base::WeakPtr<ArcAppDeferredLauncherController>& host);
~ArcAppDeferredLauncherItemController() override;
base::TimeDelta GetActiveTime() const;
+ int event_flags() const { return event_flags_; }
+
// ash::ShelfItemDelegate
ash::ShelfItemDelegate::PerformedAction ItemSelected(
const ui::Event& event) override;
@@ -44,6 +47,7 @@ class ArcAppDeferredLauncherItemController : public LauncherItemController {
ChromeLauncherAppMenuItems GetApplicationList(int event_flags) override;
private:
+ const int event_flags_;
base::WeakPtr<ArcAppDeferredLauncherController> host_;
const base::Time start_time_;

Powered by Google App Engine
This is Rietveld 408576698