summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/background
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-29 16:19:04 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-29 16:19:04 +0000
commitd217769230326a5af129b3cadae785706341a8f9 (patch)
treee19bd6eef46a749ec4d5e35ff765e86cb1594127 /chrome/browser/chromeos/background
parentc14a701e971413ac03c8758caec849fe61507f32 (diff)
downloadchromium_src-d217769230326a5af129b3cadae785706341a8f9.zip
chromium_src-d217769230326a5af129b3cadae785706341a8f9.tar.gz
chromium_src-d217769230326a5af129b3cadae785706341a8f9.tar.bz2
Split window_animations, moving basic animations to views/corewm.
The base definition of the animation type enum also moves to corewm, and the API now allows downstream libraries (like ash) to extend the set of animations available. This will allow us to more easily use "core" animations in desktop-aura. I also removed the internal namespace from window_animations that remained in ash, since the use of namespaces in that file had begun to confuse me. http://crbug.com/158115 R=sky@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170071 Review URL: https://codereview.chromium.org/11412223 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170195 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/background')
-rw-r--r--chrome/browser/chromeos/background/ash_user_wallpaper_delegate.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/chromeos/background/ash_user_wallpaper_delegate.cc b/chrome/browser/chromeos/background/ash_user_wallpaper_delegate.cc
index f298132..bd3aba9 100644
--- a/chrome/browser/chromeos/background/ash_user_wallpaper_delegate.cc
+++ b/chrome/browser/chromeos/background/ash_user_wallpaper_delegate.cc
@@ -45,10 +45,10 @@ class UserWallpaperDelegate : public ash::UserWallpaperDelegate {
virtual ~UserWallpaperDelegate() {
}
- virtual ash::WindowVisibilityAnimationType GetAnimationType() OVERRIDE {
+ virtual int GetAnimationType() OVERRIDE {
return ShouldShowInitialAnimation() ?
ash::WINDOW_VISIBILITY_ANIMATION_TYPE_BRIGHTNESS_GRAYSCALE :
- ash::WINDOW_VISIBILITY_ANIMATION_TYPE_FADE;
+ static_cast<int>(views::corewm::WINDOW_VISIBILITY_ANIMATION_TYPE_FADE);
}
virtual bool ShouldShowInitialAnimation() OVERRIDE {