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

Unified Diff: chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_manager.h

Issue 2758593002: Enable screen capture for ARC++ Kiosk (Closed)
Patch Set: Second version, set flag in ArcKioskAppManager::UpdateApps Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_manager.h
diff --git a/chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_manager.h b/chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_manager.h
index a81da14c4d9c743a69eca8962ea9a86b82200cb3..79bc94c477b4492f528ca196ccf6205c59d3ae73 100644
--- a/chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_manager.h
+++ b/chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_manager.h
@@ -81,6 +81,8 @@ class ArcKioskAppManager {
void AddObserver(ArcKioskAppManagerObserver* observer);
void RemoveObserver(ArcKioskAppManagerObserver* observer);
+ bool CurrentAppWasAutoLaunchedWithZeroDelay() const;
Luis Héctor Chávez 2017/03/17 17:46:54 this is a trivial accessor, so you can inline it:
Ivan Šandrk 2017/03/20 13:22:58 Done.
+
private:
// Updates apps_ based on CrosSettings.
void UpdateApps();
@@ -91,6 +93,7 @@ class ArcKioskAppManager {
ArcKioskApps apps_;
AccountId auto_launch_account_id_;
+ bool auto_launched_with_zero_delay_;
base::ObserverList<ArcKioskAppManagerObserver, true> observers_;
std::unique_ptr<CrosSettings::ObserverSubscription>

Powered by Google App Engine
This is Rietveld 408576698