Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / ui / gfx / geometry / point3_f.h
index 45bae6e..262e355 100644 (file)
@@ -5,6 +5,7 @@
 #ifndef UI_GFX_GEOMETRY_POINT3_F_H_
 #define UI_GFX_GEOMETRY_POINT3_F_H_
 
+#include <iosfwd>
 #include <string>
 
 #include "ui/gfx/geometry/point_f.h"
@@ -115,6 +116,11 @@ inline Point3F ScalePoint(const Point3F& p, float scale) {
   return ScalePoint(p, scale, scale, scale);
 }
 
+// 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 Point3F& point, ::std::ostream* os);
+
 }  // namespace gfx
 
 #endif  // UI_GFX_GEOMETRY_POINT3_F_H_