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

Unified Diff: ash/wm/lock_state_controller.h

Issue 326813004: Added quick lock mechanism while in Touchview (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changed kAshEnablePowerQuickLock to kAshEnablePowerButtonQuickLock. Created 6 years, 3 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: ash/wm/lock_state_controller.h
diff --git a/ash/wm/lock_state_controller.h b/ash/wm/lock_state_controller.h
index b6d134f9e7d9147e139c5ec21cbb425f716016a9..505b90772119575a61bd2dc6c1db7452f2aae16e 100644
--- a/ash/wm/lock_state_controller.h
+++ b/ash/wm/lock_state_controller.h
@@ -161,8 +161,10 @@ class ASH_EXPORT LockStateController : public aura::WindowTreeHostObserver,
void StartShutdownAnimation();
// Starts usual lock animation, but locks immediately.
- // Unlike StartLockAnimation it does no lead to StartShutdownAnimation.
- void StartLockAnimationAndLockImmediately();
+ // After locking and |kLockToShutdownTimeoutMs| StartShutdownAnimation()
+ // will be called unless CancelShutdownAnimation() is called, if
+ // |shutdown_after_lock| is true.
+ void StartLockAnimationAndLockImmediately(bool shutdown_after_lock);
// Returns true if we have requested system to lock, but haven't received
// confirmation yet.

Powered by Google App Engine
This is Rietveld 408576698