Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1006)

Side by Side Diff: third_party/WebKit/Source/core/dom/ExceptionCode.h

Issue 2571063002: Remove Blink-in-JS (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public 5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 10 matching lines...) Expand all
21 #define ExceptionCode_h 21 #define ExceptionCode_h
22 22
23 namespace blink { 23 namespace blink {
24 24
25 // The DOM standards use unsigned short for exception codes. 25 // The DOM standards use unsigned short for exception codes.
26 // In our DOM implementation we use int instead, and use different 26 // In our DOM implementation we use int instead, and use different
27 // numerical ranges for different types of DOM exception, so that 27 // numerical ranges for different types of DOM exception, so that
28 // an exception of any type can be expressed with a single integer. 28 // an exception of any type can be expressed with a single integer.
29 typedef int ExceptionCode; 29 typedef int ExceptionCode;
30 30
31 // This list must be in sync with the |domExceptions| in PrivateScriptRunner.js 31 // This list must be in sync with |coreExceptions| in DOMExceptions.cpp.
32 // and |coreExceptions| in DOMExceptions.cpp.
33 // Some of these are considered historical since they have been 32 // Some of these are considered historical since they have been
34 // changed or removed from the specifications. 33 // changed or removed from the specifications.
35 enum { 34 enum {
36 IndexSizeError = 1, 35 IndexSizeError = 1,
37 HierarchyRequestError, 36 HierarchyRequestError,
38 WrongDocumentError, 37 WrongDocumentError,
39 InvalidCharacterError, 38 InvalidCharacterError,
40 NoModificationAllowedError, 39 NoModificationAllowedError,
41 NotFoundError, 40 NotFoundError,
42 NotSupportedError, 41 NotSupportedError,
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 V8Error = 1000, 96 V8Error = 1000,
98 V8TypeError, 97 V8TypeError,
99 V8RangeError, 98 V8RangeError,
100 V8SyntaxError, 99 V8SyntaxError,
101 V8ReferenceError, 100 V8ReferenceError,
102 }; 101 };
103 102
104 } // namespace blink 103 } // namespace blink
105 104
106 #endif // ExceptionCode_h 105 #endif // ExceptionCode_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/core_idl_files.gni ('k') | third_party/WebKit/Source/core/frame/Deprecation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698