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

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

Issue 2758593002: Enable screen capture for ARC++ Kiosk (Closed)
Patch Set: Achuith's nits 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..2243e92b864fc30223561bf0d6f9f26b942a7d20 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,10 @@ class ArcKioskAppManager {
void AddObserver(ArcKioskAppManagerObserver* observer);
void RemoveObserver(ArcKioskAppManagerObserver* observer);
+ bool current_app_was_auto_launched_with_zero_delay() const {
+ return auto_launched_with_zero_delay_;
+ }
+
private:
// Updates apps_ based on CrosSettings.
void UpdateApps();
@@ -91,6 +95,7 @@ class ArcKioskAppManager {
ArcKioskApps apps_;
AccountId auto_launch_account_id_;
+ bool auto_launched_with_zero_delay_ = false;
base::ObserverList<ArcKioskAppManagerObserver, true> observers_;
std::unique_ptr<CrosSettings::ObserverSubscription>

Powered by Google App Engine
This is Rietveld 408576698