Add [CustomToJSObject] to interfaces which have custom toJS() and toV8()
authorharaken@chromium.org <haraken@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Feb 2012 00:42:58 +0000 (00:42 +0000)
committerharaken@chromium.org <haraken@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Feb 2012 00:42:58 +0000 (00:42 +0000)
commit57b5d0e21b640183baf71f457de540c0446158e4
tree2ceede928572c7fb1eb30634bb5b43ba59a8aba6
parentaa9378f14ff103b8469d4fb6bb0ccc4c41740ce8
Add [CustomToJSObject] to interfaces which have custom toJS() and toV8()
https://bugs.webkit.org/show_bug.cgi?id=78489

Reviewed by Adam Barth.

This is the final step to remove hard-coding from HasCustomToV8Implementation()
in CodeGeneratorV8.pm. This patch replaces [JSCustomToJS] with [CustomToJSObject]
for interfaces which have custom toJS() and custom toV8().

No tests. No change in behavior.

* bindings/scripts/CodeGeneratorJS.pm:
(GenerateHeader):
(GenerateImplementation):
* bindings/scripts/CodeGeneratorV8.pm:
(GenerateHeader):

* bindings/scripts/test/TestTypedArray.idl:
* css/CSSRule.idl:
* css/CSSValue.idl:
* css/StyleSheet.idl:
* dom/Document.idl:
* dom/Event.idl:
* dom/Node.idl:
* fileapi/Blob.idl:
* fileapi/Entry.idl:
* fileapi/EntrySync.idl:
* html/HTMLCollection.idl:
* html/ImageData.idl:
* html/canvas/ArrayBufferView.idl:
* html/canvas/DataView.idl:
* html/canvas/Float32Array.idl:
* html/canvas/Float64Array.idl:
* html/canvas/Int16Array.idl:
* html/canvas/Int32Array.idl:
* html/canvas/Int8Array.idl:
* html/canvas/Uint16Array.idl:
* html/canvas/Uint32Array.idl:
* html/canvas/Uint8Array.idl:
* html/canvas/Uint8ClampedArray.idl:
* storage/IDBAny.idl:
* storage/IDBKey.idl:
* svg/SVGPathSeg.idl:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@107636 268f45cc-cd09-0410-ab3c-d52691b4dbfc
29 files changed:
Source/WebCore/ChangeLog
Source/WebCore/bindings/scripts/CodeGeneratorJS.pm
Source/WebCore/bindings/scripts/CodeGeneratorV8.pm
Source/WebCore/bindings/scripts/test/TestTypedArray.idl
Source/WebCore/css/CSSRule.idl
Source/WebCore/css/CSSValue.idl
Source/WebCore/css/StyleSheet.idl
Source/WebCore/dom/Document.idl
Source/WebCore/dom/Event.idl
Source/WebCore/dom/Node.idl
Source/WebCore/fileapi/Blob.idl
Source/WebCore/fileapi/Entry.idl
Source/WebCore/fileapi/EntrySync.idl
Source/WebCore/html/HTMLCollection.idl
Source/WebCore/html/ImageData.idl
Source/WebCore/html/canvas/ArrayBufferView.idl
Source/WebCore/html/canvas/DataView.idl
Source/WebCore/html/canvas/Float32Array.idl
Source/WebCore/html/canvas/Float64Array.idl
Source/WebCore/html/canvas/Int16Array.idl
Source/WebCore/html/canvas/Int32Array.idl
Source/WebCore/html/canvas/Int8Array.idl
Source/WebCore/html/canvas/Uint16Array.idl
Source/WebCore/html/canvas/Uint32Array.idl
Source/WebCore/html/canvas/Uint8Array.idl
Source/WebCore/html/canvas/Uint8ClampedArray.idl
Source/WebCore/storage/IDBAny.idl
Source/WebCore/storage/IDBKey.idl
Source/WebCore/svg/SVGPathSeg.idl