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

Unified Diff: mojo/services/geometry/cpp/formatting.h

Issue 1537633005: Extend the geometry APIs. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-10
Patch Set: rebase Created 4 years, 11 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 | « mojo/services/geometry/cpp/BUILD.gn ('k') | mojo/services/geometry/cpp/formatting.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « mojo/services/geometry/cpp/BUILD.gn ('k') | mojo/services/geometry/cpp/formatting.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698