• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2010 Company 100, Inc.
3  * Copyright (C) 2004, 2006 Apple Computer, Inc.  All rights reserved.
4  *
5  * Redistribution and use in source and binary forms, with or without
6  * modification, are permitted provided that the following conditions
7  * are met:
8  * 1. Redistributions of source code must retain the above copyright
9  *    notice, this list of conditions and the following disclaimer.
10  * 2. Redistributions in binary form must reproduce the above copyright
11  *    notice, this list of conditions and the following disclaimer in the
12  *    documentation and/or other materials provided with the distribution.
13  *
14  * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
15  * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
17  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
18  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
19  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
20  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
21  * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
22  * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
24  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25  */
26 
27 #define LOG_TAG "WebCore"
28 
29 #include "config.h"
30 #include "Cursor.h"
31 
32 #include "NotImplemented.h"
33 
34 #include <wtf/StdLibExtras.h>
35 
36 namespace WebCore {
37 
Cursor(Image *,const IntPoint &)38 Cursor::Cursor(Image*, const IntPoint&)
39 {
40     notImplemented();
41 }
42 
Cursor(const Cursor &)43 Cursor::Cursor(const Cursor&)
44 {
45     notImplemented();
46 }
47 
~Cursor()48 Cursor::~Cursor()
49 {
50     notImplemented();
51 }
52 
operator =(const Cursor &)53 Cursor& Cursor::operator=(const Cursor&)
54 {
55     notImplemented();
56     return *this;
57 }
58 
dummyCursor()59 static inline Cursor& dummyCursor()
60 {
61     DEFINE_STATIC_LOCAL(Cursor, c, ());
62     return c;
63 }
64 
pointerCursor()65 const Cursor& pointerCursor()
66 {
67     notImplemented();
68     return dummyCursor();
69 }
70 
crossCursor()71 const Cursor& crossCursor()
72 {
73     notImplemented();
74     return dummyCursor();
75 }
76 
handCursor()77 const Cursor& handCursor()
78 {
79     notImplemented();
80     return dummyCursor();
81 }
82 
moveCursor()83 const Cursor& moveCursor()
84 {
85     notImplemented();
86     return dummyCursor();
87 }
88 
iBeamCursor()89 const Cursor& iBeamCursor()
90 {
91     notImplemented();
92     return dummyCursor();
93 }
94 
waitCursor()95 const Cursor& waitCursor()
96 {
97     notImplemented();
98     return dummyCursor();
99 }
100 
helpCursor()101 const Cursor& helpCursor()
102 {
103     notImplemented();
104     return dummyCursor();
105 }
106 
eastResizeCursor()107 const Cursor& eastResizeCursor()
108 {
109     notImplemented();
110     return dummyCursor();
111 }
112 
northResizeCursor()113 const Cursor& northResizeCursor()
114 {
115     notImplemented();
116     return dummyCursor();
117 }
118 
northEastResizeCursor()119 const Cursor& northEastResizeCursor()
120 {
121     notImplemented();
122     return dummyCursor();
123 }
124 
northWestResizeCursor()125 const Cursor& northWestResizeCursor()
126 {
127     notImplemented();
128     return dummyCursor();
129 }
130 
southResizeCursor()131 const Cursor& southResizeCursor()
132 {
133     notImplemented();
134     return dummyCursor();
135 }
136 
southEastResizeCursor()137 const Cursor& southEastResizeCursor()
138 {
139     notImplemented();
140     return dummyCursor();
141 }
142 
southWestResizeCursor()143 const Cursor& southWestResizeCursor()
144 {
145     notImplemented();
146     return dummyCursor();
147 }
148 
westResizeCursor()149 const Cursor& westResizeCursor()
150 {
151     notImplemented();
152     return dummyCursor();
153 }
154 
northSouthResizeCursor()155 const Cursor& northSouthResizeCursor()
156 {
157     notImplemented();
158     return dummyCursor();
159 }
160 
eastWestResizeCursor()161 const Cursor& eastWestResizeCursor()
162 {
163     notImplemented();
164     return dummyCursor();
165 }
166 
northEastSouthWestResizeCursor()167 const Cursor& northEastSouthWestResizeCursor()
168 {
169     notImplemented();
170     return dummyCursor();
171 }
172 
northWestSouthEastResizeCursor()173 const Cursor& northWestSouthEastResizeCursor()
174 {
175     notImplemented();
176     return dummyCursor();
177 }
178 
columnResizeCursor()179 const Cursor& columnResizeCursor()
180 {
181     notImplemented();
182     return dummyCursor();
183 }
184 
rowResizeCursor()185 const Cursor& rowResizeCursor()
186 {
187     notImplemented();
188     return dummyCursor();
189 }
190 
verticalTextCursor()191 const Cursor& verticalTextCursor()
192 {
193     notImplemented();
194     return dummyCursor();
195 }
196 
cellCursor()197 const Cursor& cellCursor()
198 {
199     notImplemented();
200     return dummyCursor();
201 }
202 
contextMenuCursor()203 const Cursor& contextMenuCursor()
204 {
205     notImplemented();
206     return dummyCursor();
207 }
208 
noDropCursor()209 const Cursor& noDropCursor()
210 {
211     notImplemented();
212     return dummyCursor();
213 }
214 
copyCursor()215 const Cursor& copyCursor()
216 {
217     notImplemented();
218     return dummyCursor();
219 }
220 
progressCursor()221 const Cursor& progressCursor()
222 {
223     notImplemented();
224     return dummyCursor();
225 }
226 
aliasCursor()227 const Cursor& aliasCursor()
228 {
229     notImplemented();
230     return dummyCursor();
231 }
232 
noneCursor()233 const Cursor& noneCursor()
234 {
235     notImplemented();
236     return dummyCursor();
237 }
238 
notAllowedCursor()239 const Cursor& notAllowedCursor()
240 {
241     return dummyCursor();
242 }
243 
zoomInCursor()244 const Cursor& zoomInCursor()
245 {
246     return dummyCursor();
247 }
248 
zoomOutCursor()249 const Cursor& zoomOutCursor()
250 {
251     return dummyCursor();
252 }
253 
middlePanningCursor()254 const Cursor& middlePanningCursor()
255 {
256     notImplemented();
257     return dummyCursor();
258 }
259 
eastPanningCursor()260 const Cursor& eastPanningCursor()
261 {
262     notImplemented();
263     return dummyCursor();
264 }
265 
northPanningCursor()266 const Cursor& northPanningCursor()
267 {
268     notImplemented();
269     return dummyCursor();
270 }
271 
northEastPanningCursor()272 const Cursor& northEastPanningCursor()
273 {
274     notImplemented();
275     return dummyCursor();
276 }
277 
northWestPanningCursor()278 const Cursor& northWestPanningCursor()
279 {
280     notImplemented();
281     return dummyCursor();
282 }
283 
southPanningCursor()284 const Cursor& southPanningCursor()
285 {
286     notImplemented();
287     return dummyCursor();
288 }
289 
southEastPanningCursor()290 const Cursor& southEastPanningCursor()
291 {
292     notImplemented();
293     return dummyCursor();
294 }
295 
southWestPanningCursor()296 const Cursor& southWestPanningCursor()
297 {
298     notImplemented();
299     return dummyCursor();
300 }
301 
westPanningCursor()302 const Cursor& westPanningCursor()
303 {
304     notImplemented();
305     return dummyCursor();
306 }
307 
grabCursor()308 const Cursor& grabCursor()
309 {
310     notImplemented();
311     return dummyCursor();
312 }
313 
grabbingCursor()314 const Cursor& grabbingCursor()
315 {
316     notImplemented();
317     return dummyCursor();
318 }
319 
320 } // namespace WebCore
321