| 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 "wtf/Allocator.h" |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 DoubleSize m_size; | 64 DoubleSize m_size; |
| 65 }; | 65 }; |
| 66 | 66 |
| 67 PLATFORM_EXPORT IntRect enclosingIntRect(const DoubleRect&); | 67 PLATFORM_EXPORT IntRect enclosingIntRect(const DoubleRect&); |
| 68 | 68 |
| 69 // Returns a valid IntRect contained within the given DoubleRect. | 69 // Returns a valid IntRect contained within the given DoubleRect. |
| 70 PLATFORM_EXPORT IntRect enclosedIntRect(const DoubleRect&); | 70 PLATFORM_EXPORT IntRect enclosedIntRect(const DoubleRect&); |
| 71 | 71 |
| 72 PLATFORM_EXPORT IntRect roundedIntRect(const DoubleRect&); | 72 PLATFORM_EXPORT IntRect roundedIntRect(const DoubleRect&); |
| 73 | 73 |
| 74 } | 74 } // namespace blink |
| 75 | 75 |
| 76 #endif | 76 #endif |
| OLD | NEW |