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

Unified Diff: ash/wm/session_state_controller.h

Issue 11276025: Add lock pod animation on unlock. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Add comment 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
Index: ash/wm/session_state_controller.h
diff --git a/ash/wm/session_state_controller.h b/ash/wm/session_state_controller.h
index fe5664b012d3ca1be9d55881865dde73bd67decd..2faf15fc81fd3061110d5b3cf6045fdb13f11db5 100644
--- a/ash/wm/session_state_controller.h
+++ b/ash/wm/session_state_controller.h
@@ -131,6 +131,11 @@ class ASH_EXPORT SessionStateController : public aura::RootWindowObserver,
// Displays the shutdown animation and requests shutdown when it's done.
virtual void RequestShutdown() = 0;
+ // Called when ScreenLocker is ready to close, but not yet destroyed.
+ // Can be used to display "hiding" animations on unlock.
+ // |callback| must be called when all animations are done.
Daniel Erat 2012/10/25 15:45:58 nit: s/must/will/ ?
+ virtual void OnLockScreenHide(base::Callback<void(void)>& callback) = 0;
+
protected:
friend class test::PowerButtonControllerTest;

Powered by Google App Engine
This is Rietveld 408576698