]>
git.saurik.com Git - apple/javascriptcore.git/blob - API/WebKitAvailability.h
2 * Copyright (C) 2008, 2009, 2010 Apple Inc. All Rights Reserved.
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the
11 * documentation and/or other materials provided with the distribution.
13 * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
14 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
16 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
17 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
18 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
19 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
20 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
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.
26 #ifndef __WebKitAvailability__
27 #define __WebKitAvailability__
29 /* The structure of this header is based on AvailabilityMacros.h. The major difference is that the availability
30 macros are defined in terms of WebKit version numbers rather than Mac OS X system version numbers, as WebKit
31 releases span multiple versions of Mac OS X.
34 #define WEBKIT_VERSION_1_0 0x0100
35 #define WEBKIT_VERSION_1_1 0x0110
36 #define WEBKIT_VERSION_1_2 0x0120
37 #define WEBKIT_VERSION_1_3 0x0130
38 #define WEBKIT_VERSION_2_0 0x0200
39 #define WEBKIT_VERSION_3_0 0x0300
40 #define WEBKIT_VERSION_3_1 0x0310
41 #define WEBKIT_VERSION_4_0 0x0400
42 #define WEBKIT_VERSION_LATEST 0x9999
45 #include <AvailabilityMacros.h>
48 * For non-Mac platforms, require the newest version.
50 #define WEBKIT_VERSION_MIN_REQUIRED WEBKIT_VERSION_LATEST
52 * only certain compilers support __attribute__((deprecated))
54 #if defined(__GNUC__) && ((__GNUC__ >= 4) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 1)))
55 #define DEPRECATED_ATTRIBUTE __attribute__((deprecated))
57 #define DEPRECATED_ATTRIBUTE
61 /* The versions of GCC that shipped with Xcode prior to 3.0 (GCC build number < 5400) did not support attributes on methods.
62 If we are building with one of these versions, we need to omit the attribute. We achieve this by wrapping the annotation
63 in WEBKIT_OBJC_METHOD_ANNOTATION, which will remove the annotation when an old version of GCC is in use and will otherwise
64 expand to the annotation. The same is needed for protocol methods.
66 #if defined(__APPLE_CC__) && __APPLE_CC__ < 5400
67 #define WEBKIT_OBJC_METHOD_ANNOTATION(ANNOTATION)
69 #define WEBKIT_OBJC_METHOD_ANNOTATION(ANNOTATION) ANNOTATION
73 /* If minimum WebKit version is not specified, assume the version that shipped with the target Mac OS X version */
74 #ifndef WEBKIT_VERSION_MIN_REQUIRED
75 #if !defined(MAC_OS_X_VERSION_10_2) || MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_2
76 #error WebKit was not available prior to Mac OS X 10.2
77 #elif !defined(MAC_OS_X_VERSION_10_3) || MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_3
78 /* WebKit 1.0 is the only version available on Mac OS X 10.2. */
79 #define WEBKIT_VERSION_MIN_REQUIRED WEBKIT_VERSION_1_0
80 #elif !defined(MAC_OS_X_VERSION_10_4) || MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_4
81 /* WebKit 1.1 is the version that shipped on Mac OS X 10.3. */
82 #define WEBKIT_VERSION_MIN_REQUIRED WEBKIT_VERSION_1_1
83 #elif !defined(MAC_OS_X_VERSION_10_5) || MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_5
84 /* WebKit 2.0 is the version that shipped on Mac OS X 10.4. */
85 #define WEBKIT_VERSION_MIN_REQUIRED WEBKIT_VERSION_2_0
86 #elif !defined(MAC_OS_X_VERSION_10_6) || MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_6
87 /* WebKit 3.0 is the version that shipped on Mac OS X 10.5. */
88 #define WEBKIT_VERSION_MIN_REQUIRED WEBKIT_VERSION_3_0
89 #elif !defined(MAC_OS_X_VERSION_10_7) || MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_7
90 /* WebKit 4.0 is the version that shipped on Mac OS X 10.6. */
91 #define WEBKIT_VERSION_MIN_REQUIRED WEBKIT_VERSION_4_0
93 #define WEBKIT_VERSION_MIN_REQUIRED WEBKIT_VERSION_LATEST
98 /* If maximum WebKit version is not specified, assume largerof(latest, minimum) */
99 #ifndef WEBKIT_VERSION_MAX_ALLOWED
100 #if WEBKIT_VERSION_MIN_REQUIRED > WEBKIT_VERSION_LATEST
101 #define WEBKIT_VERSION_MAX_ALLOWED WEBKIT_VERSION_MIN_REQUIRED
103 #define WEBKIT_VERSION_MAX_ALLOWED WEBKIT_VERSION_LATEST
108 /* Sanity check the configured values */
109 #if WEBKIT_VERSION_MAX_ALLOWED < WEBKIT_VERSION_MIN_REQUIRED
110 #error WEBKIT_VERSION_MAX_ALLOWED must be >= WEBKIT_VERSION_MIN_REQUIRED
112 #if WEBKIT_VERSION_MIN_REQUIRED < WEBKIT_VERSION_1_0
113 #error WEBKIT_VERSION_MIN_REQUIRED must be >= WEBKIT_VERSION_1_0
122 * AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER
124 * Used on functions introduced in WebKit 1.0
126 #define AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER
129 * AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED
131 * Used on functions introduced in WebKit 1.0,
132 * and deprecated in WebKit 1.0
134 #define AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE
137 * DEPRECATED_IN_WEBKIT_VERSION_1_0_AND_LATER
139 * Used on types deprecated in WebKit 1.0
141 #define DEPRECATED_IN_WEBKIT_VERSION_1_0_AND_LATER DEPRECATED_ATTRIBUTE
149 * AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER
151 * Used on declarations introduced in WebKit 1.1
153 #if WEBKIT_VERSION_MAX_ALLOWED < WEBKIT_VERSION_1_1
154 #define AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER UNAVAILABLE_ATTRIBUTE
155 #elif WEBKIT_VERSION_MIN_REQUIRED < WEBKIT_VERSION_1_1
156 #define AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER WEAK_IMPORT_ATTRIBUTE
158 #define AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER
162 * AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED
164 * Used on declarations introduced in WebKit 1.1,
165 * and deprecated in WebKit 1.1
167 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_1_1
168 #define AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE
170 #define AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER
174 * AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_1_1
176 * Used on declarations introduced in WebKit 1.0,
177 * but later deprecated in WebKit 1.1
179 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_1_1
180 #define AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_1_1 DEPRECATED_ATTRIBUTE
182 #define AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_1_1 AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER
186 * DEPRECATED_IN_WEBKIT_VERSION_1_1_AND_LATER
188 * Used on types deprecated in WebKit 1.1
190 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_1_1
191 #define DEPRECATED_IN_WEBKIT_VERSION_1_1_AND_LATER DEPRECATED_ATTRIBUTE
193 #define DEPRECATED_IN_WEBKIT_VERSION_1_1_AND_LATER
202 * AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER
204 * Used on declarations introduced in WebKit 1.2
206 #if WEBKIT_VERSION_MAX_ALLOWED < WEBKIT_VERSION_1_2
207 #define AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER UNAVAILABLE_ATTRIBUTE
208 #elif WEBKIT_VERSION_MIN_REQUIRED < WEBKIT_VERSION_1_2
209 #define AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER WEAK_IMPORT_ATTRIBUTE
211 #define AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER
215 * AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER_BUT_DEPRECATED
217 * Used on declarations introduced in WebKit 1.2,
218 * and deprecated in WebKit 1.2
220 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_1_2
221 #define AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE
223 #define AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER_BUT_DEPRECATED AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER
227 * AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_1_2
229 * Used on declarations introduced in WebKit 1.0,
230 * but later deprecated in WebKit 1.2
232 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_1_2
233 #define AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_1_2 DEPRECATED_ATTRIBUTE
235 #define AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_1_2 AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER
239 * AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_1_2
241 * Used on declarations introduced in WebKit 1.1,
242 * but later deprecated in WebKit 1.2
244 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_1_2
245 #define AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_1_2 DEPRECATED_ATTRIBUTE
247 #define AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_1_2 AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER
251 * DEPRECATED_IN_WEBKIT_VERSION_1_2_AND_LATER
253 * Used on types deprecated in WebKit 1.2
255 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_1_2
256 #define DEPRECATED_IN_WEBKIT_VERSION_1_2_AND_LATER DEPRECATED_ATTRIBUTE
258 #define DEPRECATED_IN_WEBKIT_VERSION_1_2_AND_LATER
267 * AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER
269 * Used on declarations introduced in WebKit 1.3
271 #if WEBKIT_VERSION_MAX_ALLOWED < WEBKIT_VERSION_1_3
272 #define AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER UNAVAILABLE_ATTRIBUTE
273 #elif WEBKIT_VERSION_MIN_REQUIRED < WEBKIT_VERSION_1_3
274 #define AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER WEAK_IMPORT_ATTRIBUTE
276 #define AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER
280 * AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER_BUT_DEPRECATED
282 * Used on declarations introduced in WebKit 1.3,
283 * and deprecated in WebKit 1.3
285 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_1_3
286 #define AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE
288 #define AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER_BUT_DEPRECATED AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER
292 * AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_1_3
294 * Used on declarations introduced in WebKit 1.0,
295 * but later deprecated in WebKit 1.3
297 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_1_3
298 #define AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_1_3 DEPRECATED_ATTRIBUTE
300 #define AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_1_3 AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER
304 * AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_1_3
306 * Used on declarations introduced in WebKit 1.1,
307 * but later deprecated in WebKit 1.3
309 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_1_3
310 #define AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_1_3 DEPRECATED_ATTRIBUTE
312 #define AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_1_3 AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER
316 * AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_1_3
318 * Used on declarations introduced in WebKit 1.2,
319 * but later deprecated in WebKit 1.3
321 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_1_3
322 #define AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_1_3 DEPRECATED_ATTRIBUTE
324 #define AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_1_3 AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER
328 * DEPRECATED_IN_WEBKIT_VERSION_1_3_AND_LATER
330 * Used on types deprecated in WebKit 1.3
332 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_1_3
333 #define DEPRECATED_IN_WEBKIT_VERSION_1_3_AND_LATER DEPRECATED_ATTRIBUTE
335 #define DEPRECATED_IN_WEBKIT_VERSION_1_3_AND_LATER
344 * AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER
346 * Used on declarations introduced in WebKit 2.0
348 #if WEBKIT_VERSION_MAX_ALLOWED < WEBKIT_VERSION_2_0
349 #define AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER UNAVAILABLE_ATTRIBUTE
350 #elif WEBKIT_VERSION_MIN_REQUIRED < WEBKIT_VERSION_2_0
351 #define AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER WEAK_IMPORT_ATTRIBUTE
353 #define AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER
357 * AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER_BUT_DEPRECATED
359 * Used on declarations introduced in WebKit 2.0,
360 * and deprecated in WebKit 2.0
362 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_2_0
363 #define AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE
365 #define AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER_BUT_DEPRECATED AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER
369 * AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_2_0
371 * Used on declarations introduced in WebKit 1.0,
372 * but later deprecated in WebKit 2.0
374 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_2_0
375 #define AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_2_0 DEPRECATED_ATTRIBUTE
377 #define AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_2_0 AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER
381 * AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_2_0
383 * Used on declarations introduced in WebKit 1.1,
384 * but later deprecated in WebKit 2.0
386 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_2_0
387 #define AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_2_0 DEPRECATED_ATTRIBUTE
389 #define AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_2_0 AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER
393 * AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_2_0
395 * Used on declarations introduced in WebKit 1.2,
396 * but later deprecated in WebKit 2.0
398 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_2_0
399 #define AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_2_0 DEPRECATED_ATTRIBUTE
401 #define AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_2_0 AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER
405 * AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_2_0
407 * Used on declarations introduced in WebKit 1.3,
408 * but later deprecated in WebKit 2.0
410 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_2_0
411 #define AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_2_0 DEPRECATED_ATTRIBUTE
413 #define AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_2_0 AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER
417 * DEPRECATED_IN_WEBKIT_VERSION_2_0_AND_LATER
419 * Used on types deprecated in WebKit 2.0
421 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_2_0
422 #define DEPRECATED_IN_WEBKIT_VERSION_2_0_AND_LATER DEPRECATED_ATTRIBUTE
424 #define DEPRECATED_IN_WEBKIT_VERSION_2_0_AND_LATER
433 * AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER
435 * Used on declarations introduced in WebKit 3.0
437 #if WEBKIT_VERSION_MAX_ALLOWED < WEBKIT_VERSION_3_0
438 #define AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER UNAVAILABLE_ATTRIBUTE
439 #elif WEBKIT_VERSION_MIN_REQUIRED < WEBKIT_VERSION_3_0
440 #define AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER WEAK_IMPORT_ATTRIBUTE
442 #define AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER
446 * AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER_BUT_DEPRECATED
448 * Used on declarations introduced in WebKit 3.0,
449 * and deprecated in WebKit 3.0
451 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_3_0
452 #define AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE
454 #define AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER_BUT_DEPRECATED AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER
458 * AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_0
460 * Used on declarations introduced in WebKit 1.0,
461 * but later deprecated in WebKit 3.0
463 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_3_0
464 #define AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_0 DEPRECATED_ATTRIBUTE
466 #define AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_0 AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER
470 * AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_0
472 * Used on declarations introduced in WebKit 1.1,
473 * but later deprecated in WebKit 3.0
475 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_3_0
476 #define AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_0 DEPRECATED_ATTRIBUTE
478 #define AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_0 AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER
482 * AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_0
484 * Used on declarations introduced in WebKit 1.2,
485 * but later deprecated in WebKit 3.0
487 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_3_0
488 #define AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_0 DEPRECATED_ATTRIBUTE
490 #define AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_0 AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER
494 * AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_0
496 * Used on declarations introduced in WebKit 1.3,
497 * but later deprecated in WebKit 3.0
499 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_3_0
500 #define AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_0 DEPRECATED_ATTRIBUTE
502 #define AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_0 AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER
506 * AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_0
508 * Used on declarations introduced in WebKit 2.0,
509 * but later deprecated in WebKit 3.0
511 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_3_0
512 #define AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_0 DEPRECATED_ATTRIBUTE
514 #define AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_0 AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER
518 * DEPRECATED_IN_WEBKIT_VERSION_3_0_AND_LATER
520 * Used on types deprecated in WebKit 3.0
522 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_3_0
523 #define DEPRECATED_IN_WEBKIT_VERSION_3_0_AND_LATER DEPRECATED_ATTRIBUTE
525 #define DEPRECATED_IN_WEBKIT_VERSION_3_0_AND_LATER
534 * AVAILABLE_WEBKIT_VERSION_3_1_AND_LATER
536 * Used on declarations introduced in WebKit 3.1
538 #if WEBKIT_VERSION_MAX_ALLOWED < WEBKIT_VERSION_3_1
539 #define AVAILABLE_WEBKIT_VERSION_3_1_AND_LATER UNAVAILABLE_ATTRIBUTE
540 #elif WEBKIT_VERSION_MIN_REQUIRED < WEBKIT_VERSION_3_1
541 #define AVAILABLE_WEBKIT_VERSION_3_1_AND_LATER WEAK_IMPORT_ATTRIBUTE
543 #define AVAILABLE_WEBKIT_VERSION_3_1_AND_LATER
547 * AVAILABLE_WEBKIT_VERSION_3_1_AND_LATER_BUT_DEPRECATED
549 * Used on declarations introduced in WebKit 3.1,
550 * and deprecated in WebKit 3.1
552 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_3_1
553 #define AVAILABLE_WEBKIT_VERSION_3_1_AND_LATER_BUT_DEPRECATED DEPRECATED_ATTRIBUTE
555 #define AVAILABLE_WEBKIT_VERSION_3_1_AND_LATER_BUT_DEPRECATED AVAILABLE_WEBKIT_VERSION_3_1_AND_LATER
559 * AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_1
561 * Used on declarations introduced in WebKit 1.0,
562 * but later deprecated in WebKit 3.1
564 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_3_1
565 #define AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_1 DEPRECATED_ATTRIBUTE
567 #define AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_1 AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER
571 * AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_1
573 * Used on declarations introduced in WebKit 1.1,
574 * but later deprecated in WebKit 3.1
576 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_3_1
577 #define AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_1 DEPRECATED_ATTRIBUTE
579 #define AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_1 AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER
583 * AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_1
585 * Used on declarations introduced in WebKit 1.2,
586 * but later deprecated in WebKit 3.1
588 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_3_1
589 #define AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_1 DEPRECATED_ATTRIBUTE
591 #define AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_1 AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER
595 * AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_1
597 * Used on declarations introduced in WebKit 1.3,
598 * but later deprecated in WebKit 3.1
600 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_3_1
601 #define AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_1 DEPRECATED_ATTRIBUTE
603 #define AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_1 AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER
607 * AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_1
609 * Used on declarations introduced in WebKit 2.0,
610 * but later deprecated in WebKit 3.1
612 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_3_1
613 #define AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_1 DEPRECATED_ATTRIBUTE
615 #define AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_1 AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER
619 * AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_1
621 * Used on declarations introduced in WebKit 3.0,
622 * but later deprecated in WebKit 3.1
624 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_3_1
625 #define AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_1 DEPRECATED_ATTRIBUTE
627 #define AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_3_1 AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER
631 * DEPRECATED_IN_WEBKIT_VERSION_3_1_AND_LATER
633 * Used on types deprecated in WebKit 3.1
635 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_3_1
636 #define DEPRECATED_IN_WEBKIT_VERSION_3_1_AND_LATER DEPRECATED_ATTRIBUTE
638 #define DEPRECATED_IN_WEBKIT_VERSION_3_1_AND_LATER
647 * AVAILABLE_IN_WEBKIT_VERSION_4_0
649 * Used on declarations introduced in WebKit 4.0
651 #if WEBKIT_VERSION_MAX_ALLOWED < WEBKIT_VERSION_4_0
652 #define AVAILABLE_IN_WEBKIT_VERSION_4_0 UNAVAILABLE_ATTRIBUTE
653 #elif WEBKIT_VERSION_MIN_REQUIRED < WEBKIT_VERSION_4_0
654 #define AVAILABLE_IN_WEBKIT_VERSION_4_0 WEAK_IMPORT_ATTRIBUTE
656 #define AVAILABLE_IN_WEBKIT_VERSION_4_0
660 * AVAILABLE_IN_WEBKIT_VERSION_4_0_BUT_DEPRECATED
662 * Used on declarations introduced in WebKit 4.0,
663 * and deprecated in WebKit 4.0
665 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_4_0
666 #define AVAILABLE_IN_WEBKIT_VERSION_4_0_BUT_DEPRECATED DEPRECATED_ATTRIBUTE
668 #define AVAILABLE_IN_WEBKIT_VERSION_4_0_BUT_DEPRECATED AVAILABLE_IN_WEBKIT_VERSION_4_0
672 * AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_4_0
674 * Used on declarations introduced in WebKit 1.0,
675 * but later deprecated in WebKit 4.0
677 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_4_0
678 #define AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_4_0 DEPRECATED_ATTRIBUTE
680 #define AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_4_0 AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER
684 * AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_4_0
686 * Used on declarations introduced in WebKit 1.1,
687 * but later deprecated in WebKit 4.0
689 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_4_0
690 #define AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_4_0 DEPRECATED_ATTRIBUTE
692 #define AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_4_0 AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER
696 * AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_4_0
698 * Used on declarations introduced in WebKit 1.2,
699 * but later deprecated in WebKit 4.0
701 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_4_0
702 #define AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_4_0 DEPRECATED_ATTRIBUTE
704 #define AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_4_0 AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER
708 * AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_4_0
710 * Used on declarations introduced in WebKit 1.3,
711 * but later deprecated in WebKit 4.0
713 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_4_0
714 #define AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_4_0 DEPRECATED_ATTRIBUTE
716 #define AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_4_0 AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER
720 * AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_4_0
722 * Used on declarations introduced in WebKit 2.0,
723 * but later deprecated in WebKit 4.0
725 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_4_0
726 #define AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_4_0 DEPRECATED_ATTRIBUTE
728 #define AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_4_0 AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER
732 * AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_4_0
734 * Used on declarations introduced in WebKit 3.0,
735 * but later deprecated in WebKit 4.0
737 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_4_0
738 #define AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_4_0 DEPRECATED_ATTRIBUTE
740 #define AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_4_0 AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER
744 * AVAILABLE_WEBKIT_VERSION_3_1_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_4_0
746 * Used on declarations introduced in WebKit 3.1,
747 * but later deprecated in WebKit 4.0
749 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_4_0
750 #define AVAILABLE_WEBKIT_VERSION_3_1_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_4_0 DEPRECATED_ATTRIBUTE
752 #define AVAILABLE_WEBKIT_VERSION_3_1_AND_LATER_BUT_DEPRECATED_IN_WEBKIT_VERSION_4_0 AVAILABLE_WEBKIT_VERSION_3_1_AND_LATER
756 * DEPRECATED_IN_WEBKIT_VERSION_4_0
758 * Used on types deprecated in WebKit 4.0
760 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_4_0
761 #define DEPRECATED_IN_WEBKIT_VERSION_4_0 DEPRECATED_ATTRIBUTE
763 #define DEPRECATED_IN_WEBKIT_VERSION_4_0
772 * AVAILABLE_AFTER_WEBKIT_VERSION_4_0
774 * Used on declarations introduced after WebKit 4.0
776 #if WEBKIT_VERSION_MAX_ALLOWED < WEBKIT_VERSION_LATEST
777 #define AVAILABLE_AFTER_WEBKIT_VERSION_4_0 UNAVAILABLE_ATTRIBUTE
778 #elif WEBKIT_VERSION_MIN_REQUIRED < WEBKIT_VERSION_LATEST
779 #define AVAILABLE_AFTER_WEBKIT_VERSION_4_0 WEAK_IMPORT_ATTRIBUTE
781 #define AVAILABLE_AFTER_WEBKIT_VERSION_4_0
785 * AVAILABLE_AFTER_WEBKIT_VERSION_4_0_BUT_DEPRECATED
787 * Used on declarations introduced after WebKit 4.0,
788 * and deprecated after WebKit 4.0
790 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_LATEST
791 #define AVAILABLE_AFTER_WEBKIT_VERSION_4_0_BUT_DEPRECATED DEPRECATED_ATTRIBUTE
793 #define AVAILABLE_AFTER_WEBKIT_VERSION_4_0_BUT_DEPRECATED AVAILABLE_AFTER_WEBKIT_VERSION_4_0
797 * AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0
799 * Used on declarations introduced in WebKit 1.0,
800 * but later deprecated after WebKit 4.0
802 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_LATEST
803 #define AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0 DEPRECATED_ATTRIBUTE
805 #define AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0 AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER
809 * AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0
811 * Used on declarations introduced in WebKit 1.1,
812 * but later deprecated after WebKit 4.0
814 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_LATEST
815 #define AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0 DEPRECATED_ATTRIBUTE
817 #define AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0 AVAILABLE_WEBKIT_VERSION_1_1_AND_LATER
821 * AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0
823 * Used on declarations introduced in WebKit 1.2,
824 * but later deprecated after WebKit 4.0
826 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_LATEST
827 #define AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0 DEPRECATED_ATTRIBUTE
829 #define AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0 AVAILABLE_WEBKIT_VERSION_1_2_AND_LATER
833 * AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0
835 * Used on declarations introduced in WebKit 1.3,
836 * but later deprecated after WebKit 4.0
838 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_LATEST
839 #define AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0 DEPRECATED_ATTRIBUTE
841 #define AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0 AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER
845 * AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0
847 * Used on declarations introduced in WebKit 2.0,
848 * but later deprecated after WebKit 4.0
850 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_LATEST
851 #define AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0 DEPRECATED_ATTRIBUTE
853 #define AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0 AVAILABLE_WEBKIT_VERSION_2_0_AND_LATER
857 * AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0
859 * Used on declarations introduced in WebKit 3.0,
860 * but later deprecated after WebKit 4.0
862 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_LATEST
863 #define AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0 DEPRECATED_ATTRIBUTE
865 #define AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0 AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER
869 * AVAILABLE_WEBKIT_VERSION_3_1_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0
871 * Used on declarations introduced in WebKit 3.1,
872 * but later deprecated after WebKit 4.0
874 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_LATEST
875 #define AVAILABLE_WEBKIT_VERSION_3_1_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0 DEPRECATED_ATTRIBUTE
877 #define AVAILABLE_WEBKIT_VERSION_3_1_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0 AVAILABLE_WEBKIT_VERSION_3_1_AND_LATER
881 * AVAILABLE_WEBKIT_VERSION_4_0_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0
883 * Used on declarations introduced in WebKit 4.0
884 * but later deprecated after WebKit 4.0
886 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_LATEST
887 #define AVAILABLE_WEBKIT_VERSION_4_0_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0 DEPRECATED_ATTRIBUTE
889 #define AVAILABLE_WEBKIT_VERSION_4_0_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_4_0 AVAILABLE_WEBKIT_VERSION_4_0_AND_LATER
893 * DEPRECATED_AFTER_WEBKIT_VERSION_4_0
895 * Used on types deprecated after WebKit 4.0
897 #if WEBKIT_VERSION_MIN_REQUIRED >= WEBKIT_VERSION_LATEST
898 #define DEPRECATED_AFTER_WEBKIT_VERSION_4_0 DEPRECATED_ATTRIBUTE
900 #define DEPRECATED_AFTER_WEBKIT_VERSION_4_0
904 #endif /* __WebKitAvailability__ */