Index: mojo/services/geometry/cpp/formatting.h |
diff --git a/mojo/services/geometry/cpp/formatting.h b/mojo/services/geometry/cpp/formatting.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0942f2f1a9611f7df10360f013f0c59f8beb55c2 |
--- /dev/null |
+++ b/mojo/services/geometry/cpp/formatting.h |
@@ -0,0 +1,21 @@ |
+// Copyright 2015 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 MOJO_SERVICES_GEOMETRY_CPP_FORMATTING_H_ |
+#define MOJO_SERVICES_GEOMETRY_CPP_FORMATTING_H_ |
+ |
+#include "mojo/public/cpp/bindings/formatting.h" |
+#include "mojo/services/geometry/interfaces/geometry.mojom.h" |
+ |
+namespace mojo { |
+ |
+std::ostream& operator<<(std::ostream& os, const mojo::Point& value); |
+std::ostream& operator<<(std::ostream& os, const mojo::Size& value); |
+std::ostream& operator<<(std::ostream& os, const mojo::Rect& value); |
+std::ostream& operator<<(std::ostream& os, const mojo::RRect& value); |
+std::ostream& operator<<(std::ostream& os, const mojo::Transform& value); |
+ |
+} // namespace mojo |
+ |
+#endif // MOJO_SERVICES_GEOMETRY_CPP_FORMATTING_H_ |