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

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

Issue 2966793002: NOT FOR REVIEW - convert to cc animation
Patch Set: switch to transform operations Created 3 years, 6 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 | « chrome/browser/android/vr_shell/vr_shell_gl.cc ('k') | ui/gfx/animation/tween.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/animation/tween.h
diff --git a/ui/gfx/animation/tween.h b/ui/gfx/animation/tween.h
index 3be0e95286242fd708e3921323ae7fe2355f5147..15107adf592c2e37be3ee92154e9d60d820682c2 100644
--- a/ui/gfx/animation/tween.h
+++ b/ui/gfx/animation/tween.h
@@ -9,6 +9,7 @@
#include "third_party/skia/include/core/SkColor.h"
#include "ui/gfx/animation/animation_export.h"
#include "ui/gfx/geometry/rect.h"
+#include "ui/gfx/geometry/size_f.h"
#include "ui/gfx/transform.h"
namespace base {
@@ -72,6 +73,10 @@ class ANIMATION_EXPORT Tween {
const gfx::Transform& start_transform,
const gfx::Transform& target_transform);
+ static gfx::SizeF SizeValueBetween(double value,
+ const gfx::SizeF& start_size,
+ const gfx::SizeF& target_size);
+
private:
Tween();
~Tween();
« no previous file with comments | « chrome/browser/android/vr_shell/vr_shell_gl.cc ('k') | ui/gfx/animation/tween.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698