diff options
Diffstat (limited to 'cc/base/math_util.h')
-rw-r--r-- | cc/base/math_util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cc/base/math_util.h b/cc/base/math_util.h index 9d6364ae..37b71dd 100644 --- a/cc/base/math_util.h +++ b/cc/base/math_util.h @@ -25,6 +25,7 @@ class Rect; class RectF; class Transform; class Vector2dF; +class Vector2d; } namespace cc { @@ -172,6 +173,7 @@ class CC_EXPORT MathUtil { static scoped_ptr<base::Value> AsValue(const gfx::Rect& r); static bool FromValue(const base::Value*, gfx::Rect* out_rect); static scoped_ptr<base::Value> AsValue(const gfx::PointF& q); + static scoped_ptr<base::Value> AsValue(const gfx::Vector2d& v); static scoped_ptr<base::Value> AsValue(const gfx::QuadF& q); static scoped_ptr<base::Value> AsValue(const gfx::RectF& rect); static scoped_ptr<base::Value> AsValue(const gfx::Transform& transform); |