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

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: 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
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..404c236d71a54846d77b333853721b78a43f8aa4
--- /dev/null
+++ b/mojo/services/geometry/cpp/logging.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_LOGGING_H_
+#define MOJO_SERVICES_GEOMETRY_CPP_LOGGING_H_
+
+#include "mojo/common/logging.h"
jamesr 2015/12/10 23:35:50 i don't see this header in https://github.com/domo
viettrungluu 2015/12/10 23:54:28 More relevantly, none of that seems to be needed f
jeffbrown 2015/12/11 19:40:55 ahh, iosfwd is a good idea
+#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_

Powered by Google App Engine
This is Rietveld 408576698