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

Unified Diff: ash/desktop_background/user_wallpaper_delegate.h

Issue 130983007: Creating multi profile animations for switching users and teleporting of windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed Created 6 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: ash/desktop_background/user_wallpaper_delegate.h
diff --git a/ash/desktop_background/user_wallpaper_delegate.h b/ash/desktop_background/user_wallpaper_delegate.h
index 440d284eba11dfae864ae899170d2f4635ceb99c..e1e7f70e52b464e0e0309ad22cfed4380c2dbca0 100644
--- a/ash/desktop_background/user_wallpaper_delegate.h
+++ b/ash/desktop_background/user_wallpaper_delegate.h
@@ -18,6 +18,13 @@ class ASH_EXPORT UserWallpaperDelegate {
// wallpaper.
virtual int GetAnimationType() = 0;
+ // Returns the wallpaper animation duration in ms. A value of 0 indicates
+ // that the default should be used.
+ virtual int GetAnimationDurationOverride() = 0;
+
+ // Sets wallpaper animation duration in ms. Pass 0 to use the default.
+ virtual void SetAnimationDurationOverride(int animation_duration_in_ms) = 0;
+
// Should the slower initial animation be shown (as opposed to the faster
// animation that's used e.g. when switching from one user's wallpaper to
// another's on the login screen)?

Powered by Google App Engine
This is Rietveld 408576698