OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2006, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2004, 2006, 2008 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 11 matching lines...) Expand all Loading... |
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
24 */ | 24 */ |
25 | 25 |
26 #ifndef Cursor_h | 26 #ifndef Cursor_h |
27 #define Cursor_h | 27 #define Cursor_h |
28 | 28 |
29 #include "platform/PlatformExport.h" | 29 #include "platform/PlatformExport.h" |
30 #include "platform/geometry/IntPoint.h" | 30 #include "platform/geometry/IntPoint.h" |
31 #include "platform/graphics/Image.h" | 31 #include "platform/graphics/Image.h" |
32 #include "wtf/Assertions.h" | 32 #include "platform/wtf/Assertions.h" |
33 #include "wtf/RefPtr.h" | 33 #include "platform/wtf/RefPtr.h" |
34 | 34 |
35 // To avoid conflicts with the CreateWindow macro from the Windows SDK... | 35 // To avoid conflicts with the CreateWindow macro from the Windows SDK... |
36 #undef CopyCursor | 36 #undef CopyCursor |
37 | 37 |
38 namespace blink { | 38 namespace blink { |
39 | 39 |
40 class PLATFORM_EXPORT Cursor { | 40 class PLATFORM_EXPORT Cursor { |
41 USING_FAST_MALLOC(Cursor); | 41 USING_FAST_MALLOC(Cursor); |
42 | 42 |
43 public: | 43 public: |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 PLATFORM_EXPORT const Cursor& ZoomInCursor(); | 165 PLATFORM_EXPORT const Cursor& ZoomInCursor(); |
166 PLATFORM_EXPORT const Cursor& ZoomOutCursor(); | 166 PLATFORM_EXPORT const Cursor& ZoomOutCursor(); |
167 PLATFORM_EXPORT const Cursor& CopyCursor(); | 167 PLATFORM_EXPORT const Cursor& CopyCursor(); |
168 PLATFORM_EXPORT const Cursor& NoneCursor(); | 168 PLATFORM_EXPORT const Cursor& NoneCursor(); |
169 PLATFORM_EXPORT const Cursor& GrabCursor(); | 169 PLATFORM_EXPORT const Cursor& GrabCursor(); |
170 PLATFORM_EXPORT const Cursor& GrabbingCursor(); | 170 PLATFORM_EXPORT const Cursor& GrabbingCursor(); |
171 | 171 |
172 } // namespace blink | 172 } // namespace blink |
173 | 173 |
174 #endif // Cursor_h | 174 #endif // Cursor_h |
OLD | NEW |