diff options
Diffstat (limited to 'ui/base/animation/tween.h')
-rw-r--r-- | ui/base/animation/tween.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/ui/base/animation/tween.h b/ui/base/animation/tween.h index 6bde5dd..02c08c5 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(); |