Index: ui/gfx/compositor/test_utils.h |
diff --git a/ui/gfx/compositor/test_utils.h b/ui/gfx/compositor/test_utils.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9c4411ccfe19de05b176e8ffef17909b89fa7716 |
--- /dev/null |
+++ b/ui/gfx/compositor/test_utils.h |
@@ -0,0 +1,22 @@ |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef UI_GFX_COMPOSITOR_TEST_UTILS_H_ |
+#define UI_GFX_COMPOSITOR_TEST_UTILS_H_ |
+#pragma once |
+ |
+namespace gfx { |
+class Rect; |
+} |
+ |
+namespace ui { |
+ |
+class Transform; |
+ |
+void CheckApproximatelyEqual(const Transform& lhs, const Transform& rhs); |
+void CheckApproximatelyEqual(const gfx::Rect& lhs, const gfx::Rect& rhs); |
+ |
+} // namespace ui |
+ |
+#endif // UI_GFX_COMPOSITOR_TEST_UTILS_H_ |