diff options
author | antrim@chromium.org <antrim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-09 08:48:58 +0000 |
---|---|---|
committer | antrim@chromium.org <antrim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-09 08:48:58 +0000 |
commit | 22616e52d9a31094e5cb711fc1cd96d74b64cae5 (patch) | |
tree | 2ebc50c7f5ea6517d08bf80aace6c13b8e3a081a /ash/wm/session_state_controller.h | |
parent | c4dc5cc29477b1a1edee070cb2b94e1add68a070 (diff) | |
download | chromium_src-22616e52d9a31094e5cb711fc1cd96d74b64cae5.zip chromium_src-22616e52d9a31094e5cb711fc1cd96d74b64cae5.tar.gz chromium_src-22616e52d9a31094e5cb711fc1cd96d74b64cae5.tar.bz2 |
Animate launcher in only after lock screen is displayed.
BUG=138171
Review URL: https://chromiumcodereview.appspot.com/11377053
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166873 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/wm/session_state_controller.h')
-rw-r--r-- | ash/wm/session_state_controller.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ash/wm/session_state_controller.h b/ash/wm/session_state_controller.h index 2a94bc8..b0b3efe 100644 --- a/ash/wm/session_state_controller.h +++ b/ash/wm/session_state_controller.h @@ -134,7 +134,11 @@ class ASH_EXPORT SessionStateController : public aura::RootWindowObserver, // Called when ScreenLocker is ready to close, but not yet destroyed. // Can be used to display "hiding" animations on unlock. // |callback| will be called when all animations are done. - virtual void OnLockScreenHide(base::Callback<void(void)>& callback) = 0; + virtual void OnLockScreenHide(base::Closure& callback) = 0; + + // Sets up the callback that should be called once lock animation is finished. + // Callback is guaranteed to be called once and then discarded. + virtual void SetLockScreenDisplayedCallback(base::Closure& callback) = 0; protected: friend class test::PowerButtonControllerTest; |