| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "platform/testing/GeometryPrinters.h" | 5 #include "platform/testing/GeometryPrinters.h" |
| 6 | 6 |
| 7 #include <ostream> // NOLINT |
| 7 #include "platform/geometry/DoublePoint.h" | 8 #include "platform/geometry/DoublePoint.h" |
| 8 #include "platform/geometry/DoubleRect.h" | 9 #include "platform/geometry/DoubleRect.h" |
| 9 #include "platform/geometry/DoubleSize.h" | 10 #include "platform/geometry/DoubleSize.h" |
| 10 #include "platform/geometry/FloatBox.h" | 11 #include "platform/geometry/FloatBox.h" |
| 11 #include "platform/geometry/FloatPoint.h" | 12 #include "platform/geometry/FloatPoint.h" |
| 12 #include "platform/geometry/FloatPoint3D.h" | 13 #include "platform/geometry/FloatPoint3D.h" |
| 13 #include "platform/geometry/FloatQuad.h" | 14 #include "platform/geometry/FloatQuad.h" |
| 14 #include "platform/geometry/FloatRect.h" | 15 #include "platform/geometry/FloatRect.h" |
| 15 #include "platform/geometry/FloatSize.h" | 16 #include "platform/geometry/FloatSize.h" |
| 16 #include "platform/geometry/IntPoint.h" | 17 #include "platform/geometry/IntPoint.h" |
| 17 #include "platform/geometry/IntRect.h" | 18 #include "platform/geometry/IntRect.h" |
| 18 #include "platform/geometry/IntSize.h" | 19 #include "platform/geometry/IntSize.h" |
| 19 #include "platform/geometry/LayoutPoint.h" | 20 #include "platform/geometry/LayoutPoint.h" |
| 20 #include "platform/geometry/LayoutRect.h" | 21 #include "platform/geometry/LayoutRect.h" |
| 21 #include "platform/geometry/LayoutSize.h" | 22 #include "platform/geometry/LayoutSize.h" |
| 22 #include <ostream> // NOLINT | |
| 23 | 23 |
| 24 namespace blink { | 24 namespace blink { |
| 25 | 25 |
| 26 void PrintTo(const DoublePoint& point, std::ostream* os) { | 26 void PrintTo(const DoublePoint& point, std::ostream* os) { |
| 27 *os << point.toString(); | 27 *os << point.toString(); |
| 28 } | 28 } |
| 29 | 29 |
| 30 void PrintTo(const DoubleRect& rect, std::ostream* os) { | 30 void PrintTo(const DoubleRect& rect, std::ostream* os) { |
| 31 *os << rect.toString(); | 31 *os << rect.toString(); |
| 32 } | 32 } |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 | 85 |
| 86 void PrintTo(const LayoutRect& rect, std::ostream* os) { | 86 void PrintTo(const LayoutRect& rect, std::ostream* os) { |
| 87 *os << rect.toString(); | 87 *os << rect.toString(); |
| 88 } | 88 } |
| 89 | 89 |
| 90 void PrintTo(const LayoutSize& size, std::ostream* os) { | 90 void PrintTo(const LayoutSize& size, std::ostream* os) { |
| 91 *os << size.toString(); | 91 *os << size.toString(); |
| 92 } | 92 } |
| 93 | 93 |
| 94 } // namespace blink | 94 } // namespace blink |
| OLD | NEW |