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

Unified Diff: chrome/browser/chromeos/login/lock_window_aura.cc

Issue 9264059: Enable hide animation for login screen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 years, 11 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: chrome/browser/chromeos/login/lock_window_aura.cc
diff --git a/chrome/browser/chromeos/login/lock_window_aura.cc b/chrome/browser/chromeos/login/lock_window_aura.cc
index 4fc118867778a40ae4adc72dee1d333d0709c477..34fec28163584cf876de16405c837c67f730c22f 100644
--- a/chrome/browser/chromeos/login/lock_window_aura.cc
+++ b/chrome/browser/chromeos/login/lock_window_aura.cc
@@ -6,6 +6,7 @@
#include "ash/shell.h"
#include "ash/shell_window_ids.h"
+#include "ash/wm/window_animations.h"
#include "ui/aura/root_window.h"
#include "ui/aura/window.h"
@@ -47,6 +48,8 @@ void LockWindowAura::Init() {
ash::Shell::GetInstance()->GetContainer(
ash::internal::kShellWindowId_LockScreenContainer)->
AddChild(GetNativeView());
+ ash::SetWindowVisibilityAnimationTransition(GetNativeView(),
+ ash::ANIMATE_NONE);
}
} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698