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 14 matching lines...) Expand all Loading... |
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 "wtf/Assertions.h" |
33 #include "wtf/RefPtr.h" | 33 #include "wtf/RefPtr.h" |
34 | 34 |
35 namespace WebCore { | 35 namespace blink { |
36 | 36 |
37 class PLATFORM_EXPORT Cursor { | 37 class PLATFORM_EXPORT Cursor { |
38 WTF_MAKE_FAST_ALLOCATED; | 38 WTF_MAKE_FAST_ALLOCATED; |
39 public: | 39 public: |
40 enum Type { | 40 enum Type { |
41 Pointer = 0, | 41 Pointer = 0, |
42 Cross, | 42 Cross, |
43 Hand, | 43 Hand, |
44 IBeam, | 44 IBeam, |
45 Wait, | 45 Wait, |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 PLATFORM_EXPORT const Cursor& notAllowedCursor(); | 158 PLATFORM_EXPORT const Cursor& notAllowedCursor(); |
159 PLATFORM_EXPORT const Cursor& progressCursor(); | 159 PLATFORM_EXPORT const Cursor& progressCursor(); |
160 PLATFORM_EXPORT const Cursor& aliasCursor(); | 160 PLATFORM_EXPORT const Cursor& aliasCursor(); |
161 PLATFORM_EXPORT const Cursor& zoomInCursor(); | 161 PLATFORM_EXPORT const Cursor& zoomInCursor(); |
162 PLATFORM_EXPORT const Cursor& zoomOutCursor(); | 162 PLATFORM_EXPORT const Cursor& zoomOutCursor(); |
163 PLATFORM_EXPORT const Cursor& copyCursor(); | 163 PLATFORM_EXPORT const Cursor& copyCursor(); |
164 PLATFORM_EXPORT const Cursor& noneCursor(); | 164 PLATFORM_EXPORT const Cursor& noneCursor(); |
165 PLATFORM_EXPORT const Cursor& grabCursor(); | 165 PLATFORM_EXPORT const Cursor& grabCursor(); |
166 PLATFORM_EXPORT const Cursor& grabbingCursor(); | 166 PLATFORM_EXPORT const Cursor& grabbingCursor(); |
167 | 167 |
168 } // namespace WebCore | 168 } // namespace blink |
169 | 169 |
170 #endif // Cursor_h | 170 #endif // Cursor_h |
OLD | NEW |