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

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

Issue 1517853002: Extend the geometry APIs. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: rebase Created 5 years 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/geometry_util.cc ('k') | mojo/services/geometry/cpp/logging.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/geometry/cpp/logging.h
diff --git a/mojo/services/geometry/cpp/logging.h b/mojo/services/geometry/cpp/logging.h
new file mode 100644
index 0000000000000000000000000000000000000000..19d5ed7b5f2c720b647ef8430e4af7559e3d632f
--- /dev/null
+++ b/mojo/services/geometry/cpp/logging.h
@@ -0,0 +1,22 @@
+// 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_LOGGING_H_
+#define MOJO_SERVICES_GEOMETRY_CPP_LOGGING_H_
+
+#include <iosfwd>
+
+#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_LOGGING_H_
« no previous file with comments | « mojo/services/geometry/cpp/geometry_util.cc ('k') | mojo/services/geometry/cpp/logging.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698