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

Unified Diff: ash/wm/session_state_controller.h

Issue 11238058: Do not start autoshutdown on lock button press. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 2 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
« no previous file with comments | « ash/wm/power_button_controller.cc ('k') | ash/wm/session_state_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/session_state_controller.h
diff --git a/ash/wm/session_state_controller.h b/ash/wm/session_state_controller.h
index fc3ae53f2c0086ff4bf3ef9eefd516e6e60da4d3..47dbd9b598db2d1850361cbbfa26c0058ccee4ac 100644
--- a/ash/wm/session_state_controller.h
+++ b/ash/wm/session_state_controller.h
@@ -153,8 +153,9 @@ class ASH_EXPORT SessionStateController : public aura::RootWindowObserver,
// Starts locking (with slow animation) that can be cancelled.
// After locking and |kLockToShutdownTimeoutMs| StartShutdownAnimation()
- // will be called unless CancelShutdown() is called.
- virtual void StartLockAnimation();
+ // will be called unless CancelShutdown() is called, if |shutdown_after_lock|
+ // is true.
+ virtual void StartLockAnimation(bool shutdown_after_lock);
// Starts shutting down (with slow animation) that can be cancelled.
virtual void StartShutdownAnimation();
« no previous file with comments | « ash/wm/power_button_controller.cc ('k') | ash/wm/session_state_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698