Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / ui / gfx / geometry / size.h
index 78984b0..5040a01 100644 (file)
@@ -5,6 +5,7 @@
 #ifndef UI_GFX_GEOMETRY_SIZE_H_
 #define UI_GFX_GEOMETRY_SIZE_H_
 
+#include <iosfwd>
 #include <string>
 
 #include "base/compiler_specific.h"
@@ -62,6 +63,11 @@ inline bool operator!=(const Size& lhs, const Size& rhs) {
 extern template class SizeBase<Size, int>;
 #endif
 
+// This is declared here for use in gtest-based unit tests but is defined in
+// the gfx_test_support target. Depend on that to use this in your unit test.
+// This should not be used in production code - call ToString() instead.
+void PrintTo(const Size& size, ::std::ostream* os);
+
 }  // namespace gfx
 
 #endif  // UI_GFX_GEOMETRY_SIZE_H_