|
| 1 | +2011-11-08 Adam Klein <adamk@chromium.org> |
| 2 | + |
| 3 | + Use a typedef for ExceptionCode in all header files instead of including ExceptionCode.h |
| 4 | + https://bugs.webkit.org/show_bug.cgi?id=71845 |
| 5 | + |
| 6 | + Reviewed by Adam Barth. |
| 7 | + |
| 8 | + Some headers in WebCore include ExceptionCode.h to get the ExceptionCode typedef, |
| 9 | + while others provide the typedef themselves. Per Darin, the latter is preferred, |
| 10 | + so this patch updates all references, and fixes up .cpp files that |
| 11 | + need the include in order to access the enum. |
| 12 | + |
| 13 | + * bindings/js/JSSVGLengthCustom.cpp: |
| 14 | + * bindings/scripts/CodeGeneratorJS.pm: |
| 15 | + (GenerateImplementation): #include ExceptionCode.h when needed for SVG. |
| 16 | + * bindings/scripts/CodeGeneratorObjC.pm: |
| 17 | + (GenerateImplementation): #include ExceptionCode.h when needed for SVG. |
| 18 | + * bindings/v8/custom/V8NotificationCenterCustom.cpp: |
| 19 | + * bindings/v8/custom/V8SVGLengthCustom.cpp: |
| 20 | + * css/WebKitCSSMatrix.h: |
| 21 | + * fileapi/DirectoryReaderSync.h: |
| 22 | + * fileapi/EntrySync.h: |
| 23 | + * fileapi/FileReader.h: |
| 24 | + * fileapi/FileReaderSync.h: |
| 25 | + * fileapi/SyncCallbackHelper.h: |
| 26 | + * html/ClassList.h: |
| 27 | + * html/DOMSettableTokenList.h: |
| 28 | + * html/DOMTokenList.cpp: |
| 29 | + * html/DOMTokenList.h: |
| 30 | + * html/TextTrack.cpp: |
| 31 | + * html/TextTrack.h: |
| 32 | + * html/TimeRanges.cpp: |
| 33 | + * html/TimeRanges.h: |
| 34 | + * html/canvas/ArrayBuffer.cpp: |
| 35 | + * html/canvas/ArrayBuffer.h: |
| 36 | + * html/canvas/ArrayBufferView.cpp: |
| 37 | + * html/canvas/ArrayBufferView.h: |
| 38 | + * html/canvas/DataView.cpp: |
| 39 | + * html/canvas/DataView.h: |
| 40 | + * html/canvas/OESVertexArrayObject.h: |
| 41 | + * html/canvas/WebGLDebugShaders.h: |
| 42 | + * html/canvas/WebGLRenderingContext.cpp: |
| 43 | + * html/canvas/WebGLRenderingContext.h: |
| 44 | + * mediastream/MediaStreamFrameController.cpp: |
| 45 | + * mediastream/MediaStreamFrameController.h: |
| 46 | + * notifications/Notification.h: |
| 47 | + * notifications/NotificationCenter.h: |
| 48 | + * storage/AbstractDatabase.cpp: |
| 49 | + * storage/AbstractDatabase.h: |
| 50 | + * storage/Database.h: |
| 51 | + * storage/DatabaseSync.h: |
| 52 | + * storage/DatabaseTask.h: |
| 53 | + * storage/IDBCursor.h: |
| 54 | + * storage/IDBCursorBackendInterface.h: |
| 55 | + * storage/IDBDatabase.h: |
| 56 | + * storage/IDBDatabaseBackendInterface.h: |
| 57 | + * storage/IDBFactory.h: |
| 58 | + * storage/IDBFactoryBackendInterface.h: |
| 59 | + * storage/IDBIndexBackendInterface.h: |
| 60 | + * storage/IDBKeyRange.h: |
| 61 | + * storage/IDBObjectStoreBackendInterface.h: |
| 62 | + * storage/IDBRequest.h: |
| 63 | + * storage/IDBTransactionBackendInterface.h: |
| 64 | + * storage/SQLResultSet.cpp: |
| 65 | + * storage/SQLResultSet.h: |
| 66 | + * storage/SQLStatementSync.h: |
| 67 | + * storage/SQLTransaction.cpp: |
| 68 | + * storage/SQLTransaction.h: |
| 69 | + * storage/SQLTransactionSync.h: |
| 70 | + * svg/ElementTimeControl.h: |
| 71 | + * svg/SVGAngle.cpp: |
| 72 | + * svg/SVGAngle.h: |
| 73 | + * svg/SVGLength.cpp: |
| 74 | + * svg/SVGLength.h: |
| 75 | + * svg/SVGLengthContext.cpp: |
| 76 | + * svg/SVGLengthContext.h: |
| 77 | + * svg/SVGLocatable.h: |
| 78 | + * svg/SVGMatrix.h: |
| 79 | + * svg/SVGPreserveAspectRatio.cpp: |
| 80 | + * svg/SVGPreserveAspectRatio.h: |
| 81 | + * testing/Internals.h: |
| 82 | + * webaudio/AudioContext.cpp: |
| 83 | + * workers/DefaultSharedWorkerRepository.cpp: |
| 84 | + * workers/DefaultSharedWorkerRepository.h: |
| 85 | + * workers/SharedWorkerRepository.h: |
| 86 | + |
1 | 87 | 2011-11-08 Kentaro Hara <haraken@chromium.org> |
2 | 88 |
|
3 | 89 | CodeGeneratorV8.pm can generate a NamedConstructor |
|
0 commit comments