summaryrefslogtreecommitdiffstats
path: root/ash/wm
diff options
context:
space:
mode:
authorantrim@chromium.org <antrim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-24 16:42:23 +0000
committerantrim@chromium.org <antrim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-24 16:42:23 +0000
commit137cf768ff25b436cea5ebcfe9719e87b4133e29 (patch)
tree632b4796a8791f582abc06a114c1afb327354f2b /ash/wm
parent410938e08c299d5f0b4557e6da6929fa13804778 (diff)
downloadchromium_src-137cf768ff25b436cea5ebcfe9719e87b4133e29.zip
chromium_src-137cf768ff25b436cea5ebcfe9719e87b4133e29.tar.gz
chromium_src-137cf768ff25b436cea5ebcfe9719e87b4133e29.tar.bz2
Few lock screen animation corrections.
As Lock screen "launcher" panel is a part of WebUI and is animated together, we animate usual launcher too. BUG=138171 Review URL: https://chromiumcodereview.appspot.com/11267007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163843 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/wm')
-rw-r--r--ash/wm/session_state_controller_impl2.cc10
1 files changed, 6 insertions, 4 deletions
diff --git a/ash/wm/session_state_controller_impl2.cc b/ash/wm/session_state_controller_impl2.cc
index a1e2ef8..3cb208a 100644
--- a/ash/wm/session_state_controller_impl2.cc
+++ b/ash/wm/session_state_controller_impl2.cc
@@ -69,7 +69,7 @@ void SessionStateControllerImpl2::OnLockStateChanged(bool locked) {
if (locked) {
animator_->StartAnimation(
internal::SessionStateAnimator::LOCK_SCREEN_CONTAINERS,
- internal::SessionStateAnimator::ANIMATION_FADE_IN);
+ internal::SessionStateAnimator::ANIMATION_LOWER);
lock_timer_.Stop();
lock_fail_timer_.Stop();
@@ -79,7 +79,8 @@ void SessionStateControllerImpl2::OnLockStateChanged(bool locked) {
}
} else {
animator_->StartAnimation(
- internal::SessionStateAnimator::NON_LOCK_SCREEN_CONTAINERS,
+ internal::SessionStateAnimator::NON_LOCK_SCREEN_CONTAINERS |
+ internal::SessionStateAnimator::LAUNCHER,
internal::SessionStateAnimator::ANIMATION_LOWER);
}
}
@@ -89,10 +90,11 @@ void SessionStateControllerImpl2::OnStartingLock() {
return;
animator_->StartAnimation(
- internal::SessionStateAnimator::NON_LOCK_SCREEN_CONTAINERS,
+ internal::SessionStateAnimator::NON_LOCK_SCREEN_CONTAINERS |
+ internal::SessionStateAnimator::LAUNCHER,
internal::SessionStateAnimator::ANIMATION_RAISE);
- // Hide the screen locker containers so we can make them fade in later.
+ // Hide the screen locker containers so we can raise them later.
animator_->StartAnimation(
internal::SessionStateAnimator::LOCK_SCREEN_CONTAINERS,
internal::SessionStateAnimator::ANIMATION_HIDE);