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

Unified Diff: ui/gfx/test/gfx_util.h

Issue 2966723003: Add support for bounds animations (Closed)
Patch Set: address reviewer feedback Created 3 years, 5 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 | « ui/gfx/animation/tween_unittest.cc ('k') | ui/gfx/test/gfx_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/test/gfx_util.h
diff --git a/ui/gfx/test/gfx_util.h b/ui/gfx/test/gfx_util.h
index e7ed59d791daa06cd9420c48cfd0c3d33fb12d67..3b01c73fa883667cfbefe8ce2eadc5c446c9dd32 100644
--- a/ui/gfx/test/gfx_util.h
+++ b/ui/gfx/test/gfx_util.h
@@ -17,6 +17,7 @@ class AxisTransform2d;
class BoxF;
class PointF;
class RectF;
+class SizeF;
#define EXPECT_AXIS_TRANSFORM2D_EQ(a, b) \
EXPECT_PRED_FORMAT2(::gfx::AssertAxisTransform2dFloatEqual, a, b)
@@ -59,6 +60,13 @@ class RectF;
SkColor lhs,
SkColor rhs);
+#define EXPECT_SIZEF_EQ(a, b) \
+ EXPECT_PRED_FORMAT2(::gfx::AssertSizeFFloatEqual, a, b)
+
+::testing::AssertionResult AssertSizeFFloatEqual(const char* lhs_expr,
+ const char* rhs_expr,
+ const SizeF& lhs,
+ const SizeF& rhs);
} // namespace gfx
#endif // UI_GFX_TEST_GFX_UTIL_H_
« no previous file with comments | « ui/gfx/animation/tween_unittest.cc ('k') | ui/gfx/test/gfx_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698