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

Unified Diff: ui/base/animation/tween.h

Issue 8247009: Explicit animation support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix VS2010 Created 9 years, 2 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 | « no previous file | ui/base/animation/tween.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/animation/tween.h
diff --git a/ui/base/animation/tween.h b/ui/base/animation/tween.h
index 6bde5dda89abdc2ca934cf02dad863063a3aa72d..02c08c5adf52c23e0b26277e6d478b9b18b34d3b 100644
--- a/ui/base/animation/tween.h
+++ b/ui/base/animation/tween.h
@@ -8,10 +8,11 @@
#include "base/basictypes.h"
#include "ui/base/ui_export.h"
+#include "ui/gfx/rect.h"
-namespace gfx {
-class Rect;
-}
+#if !defined(OS_MACOSX)
+#include "ui/gfx/transform.h"
+#endif
namespace ui {
@@ -36,6 +37,11 @@ class UI_EXPORT Tween {
static gfx::Rect ValueBetween(double value,
const gfx::Rect& start_bounds,
const gfx::Rect& target_bounds);
+#if !defined(OS_MACOSX)
+ static Transform ValueBetween(double value,
+ const Transform& start_transform,
+ const Transform& target_transform);
+#endif
private:
Tween();
« no previous file with comments | « no previous file | ui/base/animation/tween.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698