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/FastAllocBase.h" | 31 #include "wtf/Allocator.h" |
32 #include "wtf/Vector.h" | 32 #include "wtf/Vector.h" |
33 #include "wtf/VectorTraits.h" | 33 #include "wtf/VectorTraits.h" |
34 | 34 |
35 #if OS(MACOSX) | 35 #if OS(MACOSX) |
36 typedef struct CGRect CGRect; | 36 typedef struct CGRect CGRect; |
37 | 37 |
38 #ifdef __OBJC__ | 38 #ifdef __OBJC__ |
39 #import <Foundation/Foundation.h> | 39 #import <Foundation/Foundation.h> |
40 #endif | 40 #endif |
41 #endif | 41 #endif |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 #if defined(__OBJC__) && !defined(NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES) | 222 #if defined(__OBJC__) && !defined(NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES) |
223 PLATFORM_EXPORT IntRect enclosingIntRect(const NSRect&); | 223 PLATFORM_EXPORT IntRect enclosingIntRect(const NSRect&); |
224 #endif | 224 #endif |
225 #endif | 225 #endif |
226 | 226 |
227 } // namespace blink | 227 } // namespace blink |
228 | 228 |
229 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::IntRect); | 229 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::IntRect); |
230 | 230 |
231 #endif // IntRect_h | 231 #endif // IntRect_h |
OLD | NEW |