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

Unified Diff: ash/wm/window_animations.cc

Issue 10875070: Makes workspace 2 show an alternate background (system background) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More comments Created 8 years, 4 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/wm/window_animations.h ('k') | ash/wm/workspace/system_background_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/window_animations.cc
diff --git a/ash/wm/window_animations.cc b/ash/wm/window_animations.cc
index 0aae796bd0dc23094ee7a8502bf923e4333bb0b4..e93c8bd0368d41f16da59c43d99f36e28175ba92 100644
--- a/ash/wm/window_animations.cc
+++ b/ash/wm/window_animations.cc
@@ -941,6 +941,11 @@ void AnimateWorkspaceOut(aura::Window* window,
}
}
+base::TimeDelta GetSystemBackgroundDestroyDuration() {
+ return base::TimeDelta::FromMilliseconds(
+ std::max(kWorkspaceCrossFadeDurationMs, kWorkspaceSwitchTimeMS));
+}
+
namespace internal {
TimeDelta GetCrossFadeDuration(const gfx::Rect& old_bounds,
« no previous file with comments | « ash/wm/window_animations.h ('k') | ash/wm/workspace/system_background_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698