| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2006, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2006, 2009 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | 21 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
| 22 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF | 22 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF |
| 23 * THE POSSIBILITY OF SUCH DAMAGE. | 23 * THE POSSIBILITY OF SUCH DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #ifndef IntRect_h | 26 #ifndef IntRect_h |
| 27 #define IntRect_h | 27 #define IntRect_h |
| 28 | 28 |
| 29 #include "platform/geometry/IntPoint.h" | 29 #include "platform/geometry/IntPoint.h" |
| 30 #include "platform/geometry/IntRectOutsets.h" | 30 #include "platform/geometry/IntRectOutsets.h" |
| 31 #include "wtf/Allocator.h" | 31 #include "platform/wtf/Allocator.h" |
| 32 #include "wtf/Forward.h" | 32 #include "platform/wtf/Forward.h" |
| 33 #include "wtf/Vector.h" | 33 #include "platform/wtf/Vector.h" |
| 34 #include "wtf/VectorTraits.h" | 34 #include "platform/wtf/VectorTraits.h" |
| 35 | 35 |
| 36 #if OS(MACOSX) | 36 #if OS(MACOSX) |
| 37 typedef struct CGRect CGRect; | 37 typedef struct CGRect CGRect; |
| 38 | 38 |
| 39 #ifdef __OBJC__ | 39 #ifdef __OBJC__ |
| 40 #import <Foundation/Foundation.h> | 40 #import <Foundation/Foundation.h> |
| 41 #endif | 41 #endif |
| 42 #endif | 42 #endif |
| 43 | 43 |
| 44 struct SkRect; | 44 struct SkRect; |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 246 | 246 |
| 247 // Redeclared here to avoid ODR issues. | 247 // Redeclared here to avoid ODR issues. |
| 248 // See platform/testing/GeometryPrinters.h. | 248 // See platform/testing/GeometryPrinters.h. |
| 249 void PrintTo(const IntRect&, std::ostream*); | 249 void PrintTo(const IntRect&, std::ostream*); |
| 250 | 250 |
| 251 } // namespace blink | 251 } // namespace blink |
| 252 | 252 |
| 253 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::IntRect); | 253 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::IntRect); |
| 254 | 254 |
| 255 #endif // IntRect_h | 255 #endif // IntRect_h |
| OLD | NEW |