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

Unified Diff: ash/shell.cc

Issue 10800020: Add brightness/grayscale animations and use them for OOBE boot transition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix hide animation Created 8 years, 5 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/desktop_background/desktop_background_view.cc ('k') | ash/wm/window_animations.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index 9663ff91fb64b9db87fc65d0dfe94ca293d991f7..66e0e36c5d36b9ff60064886a32fab22ab1dc8a2 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -117,6 +117,10 @@ class DummyUserWallpaperDelegate : public UserWallpaperDelegate {
virtual ~DummyUserWallpaperDelegate() {}
+ virtual ash::WindowVisibilityAnimationType GetAnimationType() OVERRIDE {
+ return WINDOW_VISIBILITY_ANIMATION_TYPE_FADE;
+ }
+
virtual void InitializeWallpaper() OVERRIDE {
ash::Shell::GetInstance()->desktop_background_controller()->
CreateEmptyWallpaper();
« no previous file with comments | « ash/desktop_background/desktop_background_view.cc ('k') | ash/wm/window_animations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698