summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/objc/DOMException.h
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2008-12-17 18:05:15 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2008-12-17 18:05:15 -0800
commit1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353 (patch)
tree4457a7306ea5acb43fe05bfe0973b1f7faf97ba2 /WebCore/bindings/objc/DOMException.h
parent9364f22aed35e1a1e9d07c121510f80be3ab0502 (diff)
downloadexternal_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.zip
external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.tar.gz
external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.tar.bz2
Code drop from //branches/cupcake/...@124589
Diffstat (limited to 'WebCore/bindings/objc/DOMException.h')
-rw-r--r--WebCore/bindings/objc/DOMException.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/WebCore/bindings/objc/DOMException.h b/WebCore/bindings/objc/DOMException.h
index 1efdf24..64d7194 100644
--- a/WebCore/bindings/objc/DOMException.h
+++ b/WebCore/bindings/objc/DOMException.h
@@ -24,12 +24,15 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#import <JavaScriptCore/WebKitAvailability.h>
+
+#if WEBKIT_VERSION_MAX_ALLOWED >= WEBKIT_VERSION_1_3
+
@class NSString;
extern NSString * const DOMException;
-// DOM exception codes
-enum {
+enum DOMExceptionCode {
DOM_INDEX_SIZE_ERR = 1,
DOM_DOMSTRING_SIZE_ERR = 2,
DOM_HIERARCHY_REQUEST_ERR = 3,
@@ -46,3 +49,5 @@ enum {
DOM_NAMESPACE_ERR = 14,
DOM_INVALID_ACCESS_ERR = 15
};
+
+#endif