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

Unified Diff: ash/wm/window_animations.h

Issue 10444014: ash: Improved window maximize/restore animations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix workspace mgr, remove ignore_window, cleanup Created 8 years, 7 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/wm/window_animations.h
diff --git a/ash/wm/window_animations.h b/ash/wm/window_animations.h
index 3c9a242121a814f479e07da6d7dceda9b50d98df..3bcf8beb84515177b43c9bff92c4ebfcbeb933b5 100644
--- a/ash/wm/window_animations.h
+++ b/ash/wm/window_animations.h
@@ -7,12 +7,16 @@
#pragma once
#include "ash/ash_export.h"
-#include "base/time.h"
namespace aura {
class Window;
}
-
+namespace base {
+class TimeDelta;
+}
+namespace gfx {
+class Rect;
+}
namespace ui {
class ImplicitAnimationObserver;
}
@@ -68,6 +72,10 @@ ASH_EXPORT ui::ImplicitAnimationObserver* CreateHidingWindowAnimationObserver(
namespace internal {
+// Animate a cross-fade of |window| from its current bounds to |new_bounds|.
+ASH_EXPORT void CrossFadeToBounds(aura::Window* window,
+ const gfx::Rect& new_bounds);
+
// Returns false if the |window| didn't animate.
ASH_EXPORT bool AnimateOnChildWindowVisibilityChanged(
aura::Window* window, bool visible);

Powered by Google App Engine
This is Rietveld 408576698