| 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 #ifndef DoubleRect_h | 5 #ifndef DoubleRect_h |
| 6 #define DoubleRect_h | 6 #define DoubleRect_h |
| 7 | 7 |
| 8 #include "platform/geometry/DoublePoint.h" | 8 #include "platform/geometry/DoublePoint.h" |
| 9 #include "platform/geometry/DoubleSize.h" | 9 #include "platform/geometry/DoubleSize.h" |
| 10 #include "wtf/Allocator.h" | 10 #include "platform/wtf/Allocator.h" |
| 11 #include "wtf/Forward.h" | 11 #include "platform/wtf/Forward.h" |
| 12 | 12 |
| 13 namespace blink { | 13 namespace blink { |
| 14 | 14 |
| 15 class FloatRect; | 15 class FloatRect; |
| 16 class IntRect; | 16 class IntRect; |
| 17 class LayoutRect; | 17 class LayoutRect; |
| 18 | 18 |
| 19 class PLATFORM_EXPORT DoubleRect { | 19 class PLATFORM_EXPORT DoubleRect { |
| 20 STACK_ALLOCATED(); | 20 STACK_ALLOCATED(); |
| 21 | 21 |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 | 87 |
| 88 PLATFORM_EXPORT IntRect roundedIntRect(const DoubleRect&); | 88 PLATFORM_EXPORT IntRect roundedIntRect(const DoubleRect&); |
| 89 | 89 |
| 90 // Redeclared here to avoid ODR issues. | 90 // Redeclared here to avoid ODR issues. |
| 91 // See platform/testing/GeometryPrinters.h. | 91 // See platform/testing/GeometryPrinters.h. |
| 92 void PrintTo(const DoubleRect&, std::ostream*); | 92 void PrintTo(const DoubleRect&, std::ostream*); |
| 93 | 93 |
| 94 } // namespace blink | 94 } // namespace blink |
| 95 | 95 |
| 96 #endif | 96 #endif |
| OLD | NEW |