Changeset 54042 in webkit
- Timestamp:
- Jan 28, 2010 8:49:39 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 3 deleted
- 41 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/Android.v8bindings.mk
r53931 r54042 102 102 bindings/v8/custom/V8CustomVoidCallback.cpp \ 103 103 bindings/v8/custom/V8DOMApplicationCacheCustom.cpp \ 104 bindings/v8/custom/V8DOMParserConstructor.cpp \105 104 bindings/v8/custom/V8DOMWindowCustom.cpp \ 106 105 bindings/v8/custom/V8DataGridColumnListCustom.cpp \ … … 164 163 bindings/v8/custom/V8XMLHttpRequestConstructor.cpp \ 165 164 bindings/v8/custom/V8XMLHttpRequestCustom.cpp \ 166 bindings/v8/custom/V8XMLHttpRequestUploadCustom.cpp \ 167 bindings/v8/custom/V8XMLSerializerConstructor.cpp 165 bindings/v8/custom/V8XMLHttpRequestUploadCustom.cpp 168 166 169 167 LOCAL_SRC_FILES += \ -
trunk/WebCore/ChangeLog
r54041 r54042 1 2010-01-28 Kavita Kanetkar <kkanetkar@chromium.org> 2 3 Reviewed by Dimitri Glazkov. 4 5 [V8] Generate header declaration for custom constructor callbacks 6 https://bugs.webkit.org/show_bug.cgi?id=33680 7 8 Added handling of 'CanBeConstructed' and 'OmitConstructor' and a new extended attribute 9 CustomConstructor'. 10 11 Deleted implementation .cpp files for corresponding 'CanBeConstructed' 12 extended attributes. These are now generated via CodeGeneratorV8.pm 13 Treating 'OmitConstructor' and 'CustomConstructor' to be the same in 14 CodeGeneratorJS.pm 15 Cleaned idls that had 'CustomConstructor' and 'OmitConstructor' together, and 16 same with CustomConstructor and CanBeConstructed. 17 18 * Android.v8bindings.mk: 19 * WebCore.gypi: Removed deps for classes being generated. 20 * bindings/scripts/CodeGeneratorJS.pm: OmitConstructor and CustomConstructor have the same behavior in generator. 21 * bindings/scripts/CodeGeneratorV8.pm: Generating the callbacks for constructors. 22 * bindings/v8/V8DOMWrapper.cpp: Removed manual calls to SetCallHandler() for constructor callbacks. 23 (WebCore::V8DOMWrapper::getTemplate): 24 * bindings/v8/custom/V8CustomBinding.h: Removed manual declarations of constructor callbacks. 25 * bindings/v8/custom/V8DOMParserConstructor.cpp: 26 * bindings/v8/custom/V8EventSourceConstructor.cpp: 27 (WebCore::V8EventSource::constructorCallback): 28 * bindings/v8/custom/V8MessageChannelConstructor.cpp: 29 (WebCore::V8MessageChannel::constructorCallback): 30 * bindings/v8/custom/V8SharedWorkerCustom.cpp: 31 (WebCore::V8SharedWorker::constructorCallback): 32 * bindings/v8/custom/V8WebGLArrayBufferCustom.cpp: 33 (WebCore::V8WebGLArrayBuffer::constructorCallback): 34 * bindings/v8/custom/V8WebGLByteArrayCustom.cpp: 35 (WebCore::V8WebGLByteArray::constructorCallback): 36 * bindings/v8/custom/V8WebGLFloatArrayCustom.cpp: 37 (WebCore::V8WebGLFloatArray::constructorCallback): 38 * bindings/v8/custom/V8WebGLIntArrayCustom.cpp: 39 (WebCore::V8WebGLIntArray::constructorCallback): 40 * bindings/v8/custom/V8WebGLShortArrayCustom.cpp: 41 (WebCore::V8WebGLShortArray::constructorCallback): 42 * bindings/v8/custom/V8WebGLUnsignedByteArrayCustom.cpp: 43 (WebCore::V8WebGLUnsignedByteArray::constructorCallback): 44 * bindings/v8/custom/V8WebGLUnsignedIntArrayCustom.cpp: 45 (WebCore::V8WebGLUnsignedIntArray::constructorCallback): 46 * bindings/v8/custom/V8WebGLUnsignedShortArrayCustom.cpp: 47 (WebCore::V8WebGLUnsignedShortArray::constructorCallback): 48 * bindings/v8/custom/V8WebKitCSSMatrixConstructor.cpp: 49 (WebCore::V8WebKitCSSMatrix::constructorCallback): 50 * bindings/v8/custom/V8WebKitPointConstructor.cpp: 51 (WebCore::V8WebKitPoint::constructorCallback): 52 * bindings/v8/custom/V8WebSocketCustom.cpp: 53 (WebCore::V8WebSocket::constructorCallback): 54 * bindings/v8/custom/V8WorkerCustom.cpp: 55 (WebCore::V8Worker::constructorCallback): 56 * bindings/v8/custom/V8XMLHttpRequestConstructor.cpp: 57 (WebCore::V8XMLHttpRequest::constructorCallback): 58 * bindings/v8/custom/V8XMLSerializerConstructor.cpp: 59 * bindings/v8/custom/V8XPathEvaluatorConstructor.cpp: Deleted the file. Implementation now being generated. 60 * bindings/v8/custom/V8XSLTProcessorCustom.cpp: Deleted the file. Implementation now being generated. 61 (WebCore::V8XSLTProcessor::constructorCallback): Deleted the file. Implementation now being generated. 62 * css/WebKitCSSMatrix.idl: Added CustomConstructor attribute. 63 * dom/MessageChannel.idl: Added CustomConstructor attribute. 64 * html/canvas/WebGLArrayBuffer.idl: Added CustomConstructor attribute. 65 * html/canvas/WebGLByteArray.idl: Added CustomConstructor attribute. 66 * html/canvas/WebGLFloatArray.idl: Added CustomConstructor attribute. 67 * html/canvas/WebGLIntArray.idl: Added CustomConstructor attribute. 68 * html/canvas/WebGLShortArray.idl: Added CustomConstructor attribute. 69 * html/canvas/WebGLUnsignedByteArray.idl: Added CustomConstructor attribute. 70 * html/canvas/WebGLUnsignedIntArray.idl: Added CustomConstructor attribute. 71 1 72 2010-01-28 Steve Block <steveblock@google.com> 2 73 -
trunk/WebCore/WebCore.gypi
r54009 r54042 690 690 'bindings/v8/custom/V8DocumentLocationCustom.cpp', 691 691 'bindings/v8/custom/V8DOMApplicationCacheCustom.cpp', 692 'bindings/v8/custom/V8DOMParserConstructor.cpp',693 692 'bindings/v8/custom/V8DOMWindowCustom.cpp', 694 693 'bindings/v8/custom/V8DocumentCustom.cpp', … … 753 752 'bindings/v8/custom/V8XMLHttpRequestCustom.cpp', 754 753 'bindings/v8/custom/V8XMLHttpRequestUploadCustom.cpp', 755 'bindings/v8/custom/V8XMLSerializerConstructor.cpp',756 'bindings/v8/custom/V8XPathEvaluatorConstructor.cpp',757 754 'bindings/v8/custom/V8XSLTProcessorCustom.cpp', 758 755 'bindings/v8/DateExtension.cpp', -
trunk/WebCore/bindings/scripts/CodeGeneratorJS.pm
r54022 r54042 553 553 554 554 my $hasGetter = $numAttributes > 0 555 || !$dataNode->extendedAttributes->{"OmitConstructor"} 555 || !($dataNode->extendedAttributes->{"OmitConstructor"} 556 || $dataNode->extendedAttributes->{"CustomConstructor"}) 556 557 || $dataNode->extendedAttributes->{"HasIndexGetter"} 557 558 || $dataNode->extendedAttributes->{"HasCustomIndexGetter"} … … 656 657 657 658 # Constructor object getter 658 push(@headerContent, " static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*);\n") if !$dataNode->extendedAttributes->{"OmitConstructor"};659 push(@headerContent, " static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*);\n") if (!($dataNode->extendedAttributes->{"OmitConstructor"} || $dataNode->extendedAttributes->{"CustomConstructor"})); 659 660 660 661 my $numCustomFunctions = 0; … … 839 840 } 840 841 841 if ($numAttributes > 0 || ! $dataNode->extendedAttributes->{"OmitConstructor"}) {842 if ($numAttributes > 0 || !($dataNode->extendedAttributes->{"OmitConstructor"} || $dataNode->extendedAttributes->{"CustomConstructor"})) { 842 843 push(@headerContent,"// Attributes\n\n"); 843 844 foreach my $attribute (@{$dataNode->attributes}) { … … 850 851 } 851 852 852 if (! $dataNode->extendedAttributes->{"OmitConstructor"}) {853 if (!($dataNode->extendedAttributes->{"OmitConstructor"} || $dataNode->extendedAttributes->{"CustomConstructor"})) { 853 854 my $getter = "js" . $interfaceName . "Constructor"; 854 855 push(@headerContent, "JSC::JSValue ${getter}(JSC::ExecState*, const JSC::Identifier&, const JSC::PropertySlot&);\n"); … … 919 920 # - Add all attributes in a hashtable definition 920 921 my $numAttributes = @{$dataNode->attributes}; 921 $numAttributes++ if !$dataNode->extendedAttributes->{"OmitConstructor"};922 $numAttributes++ if (!($dataNode->extendedAttributes->{"OmitConstructor"} || $dataNode->extendedAttributes->{"CustomConstructor"})); 922 923 923 924 if ($numAttributes > 0) { … … 960 961 } 961 962 962 if (! $dataNode->extendedAttributes->{"OmitConstructor"}) {963 if (!($dataNode->extendedAttributes->{"OmitConstructor"} || $dataNode->extendedAttributes->{"CustomConstructor"})) { 963 964 push(@hashKeys, "constructor"); 964 965 my $getter = "js" . $interfaceName . "Constructor"; … … 978 979 979 980 # - Add all constants 980 if (! $dataNode->extendedAttributes->{"OmitConstructor"}) {981 if (!($dataNode->extendedAttributes->{"OmitConstructor"} || $dataNode->extendedAttributes->{"CustomConstructor"})) { 981 982 $hashSize = $numConstants; 982 983 $hashName = $className . "ConstructorTable"; … … 1214 1215 1215 1216 my $hasGetter = $numAttributes > 0 1216 || !$dataNode->extendedAttributes->{"OmitConstructor"} 1217 || !($dataNode->extendedAttributes->{"OmitConstructor"} 1218 || $dataNode->extendedAttributes->{"CustomConstructor"}) 1217 1219 || $dataNode->extendedAttributes->{"HasIndexGetter"} 1218 1220 || $dataNode->extendedAttributes->{"HasCustomIndexGetter"} … … 1365 1367 } 1366 1368 1367 if (! $dataNode->extendedAttributes->{"OmitConstructor"}) {1369 if (!($dataNode->extendedAttributes->{"OmitConstructor"} || $dataNode->extendedAttributes->{"CustomConstructor"})) { 1368 1370 my $constructorFunctionName = "js" . $interfaceName . "Constructor"; 1369 1371 … … 1506 1508 } 1507 1509 1508 if (! $dataNode->extendedAttributes->{"OmitConstructor"}) {1510 if (!($dataNode->extendedAttributes->{"OmitConstructor"} || $dataNode->extendedAttributes->{"CustomConstructor"})) { 1509 1511 push(@implContent, "JSValue ${className}::getConstructor(ExecState* exec, JSGlobalObject* globalObject)\n{\n"); 1510 1512 push(@implContent, " return getDOMConstructor<${className}Constructor>(exec, static_cast<JSDOMGlobalObject*>(globalObject));\n"); -
trunk/WebCore/bindings/scripts/CodeGeneratorV8.pm
r53974 r54042 299 299 push(@enabledAtRuntime, $function); 300 300 } 301 } 302 303 if ($dataNode->extendedAttributes->{"CustomConstructor"} || $dataNode->extendedAttributes->{"CanBeConstructed"}) { 304 push(@headerContent, <<END); 305 static v8::Handle<v8::Value> constructorCallback(const v8::Arguments& args); 306 END 301 307 } 302 308 … … 1535 1541 GenerateConstructorGetter($implClassName, $classIndex); 1536 1542 } 1537 1543 1538 1544 my $indexer; 1539 1545 my $namedPropertyGetter; … … 1653 1659 push(@implContentDecls, "} // namespace ${interfaceName}Internal\n\n"); 1654 1660 1661 # In namespace WebCore, add generated implementation for 'CanBeConstructed'. 1662 if ($dataNode->extendedAttributes->{"CanBeConstructed"} && !$dataNode->extendedAttributes->{"CustomConstructor"}) { 1663 push(@implContent, <<END); 1664 v8::Handle<v8::Value> ${className}::constructorCallback(const v8::Arguments& args) 1665 { 1666 INC_STATS("DOM.${interfaceName}.Contructor"); 1667 return V8Proxy::constructDOMObject<V8ClassIndex::${classIndex}, $interfaceName>(args); 1668 } 1669 END 1670 } 1671 1655 1672 my $access_check = ""; 1656 1673 if ($dataNode->extendedAttributes->{"CheckDomainSecurity"} && !($interfaceName eq "DOMWindow")) { … … 1692 1709 V8ClassIndex::$parentClassIndex, V8${interfaceName}::internalFieldCount, 1693 1710 END 1694 1695 1711 # Set up our attributes if we have them 1696 1712 if ($has_attributes) { … … 1711 1727 push(@implContent, <<END); 1712 1728 NULL, 0); 1729 END 1730 } 1731 1732 if ($dataNode->extendedAttributes->{"CustomConstructor"} || $dataNode->extendedAttributes->{"CanBeConstructed"}) { 1733 push(@implContent, <<END); 1734 desc->SetCallHandler(V8${interfaceName}::constructorCallback); 1713 1735 END 1714 1736 } -
trunk/WebCore/bindings/v8/V8DOMWrapper.cpp
r53944 r54042 255 255 FunctionTemplateFactory factory = V8ClassIndex::GetFactory(type); 256 256 v8::Persistent<v8::FunctionTemplate> descriptor = factory(); 257 switch (type) {258 case V8ClassIndex::MESSAGECHANNEL: {259 descriptor->SetCallHandler(USE_CALLBACK(MessageChannelConstructor));260 break;261 }262 263 #if ENABLE(EVENTSOURCE)264 case V8ClassIndex::EVENTSOURCE: {265 descriptor->SetCallHandler(USE_CALLBACK(EventSourceConstructor));266 break;267 }268 #endif269 270 #if ENABLE(WORKERS)271 case V8ClassIndex::WORKER: {272 descriptor->SetCallHandler(USE_CALLBACK(WorkerConstructor));273 break;274 }275 #endif // WORKERS276 277 #if ENABLE(SHARED_WORKERS)278 case V8ClassIndex::SHAREDWORKER: {279 descriptor->SetCallHandler(USE_CALLBACK(SharedWorkerConstructor));280 break;281 }282 #endif // SHARED_WORKERS283 284 #if ENABLE(3D_CANVAS)285 // The following objects are created from JavaScript.286 case V8ClassIndex::WEBGLARRAYBUFFER:287 descriptor->SetCallHandler(USE_CALLBACK(WebGLArrayBufferConstructor));288 break;289 case V8ClassIndex::WEBGLBYTEARRAY:290 descriptor->SetCallHandler(USE_CALLBACK(WebGLByteArrayConstructor));291 break;292 case V8ClassIndex::WEBGLFLOATARRAY:293 descriptor->SetCallHandler(USE_CALLBACK(WebGLFloatArrayConstructor));294 break;295 case V8ClassIndex::WEBGLINTARRAY:296 descriptor->SetCallHandler(USE_CALLBACK(WebGLIntArrayConstructor));297 break;298 case V8ClassIndex::WEBGLSHORTARRAY:299 descriptor->SetCallHandler(USE_CALLBACK(WebGLShortArrayConstructor));300 break;301 case V8ClassIndex::WEBGLUNSIGNEDBYTEARRAY:302 descriptor->SetCallHandler(USE_CALLBACK(WebGLUnsignedByteArrayConstructor));303 break;304 case V8ClassIndex::WEBGLUNSIGNEDINTARRAY:305 descriptor->SetCallHandler(USE_CALLBACK(WebGLUnsignedIntArrayConstructor));306 break;307 case V8ClassIndex::WEBGLUNSIGNEDSHORTARRAY:308 descriptor->SetCallHandler(USE_CALLBACK(WebGLUnsignedShortArrayConstructor));309 break;310 #endif311 case V8ClassIndex::DOMPARSER:312 descriptor->SetCallHandler(USE_CALLBACK(DOMParserConstructor));313 break;314 case V8ClassIndex::WEBKITCSSMATRIX:315 descriptor->SetCallHandler(USE_CALLBACK(WebKitCSSMatrixConstructor));316 break;317 case V8ClassIndex::WEBKITPOINT:318 descriptor->SetCallHandler(USE_CALLBACK(WebKitPointConstructor));319 break;320 #if ENABLE(WEB_SOCKETS)321 case V8ClassIndex::WEBSOCKET: {322 descriptor->SetCallHandler(USE_CALLBACK(WebSocketConstructor));323 break;324 }325 #endif326 case V8ClassIndex::XMLSERIALIZER:327 descriptor->SetCallHandler(USE_CALLBACK(XMLSerializerConstructor));328 break;329 case V8ClassIndex::XMLHTTPREQUEST: {330 descriptor->SetCallHandler(USE_CALLBACK(XMLHttpRequestConstructor));331 break;332 }333 #if ENABLE(XPATH)334 case V8ClassIndex::XPATHEVALUATOR:335 descriptor->SetCallHandler(USE_CALLBACK(XPathEvaluatorConstructor));336 break;337 #endif338 #if ENABLE(XSLT)339 case V8ClassIndex::XSLTPROCESSOR:340 descriptor->SetCallHandler(USE_CALLBACK(XSLTProcessorConstructor));341 break;342 #endif343 default:344 break;345 }346 257 347 258 *cacheCell = descriptor; -
trunk/WebCore/bindings/v8/custom/V8CustomBinding.h
r53931 r54042 41 41 #define USE_CALLBACK(NAME) V8Custom::v8##NAME##Callback 42 42 43 DECLARE_CALLBACK(DOMParserConstructor);44 43 DECLARE_CALLBACK(HTMLAudioElementConstructor); 45 44 DECLARE_CALLBACK(HTMLImageElementConstructor); 46 45 DECLARE_CALLBACK(HTMLOptionElementConstructor); 47 DECLARE_CALLBACK(MessageChannelConstructor);48 DECLARE_CALLBACK(WebKitCSSMatrixConstructor);49 DECLARE_CALLBACK(WebKitPointConstructor);50 DECLARE_CALLBACK(XMLHttpRequestConstructor);51 DECLARE_CALLBACK(XMLSerializerConstructor);52 DECLARE_CALLBACK(XPathEvaluatorConstructor);53 DECLARE_CALLBACK(XSLTProcessorConstructor);54 55 #if ENABLE(3D_CANVAS)56 DECLARE_CALLBACK(WebGLArrayBufferConstructor);57 DECLARE_CALLBACK(WebGLByteArrayConstructor);58 DECLARE_CALLBACK(WebGLFloatArrayConstructor);59 DECLARE_CALLBACK(WebGLIntArrayConstructor);60 DECLARE_CALLBACK(WebGLShortArrayConstructor);61 DECLARE_CALLBACK(WebGLUnsignedByteArrayConstructor);62 DECLARE_CALLBACK(WebGLUnsignedIntArrayConstructor);63 DECLARE_CALLBACK(WebGLUnsignedShortArrayConstructor);64 #endif65 66 #if ENABLE(WORKERS)67 DECLARE_CALLBACK(WorkerConstructor);68 #endif69 70 #if ENABLE(SHARED_WORKERS)71 DECLARE_CALLBACK(SharedWorkerConstructor);72 #endif73 74 #if ENABLE(WEB_SOCKETS)75 DECLARE_CALLBACK(WebSocketConstructor);76 #endif77 78 #if ENABLE(EVENTSOURCE)79 DECLARE_CALLBACK(EventSourceConstructor);80 #endif81 46 82 47 #undef DECLARE_CALLBACK -
trunk/WebCore/bindings/v8/custom/V8EventSourceConstructor.cpp
r53931 r54042 45 45 namespace WebCore { 46 46 47 v8::Handle<v8::Value> V8 Custom::v8EventSourceConstructorCallback(const v8::Arguments& args)47 v8::Handle<v8::Value> V8EventSource::constructorCallback(const v8::Arguments& args) 48 48 { 49 49 INC_STATS("DOM.EventSource.Constructor"); -
trunk/WebCore/bindings/v8/custom/V8MessageChannelConstructor.cpp
r53164 r54042 45 45 namespace WebCore { 46 46 47 v8::Handle<v8::Value> V8 Custom::v8MessageChannelConstructorCallback(const v8::Arguments& args)47 v8::Handle<v8::Value> V8MessageChannel::constructorCallback(const v8::Arguments& args) 48 48 { 49 49 INC_STATS("DOM.MessageChannel.Constructor"); -
trunk/WebCore/bindings/v8/custom/V8SharedWorkerCustom.cpp
r52459 r54042 33 33 #if ENABLE(SHARED_WORKERS) 34 34 35 #include " SharedWorker.h"35 #include "V8SharedWorker.h" 36 36 37 37 #include "ExceptionCode.h" … … 46 46 namespace WebCore { 47 47 48 v8::Handle<v8::Value> V8 Custom::v8SharedWorkerConstructorCallback(const v8::Arguments& args)48 v8::Handle<v8::Value> V8SharedWorker::constructorCallback(const v8::Arguments& args) 49 49 { 50 50 INC_STATS(L"DOM.SharedWorker.Constructor"); -
trunk/WebCore/bindings/v8/custom/V8WebGLArrayBufferCustom.cpp
r52459 r54042 42 42 namespace WebCore { 43 43 44 v8::Handle<v8::Value> V8 Custom::v8WebGLArrayBufferConstructorCallback(const v8::Arguments& args)44 v8::Handle<v8::Value> V8WebGLArrayBuffer::constructorCallback(const v8::Arguments& args) 45 45 { 46 46 INC_STATS("DOM.WebGLArrayBuffer.Constructor"); -
trunk/WebCore/bindings/v8/custom/V8WebGLByteArrayCustom.cpp
r52952 r54042 45 45 namespace WebCore { 46 46 47 v8::Handle<v8::Value> V8 Custom::v8WebGLByteArrayConstructorCallback(const v8::Arguments& args)47 v8::Handle<v8::Value> V8WebGLByteArray::constructorCallback(const v8::Arguments& args) 48 48 { 49 49 INC_STATS("DOM.WebGLByteArray.Contructor"); -
trunk/WebCore/bindings/v8/custom/V8WebGLFloatArrayCustom.cpp
r52952 r54042 45 45 namespace WebCore { 46 46 47 v8::Handle<v8::Value> V8 Custom::v8WebGLFloatArrayConstructorCallback(const v8::Arguments& args)47 v8::Handle<v8::Value> V8WebGLFloatArray::constructorCallback(const v8::Arguments& args) 48 48 { 49 49 INC_STATS("DOM.WebGLFloatArray.Contructor"); -
trunk/WebCore/bindings/v8/custom/V8WebGLIntArrayCustom.cpp
r52952 r54042 45 45 namespace WebCore { 46 46 47 v8::Handle<v8::Value> V8 Custom::v8WebGLIntArrayConstructorCallback(const v8::Arguments& args)47 v8::Handle<v8::Value> V8WebGLIntArray::constructorCallback(const v8::Arguments& args) 48 48 { 49 49 INC_STATS("DOM.WebGLIntArray.Contructor"); -
trunk/WebCore/bindings/v8/custom/V8WebGLShortArrayCustom.cpp
r52952 r54042 45 45 namespace WebCore { 46 46 47 v8::Handle<v8::Value> V8 Custom::v8WebGLShortArrayConstructorCallback(const v8::Arguments& args)47 v8::Handle<v8::Value> V8WebGLShortArray::constructorCallback(const v8::Arguments& args) 48 48 { 49 49 INC_STATS("DOM.WebGLShortArray.Contructor"); -
trunk/WebCore/bindings/v8/custom/V8WebGLUnsignedByteArrayCustom.cpp
r52952 r54042 45 45 namespace WebCore { 46 46 47 v8::Handle<v8::Value> V8 Custom::v8WebGLUnsignedByteArrayConstructorCallback(const v8::Arguments& args)47 v8::Handle<v8::Value> V8WebGLUnsignedByteArray::constructorCallback(const v8::Arguments& args) 48 48 { 49 49 INC_STATS("DOM.WebGLUnsignedByteArray.Contructor"); -
trunk/WebCore/bindings/v8/custom/V8WebGLUnsignedIntArrayCustom.cpp
r52952 r54042 45 45 namespace WebCore { 46 46 47 v8::Handle<v8::Value> V8 Custom::v8WebGLUnsignedIntArrayConstructorCallback(const v8::Arguments& args)47 v8::Handle<v8::Value> V8WebGLUnsignedIntArray::constructorCallback(const v8::Arguments& args) 48 48 { 49 49 INC_STATS("DOM.WebGLUnsignedIntArray.Contructor"); -
trunk/WebCore/bindings/v8/custom/V8WebGLUnsignedShortArrayCustom.cpp
r52952 r54042 45 45 namespace WebCore { 46 46 47 v8::Handle<v8::Value> V8 Custom::v8WebGLUnsignedShortArrayConstructorCallback(const v8::Arguments& args)47 v8::Handle<v8::Value> V8WebGLUnsignedShortArray::constructorCallback(const v8::Arguments& args) 48 48 { 49 49 INC_STATS("DOM.WebGLUnsignedShortArray.Contructor"); -
trunk/WebCore/bindings/v8/custom/V8WebKitCSSMatrixConstructor.cpp
r52459 r54042 30 30 31 31 #include "config.h" 32 #include " WebKitCSSMatrix.h"32 #include "V8WebKitCSSMatrix.h" 33 33 34 34 #include "Document.h" … … 45 45 namespace WebCore { 46 46 47 v8::Handle<v8::Value> V8 Custom::v8WebKitCSSMatrixConstructorCallback(const v8::Arguments& args)47 v8::Handle<v8::Value> V8WebKitCSSMatrix::constructorCallback(const v8::Arguments& args) 48 48 { 49 49 INC_STATS("DOM.WebKitCSSMatrix.Constructor"); -
trunk/WebCore/bindings/v8/custom/V8WebKitPointConstructor.cpp
r52459 r54042 30 30 31 31 #include "config.h" 32 #include "V8WebKitPoint.h" 32 33 33 34 #include "V8Binding.h" … … 36 37 #include "V8Index.h" 37 38 #include "V8Proxy.h" 38 #include "WebKitPoint.h"39 39 40 40 #include <wtf/MathExtras.h> … … 42 42 namespace WebCore { 43 43 44 v8::Handle<v8::Value> V8 Custom::v8WebKitPointConstructorCallback(const v8::Arguments& args)44 v8::Handle<v8::Value> V8WebKitPoint::constructorCallback(const v8::Arguments& args) 45 45 { 46 46 INC_STATS("DOM.WebKitPoint.Constructor"); -
trunk/WebCore/bindings/v8/custom/V8WebSocketCustom.cpp
r53271 r54042 77 77 } 78 78 79 v8::Handle<v8::Value> V8 Custom::v8WebSocketConstructorCallback(const v8::Arguments& args)79 v8::Handle<v8::Value> V8WebSocket::constructorCallback(const v8::Arguments& args) 80 80 { 81 81 INC_STATS("DOM.WebSocket.Constructor"); -
trunk/WebCore/bindings/v8/custom/V8WorkerCustom.cpp
r53586 r54042 49 49 namespace WebCore { 50 50 51 v8::Handle<v8::Value> V8 Custom::v8WorkerConstructorCallback(const v8::Arguments& args)51 v8::Handle<v8::Value> V8Worker::constructorCallback(const v8::Arguments& args) 52 52 { 53 53 INC_STATS(L"DOM.Worker.Constructor"); -
trunk/WebCore/bindings/v8/custom/V8XMLHttpRequestConstructor.cpp
r52459 r54042 37 37 #include "V8Proxy.h" 38 38 #include "V8Utilities.h" 39 #include "XMLHttpRequest.h"40 39 #include "WorkerContext.h" 41 40 #include "WorkerContextExecutionProxy.h" … … 43 42 namespace WebCore { 44 43 45 v8::Handle<v8::Value> V8 Custom::v8XMLHttpRequestConstructorCallback(const v8::Arguments& args)44 v8::Handle<v8::Value> V8XMLHttpRequest::constructorCallback(const v8::Arguments& args) 46 45 { 47 46 INC_STATS("DOM.XMLHttpRequest.Constructor"); -
trunk/WebCore/bindings/v8/custom/V8XSLTProcessorCustom.cpp
r53271 r54042 47 47 namespace WebCore { 48 48 49 v8::Handle<v8::Value> V8 Custom::v8XSLTProcessorConstructorCallback(const v8::Arguments& args)49 v8::Handle<v8::Value> V8XSLTProcessor::constructorCallback(const v8::Arguments& args) 50 50 { 51 51 INC_STATS("DOM.XSLTProcessor.Constructor"); -
trunk/WebCore/css/WebKitCSSMatrix.idl
r52534 r54042 27 27 28 28 // Introduced in DOM Level ?: 29 interface [ OmitConstructor] WebKitCSSMatrix {29 interface [CustomConstructor] WebKitCSSMatrix { 30 30 31 31 // These attributes are simple aliases for certain elements of the 4x4 matrix -
trunk/WebCore/dom/MessageChannel.idl
r52534 r54042 27 27 module events { 28 28 29 interface [Custom MarkFunction, NoStaticTables, OmitConstructor] MessageChannel {29 interface [CustomConstructor, CustomMarkFunction, NoStaticTables] MessageChannel { 30 30 31 31 readonly attribute MessagePort port1; -
trunk/WebCore/html/canvas/WebGLArrayBuffer.idl
r52534 r54042 25 25 26 26 module html { 27 interface [Conditional=3D_CANVAS, OmitConstructor] WebGLArrayBuffer {27 interface [Conditional=3D_CANVAS, CustomConstructor] WebGLArrayBuffer { 28 28 readonly attribute int byteLength; 29 29 }; -
trunk/WebCore/html/canvas/WebGLByteArray.idl
r52534 r54042 31 31 HasCustomIndexSetter, 32 32 GenerateNativeConverter, 33 OmitConstructor,33 CustomConstructor, 34 34 CustomToJS 35 35 ] WebGLByteArray : WebGLArray { -
trunk/WebCore/html/canvas/WebGLFloatArray.idl
r52534 r54042 31 31 HasCustomIndexSetter, 32 32 GenerateNativeConverter, 33 OmitConstructor,33 CustomConstructor, 34 34 CustomToJS 35 35 ] WebGLFloatArray : WebGLArray { -
trunk/WebCore/html/canvas/WebGLIntArray.idl
r52534 r54042 31 31 HasCustomIndexSetter, 32 32 GenerateNativeConverter, 33 OmitConstructor,33 CustomConstructor, 34 34 CustomToJS 35 35 ] WebGLIntArray : WebGLArray { -
trunk/WebCore/html/canvas/WebGLShortArray.idl
r52534 r54042 30 30 HasCustomIndexSetter, 31 31 GenerateNativeConverter, 32 OmitConstructor,32 CustomConstructor, 33 33 CustomToJS 34 34 ] WebGLShortArray : WebGLArray { -
trunk/WebCore/html/canvas/WebGLUnsignedByteArray.idl
r52534 r54042 31 31 HasCustomIndexSetter, 32 32 GenerateNativeConverter, 33 OmitConstructor,33 CustomConstructor, 34 34 CustomToJS 35 35 ] WebGLUnsignedByteArray : WebGLArray { -
trunk/WebCore/html/canvas/WebGLUnsignedIntArray.idl
r52534 r54042 28 28 interface [ 29 29 Conditional=3D_CANVAS, 30 CustomConstructor, 30 31 HasNumericIndexGetter, 31 32 HasCustomIndexSetter, 32 33 GenerateNativeConverter, 33 OmitConstructor,34 34 CustomToJS 35 35 ] WebGLUnsignedIntArray : WebGLArray { -
trunk/WebCore/html/canvas/WebGLUnsignedShortArray.idl
r52534 r54042 28 28 interface [ 29 29 Conditional=3D_CANVAS, 30 CustomConstructor, 30 31 HasNumericIndexGetter, 31 32 HasCustomIndexSetter, 32 33 GenerateNativeConverter, 33 OmitConstructor,34 34 CustomToJS 35 35 ] WebGLUnsignedShortArray : WebGLArray { -
trunk/WebCore/page/EventSource.idl
r52534 r54042 34 34 interface [ 35 35 Conditional=EVENTSOURCE, 36 CustomConstructor, 36 37 EventTarget, 37 OmitConstructor,38 38 NoStaticTables 39 39 ] EventSource { -
trunk/WebCore/page/WebKitPoint.idl
r52534 r54042 26 26 module window { 27 27 28 interface [ OmitConstructor] WebKitPoint {28 interface [CustomConstructor] WebKitPoint { 29 29 attribute float x; 30 30 attribute float y; -
trunk/WebCore/websockets/WebSocket.idl
r52534 r54042 33 33 interface [ 34 34 Conditional=WEB_SOCKETS, 35 CustomConstructor, 35 36 EventTarget, 36 NoStaticTables, 37 OmitConstructor 37 NoStaticTables 38 38 ] WebSocket { 39 39 readonly attribute DOMString URL; -
trunk/WebCore/workers/SharedWorker.idl
r52534 r54042 33 33 interface [ 34 34 Conditional=SHARED_WORKERS, 35 CustomConstructor, 35 36 CustomMarkFunction, 36 37 GenerateNativeConverter, 37 GenerateToJS, 38 OmitConstructor 38 GenerateToJS 39 39 ] SharedWorker : AbstractWorker { 40 40 readonly attribute MessagePort port; -
trunk/WebCore/workers/Worker.idl
r52534 r54042 29 29 interface [ 30 30 Conditional=WORKERS, 31 CustomConstructor, 31 32 GenerateNativeConverter, 32 GenerateToJS, 33 OmitConstructor 33 GenerateToJS 34 34 ] Worker : AbstractWorker { 35 35 -
trunk/WebCore/xml/XMLHttpRequest.idl
r52534 r54042 30 30 31 31 interface [ 32 CustomConstructor, 32 33 CustomMarkFunction, 33 34 EventTarget, 34 NoStaticTables, 35 OmitConstructor 35 NoStaticTables 36 36 ] XMLHttpRequest { 37 37 // From XMLHttpRequestEventTarget -
trunk/WebCore/xml/XSLTProcessor.idl
r52534 r54042 35 35 interface [ 36 36 Conditional=XSLT, 37 OmitConstructor37 CustomConstructor 38 38 ] XSLTProcessor { 39 39
Note: See TracChangeset
for help on using the changeset viewer.