Index: chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_controller.h |
diff --git a/chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_controller.h b/chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_controller.h |
index 9d8cebb0898ba98a1c36cef660c963d76e3f45ad..d4491ca97740960d714ef3e4b1e5cb05e163e267 100644 |
--- a/chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_controller.h |
+++ b/chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_controller.h |
@@ -6,6 +6,7 @@ |
#define CHROME_BROWSER_UI_ASH_LAUNCHER_ARC_APP_DEFERRED_LAUNCHER_CONTROLLER_H_ |
#include <map> |
+#include <string> |
#include "base/macros.h" |
#include "base/memory/weak_ptr.h" |
@@ -17,6 +18,9 @@ |
class ArcAppDeferredLauncherItemController; |
class ChromeLauncherControllerImpl; |
+// ArcAppDeferredLauncherController displays visual feedback that the ARC |
+// application the user has just activated is waiting for ARC to be ready, and |
+// will be asynchronously launched as soon as it can. |
class ArcAppDeferredLauncherController |
: public ArcAppListPrefs::Observer, |
public arc::ArcSessionManager::Observer { |
@@ -29,8 +33,10 @@ class ArcAppDeferredLauncherController |
base::TimeDelta GetActiveTime(const std::string& app_id) const; |
- // Registers deferred Arc app launch. |
- void RegisterDeferredLaunch(const std::string& app_id); |
+ // Registers deferred ARC app launch. |app_id| is the app to be launched, and |
+ // |event_flags| describes the original event flags that triggered the app's |
+ // activation. |
+ void RegisterDeferredLaunch(const std::string& app_id, int event_flags); |
// Applies spinning effect if requested app is handled by deferred controller. |
void MaybeApplySpinningEffect(const std::string& app_id, |