<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[204104] trunk</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/204104">204104</a></dd>
<dt>Author</dt> <dd>andersca@apple.com</dd>
<dt>Date</dt> <dd>2016-08-03 15:53:09 -0700 (Wed, 03 Aug 2016)</dd>
</dl>
<h3>Log Message</h3>
<pre>Remove the Objective-C bindings generator
https://bugs.webkit.org/show_bug.cgi?id=160526
Reviewed by Sam Weinig.
Source/WebCore:
* DerivedSources.make:
* WebCore.xcodeproj/project.pbxproj:
* bindings/objc/PublicDOMInterfaces.h: Removed.
* bindings/scripts/CodeGeneratorObjC.pm: Removed.
* bindings/scripts/test/ObjC/DOMFloat64Array.h: Removed.
* bindings/scripts/test/ObjC/DOMFloat64Array.mm: Removed.
* bindings/scripts/test/ObjC/DOMFloat64ArrayInternal.h: Removed.
* bindings/scripts/test/ObjC/DOMInterfaceName.h: Removed.
* bindings/scripts/test/ObjC/DOMInterfaceName.mm: Removed.
* bindings/scripts/test/ObjC/DOMInterfaceNameInternal.h: Removed.
* bindings/scripts/test/ObjC/DOMTestActiveDOMObject.h: Removed.
* bindings/scripts/test/ObjC/DOMTestActiveDOMObject.mm: Removed.
* bindings/scripts/test/ObjC/DOMTestActiveDOMObjectInternal.h: Removed.
* bindings/scripts/test/ObjC/DOMTestCallback.h: Removed.
* bindings/scripts/test/ObjC/DOMTestCallback.mm: Removed.
* bindings/scripts/test/ObjC/DOMTestCallbackFunction.h: Removed.
* bindings/scripts/test/ObjC/DOMTestCallbackFunction.mm: Removed.
* bindings/scripts/test/ObjC/DOMTestCallbackFunctionInternal.h: Removed.
* bindings/scripts/test/ObjC/DOMTestCallbackInternal.h: Removed.
* bindings/scripts/test/ObjC/DOMTestClassWithJSBuiltinConstructor.h: Removed.
* bindings/scripts/test/ObjC/DOMTestClassWithJSBuiltinConstructor.mm: Removed.
* bindings/scripts/test/ObjC/DOMTestClassWithJSBuiltinConstructorInternal.h: Removed.
* bindings/scripts/test/ObjC/DOMTestCustomConstructorWithNoInterfaceObject.h: Removed.
* bindings/scripts/test/ObjC/DOMTestCustomConstructorWithNoInterfaceObject.mm: Removed.
* bindings/scripts/test/ObjC/DOMTestCustomConstructorWithNoInterfaceObjectInternal.h: Removed.
* bindings/scripts/test/ObjC/DOMTestCustomNamedGetter.h: Removed.
* bindings/scripts/test/ObjC/DOMTestCustomNamedGetter.mm: Removed.
* bindings/scripts/test/ObjC/DOMTestCustomNamedGetterInternal.h: Removed.
* bindings/scripts/test/ObjC/DOMTestEventConstructor.h: Removed.
* bindings/scripts/test/ObjC/DOMTestEventConstructor.mm: Removed.
* bindings/scripts/test/ObjC/DOMTestEventConstructorInternal.h: Removed.
* bindings/scripts/test/ObjC/DOMTestEventTarget.h: Removed.
* bindings/scripts/test/ObjC/DOMTestEventTarget.mm: Removed.
* bindings/scripts/test/ObjC/DOMTestEventTargetInternal.h: Removed.
* bindings/scripts/test/ObjC/DOMTestException.h: Removed.
* bindings/scripts/test/ObjC/DOMTestException.mm: Removed.
* bindings/scripts/test/ObjC/DOMTestExceptionInternal.h: Removed.
* bindings/scripts/test/ObjC/DOMTestGenerateIsReachable.h: Removed.
* bindings/scripts/test/ObjC/DOMTestGenerateIsReachable.mm: Removed.
* bindings/scripts/test/ObjC/DOMTestGenerateIsReachableInternal.h: Removed.
* bindings/scripts/test/ObjC/DOMTestGlobalObject.h: Removed.
* bindings/scripts/test/ObjC/DOMTestGlobalObject.mm: Removed.
* bindings/scripts/test/ObjC/DOMTestGlobalObjectInternal.h: Removed.
* bindings/scripts/test/ObjC/DOMTestImplements.cpp: Removed.
* bindings/scripts/test/ObjC/DOMTestImplements.h: Removed.
* bindings/scripts/test/ObjC/DOMTestInterface.h: Removed.
* bindings/scripts/test/ObjC/DOMTestInterface.mm: Removed.
* bindings/scripts/test/ObjC/DOMTestInterfaceInternal.h: Removed.
* bindings/scripts/test/ObjC/DOMTestIterable.h: Removed.
* bindings/scripts/test/ObjC/DOMTestIterable.mm: Removed.
* bindings/scripts/test/ObjC/DOMTestIterableInternal.h: Removed.
* bindings/scripts/test/ObjC/DOMTestJSBuiltinConstructor.h: Removed.
* bindings/scripts/test/ObjC/DOMTestJSBuiltinConstructor.mm: Removed.
* bindings/scripts/test/ObjC/DOMTestJSBuiltinConstructorInternal.h: Removed.
* bindings/scripts/test/ObjC/DOMTestMediaQueryListListener.h: Removed.
* bindings/scripts/test/ObjC/DOMTestMediaQueryListListener.mm: Removed.
* bindings/scripts/test/ObjC/DOMTestMediaQueryListListenerInternal.h: Removed.
* bindings/scripts/test/ObjC/DOMTestNamedConstructor.h: Removed.
* bindings/scripts/test/ObjC/DOMTestNamedConstructor.mm: Removed.
* bindings/scripts/test/ObjC/DOMTestNamedConstructorInternal.h: Removed.
* bindings/scripts/test/ObjC/DOMTestNode.h: Removed.
* bindings/scripts/test/ObjC/DOMTestNode.mm: Removed.
* bindings/scripts/test/ObjC/DOMTestNodeInternal.h: Removed.
* bindings/scripts/test/ObjC/DOMTestNondeterministic.h: Removed.
* bindings/scripts/test/ObjC/DOMTestNondeterministic.mm: Removed.
* bindings/scripts/test/ObjC/DOMTestNondeterministicInternal.h: Removed.
* bindings/scripts/test/ObjC/DOMTestObj.h: Removed.
* bindings/scripts/test/ObjC/DOMTestObj.mm: Removed.
* bindings/scripts/test/ObjC/DOMTestObjInternal.h: Removed.
* bindings/scripts/test/ObjC/DOMTestOverloadedConstructors.h: Removed.
* bindings/scripts/test/ObjC/DOMTestOverloadedConstructors.mm: Removed.
* bindings/scripts/test/ObjC/DOMTestOverloadedConstructorsInternal.h: Removed.
* bindings/scripts/test/ObjC/DOMTestOverrideBuiltins.h: Removed.
* bindings/scripts/test/ObjC/DOMTestOverrideBuiltins.mm: Removed.
* bindings/scripts/test/ObjC/DOMTestOverrideBuiltinsInternal.h: Removed.
* bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterface.h: Removed.
* bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterface.mm: Removed.
* bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterfaceInternal.h: Removed.
* bindings/scripts/test/ObjC/DOMTestSupplemental.cpp: Removed.
* bindings/scripts/test/ObjC/DOMTestSupplemental.h: Removed.
* bindings/scripts/test/ObjC/DOMTestTypedefs.h: Removed.
* bindings/scripts/test/ObjC/DOMTestTypedefs.mm: Removed.
* bindings/scripts/test/ObjC/DOMTestTypedefsInternal.h: Removed.
* bindings/scripts/test/ObjC/DOMattribute.h: Removed.
* bindings/scripts/test/ObjC/DOMattribute.mm: Removed.
* bindings/scripts/test/ObjC/DOMattributeInternal.h: Removed.
* bindings/scripts/test/ObjC/DOMreadonly.h: Removed.
* bindings/scripts/test/ObjC/DOMreadonly.mm: Removed.
* bindings/scripts/test/ObjC/DOMreadonlyInternal.h: Removed.
* bindings/scripts/test/ObjC/ObjCTestSupplemental.cpp: Removed.
* bindings/scripts/test/ObjC/ObjCTestSupplemental.h: Removed.
Tools:
* Scripts/run-bindings-tests:
Update test.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreDerivedSourcesmake">trunk/Source/WebCore/DerivedSources.make</a></li>
<li><a href="#trunkSourceWebCoreWebCorexcodeprojprojectpbxproj">trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj</a></li>
<li><a href="#trunkToolsChangeLog">trunk/Tools/ChangeLog</a></li>
<li><a href="#trunkToolsScriptsrunbindingstests">trunk/Tools/Scripts/run-bindings-tests</a></li>
</ul>
<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkSourceWebCorebindingsobjcPublicDOMInterfacesh">trunk/Source/WebCore/bindings/objc/PublicDOMInterfaces.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptsCodeGeneratorObjCpm">trunk/Source/WebCore/bindings/scripts/CodeGeneratorObjC.pm</a></li>
<li>trunk/Source/WebCore/bindings/scripts/test/ObjC/</li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (204103 => 204104)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2016-08-03 21:31:03 UTC (rev 204103)
+++ trunk/Source/WebCore/ChangeLog        2016-08-03 22:53:09 UTC (rev 204104)
</span><span class="lines">@@ -1,5 +1,104 @@
</span><span class="cx"> 2016-08-03 Anders Carlsson <andersca@apple.com>
</span><span class="cx">
</span><ins>+ Remove the Objective-C bindings generator
+ https://bugs.webkit.org/show_bug.cgi?id=160526
+
+ Reviewed by Sam Weinig.
+
+ * DerivedSources.make:
+ * WebCore.xcodeproj/project.pbxproj:
+ * bindings/objc/PublicDOMInterfaces.h: Removed.
+ * bindings/scripts/CodeGeneratorObjC.pm: Removed.
+ * bindings/scripts/test/ObjC/DOMFloat64Array.h: Removed.
+ * bindings/scripts/test/ObjC/DOMFloat64Array.mm: Removed.
+ * bindings/scripts/test/ObjC/DOMFloat64ArrayInternal.h: Removed.
+ * bindings/scripts/test/ObjC/DOMInterfaceName.h: Removed.
+ * bindings/scripts/test/ObjC/DOMInterfaceName.mm: Removed.
+ * bindings/scripts/test/ObjC/DOMInterfaceNameInternal.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestActiveDOMObject.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestActiveDOMObject.mm: Removed.
+ * bindings/scripts/test/ObjC/DOMTestActiveDOMObjectInternal.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestCallback.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestCallback.mm: Removed.
+ * bindings/scripts/test/ObjC/DOMTestCallbackFunction.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestCallbackFunction.mm: Removed.
+ * bindings/scripts/test/ObjC/DOMTestCallbackFunctionInternal.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestCallbackInternal.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestClassWithJSBuiltinConstructor.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestClassWithJSBuiltinConstructor.mm: Removed.
+ * bindings/scripts/test/ObjC/DOMTestClassWithJSBuiltinConstructorInternal.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestCustomConstructorWithNoInterfaceObject.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestCustomConstructorWithNoInterfaceObject.mm: Removed.
+ * bindings/scripts/test/ObjC/DOMTestCustomConstructorWithNoInterfaceObjectInternal.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestCustomNamedGetter.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestCustomNamedGetter.mm: Removed.
+ * bindings/scripts/test/ObjC/DOMTestCustomNamedGetterInternal.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestEventConstructor.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestEventConstructor.mm: Removed.
+ * bindings/scripts/test/ObjC/DOMTestEventConstructorInternal.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestEventTarget.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestEventTarget.mm: Removed.
+ * bindings/scripts/test/ObjC/DOMTestEventTargetInternal.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestException.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestException.mm: Removed.
+ * bindings/scripts/test/ObjC/DOMTestExceptionInternal.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestGenerateIsReachable.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestGenerateIsReachable.mm: Removed.
+ * bindings/scripts/test/ObjC/DOMTestGenerateIsReachableInternal.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestGlobalObject.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestGlobalObject.mm: Removed.
+ * bindings/scripts/test/ObjC/DOMTestGlobalObjectInternal.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestImplements.cpp: Removed.
+ * bindings/scripts/test/ObjC/DOMTestImplements.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestInterface.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestInterface.mm: Removed.
+ * bindings/scripts/test/ObjC/DOMTestInterfaceInternal.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestIterable.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestIterable.mm: Removed.
+ * bindings/scripts/test/ObjC/DOMTestIterableInternal.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestJSBuiltinConstructor.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestJSBuiltinConstructor.mm: Removed.
+ * bindings/scripts/test/ObjC/DOMTestJSBuiltinConstructorInternal.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestMediaQueryListListener.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestMediaQueryListListener.mm: Removed.
+ * bindings/scripts/test/ObjC/DOMTestMediaQueryListListenerInternal.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestNamedConstructor.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestNamedConstructor.mm: Removed.
+ * bindings/scripts/test/ObjC/DOMTestNamedConstructorInternal.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestNode.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestNode.mm: Removed.
+ * bindings/scripts/test/ObjC/DOMTestNodeInternal.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestNondeterministic.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestNondeterministic.mm: Removed.
+ * bindings/scripts/test/ObjC/DOMTestNondeterministicInternal.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestObj.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestObj.mm: Removed.
+ * bindings/scripts/test/ObjC/DOMTestObjInternal.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestOverloadedConstructors.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestOverloadedConstructors.mm: Removed.
+ * bindings/scripts/test/ObjC/DOMTestOverloadedConstructorsInternal.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestOverrideBuiltins.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestOverrideBuiltins.mm: Removed.
+ * bindings/scripts/test/ObjC/DOMTestOverrideBuiltinsInternal.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterface.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterface.mm: Removed.
+ * bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterfaceInternal.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestSupplemental.cpp: Removed.
+ * bindings/scripts/test/ObjC/DOMTestSupplemental.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestTypedefs.h: Removed.
+ * bindings/scripts/test/ObjC/DOMTestTypedefs.mm: Removed.
+ * bindings/scripts/test/ObjC/DOMTestTypedefsInternal.h: Removed.
+ * bindings/scripts/test/ObjC/DOMattribute.h: Removed.
+ * bindings/scripts/test/ObjC/DOMattribute.mm: Removed.
+ * bindings/scripts/test/ObjC/DOMattributeInternal.h: Removed.
+ * bindings/scripts/test/ObjC/DOMreadonly.h: Removed.
+ * bindings/scripts/test/ObjC/DOMreadonly.mm: Removed.
+ * bindings/scripts/test/ObjC/DOMreadonlyInternal.h: Removed.
+ * bindings/scripts/test/ObjC/ObjCTestSupplemental.cpp: Removed.
+ * bindings/scripts/test/ObjC/ObjCTestSupplemental.h: Removed.
+
+2016-08-03 Anders Carlsson <andersca@apple.com>
+
</ins><span class="cx"> Remove dead bindings code
</span><span class="cx"> https://bugs.webkit.org/show_bug.cgi?id=160521
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoreDerivedSourcesmake"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/DerivedSources.make (204103 => 204104)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/DerivedSources.make        2016-08-03 21:31:03 UTC (rev 204103)
+++ trunk/Source/WebCore/DerivedSources.make        2016-08-03 22:53:09 UTC (rev 204104)
</span><span class="lines">@@ -51,7 +51,6 @@
</span><span class="cx"> $(WebCore)/animation \
</span><span class="cx"> $(WebCore)/bindings/generic \
</span><span class="cx"> $(WebCore)/bindings/js \
</span><del>- $(WebCore)/bindings/objc \
</del><span class="cx"> $(WebCore)/crypto \
</span><span class="cx"> $(WebCore)/css \
</span><span class="cx"> $(WebCore)/dom \
</span><span class="lines">@@ -75,9 +74,9 @@
</span><span class="cx"> $(WebCore)/websockets \
</span><span class="cx"> #
</span><span class="cx">
</span><del>-JS_AND_OBJC_BINDING_IDLS = \
</del><ins>+JS_BINDING_IDLS = \
</ins><span class="cx"> $(WebCore)/Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.idl \
</span><del>-        $(WebCore)/Modules/applepay/ApplePayPaymentAuthorizedEvent.idl \
</del><ins>+ $(WebCore)/Modules/applepay/ApplePayPaymentAuthorizedEvent.idl \
</ins><span class="cx"> $(WebCore)/Modules/applepay/ApplePayPaymentMethodSelectedEvent.idl \
</span><span class="cx"> $(WebCore)/Modules/applepay/ApplePaySession.idl \
</span><span class="cx"> $(WebCore)/Modules/applepay/ApplePayShippingContactSelectedEvent.idl \
</span><span class="lines">@@ -122,28 +121,28 @@
</span><span class="cx"> $(WebCore)/Modules/mediasession/HTMLMediaElementMediaSession.idl \
</span><span class="cx"> $(WebCore)/Modules/mediasession/MediaRemoteControls.idl \
</span><span class="cx"> $(WebCore)/Modules/mediasession/MediaSession.idl \
</span><del>-        $(WebCore)/Modules/mediasource/DOMURLMediaSource.idl \
-        $(WebCore)/Modules/mediasource/AudioTrackMediaSource.idl \
-        $(WebCore)/Modules/mediasource/MediaSource.idl \
-        $(WebCore)/Modules/mediasource/SourceBuffer.idl \
-        $(WebCore)/Modules/mediasource/SourceBufferList.idl \
</del><ins>+ $(WebCore)/Modules/mediasource/AudioTrackMediaSource.idl \
+ $(WebCore)/Modules/mediasource/DOMURLMediaSource.idl \
+ $(WebCore)/Modules/mediasource/MediaSource.idl \
</ins><span class="cx"> $(WebCore)/Modules/mediasource/SourceBuffer.idl \
</span><ins>+ $(WebCore)/Modules/mediasource/SourceBuffer.idl \
</ins><span class="cx"> $(WebCore)/Modules/mediasource/SourceBufferList.idl \
</span><del>-        $(WebCore)/Modules/mediasource/TextTrackMediaSource.idl \
-        $(WebCore)/Modules/mediasource/VideoTrackMediaSource.idl \
-        $(WebCore)/Modules/mediasource/VideoPlaybackQuality.idl \
-        $(WebCore)/Modules/mediastream/DOMURLMediaStream.idl \
</del><ins>+ $(WebCore)/Modules/mediasource/SourceBufferList.idl \
+ $(WebCore)/Modules/mediasource/TextTrackMediaSource.idl \
+ $(WebCore)/Modules/mediasource/VideoPlaybackQuality.idl \
+ $(WebCore)/Modules/mediasource/VideoTrackMediaSource.idl \
+ $(WebCore)/Modules/mediastream/DOMURLMediaStream.idl \
</ins><span class="cx"> $(WebCore)/Modules/mediastream/HTMLMediaElementMediaStream.idl \
</span><span class="cx"> $(WebCore)/Modules/mediastream/MediaDeviceInfo.idl \
</span><span class="cx"> $(WebCore)/Modules/mediastream/MediaDevices.idl \
</span><del>-        $(WebCore)/Modules/mediastream/MediaStream.idl \
</del><ins>+ $(WebCore)/Modules/mediastream/MediaStream.idl \
</ins><span class="cx"> $(WebCore)/Modules/mediastream/MediaStreamEvent.idl \
</span><span class="cx"> $(WebCore)/Modules/mediastream/MediaStreamTrack.idl \
</span><span class="cx"> $(WebCore)/Modules/mediastream/MediaStreamTrackEvent.idl \
</span><span class="cx"> $(WebCore)/Modules/mediastream/MediaStreamTrackSourcesCallback.idl \
</span><span class="cx"> $(WebCore)/Modules/mediastream/MediaTrackConstraint.idl \
</span><ins>+ $(WebCore)/Modules/mediastream/MediaTrackConstraintSet.idl \
</ins><span class="cx"> $(WebCore)/Modules/mediastream/MediaTrackConstraints.idl \
</span><del>- $(WebCore)/Modules/mediastream/MediaTrackConstraintSet.idl \
</del><span class="cx"> $(WebCore)/Modules/mediastream/MediaTrackSupportedConstraints.idl \
</span><span class="cx"> $(WebCore)/Modules/mediastream/NavigatorMediaDevices.idl \
</span><span class="cx"> $(WebCore)/Modules/mediastream/NavigatorUserMedia.idl \
</span><span class="lines">@@ -171,8 +170,8 @@
</span><span class="cx"> $(WebCore)/Modules/plugins/QuickTimePluginReplacement.idl \
</span><span class="cx"> $(WebCore)/Modules/quota/DOMWindowQuota.idl \
</span><span class="cx"> $(WebCore)/Modules/quota/NavigatorStorageQuota.idl \
</span><ins>+ $(WebCore)/Modules/quota/StorageErrorCallback.idl \
</ins><span class="cx"> $(WebCore)/Modules/quota/StorageInfo.idl \
</span><del>- $(WebCore)/Modules/quota/StorageErrorCallback.idl \
</del><span class="cx"> $(WebCore)/Modules/quota/StorageQuota.idl \
</span><span class="cx"> $(WebCore)/Modules/quota/StorageQuotaCallback.idl \
</span><span class="cx"> $(WebCore)/Modules/quota/StorageUsageCallback.idl \
</span><span class="lines">@@ -189,33 +188,33 @@
</span><span class="cx"> $(WebCore)/Modules/streams/ReadableStreamDefaultReader.idl \
</span><span class="cx"> $(WebCore)/Modules/streams/ReadableStreamSource.idl \
</span><span class="cx"> $(WebCore)/Modules/streams/WritableStream.idl \
</span><ins>+ $(WebCore)/Modules/webaudio/AnalyserNode.idl \
</ins><span class="cx"> $(WebCore)/Modules/webaudio/AudioBuffer.idl \
</span><span class="cx"> $(WebCore)/Modules/webaudio/AudioBufferCallback.idl \
</span><span class="cx"> $(WebCore)/Modules/webaudio/AudioBufferSourceNode.idl \
</span><del>- $(WebCore)/Modules/webaudio/ChannelMergerNode.idl \
- $(WebCore)/Modules/webaudio/ChannelSplitterNode.idl \
</del><span class="cx"> $(WebCore)/Modules/webaudio/AudioContext.idl \
</span><span class="cx"> $(WebCore)/Modules/webaudio/AudioDestinationNode.idl \
</span><del>- $(WebCore)/Modules/webaudio/GainNode.idl \
</del><span class="cx"> $(WebCore)/Modules/webaudio/AudioListener.idl \
</span><span class="cx"> $(WebCore)/Modules/webaudio/AudioNode.idl \
</span><del>- $(WebCore)/Modules/webaudio/PannerNode.idl \
</del><span class="cx"> $(WebCore)/Modules/webaudio/AudioParam.idl \
</span><span class="cx"> $(WebCore)/Modules/webaudio/AudioProcessingEvent.idl \
</span><span class="cx"> $(WebCore)/Modules/webaudio/BiquadFilterNode.idl \
</span><ins>+ $(WebCore)/Modules/webaudio/ChannelMergerNode.idl \
+ $(WebCore)/Modules/webaudio/ChannelSplitterNode.idl \
</ins><span class="cx"> $(WebCore)/Modules/webaudio/ConvolverNode.idl \
</span><span class="cx"> $(WebCore)/Modules/webaudio/DelayNode.idl \
</span><span class="cx"> $(WebCore)/Modules/webaudio/DynamicsCompressorNode.idl \
</span><del>- $(WebCore)/Modules/webaudio/ScriptProcessorNode.idl \
</del><ins>+ $(WebCore)/Modules/webaudio/GainNode.idl \
</ins><span class="cx"> $(WebCore)/Modules/webaudio/MediaElementAudioSourceNode.idl \
</span><span class="cx"> $(WebCore)/Modules/webaudio/MediaStreamAudioDestinationNode.idl \
</span><span class="cx"> $(WebCore)/Modules/webaudio/MediaStreamAudioSourceNode.idl \
</span><ins>+ $(WebCore)/Modules/webaudio/OfflineAudioCompletionEvent.idl \
+ $(WebCore)/Modules/webaudio/OfflineAudioContext.idl \
</ins><span class="cx"> $(WebCore)/Modules/webaudio/OscillatorNode.idl \
</span><del>- $(WebCore)/Modules/webaudio/OfflineAudioContext.idl \
- $(WebCore)/Modules/webaudio/OfflineAudioCompletionEvent.idl \
- $(WebCore)/Modules/webaudio/AnalyserNode.idl \
</del><ins>+ $(WebCore)/Modules/webaudio/PannerNode.idl \
+ $(WebCore)/Modules/webaudio/PeriodicWave.idl \
+ $(WebCore)/Modules/webaudio/ScriptProcessorNode.idl \
</ins><span class="cx"> $(WebCore)/Modules/webaudio/WaveShaperNode.idl \
</span><del>- $(WebCore)/Modules/webaudio/PeriodicWave.idl \
</del><span class="cx"> $(WebCore)/Modules/webdatabase/DOMWindowWebDatabase.idl \
</span><span class="cx"> $(WebCore)/Modules/webdatabase/Database.idl \
</span><span class="cx"> $(WebCore)/Modules/webdatabase/DatabaseCallback.idl \
</span><span class="lines">@@ -236,7 +235,45 @@
</span><span class="cx"> $(WebCore)/crypto/CryptoKey.idl \
</span><span class="cx"> $(WebCore)/crypto/CryptoKeyPair.idl \
</span><span class="cx"> $(WebCore)/crypto/WebKitSubtleCrypto.idl \
</span><ins>+ $(WebCore)/css/CSSCharsetRule.idl \
+ $(WebCore)/css/CSSFontFaceLoadEvent.idl \
+ $(WebCore)/css/CSSFontFaceRule.idl \
+ $(WebCore)/css/CSSImportRule.idl \
+ $(WebCore)/css/CSSKeyframeRule.idl \
+ $(WebCore)/css/CSSKeyframesRule.idl \
+ $(WebCore)/css/CSSMediaRule.idl \
+ $(WebCore)/css/CSSPageRule.idl \
+ $(WebCore)/css/CSSPrimitiveValue.idl \
+ $(WebCore)/css/CSSRule.idl \
+ $(WebCore)/css/CSSRuleList.idl \
+ $(WebCore)/css/CSSStyleDeclaration.idl \
+ $(WebCore)/css/CSSStyleRule.idl \
+ $(WebCore)/css/CSSStyleSheet.idl \
+ $(WebCore)/css/CSSSupportsRule.idl \
+ $(WebCore)/css/CSSUnknownRule.idl \
+ $(WebCore)/css/CSSValue.idl \
+ $(WebCore)/css/CSSValueList.idl \
+ $(WebCore)/css/Counter.idl \
+ $(WebCore)/css/DOMCSSNamespace.idl \
+ $(WebCore)/css/FontFace.idl \
+ $(WebCore)/css/FontFaceSet.idl \
+ $(WebCore)/css/MediaList.idl \
+ $(WebCore)/css/MediaQueryList.idl \
+ $(WebCore)/css/MediaQueryListListener.idl \
+ $(WebCore)/css/RGBColor.idl \
+ $(WebCore)/css/Rect.idl \
+ $(WebCore)/css/StyleMedia.idl \
+ $(WebCore)/css/StyleSheet.idl \
+ $(WebCore)/css/StyleSheetList.idl \
+ $(WebCore)/css/WebKitCSSFilterValue.idl \
+ $(WebCore)/css/WebKitCSSMatrix.idl \
+ $(WebCore)/css/WebKitCSSRegionRule.idl \
+ $(WebCore)/css/WebKitCSSTransformValue.idl \
+ $(WebCore)/css/WebKitCSSViewportRule.idl \
+ $(WebCore)/dom/AnimationEvent.idl \
</ins><span class="cx"> $(WebCore)/dom/Attr.idl \
</span><ins>+ $(WebCore)/dom/AutocompleteErrorEvent.idl \
+ $(WebCore)/dom/BeforeLoadEvent.idl \
</ins><span class="cx"> $(WebCore)/dom/BeforeUnloadEvent.idl \
</span><span class="cx"> $(WebCore)/dom/CDATASection.idl \
</span><span class="cx"> $(WebCore)/dom/CharacterData.idl \
</span><span class="lines">@@ -249,6 +286,7 @@
</span><span class="cx"> $(WebCore)/dom/DOMCoreException.idl \
</span><span class="cx"> $(WebCore)/dom/DOMError.idl \
</span><span class="cx"> $(WebCore)/dom/DOMImplementation.idl \
</span><ins>+ $(WebCore)/dom/DOMNamedFlowCollection.idl \
</ins><span class="cx"> $(WebCore)/dom/DOMStringList.idl \
</span><span class="cx"> $(WebCore)/dom/DOMStringMap.idl \
</span><span class="cx"> $(WebCore)/dom/DataTransfer.idl \
</span><span class="lines">@@ -263,20 +301,35 @@
</span><span class="cx"> $(WebCore)/dom/Entity.idl \
</span><span class="cx"> $(WebCore)/dom/EntityReference.idl \
</span><span class="cx"> $(WebCore)/dom/ErrorEvent.idl \
</span><ins>+ $(WebCore)/dom/Event.idl \
+ $(WebCore)/dom/EventListener.idl \
+ $(WebCore)/dom/EventTarget.idl \
</ins><span class="cx"> $(WebCore)/dom/FocusEvent.idl \
</span><span class="cx"> $(WebCore)/dom/GlobalEventHandlers.idl \
</span><span class="cx"> $(WebCore)/dom/HashChangeEvent.idl \
</span><ins>+ $(WebCore)/dom/KeyboardEvent.idl \
</ins><span class="cx"> $(WebCore)/dom/MessageChannel.idl \
</span><ins>+ $(WebCore)/dom/MessageEvent.idl \
+ $(WebCore)/dom/MessagePort.idl \
+ $(WebCore)/dom/MouseEvent.idl \
+ $(WebCore)/dom/MutationEvent.idl \
</ins><span class="cx"> $(WebCore)/dom/MutationObserver.idl \
</span><span class="cx"> $(WebCore)/dom/MutationRecord.idl \
</span><span class="cx"> $(WebCore)/dom/NamedNodeMap.idl \
</span><span class="cx"> $(WebCore)/dom/Node.idl \
</span><ins>+ $(WebCore)/dom/NodeFilter.idl \
+ $(WebCore)/dom/NodeIterator.idl \
</ins><span class="cx"> $(WebCore)/dom/NodeList.idl \
</span><ins>+ $(WebCore)/dom/NonDocumentTypeChildNode.idl \
</ins><span class="cx"> $(WebCore)/dom/NonElementParentNode.idl \
</span><del>- $(WebCore)/dom/NonDocumentTypeChildNode.idl \
</del><ins>+ $(WebCore)/dom/OverflowEvent.idl \
+ $(WebCore)/dom/PageTransitionEvent.idl \
</ins><span class="cx"> $(WebCore)/dom/ParentNode.idl \
</span><span class="cx"> $(WebCore)/dom/PopStateEvent.idl \
</span><span class="cx"> $(WebCore)/dom/ProcessingInstruction.idl \
</span><ins>+ $(WebCore)/dom/ProgressEvent.idl \
+ $(WebCore)/dom/ProgressEvent.idl \
+ $(WebCore)/dom/Range.idl \
</ins><span class="cx"> $(WebCore)/dom/RequestAnimationFrameCallback.idl \
</span><span class="cx"> $(WebCore)/dom/SecurityPolicyViolationEvent.idl \
</span><span class="cx"> $(WebCore)/dom/ShadowRoot.idl \
</span><span class="lines">@@ -283,21 +336,116 @@
</span><span class="cx"> $(WebCore)/dom/Slotable.idl \
</span><span class="cx"> $(WebCore)/dom/StringCallback.idl \
</span><span class="cx"> $(WebCore)/dom/Text.idl \
</span><ins>+ $(WebCore)/dom/TextEvent.idl \
+ $(WebCore)/dom/TransitionEvent.idl \
</ins><span class="cx"> $(WebCore)/dom/TreeWalker.idl \
</span><ins>+ $(WebCore)/dom/UIEvent.idl \
+ $(WebCore)/dom/WebKitAnimationEvent.idl \
+ $(WebCore)/dom/WebKitNamedFlow.idl \
+ $(WebCore)/dom/WebKitTransitionEvent.idl \
+ $(WebCore)/dom/WheelEvent.idl \
</ins><span class="cx"> $(WebCore)/dom/XMLDocument.idl \
</span><ins>+ $(WebCore)/fileapi/Blob.idl \
+ $(WebCore)/fileapi/File.idl \
+ $(WebCore)/fileapi/FileError.idl \
</ins><span class="cx"> $(WebCore)/fileapi/FileException.idl \
</span><ins>+ $(WebCore)/fileapi/FileList.idl \
</ins><span class="cx"> $(WebCore)/fileapi/FileReader.idl \
</span><span class="cx"> $(WebCore)/fileapi/FileReaderSync.idl \
</span><span class="cx"> $(WebCore)/html/DOMFormData.idl \
</span><span class="cx"> $(WebCore)/html/DOMSettableTokenList.idl \
</span><ins>+ $(WebCore)/html/DOMTokenList.idl \
</ins><span class="cx"> $(WebCore)/html/DOMURL.idl \
</span><ins>+ $(WebCore)/html/HTMLAllCollection.idl \
+ $(WebCore)/html/HTMLAnchorElement.idl \
+ $(WebCore)/html/HTMLAppletElement.idl \
+ $(WebCore)/html/HTMLAreaElement.idl \
+ $(WebCore)/html/HTMLAttachmentElement.idl \
+ $(WebCore)/html/HTMLAudioElement.idl \
+ $(WebCore)/html/HTMLBRElement.idl \
+ $(WebCore)/html/HTMLBaseElement.idl \
+ $(WebCore)/html/HTMLBaseFontElement.idl \
+ $(WebCore)/html/HTMLBodyElement.idl \
+ $(WebCore)/html/HTMLButtonElement.idl \
+ $(WebCore)/html/HTMLCanvasElement.idl \
+ $(WebCore)/html/HTMLCollection.idl \
+ $(WebCore)/html/HTMLDListElement.idl \
+ $(WebCore)/html/HTMLDataElement.idl \
+ $(WebCore)/html/HTMLDataListElement.idl \
+ $(WebCore)/html/HTMLDetailsElement.idl \
+ $(WebCore)/html/HTMLDirectoryElement.idl \
+ $(WebCore)/html/HTMLDivElement.idl \
+ $(WebCore)/html/HTMLDocument.idl \
+ $(WebCore)/html/HTMLElement.idl \
+ $(WebCore)/html/HTMLEmbedElement.idl \
+ $(WebCore)/html/HTMLFieldSetElement.idl \
+ $(WebCore)/html/HTMLFontElement.idl \
+ $(WebCore)/html/HTMLFormControlsCollection.idl \
+ $(WebCore)/html/HTMLFormElement.idl \
+ $(WebCore)/html/HTMLFrameElement.idl \
+ $(WebCore)/html/HTMLFrameSetElement.idl \
+ $(WebCore)/html/HTMLHRElement.idl \
+ $(WebCore)/html/HTMLHeadElement.idl \
+ $(WebCore)/html/HTMLHeadingElement.idl \
+ $(WebCore)/html/HTMLHtmlElement.idl \
+ $(WebCore)/html/HTMLHyperlinkElementUtils.idl \
+ $(WebCore)/html/HTMLIFrameElement.idl \
+ $(WebCore)/html/HTMLImageElement.idl \
+ $(WebCore)/html/HTMLInputElement.idl \
+ $(WebCore)/html/HTMLKeygenElement.idl \
+ $(WebCore)/html/HTMLLIElement.idl \
+ $(WebCore)/html/HTMLLabelElement.idl \
+ $(WebCore)/html/HTMLLegendElement.idl \
+ $(WebCore)/html/HTMLLinkElement.idl \
+ $(WebCore)/html/HTMLMapElement.idl \
+ $(WebCore)/html/HTMLMarqueeElement.idl \
+ $(WebCore)/html/HTMLMediaElement.idl \
+ $(WebCore)/html/HTMLMenuElement.idl \
+ $(WebCore)/html/HTMLMetaElement.idl \
+ $(WebCore)/html/HTMLMeterElement.idl \
+ $(WebCore)/html/HTMLModElement.idl \
+ $(WebCore)/html/HTMLOListElement.idl \
+ $(WebCore)/html/HTMLObjectElement.idl \
+ $(WebCore)/html/HTMLOptGroupElement.idl \
+ $(WebCore)/html/HTMLOptionElement.idl \
+ $(WebCore)/html/HTMLOptionsCollection.idl \
+ $(WebCore)/html/HTMLOutputElement.idl \
+ $(WebCore)/html/HTMLParagraphElement.idl \
+ $(WebCore)/html/HTMLParamElement.idl \
+ $(WebCore)/html/HTMLPictureElement.idl \
+ $(WebCore)/html/HTMLPreElement.idl \
+ $(WebCore)/html/HTMLProgressElement.idl \
+ $(WebCore)/html/HTMLQuoteElement.idl \
+ $(WebCore)/html/HTMLScriptElement.idl \
+ $(WebCore)/html/HTMLSelectElement.idl \
+ $(WebCore)/html/HTMLSlotElement.idl \
+ $(WebCore)/html/HTMLSourceElement.idl \
+ $(WebCore)/html/HTMLSpanElement.idl \
+ $(WebCore)/html/HTMLStyleElement.idl \
+ $(WebCore)/html/HTMLTableCaptionElement.idl \
+ $(WebCore)/html/HTMLTableCellElement.idl \
+ $(WebCore)/html/HTMLTableColElement.idl \
+ $(WebCore)/html/HTMLTableElement.idl \
+ $(WebCore)/html/HTMLTableRowElement.idl \
+ $(WebCore)/html/HTMLTableSectionElement.idl \
+ $(WebCore)/html/HTMLTemplateElement.idl \
+ $(WebCore)/html/HTMLTextAreaElement.idl \
+ $(WebCore)/html/HTMLTimeElement.idl \
+ $(WebCore)/html/HTMLTitleElement.idl \
+ $(WebCore)/html/HTMLTrackElement.idl \
+ $(WebCore)/html/HTMLUListElement.idl \
+ $(WebCore)/html/HTMLUnknownElement.idl \
+ $(WebCore)/html/HTMLVideoElement.idl \
</ins><span class="cx"> $(WebCore)/html/ImageData.idl \
</span><span class="cx"> $(WebCore)/html/MediaController.idl \
</span><ins>+ $(WebCore)/html/MediaError.idl \
</ins><span class="cx"> $(WebCore)/html/MediaKeyError.idl \
</span><span class="cx"> $(WebCore)/html/MediaKeyEvent.idl \
</span><span class="cx"> $(WebCore)/html/RadioNodeList.idl \
</span><span class="cx"> $(WebCore)/html/TextMetrics.idl \
</span><ins>+ $(WebCore)/html/TimeRanges.idl \
</ins><span class="cx"> $(WebCore)/html/URLUtils.idl \
</span><ins>+ $(WebCore)/html/ValidityState.idl \
</ins><span class="cx"> $(WebCore)/html/VoidCallback.idl \
</span><span class="cx"> $(WebCore)/html/canvas/ANGLEInstancedArrays.idl \
</span><span class="cx"> $(WebCore)/html/canvas/CanvasGradient.idl \
</span><span class="lines">@@ -306,11 +454,11 @@
</span><span class="cx"> $(WebCore)/html/canvas/CanvasRenderingContext.idl \
</span><span class="cx"> $(WebCore)/html/canvas/CanvasRenderingContext2D.idl \
</span><span class="cx"> $(WebCore)/html/canvas/DOMPath.idl \
</span><ins>+ $(WebCore)/html/canvas/EXTBlendMinMax.idl \
+ $(WebCore)/html/canvas/EXTFragDepth.idl \
</ins><span class="cx"> $(WebCore)/html/canvas/EXTShaderTextureLOD.idl \
</span><span class="cx"> $(WebCore)/html/canvas/EXTTextureFilterAnisotropic.idl \
</span><span class="cx"> $(WebCore)/html/canvas/EXTsRGB.idl \
</span><del>- $(WebCore)/html/canvas/EXTBlendMinMax.idl \
- $(WebCore)/html/canvas/EXTFragDepth.idl \
</del><span class="cx"> $(WebCore)/html/canvas/OESElementIndexUint.idl \
</span><span class="cx"> $(WebCore)/html/canvas/OESStandardDerivatives.idl \
</span><span class="cx"> $(WebCore)/html/canvas/OESTextureFloat.idl \
</span><span class="lines">@@ -318,6 +466,7 @@
</span><span class="cx"> $(WebCore)/html/canvas/OESTextureHalfFloat.idl \
</span><span class="cx"> $(WebCore)/html/canvas/OESTextureHalfFloatLinear.idl \
</span><span class="cx"> $(WebCore)/html/canvas/OESVertexArrayObject.idl \
</span><ins>+ $(WebCore)/html/canvas/WebGL2RenderingContext.idl \
</ins><span class="cx"> $(WebCore)/html/canvas/WebGLActiveInfo.idl \
</span><span class="cx"> $(WebCore)/html/canvas/WebGLBuffer.idl \
</span><span class="cx"> $(WebCore)/html/canvas/WebGLCompressedTextureATC.idl \
</span><span class="lines">@@ -334,9 +483,8 @@
</span><span class="cx"> $(WebCore)/html/canvas/WebGLProgram.idl \
</span><span class="cx"> $(WebCore)/html/canvas/WebGLQuery.idl \
</span><span class="cx"> $(WebCore)/html/canvas/WebGLRenderbuffer.idl \
</span><ins>+ $(WebCore)/html/canvas/WebGLRenderingContext.idl \
</ins><span class="cx"> $(WebCore)/html/canvas/WebGLRenderingContextBase.idl \
</span><del>- $(WebCore)/html/canvas/WebGLRenderingContext.idl \
- $(WebCore)/html/canvas/WebGL2RenderingContext.idl \
</del><span class="cx"> $(WebCore)/html/canvas/WebGLSampler.idl \
</span><span class="cx"> $(WebCore)/html/canvas/WebGLShader.idl \
</span><span class="cx"> $(WebCore)/html/canvas/WebGLShaderPrecisionFormat.idl \
</span><span class="lines">@@ -353,12 +501,12 @@
</span><span class="cx"> $(WebCore)/html/track/TextTrackCue.idl \
</span><span class="cx"> $(WebCore)/html/track/TextTrackCueList.idl \
</span><span class="cx"> $(WebCore)/html/track/TextTrackList.idl \
</span><ins>+ $(WebCore)/html/track/TrackEvent.idl \
+ $(WebCore)/html/track/VTTCue.idl \
</ins><span class="cx"> $(WebCore)/html/track/VTTRegion.idl \
</span><span class="cx"> $(WebCore)/html/track/VTTRegionList.idl \
</span><del>- $(WebCore)/html/track/TrackEvent.idl \
</del><span class="cx"> $(WebCore)/html/track/VideoTrack.idl \
</span><span class="cx"> $(WebCore)/html/track/VideoTrackList.idl \
</span><del>- $(WebCore)/html/track/VTTCue.idl \
</del><span class="cx"> $(WebCore)/inspector/CommandLineAPIHost.idl \
</span><span class="cx"> $(WebCore)/inspector/InspectorFrontendHost.idl \
</span><span class="cx"> $(WebCore)/loader/appcache/DOMApplicationCache.idl \
</span><span class="lines">@@ -382,13 +530,13 @@
</span><span class="cx"> $(WebCore)/page/PerformanceResourceTiming.idl \
</span><span class="cx"> $(WebCore)/page/PerformanceTiming.idl \
</span><span class="cx"> $(WebCore)/page/Screen.idl \
</span><ins>+ $(WebCore)/page/UserMessageHandler.idl \
+ $(WebCore)/page/UserMessageHandlersNamespace.idl \
+ $(WebCore)/page/WebKitNamespace.idl \
</ins><span class="cx"> $(WebCore)/page/WebKitPoint.idl \
</span><del>- $(WebCore)/page/WebKitNamespace.idl \
- $(WebCore)/page/UserMessageHandlersNamespace.idl \
- $(WebCore)/page/UserMessageHandler.idl \
</del><span class="cx"> $(WebCore)/page/WindowEventHandlers.idl \
</span><ins>+ $(WebCore)/page/WindowOrWorkerGlobalScope.idl \
</ins><span class="cx"> $(WebCore)/page/WorkerNavigator.idl \
</span><del>- $(WebCore)/page/WindowOrWorkerGlobalScope.idl \
</del><span class="cx"> $(WebCore)/plugins/DOMMimeType.idl \
</span><span class="cx"> $(WebCore)/plugins/DOMMimeTypeArray.idl \
</span><span class="cx"> $(WebCore)/plugins/DOMPlugin.idl \
</span><span class="lines">@@ -395,179 +543,6 @@
</span><span class="cx"> $(WebCore)/plugins/DOMPluginArray.idl \
</span><span class="cx"> $(WebCore)/storage/Storage.idl \
</span><span class="cx"> $(WebCore)/storage/StorageEvent.idl \
</span><del>- $(WebCore)/testing/GCObservation.idl \
- $(WebCore)/testing/Internals.idl \
- $(WebCore)/testing/InternalSettings.idl \
- $(WebCore)/testing/MallocStatistics.idl \
- $(WebCore)/testing/MemoryInfo.idl \
- $(WebCore)/testing/MockContentFilterSettings.idl \
-        $(WebCore)/testing/MockPageOverlay.idl \
- $(WebCore)/testing/TypeConversions.idl \
- $(WebCore)/workers/AbstractWorker.idl \
- $(WebCore)/workers/DedicatedWorkerGlobalScope.idl \
- $(WebCore)/workers/Worker.idl \
- $(WebCore)/workers/WorkerGlobalScope.idl \
- $(WebCore)/workers/WorkerLocation.idl \
- $(WebCore)/xml/DOMParser.idl \
- $(WebCore)/xml/XMLHttpRequest.idl \
- $(WebCore)/xml/XMLHttpRequestEventTarget.idl \
- $(WebCore)/xml/XMLHttpRequestProgressEvent.idl \
- $(WebCore)/xml/XMLHttpRequestUpload.idl \
- $(WebCore)/xml/XMLSerializer.idl \
- $(WebCore)/xml/XSLTProcessor.idl \
- InternalSettingsGenerated.idl
-#
-
-JS_ONLY_BINDING_IDLS = \
-        $(WebCore)/css/CSSCharsetRule.idl \
-        $(WebCore)/css/CSSFontFaceLoadEvent.idl \
-        $(WebCore)/css/CSSFontFaceRule.idl \
-        $(WebCore)/css/CSSImportRule.idl \
-        $(WebCore)/css/CSSKeyframeRule.idl \
-        $(WebCore)/css/CSSKeyframesRule.idl \
-        $(WebCore)/css/CSSMediaRule.idl \
-        $(WebCore)/css/CSSPageRule.idl \
-        $(WebCore)/css/CSSPrimitiveValue.idl \
-        $(WebCore)/css/CSSRule.idl \
-        $(WebCore)/css/CSSRuleList.idl \
-        $(WebCore)/css/CSSStyleDeclaration.idl \
-        $(WebCore)/css/CSSStyleRule.idl \
-        $(WebCore)/css/CSSStyleSheet.idl \
-        $(WebCore)/css/CSSSupportsRule.idl \
-        $(WebCore)/css/CSSUnknownRule.idl \
-        $(WebCore)/css/CSSValue.idl \
-        $(WebCore)/css/CSSValueList.idl \
-        $(WebCore)/css/Counter.idl \
-        $(WebCore)/css/DOMCSSNamespace.idl \
-        $(WebCore)/css/FontFace.idl \
-        $(WebCore)/css/FontFaceSet.idl \
-        $(WebCore)/css/MediaList.idl \
-        $(WebCore)/css/MediaQueryList.idl \
-        $(WebCore)/css/MediaQueryListListener.idl \
-        $(WebCore)/css/RGBColor.idl \
-        $(WebCore)/css/Rect.idl \
-        $(WebCore)/css/StyleMedia.idl \
-        $(WebCore)/css/StyleSheet.idl \
-        $(WebCore)/css/StyleSheetList.idl \
- $(WebCore)/css/WebKitCSSFilterValue.idl \
- $(WebCore)/css/WebKitCSSMatrix.idl \
- $(WebCore)/css/WebKitCSSRegionRule.idl \
- $(WebCore)/css/WebKitCSSTransformValue.idl \
- $(WebCore)/css/WebKitCSSViewportRule.idl \
-        $(WebCore)/dom/AnimationEvent.idl \
-        $(WebCore)/dom/AutocompleteErrorEvent.idl \
-        $(WebCore)/dom/BeforeLoadEvent.idl \
-        $(WebCore)/dom/DOMNamedFlowCollection.idl \
-        $(WebCore)/dom/MessageEvent.idl \
-        $(WebCore)/dom/MessagePort.idl \
-        $(WebCore)/dom/NodeFilter.idl \
-        $(WebCore)/dom/NodeIterator.idl \
-        $(WebCore)/dom/PageTransitionEvent.idl \
-        $(WebCore)/dom/Range.idl \
-        $(WebCore)/dom/TransitionEvent.idl \
-        $(WebCore)/dom/WebKitAnimationEvent.idl \
-        $(WebCore)/dom/WebKitNamedFlow.idl \
-        $(WebCore)/dom/WebKitTransitionEvent.idl \
- $(WebCore)/dom/Event.idl \
- $(WebCore)/dom/EventListener.idl \
- $(WebCore)/dom/EventTarget.idl \
- $(WebCore)/dom/KeyboardEvent.idl \
- $(WebCore)/dom/MouseEvent.idl \
- $(WebCore)/dom/MutationEvent.idl \
- $(WebCore)/dom/OverflowEvent.idl \
- $(WebCore)/dom/ProgressEvent.idl \
- $(WebCore)/dom/ProgressEvent.idl \
- $(WebCore)/dom/TextEvent.idl \
- $(WebCore)/dom/UIEvent.idl \
- $(WebCore)/dom/WheelEvent.idl \
-        $(WebCore)/fileapi/Blob.idl \
-        $(WebCore)/fileapi/File.idl \
-        $(WebCore)/fileapi/FileError.idl \
-        $(WebCore)/fileapi/FileList.idl \
-        $(WebCore)/html/DOMTokenList.idl \
-        $(WebCore)/html/HTMLAnchorElement.idl \
-        $(WebCore)/html/HTMLAppletElement.idl \
-        $(WebCore)/html/HTMLAreaElement.idl \
-        $(WebCore)/html/HTMLBRElement.idl \
-        $(WebCore)/html/HTMLBaseElement.idl \
-        $(WebCore)/html/HTMLBaseFontElement.idl \
-        $(WebCore)/html/HTMLBodyElement.idl \
-        $(WebCore)/html/HTMLButtonElement.idl \
-        $(WebCore)/html/HTMLCanvasElement.idl \
-        $(WebCore)/html/HTMLCollection.idl \
-        $(WebCore)/html/HTMLDListElement.idl \
-        $(WebCore)/html/HTMLDataElement.idl \
-        $(WebCore)/html/HTMLPictureElement.idl \
- $(WebCore)/html/HTMLAllCollection.idl \
- $(WebCore)/html/HTMLAttachmentElement.idl \
- $(WebCore)/html/HTMLAudioElement.idl \
- $(WebCore)/html/HTMLDataListElement.idl \
- $(WebCore)/html/HTMLDetailsElement.idl \
- $(WebCore)/html/HTMLDirectoryElement.idl \
- $(WebCore)/html/HTMLDivElement.idl \
- $(WebCore)/html/HTMLDocument.idl \
- $(WebCore)/html/HTMLElement.idl \
- $(WebCore)/html/HTMLEmbedElement.idl \
- $(WebCore)/html/HTMLFieldSetElement.idl \
- $(WebCore)/html/HTMLFontElement.idl \
- $(WebCore)/html/HTMLFormControlsCollection.idl \
- $(WebCore)/html/HTMLFormElement.idl \
- $(WebCore)/html/HTMLFrameElement.idl \
- $(WebCore)/html/HTMLFrameSetElement.idl \
- $(WebCore)/html/HTMLHRElement.idl \
- $(WebCore)/html/HTMLHeadElement.idl \
- $(WebCore)/html/HTMLHeadingElement.idl \
- $(WebCore)/html/HTMLHtmlElement.idl \
- $(WebCore)/html/HTMLHyperlinkElementUtils.idl \
- $(WebCore)/html/HTMLIFrameElement.idl \
- $(WebCore)/html/HTMLImageElement.idl \
- $(WebCore)/html/HTMLInputElement.idl \
- $(WebCore)/html/HTMLKeygenElement.idl \
- $(WebCore)/html/HTMLLIElement.idl \
- $(WebCore)/html/HTMLLabelElement.idl \
- $(WebCore)/html/HTMLLegendElement.idl \
- $(WebCore)/html/HTMLLinkElement.idl \
- $(WebCore)/html/HTMLMapElement.idl \
- $(WebCore)/html/HTMLMarqueeElement.idl \
- $(WebCore)/html/HTMLMediaElement.idl \
- $(WebCore)/html/HTMLMenuElement.idl \
- $(WebCore)/html/HTMLMetaElement.idl \
- $(WebCore)/html/HTMLMeterElement.idl \
- $(WebCore)/html/HTMLModElement.idl \
- $(WebCore)/html/HTMLOListElement.idl \
- $(WebCore)/html/HTMLObjectElement.idl \
- $(WebCore)/html/HTMLOptGroupElement.idl \
- $(WebCore)/html/HTMLOptionElement.idl \
- $(WebCore)/html/HTMLOptionsCollection.idl \
- $(WebCore)/html/HTMLOutputElement.idl \
- $(WebCore)/html/HTMLParagraphElement.idl \
- $(WebCore)/html/HTMLParamElement.idl \
- $(WebCore)/html/HTMLPreElement.idl \
- $(WebCore)/html/HTMLProgressElement.idl \
- $(WebCore)/html/HTMLQuoteElement.idl \
- $(WebCore)/html/HTMLScriptElement.idl \
- $(WebCore)/html/HTMLSelectElement.idl \
- $(WebCore)/html/HTMLSlotElement.idl \
- $(WebCore)/html/HTMLSourceElement.idl \
- $(WebCore)/html/HTMLSpanElement.idl \
- $(WebCore)/html/HTMLStyleElement.idl \
- $(WebCore)/html/HTMLTableCaptionElement.idl \
- $(WebCore)/html/HTMLTableCellElement.idl \
- $(WebCore)/html/HTMLTableColElement.idl \
- $(WebCore)/html/HTMLTableElement.idl \
- $(WebCore)/html/HTMLTableRowElement.idl \
- $(WebCore)/html/HTMLTableSectionElement.idl \
- $(WebCore)/html/HTMLTemplateElement.idl \
- $(WebCore)/html/HTMLTextAreaElement.idl \
- $(WebCore)/html/HTMLTimeElement.idl \
- $(WebCore)/html/HTMLTitleElement.idl \
- $(WebCore)/html/HTMLTrackElement.idl \
- $(WebCore)/html/HTMLUListElement.idl \
- $(WebCore)/html/HTMLUnknownElement.idl \
- $(WebCore)/html/HTMLVideoElement.idl \
- $(WebCore)/html/MediaError.idl \
- $(WebCore)/html/TimeRanges.idl \
- $(WebCore)/html/ValidityState.idl \
</del><span class="cx"> $(WebCore)/svg/SVGAElement.idl \
</span><span class="cx"> $(WebCore)/svg/SVGAltGlyphDefElement.idl \
</span><span class="cx"> $(WebCore)/svg/SVGAltGlyphElement.idl \
</span><span class="lines">@@ -715,11 +690,32 @@
</span><span class="cx"> $(WebCore)/svg/SVGViewSpec.idl \
</span><span class="cx"> $(WebCore)/svg/SVGZoomAndPan.idl \
</span><span class="cx"> $(WebCore)/svg/SVGZoomEvent.idl \
</span><ins>+ $(WebCore)/testing/GCObservation.idl \
+ $(WebCore)/testing/InternalSettings.idl \
+ $(WebCore)/testing/Internals.idl \
+ $(WebCore)/testing/MallocStatistics.idl \
+ $(WebCore)/testing/MemoryInfo.idl \
+ $(WebCore)/testing/MockContentFilterSettings.idl \
+ $(WebCore)/testing/MockPageOverlay.idl \
+ $(WebCore)/testing/TypeConversions.idl \
+ $(WebCore)/workers/AbstractWorker.idl \
+ $(WebCore)/workers/DedicatedWorkerGlobalScope.idl \
+ $(WebCore)/workers/Worker.idl \
+ $(WebCore)/workers/WorkerGlobalScope.idl \
+ $(WebCore)/workers/WorkerLocation.idl \
+ $(WebCore)/xml/DOMParser.idl \
+ $(WebCore)/xml/XMLHttpRequest.idl \
+ $(WebCore)/xml/XMLHttpRequestEventTarget.idl \
+ $(WebCore)/xml/XMLHttpRequestProgressEvent.idl \
+ $(WebCore)/xml/XMLHttpRequestUpload.idl \
+ $(WebCore)/xml/XMLSerializer.idl \
</ins><span class="cx"> $(WebCore)/xml/XPathEvaluator.idl \
</span><span class="cx"> $(WebCore)/xml/XPathException.idl \
</span><span class="cx"> $(WebCore)/xml/XPathExpression.idl \
</span><span class="cx"> $(WebCore)/xml/XPathNSResolver.idl \
</span><span class="cx"> $(WebCore)/xml/XPathResult.idl \
</span><ins>+ $(WebCore)/xml/XSLTProcessor.idl \
+ InternalSettingsGenerated.idl \
</ins><span class="cx"> #
</span><span class="cx">
</span><span class="cx"> PYTHON = python
</span><span class="lines">@@ -791,7 +787,7 @@
</span><span class="cx">
</span><span class="cx"> -include WebCoreDerivedSourcesAdditions.make
</span><span class="cx">
</span><del>-JS_ONLY_BINDING_IDLS += $(ADDITIONAL_BINDING_IDLS)
</del><ins>+JS_BINDING_IDLS += $(ADDITIONAL_BINDING_IDLS)
</ins><span class="cx">
</span><span class="cx"> all : $(ADDITIONAL_BINDING_IDLS:%.idl=JS%.h)
</span><span class="cx">
</span><span class="lines">@@ -803,7 +799,7 @@
</span><span class="cx"> endif # MACOS
</span><span class="cx">
</span><span class="cx"> ifneq ($(WTF_PLATFORM_IOS), 1)
</span><del>-JS_ONLY_BINDING_IDLS += \
</del><ins>+JS_BINDING_IDLS += \
</ins><span class="cx"> $(WebCore)/dom/Touch.idl \
</span><span class="cx"> $(WebCore)/dom/TouchEvent.idl \
</span><span class="cx"> $(WebCore)/dom/TouchList.idl
</span><span class="lines">@@ -811,8 +807,6 @@
</span><span class="cx">
</span><span class="cx"> .PHONY : all
</span><span class="cx">
</span><del>-JS_BINDING_IDLS = $(JS_AND_OBJC_BINDING_IDLS) $(JS_ONLY_BINDING_IDLS)
-
</del><span class="cx"> JS_DOM_CLASSES=$(basename $(notdir $(JS_BINDING_IDLS)))
</span><span class="cx">
</span><span class="cx"> JS_DOM_HEADERS=$(filter-out JSEventListener.h, $(JS_DOM_CLASSES:%=JS%.h))
</span><span class="lines">@@ -1352,12 +1346,6 @@
</span><span class="cx">
</span><span class="cx"> ifeq ($(OS),MACOS)
</span><span class="cx">
</span><del>-OBJC_DOM_CLASSES=$(basename $(notdir $(JS_AND_OBJC_BINDING_IDLS)))
-
-OBJC_DOM_HEADERS=$(filter-out DOMDOMWindow.h DOMDOMMimeType.h DOMDOMPlugin.h,$(OBJC_DOM_CLASSES:%=DOM%.h))
-
-all : $(OBJC_DOM_HEADERS)
-
</del><span class="cx"> all : CharsetData.cpp
</span><span class="cx">
</span><span class="cx"> # --------
</span><span class="lines">@@ -1375,16 +1363,6 @@
</span><span class="cx">
</span><span class="cx"> # --------
</span><span class="cx">
</span><del>-# Objective-C bindings
-
-DOM_BINDINGS_SCRIPTS = $(COMMON_BINDINGS_SCRIPTS) bindings/scripts/CodeGeneratorObjC.pm
-DOM%.h : %.idl $(DOM_BINDINGS_SCRIPTS) bindings/objc/PublicDOMInterfaces.h $(PLATFORM_FEATURE_DEFINES)
-        $(call generator_script, $(DOM_BINDINGS_SCRIPTS)) $(IDL_COMMON_ARGS) --defines "$(FEATURE_DEFINES) $(ADDITIONAL_IDL_DEFINES) LANGUAGE_OBJECTIVE_C" --generator ObjC --supplementalDependencyFile $(SUPPLEMENTAL_DEPENDENCY_FILE) $<
-
--include $(OBJC_DOM_HEADERS:.h=.dep)
-
-# --------
-
</del><span class="cx"> endif # MACOS
</span><span class="cx">
</span><span class="cx"> # ------------------------
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorexcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (204103 => 204104)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2016-08-03 21:31:03 UTC (rev 204103)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2016-08-03 22:53:09 UTC (rev 204104)
</span><span class="lines">@@ -8284,7 +8284,6 @@
</span><span class="cx">                 1CCA732110ADD43E00FD440D /* DOMHTMLInputElementPrivate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMHTMLInputElementPrivate.h; sourceTree = "<group>"; };
</span><span class="cx">                 1CCDF5BB1990332400BCEBAD /* SVGToOTFFontConversion.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SVGToOTFFontConversion.cpp; sourceTree = "<group>"; };
</span><span class="cx">                 1CCDF5BC1990332400BCEBAD /* SVGToOTFFontConversion.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SVGToOTFFontConversion.h; sourceTree = "<group>"; };
</span><del>-                1CD0B6200AABDB5000D0A3FF /* PublicDOMInterfaces.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PublicDOMInterfaces.h; sourceTree = "<group>"; };
</del><span class="cx">                 1CDD45E40BA9C84600F90147 /* DebugRelease.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = DebugRelease.xcconfig; sourceTree = "<group>"; };
</span><span class="cx">                 1CDD45E50BA9C84600F90147 /* WebCore.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = WebCore.xcconfig; sourceTree = "<group>"; };
</span><span class="cx">                 1CDD45E60BA9C84600F90147 /* Base.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Base.xcconfig; sourceTree = "<group>"; };
</span><span class="lines">@@ -10660,7 +10659,6 @@
</span><span class="cx">                 859A9C440AA5E3BD00B694B2 /* DOMHTMLMetaElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLMetaElement.mm; sourceTree = "<group>"; };
</span><span class="cx">                 859A9C450AA5E3BD00B694B2 /* DOMHTMLStyleElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLStyleElement.h; sourceTree = "<group>"; };
</span><span class="cx">                 859A9C460AA5E3BD00B694B2 /* DOMHTMLStyleElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLStyleElement.mm; sourceTree = "<group>"; };
</span><del>-                859B7FB90A8D288800A5F1EA /* CodeGeneratorObjC.pm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.script.perl; name = CodeGeneratorObjC.pm; path = ../scripts/CodeGeneratorObjC.pm; sourceTree = "<group>"; tabWidth = 8; usesTabs = 0; };
</del><span class="cx">                 85ACA9840A9B520300671E90 /* DOMCharacterData.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = DOMCharacterData.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
</span><span class="cx">                 85ACA9850A9B520300671E90 /* DOMCharacterData.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; lineEnding = 0; path = DOMCharacterData.mm; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
</span><span class="cx">                 85ACA99A0A9B575900671E90 /* DOMText.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMText.h; sourceTree = "<group>"; };
</span><span class="lines">@@ -22026,7 +22024,6 @@
</span><span class="cx">                                 1AD2D15C1D4FD6B200B7DE36 /* HTML */,
</span><span class="cx">                                 BCD0FBCE0DBD624100B2F630 /* Views */,
</span><span class="cx">                                 1ACF3FB51D5012440063AEFB /* XPath */,
</span><del>-                                859B7FB90A8D288800A5F1EA /* CodeGeneratorObjC.pm */,
</del><span class="cx">                                 BC1A3797097C715F0019F3D8 /* DOM.h */,
</span><span class="cx">                                 BC1A3798097C715F0019F3D8 /* DOM.mm */,
</span><span class="cx">                                 BC1A3799097C715F0019F3D8 /* DOMCore.h */,
</span><span class="lines">@@ -22057,7 +22054,6 @@
</span><span class="cx">                                 1CF6BDF90E9BB26A0025E1CD /* ObjCEventListener.mm */,
</span><span class="cx">                                 1CF6BE130E9BB4670025E1CD /* ObjCNodeFilterCondition.h */,
</span><span class="cx">                                 1CF6BE120E9BB4670025E1CD /* ObjCNodeFilterCondition.mm */,
</span><del>-                                1CD0B6200AABDB5000D0A3FF /* PublicDOMInterfaces.h */,
</del><span class="cx">                                 5DFEBAB618592B6D00C75BEB /* WebKitAvailability.h */,
</span><span class="cx">                                 1CAF347E0A6C405200ABE06E /* WebScriptObject.h */,
</span><span class="cx">                                 1CAF347F0A6C405200ABE06E /* WebScriptObject.mm */,
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcPublicDOMInterfacesh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/bindings/objc/PublicDOMInterfaces.h (204103 => 204104)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/PublicDOMInterfaces.h        2016-08-03 21:31:03 UTC (rev 204103)
+++ trunk/Source/WebCore/bindings/objc/PublicDOMInterfaces.h        2016-08-03 22:53:09 UTC (rev 204104)
</span><span class="lines">@@ -1,1254 +0,0 @@
</span><del>-// Copyright (C) 2006, 2007 Apple Inc. All rights reserved.
-// Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
-//
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions
-// are met:
-// 1. Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-// 2. Redistributions in binary form must reproduce the above copyright
-// notice, this list of conditions and the following disclaimer in the
-// documentation and/or other materials provided with the distribution.
-//
-// THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
-// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
-// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
-// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-// OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-// This file is used by bindings/scripts/CodeGeneratorObjC.pm to determine public API.
-// All public DOM class interfaces, properties and methods need to be in this file.
-// Anything not in the file will be generated into the appropriate private header file.
-
-#ifndef OBJC_CODE_GENERATION
-#error Do not include this header, instead include the appropriate DOM header.
-#endif
-
-#ifdef __APPLE__
-#include <TargetConditionals.h>
-#endif
-
-@interface DOMAttr : DOMNode 10_4
-@property (readonly, copy) NSString *name;
-@property (readonly) BOOL specified;
-@property (copy) NSString *value;
-@property (readonly, strong) DOMElement *ownerElement;
-@property (readonly, strong) DOMCSSStyleDeclaration *style WEBKIT_AVAILABLE_MAC(10_5);
-@end
-
-@interface DOMCDATASection : DOMText 10_4
-@end
-
-@interface DOMCharacterData : DOMNode 10_4
-@property (copy) NSString *data;
-@property (readonly) unsigned length;
-- (NSString *)substringData:(unsigned)offset :(unsigned)length;
-- (NSString *)substringData:(unsigned)offset length:(unsigned)length WEBKIT_AVAILABLE_MAC(10_5);
-- (void)appendData:(NSString *)data;
-- (void)insertData:(unsigned)offset :(NSString *)data;
-- (void)deleteData:(unsigned)offset :(unsigned)length;
-- (void)replaceData:(unsigned)offset :(unsigned)length :(NSString *)data;
-- (void)insertData:(unsigned)offset data:(NSString *)data WEBKIT_AVAILABLE_MAC(10_5);
-- (void)deleteData:(unsigned)offset length:(unsigned)length WEBKIT_AVAILABLE_MAC(10_5);
-- (void)replaceData:(unsigned)offset length:(unsigned)length data:(NSString *)data WEBKIT_AVAILABLE_MAC(10_5);
-@end
-
-@interface DOMComment : DOMCharacterData 10_4
-@end
-
-@interface DOMImplementation : DOMObject 10_4
-- (BOOL)hasFeature:(NSString *)feature :(NSString *)version;
-- (DOMDocumentType *)createDocumentType:(NSString *)qualifiedName :(NSString *)publicId :(NSString *)systemId;
-- (DOMDocument *)createDocument:(NSString *)namespaceURI :(NSString *)qualifiedName :(DOMDocumentType *)doctype;
-- (DOMCSSStyleSheet *)createCSSStyleSheet:(NSString *)title :(NSString *)media;
-- (BOOL)hasFeature:(NSString *)feature version:(NSString *)version WEBKIT_AVAILABLE_MAC(10_5);
-- (DOMDocumentType *)createDocumentType:(NSString *)qualifiedName publicId:(NSString *)publicId systemId:(NSString *)systemId WEBKIT_AVAILABLE_MAC(10_5);
-- (DOMDocument *)createDocument:(NSString *)namespaceURI qualifiedName:(NSString *)qualifiedName doctype:(DOMDocumentType *)doctype WEBKIT_AVAILABLE_MAC(10_5);
-- (DOMCSSStyleSheet *)createCSSStyleSheet:(NSString *)title media:(NSString *)media WEBKIT_AVAILABLE_MAC(10_5);
-- (DOMHTMLDocument *)createHTMLDocument:(NSString *)title WEBKIT_AVAILABLE_MAC(10_5);
-@end
-
-@interface DOMAbstractView : DOMObject 10_4
-@property (readonly, strong) DOMDocument *document;
-@end
-
-@interface DOMDocument : DOMNode 10_4
-@property (readonly, strong) DOMDocumentType *doctype;
-@property (readonly, strong) DOMImplementation *implementation;
-@property (readonly, strong) DOMElement *documentElement;
-@property (readonly, strong) DOMAbstractView *defaultView;
-@property (readonly, strong) DOMStyleSheetList *styleSheets;
-@property (readonly, strong) DOMHTMLCollection *images;
-@property (readonly, strong) DOMHTMLCollection *applets;
-@property (readonly, strong) DOMHTMLCollection *links;
-@property (readonly, strong) DOMHTMLCollection *forms;
-@property (readonly, strong) DOMHTMLCollection *anchors;
-@property (copy) NSString *title;
-@property (readonly, copy) NSString *referrer;
-@property (readonly, copy) NSString *domain;
-@property (readonly, copy) NSString *URL;
-@property (strong) DOMHTMLElement *body;
-@property (copy) NSString *cookie;
-@property (readonly, copy) NSString *inputEncoding WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly, copy) NSString *xmlEncoding WEBKIT_AVAILABLE_MAC(10_5);
-@property (copy) NSString *xmlVersion WEBKIT_AVAILABLE_MAC(10_5);
-@property BOOL xmlStandalone WEBKIT_AVAILABLE_MAC(10_5);
-@property (copy) NSString *documentURI WEBKIT_AVAILABLE_MAC(10_5);
-@property (copy) NSString *charset WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly, copy) NSString *defaultCharset WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly, copy) NSString *readyState WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly, copy) NSString *characterSet WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly, copy) NSString *preferredStylesheetSet WEBKIT_AVAILABLE_MAC(10_5);
-@property (copy) NSString *selectedStylesheetSet WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly, copy) NSString *lastModified WEBKIT_AVAILABLE_MAC(10_6);
-@property (readonly, strong) DOMElement *activeElement WEBKIT_AVAILABLE_MAC(10_6);
-- (DOMElement *)createElement:(NSString *)tagName;
-- (DOMDocumentFragment *)createDocumentFragment;
-- (DOMText *)createTextNode:(NSString *)data;
-- (DOMComment *)createComment:(NSString *)data;
-- (DOMCDATASection *)createCDATASection:(NSString *)data;
-- (DOMProcessingInstruction *)createProcessingInstruction:(NSString *)target :(NSString *)data;
-- (DOMProcessingInstruction *)createProcessingInstruction:(NSString *)target data:(NSString *)data WEBKIT_AVAILABLE_MAC(10_5);
-- (DOMAttr *)createAttribute:(NSString *)name;
-- (DOMEntityReference *)createEntityReference:(NSString *)name;
-- (DOMNodeList *)getElementsByTagName:(NSString *)tagname;
-- (DOMNode *)importNode:(DOMNode *)importedNode :(BOOL)deep;
-- (DOMElement *)createElementNS:(NSString *)namespaceURI :(NSString *)qualifiedName;
-- (DOMAttr *)createAttributeNS:(NSString *)namespaceURI :(NSString *)qualifiedName;
-- (DOMNodeList *)getElementsByTagNameNS:(NSString *)namespaceURI :(NSString *)localName;
-- (DOMNode *)importNode:(DOMNode *)importedNode deep:(BOOL)deep WEBKIT_AVAILABLE_MAC(10_5);
-- (DOMNode *)adoptNode:(DOMNode *)source WEBKIT_AVAILABLE_MAC(10_5);
-- (DOMElement *)createElementNS:(NSString *)namespaceURI qualifiedName:(NSString *)qualifiedName WEBKIT_AVAILABLE_MAC(10_5);
-- (DOMAttr *)createAttributeNS:(NSString *)namespaceURI qualifiedName:(NSString *)qualifiedName WEBKIT_AVAILABLE_MAC(10_5);
-- (DOMNodeList *)getElementsByTagNameNS:(NSString *)namespaceURI localName:(NSString *)localName WEBKIT_AVAILABLE_MAC(10_5);
-- (DOMElement *)getElementById:(NSString *)elementId;
-- (DOMEvent *)createEvent:(NSString *)eventType;
-- (DOMRange *)createRange;
-- (DOMCSSStyleDeclaration *)createCSSStyleDeclaration WEBKIT_AVAILABLE_MAC(10_5);
-- (DOMCSSStyleDeclaration *)getOverrideStyle:(DOMElement *)element :(NSString *)pseudoElement;
-- (DOMCSSStyleDeclaration *)getOverrideStyle:(DOMElement *)element pseudoElement:(NSString *)pseudoElement WEBKIT_AVAILABLE_MAC(10_5);
-- (DOMCSSStyleDeclaration *)getComputedStyle:(DOMElement *)element :(NSString *)pseudoElement;
-- (DOMCSSStyleDeclaration *)getComputedStyle:(DOMElement *)element pseudoElement:(NSString *)pseudoElement WEBKIT_AVAILABLE_MAC(10_5);
-- (DOMCSSRuleList *)getMatchedCSSRules:(DOMElement *)element pseudoElement:(NSString *)pseudoElement WEBKIT_AVAILABLE_MAC(10_5);
-- (DOMCSSRuleList *)getMatchedCSSRules:(DOMElement *)element pseudoElement:(NSString *)pseudoElement authorOnly:(BOOL)authorOnly WEBKIT_AVAILABLE_MAC(10_5);
-- (DOMNodeList *)getElementsByName:(NSString *)elementName;
-- (DOMNodeIterator *)createNodeIterator:(DOMNode *)root whatToShow:(unsigned)whatToShow filter:(id <DOMNodeFilter>)filter expandEntityReferences:(BOOL)expandEntityReferences WEBKIT_AVAILABLE_MAC(10_5);
-- (DOMTreeWalker *)createTreeWalker:(DOMNode *)root whatToShow:(unsigned)whatToShow filter:(id <DOMNodeFilter>)filter expandEntityReferences:(BOOL)expandEntityReferences WEBKIT_AVAILABLE_MAC(10_5);
-- (DOMNodeIterator *)createNodeIterator:(DOMNode *)root :(unsigned)whatToShow :(id <DOMNodeFilter>)filter :(BOOL)expandEntityReferences;
-- (DOMTreeWalker *)createTreeWalker:(DOMNode *)root :(unsigned)whatToShow :(id <DOMNodeFilter>)filter :(BOOL)expandEntityReferences;
-- (DOMXPathExpression *)createExpression:(NSString *)expression :(id <DOMXPathNSResolver>)resolver WEBKIT_DEPRECATED_MAC(10_5, 10_5);
-- (DOMXPathExpression *)createExpression:(NSString *)expression resolver:(id <DOMXPathNSResolver>)resolver WEBKIT_AVAILABLE_MAC(10_5);
-- (id <DOMXPathNSResolver>)createNSResolver:(DOMNode *)nodeResolver WEBKIT_AVAILABLE_MAC(10_5);
-- (DOMXPathResult *)evaluate:(NSString *)expression :(DOMNode *)contextNode :(id <DOMXPathNSResolver>)resolver :(unsigned short)type :(DOMXPathResult *)inResult WEBKIT_DEPRECATED_MAC(10_5, 10_5);
-- (DOMXPathResult *)evaluate:(NSString *)expression contextNode:(DOMNode *)contextNode resolver:(id <DOMXPathNSResolver>)resolver type:(unsigned short)type inResult:(DOMXPathResult *)inResult WEBKIT_AVAILABLE_MAC(10_5);
-- (BOOL)execCommand:(NSString *)command userInterface:(BOOL)userInterface value:(NSString *)value WEBKIT_AVAILABLE_MAC(10_5);
-- (BOOL)execCommand:(NSString *)command userInterface:(BOOL)userInterface WEBKIT_AVAILABLE_MAC(10_5);
-- (BOOL)execCommand:(NSString *)command WEBKIT_AVAILABLE_MAC(10_5);
-- (BOOL)queryCommandEnabled:(NSString *)command WEBKIT_AVAILABLE_MAC(10_5);
-- (BOOL)queryCommandIndeterm:(NSString *)command WEBKIT_AVAILABLE_MAC(10_5);
-- (BOOL)queryCommandState:(NSString *)command WEBKIT_AVAILABLE_MAC(10_5);
-- (BOOL)queryCommandSupported:(NSString *)command WEBKIT_AVAILABLE_MAC(10_5);
-- (NSString *)queryCommandValue:(NSString *)command WEBKIT_AVAILABLE_MAC(10_5);
-- (DOMElement *)elementFromPoint:(int)x y:(int)y WEBKIT_AVAILABLE_MAC(10_5);
-- (DOMNodeList *)getElementsByClassName:(NSString *)classNames WEBKIT_AVAILABLE_MAC(10_6);
-- (DOMElement *)querySelector:(NSString *)selectors WEBKIT_AVAILABLE_MAC(10_6);
-- (DOMNodeList *)querySelectorAll:(NSString *)selectors WEBKIT_AVAILABLE_MAC(10_6);
-#if defined(ENABLE_FULLSCREEN_API) && ENABLE_FULLSCREEN_API
-- (void)webkitCancelFullScreen WEBKIT_AVAILABLE_MAC(10_6);
-#endif
-- (BOOL)hasFocus WEBKIT_AVAILABLE_MAC(10_6);
-@end
-
-@interface DOMDocumentFragment : DOMNode 10_4
-@end
-
-@interface DOMDocumentType : DOMNode 10_4
-@property (readonly, copy) NSString *name;
-@property (readonly, strong) DOMNamedNodeMap *entities;
-@property (readonly, strong) DOMNamedNodeMap *notations;
-@property (readonly, copy) NSString *publicId;
-@property (readonly, copy) NSString *systemId;
-@property (readonly, copy) NSString *internalSubset;
-@end
-
-@interface DOMElement : DOMNode 10_4
-@property (readonly, copy) NSString *tagName;
-@property (readonly, strong) DOMCSSStyleDeclaration *style;
-@property (copy) NSString *className;
-@property (readonly) int offsetLeft;
-@property (readonly) int offsetTop;
-@property (readonly) int offsetWidth;
-@property (readonly) int offsetHeight;
-@property (readonly, strong) DOMElement *offsetParent;
-@property (readonly) int clientWidth;
-@property (readonly) int clientHeight;
-@property int scrollLeft;
-@property int scrollTop;
-@property (readonly) int scrollWidth;
-@property (readonly) int scrollHeight;
-@property (readonly) int clientLeft WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly) int clientTop WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly, copy) NSString *innerText WEBKIT_AVAILABLE_MAC(10_5);
-@property (copy) NSString *innerHTML;
-@property (copy) NSString *outerHTML;
-@property (readonly, strong) DOMElement *firstElementChild WEBKIT_AVAILABLE_MAC(10_6);
-@property (readonly, strong) DOMElement *lastElementChild WEBKIT_AVAILABLE_MAC(10_6);
-@property (readonly, strong) DOMElement *previousElementSibling WEBKIT_AVAILABLE_MAC(10_6);
-@property (readonly, strong) DOMElement *nextElementSibling WEBKIT_AVAILABLE_MAC(10_6);
-@property (readonly) unsigned childElementCount WEBKIT_AVAILABLE_MAC(10_6);
-- (NSString *)getAttribute:(NSString *)name;
-- (void)setAttribute:(NSString *)name :(NSString *)value;
-- (void)setAttribute:(NSString *)name value:(NSString *)value WEBKIT_AVAILABLE_MAC(10_5);
-- (void)removeAttribute:(NSString *)name;
-- (DOMAttr *)getAttributeNode:(NSString *)name;
-- (DOMAttr *)setAttributeNode:(DOMAttr *)newAttr;
-- (DOMAttr *)removeAttributeNode:(DOMAttr *)oldAttr;
-- (DOMNodeList *)getElementsByTagName:(NSString *)name;
-- (NSString *)getAttributeNS:(NSString *)namespaceURI :(NSString *)localName;
-- (void)setAttributeNS:(NSString *)namespaceURI :(NSString *)qualifiedName :(NSString *)value;
-- (void)removeAttributeNS:(NSString *)namespaceURI :(NSString *)localName;
-- (DOMNodeList *)getElementsByTagNameNS:(NSString *)namespaceURI :(NSString *)localName;
-- (DOMAttr *)getAttributeNodeNS:(NSString *)namespaceURI :(NSString *)localName;
-- (NSString *)getAttributeNS:(NSString *)namespaceURI localName:(NSString *)localName WEBKIT_AVAILABLE_MAC(10_5);
-- (void)setAttributeNS:(NSString *)namespaceURI qualifiedName:(NSString *)qualifiedName value:(NSString *)value WEBKIT_AVAILABLE_MAC(10_5);
-- (void)removeAttributeNS:(NSString *)namespaceURI localName:(NSString *)localName WEBKIT_AVAILABLE_MAC(10_5);
-- (DOMNodeList *)getElementsByTagNameNS:(NSString *)namespaceURI localName:(NSString *)localName WEBKIT_AVAILABLE_MAC(10_5);
-- (DOMAttr *)getAttributeNodeNS:(NSString *)namespaceURI localName:(NSString *)localName WEBKIT_AVAILABLE_MAC(10_5);
-- (DOMAttr *)setAttributeNodeNS:(DOMAttr *)newAttr;
-- (BOOL)hasAttribute:(NSString *)name;
-- (BOOL)hasAttributeNS:(NSString *)namespaceURI :(NSString *)localName;
-- (BOOL)hasAttributeNS:(NSString *)namespaceURI localName:(NSString *)localName WEBKIT_AVAILABLE_MAC(10_5);
-- (void)scrollIntoView:(BOOL)alignWithTop WEBKIT_AVAILABLE_MAC(10_5);
-- (void)scrollIntoViewIfNeeded:(BOOL)centerIfNeeded WEBKIT_AVAILABLE_MAC(10_5);
-- (void)scrollByLines:(int)lines WEBKIT_AVAILABLE_MAC(10_5);
-- (void)scrollByPages:(int)pages WEBKIT_AVAILABLE_MAC(10_5);
-- (void)focus WEBKIT_AVAILABLE_MAC(10_6);
-- (void)blur WEBKIT_AVAILABLE_MAC(10_6);
-- (DOMNodeList *)getElementsByClassName:(NSString *)name WEBKIT_AVAILABLE_MAC(10_6);
-- (DOMElement *)querySelector:(NSString *)selectors WEBKIT_AVAILABLE_MAC(10_6);
-- (DOMNodeList *)querySelectorAll:(NSString *)selectors WEBKIT_AVAILABLE_MAC(10_6);
-#if defined(ENABLE_FULLSCREEN_API) && ENABLE_FULLSCREEN_API
-- (void)webkitRequestFullScreen:(unsigned short)flags WEBKIT_AVAILABLE_MAC(10_6);
-#endif
-@end
-
-@interface DOMEntity : DOMNode 10_4
-@property (readonly, copy) NSString *publicId;
-@property (readonly, copy) NSString *systemId;
-@property (readonly, copy) NSString *notationName;
-@end
-
-@interface DOMEntityReference : DOMNode 10_4
-@end
-
-@interface DOMBlob : DOMObject 10_6
-@property (readonly) unsigned long long size;
-@end
-
-@interface DOMFile : DOMBlob 10_6
-@property (readonly, copy) NSString *name;
-@end
-
-@interface DOMFileList : DOMObject 10_6
-@property (readonly) unsigned length;
-- (DOMFile *)item:(unsigned)index;
-@end
-
-@interface DOMNamedNodeMap : DOMObject 10_4
-@property (readonly) unsigned length;
-- (DOMNode *)getNamedItem:(NSString *)name;
-- (DOMNode *)setNamedItem:(DOMNode *)node;
-- (DOMNode *)removeNamedItem:(NSString *)name;
-- (DOMNode *)item:(unsigned)index;
-- (DOMNode *)getNamedItemNS:(NSString *)namespaceURI :(NSString *)localName;
-- (DOMNode *)getNamedItemNS:(NSString *)namespaceURI localName:(NSString *)localName WEBKIT_AVAILABLE_MAC(10_5);
-- (DOMNode *)setNamedItemNS:(DOMNode *)node;
-- (DOMNode *)removeNamedItemNS:(NSString *)namespaceURI :(NSString *)localName;
-- (DOMNode *)removeNamedItemNS:(NSString *)namespaceURI localName:(NSString *)localName WEBKIT_AVAILABLE_MAC(10_5);
-@end
-
-@interface DOMNode : DOMObject 10_4
-@property (readonly, copy) NSString *nodeName;
-@property (copy) NSString *nodeValue;
-@property (readonly) unsigned short nodeType;
-@property (readonly, strong) DOMNode *parentNode;
-@property (readonly, strong) DOMNodeList *childNodes;
-@property (readonly, strong) DOMNode *firstChild;
-@property (readonly, strong) DOMNode *lastChild;
-@property (readonly, strong) DOMNode *previousSibling;
-@property (readonly, strong) DOMNode *nextSibling;
-@property (readonly, strong) DOMNamedNodeMap *attributes;
-@property (readonly, strong) DOMDocument *ownerDocument;
-@property (readonly, copy) NSString *namespaceURI;
-@property (copy) NSString *prefix;
-@property (readonly, copy) NSString *localName;
-@property (copy) NSString *textContent WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly, copy) NSString *baseURI WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly, strong) DOMElement *parentElement WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly) BOOL isContentEditable WEBKIT_AVAILABLE_MAC(10_5);
-- (DOMNode *)insertBefore:(DOMNode *)newChild :(DOMNode *)refChild;
-- (DOMNode *)insertBefore:(DOMNode *)newChild refChild:(DOMNode *)refChild WEBKIT_AVAILABLE_MAC(10_5);
-- (DOMNode *)replaceChild:(DOMNode *)newChild :(DOMNode *)oldChild;
-- (DOMNode *)replaceChild:(DOMNode *)newChild oldChild:(DOMNode *)oldChild WEBKIT_AVAILABLE_MAC(10_5);
-- (DOMNode *)removeChild:(DOMNode *)oldChild;
-- (DOMNode *)appendChild:(DOMNode *)newChild;
-- (BOOL)hasChildNodes;
-- (DOMNode *)cloneNode:(BOOL)deep;
-- (void)normalize;
-- (BOOL)isSupported:(NSString *)feature :(NSString *)version;
-- (BOOL)isSupported:(NSString *)feature version:(NSString *)version WEBKIT_AVAILABLE_MAC(10_5);
-- (BOOL)hasAttributes;
-- (BOOL)isSameNode:(DOMNode *)other WEBKIT_AVAILABLE_MAC(10_5);
-- (BOOL)isEqualNode:(DOMNode *)other WEBKIT_AVAILABLE_MAC(10_5);
-- (NSString *)lookupPrefix:(NSString *)namespaceURI WEBKIT_AVAILABLE_MAC(10_5);
-- (BOOL)isDefaultNamespace:(NSString *)namespaceURI WEBKIT_AVAILABLE_MAC(10_5);
-- (NSString *)lookupNamespaceURI:(NSString *)prefix WEBKIT_AVAILABLE_MAC(10_5);
-- (unsigned short)compareDocumentPosition:(DOMNode *)other WEBKIT_AVAILABLE_MAC(10_6);
-- (BOOL)contains:(DOMNode *)other WEBKIT_AVAILABLE_MAC(10_5);
-@end
-
-@interface DOMNodeList : DOMObject 10_4
-@property (readonly) unsigned length;
-- (DOMNode *)item:(unsigned)index;
-@end
-
-@interface DOMProcessingInstruction : DOMCharacterData 10_4
-@property (readonly, copy) NSString *target;
-@property (readonly, strong) DOMStyleSheet *sheet WEBKIT_AVAILABLE_MAC(10_4);
-@end
-
-@interface DOMText : DOMCharacterData 10_4
-@property (readonly, copy) NSString *wholeText WEBKIT_AVAILABLE_MAC(10_6);
-- (DOMText *)splitText:(unsigned)offset;
-- (DOMText *)replaceWholeText:(NSString *)content WEBKIT_AVAILABLE_MAC(10_6);
-@end
-
-@interface DOMHTMLAnchorElement : DOMHTMLElement 10_4
-@property (copy) NSString *accessKey WEBKIT_DEPRECATED_MAC(10_4, 10_8);
-@property (copy) NSString *charset;
-@property (copy) NSString *coords;
-@property (copy) NSString *href;
-@property (copy) NSString *hreflang;
-@property (copy) NSString *name;
-@property (copy) NSString *rel;
-@property (copy) NSString *rev;
-@property (copy) NSString *shape;
-@property (copy) NSString *target;
-@property (copy) NSString *type;
-@property (readonly, copy) NSURL *absoluteLinkURL WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly, copy) NSString *hashName WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly, copy) NSString *host WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly, copy) NSString *hostname WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly, copy) NSString *pathname WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly, copy) NSString *port WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly, copy) NSString *protocol WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly, copy) NSString *search WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly, copy) NSString *text WEBKIT_AVAILABLE_MAC(10_5);
-@end
-
-@interface DOMHTMLAppletElement : DOMHTMLElement 10_4
-@property (copy) NSString *align;
-@property (copy) NSString *alt;
-@property (copy) NSString *archive;
-@property (copy) NSString *code;
-@property (copy) NSString *codeBase;
-@property (copy) NSString *height;
-@property int hspace;
-@property (copy) NSString *name;
-@property (copy) NSString *object;
-@property int vspace;
-@property (copy) NSString *width;
-@end
-
-@interface DOMHTMLAreaElement : DOMHTMLElement 10_4
-@property (copy) NSString *accessKey WEBKIT_DEPRECATED_MAC(10_4, 10_8);
-@property (copy) NSString *alt;
-@property (copy) NSString *coords;
-@property (copy) NSString *href;
-@property BOOL noHref;
-@property (copy) NSString *shape;
-@property (copy) NSString *target;
-@property (readonly, copy) NSURL *absoluteLinkURL WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly, copy) NSString *hashName WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly, copy) NSString *host WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly, copy) NSString *hostname WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly, copy) NSString *pathname WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly, copy) NSString *port WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly, copy) NSString *protocol WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly, copy) NSString *search WEBKIT_AVAILABLE_MAC(10_5);
-@end
-
-@interface DOMHTMLBRElement : DOMHTMLElement 10_4
-@property (copy) NSString *clear;
-@end
-
-@interface DOMHTMLBaseElement : DOMHTMLElement 10_4
-@property (copy) NSString *href;
-@property (copy) NSString *target;
-@end
-
-@interface DOMHTMLBaseFontElement : DOMHTMLElement 10_4
-@property (copy) NSString *color;
-@property (copy) NSString *face;
-@property (copy) NSString *size;
-@end
-
-@interface DOMHTMLBodyElement : DOMHTMLElement 10_4
-@property (copy) NSString *aLink;
-@property (copy) NSString *background;
-@property (copy) NSString *bgColor;
-@property (copy) NSString *link;
-@property (copy) NSString *text;
-@property (copy) NSString *vLink;
-@end
-
-@interface DOMHTMLButtonElement : DOMHTMLElement 10_4
-@property (copy) NSString *accessKey WEBKIT_DEPRECATED_MAC(10_4, 10_8);
-@property (readonly, strong) DOMHTMLFormElement *form;
-@property BOOL disabled;
-@property (copy) NSString *name;
-@property (copy) NSString *type;
-@property (copy) NSString *value;
-@property BOOL autofocus WEBKIT_AVAILABLE_MAC(10_6);
-@property (readonly) BOOL willValidate WEBKIT_AVAILABLE_MAC(10_6);
-- (void)click WEBKIT_AVAILABLE_MAC(10_5);
-@end
-
-@interface DOMHTMLCanvasElement : DOMHTMLElement 10_5
-@property int height;
-@property int width;
-@end
-
-@interface DOMHTMLCollection : DOMObject 10_4
-@property (readonly) unsigned length;
-- (DOMNode *)item:(unsigned)index;
-- (DOMNode *)namedItem:(NSString *)name;
-- (DOMNodeList *)tags:(NSString *)name WEBKIT_AVAILABLE_MAC(10_6);
-@end
-
-@interface DOMHTMLDListElement : DOMHTMLElement 10_4
-@property BOOL compact;
-@end
-
-@interface DOMHTMLDirectoryElement : DOMHTMLElement 10_4
-@property BOOL compact;
-@end
-
-@interface DOMHTMLDivElement : DOMHTMLElement 10_4
-@property (copy) NSString *align;
-@end
-
-@interface DOMHTMLDocument : DOMDocument 10_4
-@property (readonly, strong) DOMHTMLCollection *embeds WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly, strong) DOMHTMLCollection *plugins WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly, strong) DOMHTMLCollection *scripts WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly) int width WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly) int height WEBKIT_AVAILABLE_MAC(10_5);
-@property (copy) NSString *dir WEBKIT_AVAILABLE_MAC(10_5);
-@property (copy) NSString *designMode WEBKIT_AVAILABLE_MAC(10_5);
-@property (copy) NSString *bgColor WEBKIT_AVAILABLE_MAC(10_5);
-@property (copy) NSString *fgColor WEBKIT_AVAILABLE_MAC(10_5);
-@property (copy) NSString *alinkColor WEBKIT_AVAILABLE_MAC(10_5);
-@property (copy) NSString *linkColor WEBKIT_AVAILABLE_MAC(10_5);
-@property (copy) NSString *vlinkColor WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly, copy) NSString *compatMode WEBKIT_AVAILABLE_MAC(10_6);
-- (void)captureEvents WEBKIT_AVAILABLE_MAC(10_5);
-- (void)releaseEvents WEBKIT_AVAILABLE_MAC(10_5);
-- (void)clear WEBKIT_AVAILABLE_MAC(10_6);
-- (void)open;
-- (void)close;
-- (void)write:(NSString *)text;
-- (void)writeln:(NSString *)text;
-@end
-
-@interface DOMHTMLElement : DOMElement 10_4
-@property (copy) NSString *accessKey WEBKIT_AVAILABLE_MAC(10_8);
-@property (copy) NSString *title;
-@property (copy) NSString *idName;
-@property (copy) NSString *lang;
-@property (copy) NSString *dir;
-@property (copy) NSString *innerText;
-@property (copy) NSString *outerText;
-@property (readonly, strong) DOMHTMLCollection *children;
-@property (copy) NSString *contentEditable;
-@property (readonly) BOOL isContentEditable;
-@property (readonly, copy) NSString *titleDisplayString WEBKIT_AVAILABLE_MAC(10_5);
-@property int tabIndex;
-- (void)click WEBKIT_AVAILABLE_MAC(10_8);
-@end
-
-@interface DOMHTMLEmbedElement : DOMHTMLElement 10_4
-@property (copy) NSString *align;
-@property int height;
-@property (copy) NSString *name;
-@property (copy) NSString *src;
-@property (copy) NSString *type;
-@property int width;
-@end
-
-@interface DOMHTMLFieldSetElement : DOMHTMLElement 10_4
-@property (readonly, strong) DOMHTMLFormElement *form;
-@end
-
-@interface DOMHTMLFontElement : DOMHTMLElement 10_4
-@property (copy) NSString *color;
-@property (copy) NSString *face;
-@property (copy) NSString *size;
-@end
-
-@interface DOMHTMLFormElement : DOMHTMLElement 10_4
-@property (readonly, strong) DOMHTMLCollection *elements;
-@property (readonly) int length;
-@property (copy) NSString *name;
-@property (copy) NSString *acceptCharset;
-@property (copy) NSString *action;
-@property (copy) NSString *enctype;
-@property (copy) NSString *method;
-@property (copy) NSString *target;
-@property (copy) NSString *encoding WEBKIT_AVAILABLE_MAC(10_5);
-- (void)submit;
-- (void)reset;
-@end
-
-@interface DOMHTMLFrameElement : DOMHTMLElement 10_4
-@property (copy) NSString *frameBorder;
-@property (copy) NSString *longDesc;
-@property (copy) NSString *marginHeight;
-@property (copy) NSString *marginWidth;
-@property (copy) NSString *name;
-@property BOOL noResize;
-@property (copy) NSString *scrolling;
-@property (copy) NSString *src;
-@property (readonly, strong) DOMDocument *contentDocument;
-@property (readonly, strong) DOMAbstractView *contentWindow WEBKIT_AVAILABLE_MAC(10_5);
-@property (copy) NSString *location WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly) int width WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly) int height WEBKIT_AVAILABLE_MAC(10_5);
-@end
-
-@interface DOMHTMLFrameSetElement : DOMHTMLElement 10_4
-@property (copy) NSString *cols;
-@property (copy) NSString *rows;
-@end
-
-@interface DOMHTMLHRElement : DOMHTMLElement 10_4
-@property (copy) NSString *align;
-@property BOOL noShade;
-@property (copy) NSString *size;
-@property (copy) NSString *width;
-@end
-
-@interface DOMHTMLHeadElement : DOMHTMLElement 10_4
-@property (copy) NSString *profile;
-@end
-
-@interface DOMHTMLHeadingElement : DOMHTMLElement 10_4
-@property (copy) NSString *align;
-@end
-
-@interface DOMHTMLHtmlElement : DOMHTMLElement 10_4
-@property (copy) NSString *version;
-@end
-
-@interface DOMHTMLIFrameElement : DOMHTMLElement 10_4
-@property (copy) NSString *align;
-@property (copy) NSString *frameBorder;
-@property (copy) NSString *height;
-@property (copy) NSString *longDesc;
-@property (copy) NSString *marginHeight;
-@property (copy) NSString *marginWidth;
-@property (copy) NSString *name;
-@property (copy) NSString *scrolling;
-@property (copy) NSString *src;
-@property (copy) NSString *width;
-@property (readonly, strong) DOMDocument *contentDocument;
-@property (readonly, strong) DOMAbstractView *contentWindow WEBKIT_AVAILABLE_MAC(10_6);
-@end
-
-@interface DOMHTMLImageElement : DOMHTMLElement 10_4
-@property (copy) NSString *name;
-@property (copy) NSString *align;
-@property (copy) NSString *alt;
-@property (copy) NSString *border;
-@property int height;
-@property int hspace;
-@property BOOL isMap;
-@property (copy) NSString *longDesc;
-@property (copy) NSString *src;
-@property (copy) NSString *useMap;
-@property int vspace;
-@property int width;
-@property (readonly, copy) NSString *altDisplayString WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly, copy) NSURL *absoluteImageURL WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly) BOOL complete WEBKIT_AVAILABLE_MAC(10_5);
-@property (copy) NSString *lowsrc WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly) int naturalHeight WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly) int naturalWidth WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly) int x WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly) int y WEBKIT_AVAILABLE_MAC(10_5);
-@end
-
-@interface DOMHTMLInputElement : DOMHTMLElement 10_4
-@property (copy) NSString *defaultValue;
-@property BOOL defaultChecked;
-@property (readonly, strong) DOMHTMLFormElement *form;
-@property (copy) NSString *accept;
-@property (copy) NSString *accessKey WEBKIT_DEPRECATED_MAC(10_4, 10_8);
-@property (copy) NSString *align;
-@property (copy) NSString *alt;
-@property BOOL checked;
-@property BOOL disabled;
-@property int maxLength;
-@property (copy) NSString *name;
-@property BOOL readOnly;
-@property (copy) NSString *size;
-@property (copy) NSString *src;
-@property (copy) NSString *type;
-@property (copy) NSString *useMap;
-@property (copy) NSString *value;
-@property (readonly, copy) NSString *altDisplayString WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly, copy) NSURL *absoluteImageURL WEBKIT_AVAILABLE_MAC(10_5);
-@property BOOL indeterminate WEBKIT_AVAILABLE_MAC(10_5);
-@property int selectionStart WEBKIT_AVAILABLE_MAC(10_5);
-@property int selectionEnd WEBKIT_AVAILABLE_MAC(10_5);
-@property BOOL autofocus WEBKIT_AVAILABLE_MAC(10_6);
-@property BOOL multiple WEBKIT_AVAILABLE_MAC(10_6);
-@property (readonly) BOOL willValidate WEBKIT_AVAILABLE_MAC(10_6);
-@property (strong) DOMFileList *files WEBKIT_AVAILABLE_MAC(10_6);
-- (void)select;
-- (void)click;
-- (void)setSelectionRange:(int)start end:(int)end WEBKIT_AVAILABLE_MAC(10_5);
-@end
-
-@interface DOMHTMLLIElement : DOMHTMLElement 10_4
-@property (copy) NSString *type;
-@property int value;
-@end
-
-@interface DOMHTMLLabelElement : DOMHTMLElement 10_4
-@property (copy) NSString *accessKey WEBKIT_DEPRECATED_MAC(10_4, 10_8);
-@property (readonly, strong) DOMHTMLFormElement *form;
-@property (copy) NSString *htmlFor;
-@end
-
-@interface DOMHTMLLegendElement : DOMHTMLElement 10_4
-@property (copy) NSString *accessKey WEBKIT_DEPRECATED_MAC(10_4, 10_8);
-@property (readonly, strong) DOMHTMLFormElement *form;
-@property (copy) NSString *align;
-@end
-
-@interface DOMHTMLLinkElement : DOMHTMLElement 10_4
-@property BOOL disabled;
-@property (copy) NSString *charset;
-@property (copy) NSString *href;
-@property (copy) NSString *hreflang;
-@property (copy) NSString *media;
-@property (copy) NSString *rel;
-@property (copy) NSString *rev;
-@property (copy) NSString *target;
-@property (copy) NSString *type;
-@property (readonly, copy) NSURL *absoluteLinkURL WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly, strong) DOMStyleSheet *sheet WEBKIT_AVAILABLE_MAC(10_4);
-@end
-
-@interface DOMHTMLMapElement : DOMHTMLElement 10_4
-@property (readonly, strong) DOMHTMLCollection *areas;
-@property (copy) NSString *name;
-@end
-
-@interface DOMHTMLMarqueeElement : DOMHTMLElement 10_5
-- (void)start;
-- (void)stop;
-@end
-
-@interface DOMHTMLMenuElement : DOMHTMLElement 10_4
-@property BOOL compact;
-@end
-
-@interface DOMHTMLMetaElement : DOMHTMLElement 10_4
-@property (copy) NSString *content;
-@property (copy) NSString *httpEquiv;
-@property (copy) NSString *name;
-@property (copy) NSString *scheme;
-@end
-
-@interface DOMHTMLModElement : DOMHTMLElement 10_4
-@property (copy) NSString *cite;
-@property (copy) NSString *dateTime;
-@end
-
-@interface DOMHTMLOListElement : DOMHTMLElement 10_4
-@property BOOL compact;
-@property int start;
-@property (copy) NSString *type;
-@end
-
-@interface DOMHTMLObjectElement : DOMHTMLElement 10_4
-@property (readonly, strong) DOMHTMLFormElement *form;
-@property (copy) NSString *code;
-@property (copy) NSString *align;
-@property (copy) NSString *archive;
-@property (copy) NSString *border;
-@property (copy) NSString *codeBase;
-@property (copy) NSString *codeType;
-@property (copy) NSString *data;
-@property BOOL declare;
-@property (copy) NSString *height;
-@property int hspace;
-@property (copy) NSString *name;
-@property (copy) NSString *standby;
-@property (copy) NSString *type;
-@property (copy) NSString *useMap;
-@property int vspace;
-@property (copy) NSString *width;
-@property (readonly, strong) DOMDocument *contentDocument;
-@property (readonly, copy) NSURL *absoluteImageURL WEBKIT_AVAILABLE_MAC(10_5);
-@end
-
-@interface DOMHTMLOptGroupElement : DOMHTMLElement 10_4
-@property BOOL disabled;
-@property (copy) NSString *label;
-@end
-
-@interface DOMHTMLOptionElement : DOMHTMLElement 10_4
-@property (readonly, strong) DOMHTMLFormElement *form;
-@property BOOL defaultSelected;
-@property (readonly, copy) NSString *text;
-@property (readonly) int index;
-@property BOOL disabled;
-@property (copy) NSString *label;
-@property BOOL selected;
-@property (copy) NSString *value;
-@end
-
-@interface DOMHTMLOptionsCollection : DOMObject 10_4
-@property unsigned length;
-@property int selectedIndex WEBKIT_AVAILABLE_MAC(10_5);
-- (DOMNode *)item:(unsigned)index;
-- (DOMNode *)namedItem:(NSString *)name;
-- (void)add:(DOMHTMLOptionElement *)option index:(unsigned)index WEBKIT_AVAILABLE_MAC(10_5);
-- (void)remove:(unsigned)index WEBKIT_AVAILABLE_MAC(10_6);
-@end
-
-@interface DOMHTMLParagraphElement : DOMHTMLElement 10_4
-@property (copy) NSString *align;
-@end
-
-@interface DOMHTMLParamElement : DOMHTMLElement 10_4
-@property (copy) NSString *name;
-@property (copy) NSString *type;
-@property (copy) NSString *value;
-@property (copy) NSString *valueType;
-@end
-
-@interface DOMHTMLPreElement : DOMHTMLElement 10_4
-@property int width;
-@property BOOL wrap WEBKIT_AVAILABLE_MAC(10_5);
-@end
-
-@interface DOMHTMLQuoteElement : DOMHTMLElement 10_4
-@property (copy) NSString *cite;
-@end
-
-@interface DOMHTMLScriptElement : DOMHTMLElement 10_4
-@property (copy) NSString *text;
-@property (copy) NSString *htmlFor;
-@property (copy) NSString *event;
-@property (copy) NSString *charset;
-@property BOOL defer;
-@property (copy) NSString *src;
-@property (copy) NSString *type;
-@end
-
-@interface DOMHTMLSelectElement : DOMHTMLElement 10_4
-@property (readonly, copy) NSString *type;
-@property int selectedIndex;
-@property (copy) NSString *value;
-@property (readonly) int length;
-@property (readonly, strong) DOMHTMLFormElement *form;
-@property (readonly, strong) DOMHTMLOptionsCollection *options;
-@property BOOL disabled;
-@property BOOL multiple;
-@property (copy) NSString *name;
-@property int size;
-@property (readonly) BOOL willValidate WEBKIT_AVAILABLE_MAC(10_6);
-@property BOOL autofocus WEBKIT_AVAILABLE_MAC(10_6);
-- (void)add:(DOMHTMLElement *)element :(DOMHTMLElement *)before;
-- (void)add:(DOMHTMLElement *)element before:(DOMHTMLElement *)before WEBKIT_AVAILABLE_MAC(10_5);
-- (void)remove:(int)index;
-- (DOMNode *)item:(unsigned)index WEBKIT_AVAILABLE_MAC(10_6);
-- (DOMNode *)namedItem:(NSString *)name WEBKIT_AVAILABLE_MAC(10_6);
-@end
-
-@interface DOMHTMLStyleElement : DOMHTMLElement 10_4
-@property BOOL disabled;
-@property (copy) NSString *media;
-@property (copy) NSString *type;
-@property (readonly, strong) DOMStyleSheet *sheet WEBKIT_AVAILABLE_MAC(10_4);
-@end
-
-@interface DOMHTMLTableCaptionElement : DOMHTMLElement 10_4
-@property (copy) NSString *align;
-@end
-
-@interface DOMHTMLTableCellElement : DOMHTMLElement 10_4
-@property (readonly) int cellIndex;
-@property (copy) NSString *abbr;
-@property (copy) NSString *align;
-@property (copy) NSString *axis;
-@property (copy) NSString *bgColor;
-@property (copy) NSString *ch;
-@property (copy) NSString *chOff;
-@property int colSpan;
-@property (copy) NSString *headers;
-@property (copy) NSString *height;
-@property BOOL noWrap;
-@property int rowSpan;
-@property (copy) NSString *scope;
-@property (copy) NSString *vAlign;
-@property (copy) NSString *width;
-@end
-
-@interface DOMHTMLTableColElement : DOMHTMLElement 10_4
-@property (copy) NSString *align;
-@property (copy) NSString *ch;
-@property (copy) NSString *chOff;
-@property int span;
-@property (copy) NSString *vAlign;
-@property (copy) NSString *width;
-@end
-
-@interface DOMHTMLTableElement : DOMHTMLElement 10_4
-@property (strong) DOMHTMLTableCaptionElement *caption;
-@property (strong) DOMHTMLTableSectionElement *tHead;
-@property (strong) DOMHTMLTableSectionElement *tFoot;
-@property (readonly, strong) DOMHTMLCollection *rows;
-@property (readonly, strong) DOMHTMLCollection *tBodies;
-@property (copy) NSString *align;
-@property (copy) NSString *bgColor;
-@property (copy) NSString *border;
-@property (copy) NSString *cellPadding;
-@property (copy) NSString *cellSpacing;
-@property (copy) NSString *frameBorders;
-@property (copy) NSString *rules;
-@property (copy) NSString *summary;
-@property (copy) NSString *width;
-- (DOMHTMLElement *)createTHead;
-- (void)deleteTHead;
-- (DOMHTMLElement *)createTFoot;
-- (void)deleteTFoot;
-- (DOMHTMLElement *)createCaption;
-- (void)deleteCaption;
-- (DOMHTMLElement *)insertRow:(int)index;
-- (void)deleteRow:(int)index;
-@end
-
-@interface DOMHTMLTableRowElement : DOMHTMLElement 10_4
-@property (readonly) int rowIndex;
-@property (readonly) int sectionRowIndex;
-@property (readonly, strong) DOMHTMLCollection *cells;
-@property (copy) NSString *align;
-@property (copy) NSString *bgColor;
-@property (copy) NSString *ch;
-@property (copy) NSString *chOff;
-@property (copy) NSString *vAlign;
-- (DOMHTMLElement *)insertCell:(int)index;
-- (void)deleteCell:(int)index;
-@end
-
-@interface DOMHTMLTableSectionElement : DOMHTMLElement 10_4
-@property (copy) NSString *align;
-@property (copy) NSString *ch;
-@property (copy) NSString *chOff;
-@property (copy) NSString *vAlign;
-@property (readonly, strong) DOMHTMLCollection *rows;
-- (DOMHTMLElement *)insertRow:(int)index;
-- (void)deleteRow:(int)index;
-@end
-
-@interface DOMHTMLTextAreaElement : DOMHTMLElement 10_4
-@property (copy) NSString *defaultValue;
-@property (readonly, strong) DOMHTMLFormElement *form;
-@property (copy) NSString *accessKey WEBKIT_DEPRECATED_MAC(10_4, 10_8);
-@property int cols;
-@property BOOL disabled;
-@property (copy) NSString *name;
-@property BOOL readOnly;
-@property int rows;
-@property (readonly, copy) NSString *type;
-@property (copy) NSString *value;
-@property int selectionStart WEBKIT_AVAILABLE_MAC(10_5);
-@property int selectionEnd WEBKIT_AVAILABLE_MAC(10_5);
-@property BOOL autofocus WEBKIT_AVAILABLE_MAC(10_6);
-@property (readonly) BOOL willValidate WEBKIT_AVAILABLE_MAC(10_6);
-- (void)select;
-- (void)setSelectionRange:(int)start end:(int)end WEBKIT_AVAILABLE_MAC(10_5);
-@end
-
-@interface DOMHTMLTitleElement : DOMHTMLElement 10_4
-@property (copy) NSString *text;
-@end
-
-@interface DOMHTMLUListElement : DOMHTMLElement 10_4
-@property BOOL compact;
-@property (copy) NSString *type;
-@end
-
-@interface DOMStyleSheetList : DOMObject 10_4
-@property (readonly) unsigned length;
-- (DOMStyleSheet *)item:(unsigned)index;
-@end
-
-@interface DOMCSSCharsetRule : DOMCSSRule 10_4
-@property (readonly, copy) NSString *encoding;
-@end
-
-@interface DOMCSSFontFaceRule : DOMCSSRule 10_4
-@property (readonly, strong) DOMCSSStyleDeclaration *style;
-@end
-
-@interface DOMCSSImportRule : DOMCSSRule 10_4
-@property (readonly, copy) NSString *href;
-@property (readonly, strong) DOMMediaList *media;
-@property (readonly, strong) DOMCSSStyleSheet *styleSheet;
-@end
-
-@interface DOMCSSMediaRule : DOMCSSRule 10_4
-@property (readonly, strong) DOMMediaList *media;
-@property (readonly, strong) DOMCSSRuleList *cssRules;
-- (unsigned)insertRule:(NSString *)rule :(unsigned)index;
-- (unsigned)insertRule:(NSString *)rule index:(unsigned)index WEBKIT_AVAILABLE_MAC(10_5);
-- (void)deleteRule:(unsigned)index;
-@end
-
-@interface DOMCSSPageRule : DOMCSSRule 10_4
-@property (copy) NSString *selectorText;
-@property (readonly, strong) DOMCSSStyleDeclaration *style;
-@end
-
-@interface DOMCSSPrimitiveValue : DOMCSSValue 10_4
-@property (readonly) unsigned short primitiveType;
-- (void)setFloatValue:(unsigned short)unitType :(float)floatValue;
-- (void)setFloatValue:(unsigned short)unitType floatValue:(float)floatValue WEBKIT_AVAILABLE_MAC(10_5);
-- (float)getFloatValue:(unsigned short)unitType;
-- (void)setStringValue:(unsigned short)stringType :(NSString *)stringValue;
-- (void)setStringValue:(unsigned short)stringType stringValue:(NSString *)stringValue WEBKIT_AVAILABLE_MAC(10_5);
-- (NSString *)getStringValue;
-- (DOMCounter *)getCounterValue;
-- (DOMRect *)getRectValue;
-- (DOMRGBColor *)getRGBColorValue;
-@end
-
-@interface DOMRGBColor : DOMObject 10_4
-@property (readonly, strong) DOMCSSPrimitiveValue *red;
-@property (readonly, strong) DOMCSSPrimitiveValue *green;
-@property (readonly, strong) DOMCSSPrimitiveValue *blue;
-@property (readonly, strong) DOMCSSPrimitiveValue *alpha;
-#if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE
-- (CGColorRef)color;
-#else
-@property (readonly, copy) NSColor *color WEBKIT_AVAILABLE_MAC(10_5);
-#endif
-@end
-
-@interface DOMCSSRule : DOMObject 10_4
-@property (readonly) unsigned short type;
-@property (copy) NSString *cssText;
-@property (readonly, strong) DOMCSSStyleSheet *parentStyleSheet;
-@property (readonly, strong) DOMCSSRule *parentRule;
-@end
-
-@interface DOMCSSRuleList : DOMObject 10_4
-@property (readonly) unsigned length;
-- (DOMCSSRule *)item:(unsigned)index;
-@end
-
-@interface DOMCSSStyleDeclaration : DOMObject 10_4
-@property (copy) NSString *cssText;
-@property (readonly) unsigned length;
-@property (readonly, strong) DOMCSSRule *parentRule;
-- (NSString *)getPropertyValue:(NSString *)propertyName;
-- (DOMCSSValue *)getPropertyCSSValue:(NSString *)propertyName;
-- (NSString *)removeProperty:(NSString *)propertyName;
-- (NSString *)getPropertyPriority:(NSString *)propertyName;
-- (void)setProperty:(NSString *)propertyName :(NSString *)value :(NSString *)priority;
-- (void)setProperty:(NSString *)propertyName value:(NSString *)value priority:(NSString *)priority WEBKIT_AVAILABLE_MAC(10_5);
-- (NSString *)item:(unsigned)index;
-- (NSString *)getPropertyShorthand:(NSString *)propertyName WEBKIT_DEPRECATED_MAC(10_5, 10_5);
-- (BOOL)isPropertyImplicit:(NSString *)propertyName WEBKIT_AVAILABLE_MAC(10_5);
-@end
-
-@interface DOMCSSStyleRule : DOMCSSRule 10_4
-@property (copy) NSString *selectorText;
-@property (readonly, strong) DOMCSSStyleDeclaration *style;
-@end
-
-@interface DOMStyleSheet : DOMObject 10_4
-@property (readonly, copy) NSString *type;
-@property BOOL disabled;
-@property (readonly, strong) DOMNode *ownerNode;
-@property (readonly, strong) DOMStyleSheet *parentStyleSheet;
-@property (readonly, copy) NSString *href;
-@property (readonly, copy) NSString *title;
-@property (readonly, strong) DOMMediaList *media;
-@end
-
-@interface DOMCSSStyleSheet : DOMStyleSheet 10_4
-@property (readonly, strong) DOMCSSRule *ownerRule;
-@property (readonly, strong) DOMCSSRuleList *cssRules;
-@property (readonly, strong) DOMCSSRuleList *rules WEBKIT_AVAILABLE_MAC(10_6);
-- (unsigned)insertRule:(NSString *)rule :(unsigned)index;
-- (unsigned)insertRule:(NSString *)rule index:(unsigned)index WEBKIT_AVAILABLE_MAC(10_5);
-- (void)deleteRule:(unsigned)index;
-- (int)addRule:(NSString *)selector style:(NSString *)style index:(unsigned)index WEBKIT_AVAILABLE_MAC(10_6);
-- (void)removeRule:(unsigned)index WEBKIT_AVAILABLE_MAC(10_6);
-@end
-
-@interface DOMCSSValue : DOMObject 10_4
-@property (copy) NSString *cssText;
-@property (readonly) unsigned short cssValueType;
-@end
-
-@interface DOMCSSValueList : DOMCSSValue 10_4
-@property (readonly) unsigned length;
-- (DOMCSSValue *)item:(unsigned)index;
-@end
-
-@interface DOMCSSUnknownRule : DOMCSSRule 10_4
-@end
-
-@interface DOMCounter : DOMObject 10_4
-@property (readonly, copy) NSString *identifier;
-@property (readonly, copy) NSString *listStyle;
-@property (readonly, copy) NSString *separator;
-@end
-
-@interface DOMRect : DOMObject 10_4
-@property (readonly, strong) DOMCSSPrimitiveValue *top;
-@property (readonly, strong) DOMCSSPrimitiveValue *right;
-@property (readonly, strong) DOMCSSPrimitiveValue *bottom;
-@property (readonly, strong) DOMCSSPrimitiveValue *left;
-@end
-
-@interface DOMEvent : DOMObject 10_4
-@property (readonly, copy) NSString *type;
-@property (readonly, strong) id <DOMEventTarget> target;
-@property (readonly, strong) id <DOMEventTarget> currentTarget;
-@property (readonly) unsigned short eventPhase;
-@property (readonly) BOOL bubbles;
-@property (readonly) BOOL cancelable;
-@property (readonly) DOMTimeStamp timeStamp;
-@property (readonly, strong) id <DOMEventTarget> srcElement WEBKIT_AVAILABLE_MAC(10_6);
-@property BOOL returnValue WEBKIT_AVAILABLE_MAC(10_6);
-@property BOOL cancelBubble WEBKIT_AVAILABLE_MAC(10_6);
-- (void)stopPropagation;
-- (void)preventDefault;
-- (void)initEvent:(NSString *)eventTypeArg canBubbleArg:(BOOL)canBubbleArg cancelableArg:(BOOL)cancelableArg WEBKIT_AVAILABLE_MAC(10_5);
-- (void)initEvent:(NSString *)eventTypeArg :(BOOL)canBubbleArg :(BOOL)cancelableArg;
-@end
-
-@interface DOMUIEvent : DOMEvent 10_4
-@property (readonly, strong) DOMAbstractView *view;
-@property (readonly) int detail;
-@property (readonly) int keyCode WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly) int charCode WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly) int layerX WEBKIT_DEPRECATED_MAC(10_5, 10_5);
-@property (readonly) int layerY WEBKIT_DEPRECATED_MAC(10_5, 10_5);
-@property (readonly) int pageX WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly) int pageY WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly) int which WEBKIT_AVAILABLE_MAC(10_5);
-- (void)initUIEvent:(NSString *)type canBubble:(BOOL)canBubble cancelable:(BOOL)cancelable view:(DOMAbstractView *)view detail:(int)detail WEBKIT_AVAILABLE_MAC(10_5);
-- (void)initUIEvent:(NSString *)type :(BOOL)canBubble :(BOOL)cancelable :(DOMAbstractView *)view :(int)detail;
-@end
-
-@interface DOMMutationEvent : DOMEvent 10_4
-@property (readonly, strong) DOMNode *relatedNode;
-@property (readonly, copy) NSString *prevValue;
-@property (readonly, copy) NSString *newValue;
-@property (readonly, copy) NSString *attrName;
-@property (readonly) unsigned short attrChange;
-- (void)initMutationEvent:(NSString *)type canBubble:(BOOL)canBubble cancelable:(BOOL)cancelable relatedNode:(DOMNode *)relatedNode prevValue:(NSString *)prevValue newValue:(NSString *)newValue attrName:(NSString *)attrName attrChange:(unsigned short)attrChange WEBKIT_AVAILABLE_MAC(10_5);
-- (void)initMutationEvent:(NSString *)type :(BOOL)canBubble :(BOOL)cancelable :(DOMNode *)relatedNode :(NSString *)prevValue :(NSString *)newValue :(NSString *)attrName :(unsigned short)attrChange;
-@end
-
-@interface DOMOverflowEvent : DOMEvent 10_5
-@property (readonly) unsigned short orient;
-@property (readonly) BOOL horizontalOverflow;
-@property (readonly) BOOL verticalOverflow;
-- (void)initOverflowEvent:(unsigned short)orient horizontalOverflow:(BOOL)horizontalOverflow verticalOverflow:(BOOL)verticalOverflow;
-@end
-
-@interface DOMWheelEvent : DOMMouseEvent 10_5
-@property (readonly) BOOL isHorizontal;
-@property (readonly) int wheelDelta;
-@property (readonly) int wheelDeltaX WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly) int wheelDeltaY WEBKIT_AVAILABLE_MAC(10_5);
-- (void)initWheelEvent:(int)wheelDeltaX wheelDeltaY:(int)wheelDeltaY view:(DOMAbstractView *)view screenX:(int)screenX screenY:(int)screenY clientX:(int)clientX clientY:(int)clientY ctrlKey:(BOOL)ctrlKey altKey:(BOOL)altKey shiftKey:(BOOL)shiftKey metaKey:(BOOL)metaKey WEBKIT_AVAILABLE_MAC(10_5);
-@end
-
-@interface DOMKeyboardEvent : DOMUIEvent 10_5
-@property (readonly, copy) NSString *keyIdentifier;
-@property (readonly) unsigned location WEBKIT_AVAILABLE_MAC(10_8);
-@property (readonly) unsigned keyLocation WEBKIT_DEPRECATED_MAC(10_5, 10_5);
-@property (readonly) BOOL ctrlKey;
-@property (readonly) BOOL shiftKey;
-@property (readonly) BOOL altKey;
-@property (readonly) BOOL metaKey;
-@property (readonly) int keyCode;
-@property (readonly) int charCode;
-@property (readonly) BOOL altGraphKey WEBKIT_AVAILABLE_MAC(10_5);
-- (BOOL)getModifierState:(NSString *)keyIdentifierArg;
-- (void)initKeyboardEvent:(NSString *)type canBubble:(BOOL)canBubble cancelable:(BOOL)cancelable view:(DOMAbstractView *)view keyIdentifier:(NSString *)keyIdentifier keyLocation:(unsigned)keyLocation ctrlKey:(BOOL)ctrlKey altKey:(BOOL)altKey shiftKey:(BOOL)shiftKey metaKey:(BOOL)metaKey altGraphKey:(BOOL)altGraphKey WEBKIT_DEPRECATED_MAC(10_5, 10_5);
-- (void)initKeyboardEvent:(NSString *)type canBubble:(BOOL)canBubble cancelable:(BOOL)cancelable view:(DOMAbstractView *)view keyIdentifier:(NSString *)keyIdentifier keyLocation:(unsigned)keyLocation ctrlKey:(BOOL)ctrlKey altKey:(BOOL)altKey shiftKey:(BOOL)shiftKey metaKey:(BOOL)metaKey WEBKIT_DEPRECATED_MAC(10_5, 10_5);
-- (void)initKeyboardEvent:(NSString *)type canBubble:(BOOL)canBubble cancelable:(BOOL)cancelable view:(DOMAbstractView *)view keyIdentifier:(NSString *)keyIdentifier location:(unsigned)location ctrlKey:(BOOL)ctrlKey altKey:(BOOL)altKey shiftKey:(BOOL)shiftKey metaKey:(BOOL)metaKey altGraphKey:(BOOL)altGraphKey WEBKIT_AVAILABLE_MAC(10_8);
-- (void)initKeyboardEvent:(NSString *)type canBubble:(BOOL)canBubble cancelable:(BOOL)cancelable view:(DOMAbstractView *)view keyIdentifier:(NSString *)keyIdentifier location:(unsigned)location ctrlKey:(BOOL)ctrlKey altKey:(BOOL)altKey shiftKey:(BOOL)shiftKey metaKey:(BOOL)metaKey WEBKIT_AVAILABLE_MAC(10_8);
-@end
-
-@interface DOMMouseEvent : DOMUIEvent 10_4
-@property (readonly) int screenX;
-@property (readonly) int screenY;
-@property (readonly) int clientX;
-@property (readonly) int clientY;
-@property (readonly) BOOL ctrlKey;
-@property (readonly) BOOL shiftKey;
-@property (readonly) BOOL altKey;
-@property (readonly) BOOL metaKey;
-@property (readonly) unsigned short button;
-@property (readonly, strong) id <DOMEventTarget> relatedTarget;
-@property (readonly) int offsetX WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly) int offsetY WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly) int x WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly) int y WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly, strong) DOMNode *fromElement WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly, strong) DOMNode *toElement WEBKIT_AVAILABLE_MAC(10_5);
-- (void)initMouseEvent:(NSString *)type canBubble:(BOOL)canBubble cancelable:(BOOL)cancelable view:(DOMAbstractView *)view detail:(int)detail screenX:(int)screenX screenY:(int)screenY clientX:(int)clientX clientY:(int)clientY ctrlKey:(BOOL)ctrlKey altKey:(BOOL)altKey shiftKey:(BOOL)shiftKey metaKey:(BOOL)metaKey button:(unsigned short)button relatedTarget:(id <DOMEventTarget>)relatedTarget WEBKIT_AVAILABLE_MAC(10_5);
-- (void)initMouseEvent:(NSString *)type :(BOOL)canBubble :(BOOL)cancelable :(DOMAbstractView *)view :(int)detail :(int)screenX :(int)screenY :(int)clientX :(int)clientY :(BOOL)ctrlKey :(BOOL)altKey :(BOOL)shiftKey :(BOOL)metaKey :(unsigned short)button :(id <DOMEventTarget>)relatedTarget;
-@end
-
-@interface DOMRange : DOMObject 10_4
-@property (readonly, strong) DOMNode *startContainer;
-@property (readonly) int startOffset;
-@property (readonly, strong) DOMNode *endContainer;
-@property (readonly) int endOffset;
-@property (readonly) BOOL collapsed;
-@property (readonly, strong) DOMNode *commonAncestorContainer;
-@property (readonly, copy) NSString *text WEBKIT_AVAILABLE_MAC(10_5);
-- (void)setStart:(DOMNode *)refNode offset:(int)offset WEBKIT_AVAILABLE_MAC(10_5);
-- (void)setStart:(DOMNode *)refNode :(int)offset;
-- (void)setEnd:(DOMNode *)refNode offset:(int)offset WEBKIT_AVAILABLE_MAC(10_5);
-- (void)setEnd:(DOMNode *)refNode :(int)offset;
-- (void)setStartBefore:(DOMNode *)refNode;
-- (void)setStartAfter:(DOMNode *)refNode;
-- (void)setEndBefore:(DOMNode *)refNode;
-- (void)setEndAfter:(DOMNode *)refNode;
-- (void)collapse:(BOOL)toStart;
-- (void)selectNode:(DOMNode *)refNode;
-- (void)selectNodeContents:(DOMNode *)refNode;
-- (short)compareBoundaryPoints:(unsigned short)how sourceRange:(DOMRange *)sourceRange WEBKIT_AVAILABLE_MAC(10_5);
-- (short)compareBoundaryPoints:(unsigned short)how :(DOMRange *)sourceRange;
-- (void)deleteContents;
-- (DOMDocumentFragment *)extractContents;
-- (DOMDocumentFragment *)cloneContents;
-- (void)insertNode:(DOMNode *)newNode;
-- (void)surroundContents:(DOMNode *)newParent;
-- (DOMRange *)cloneRange;
-- (NSString *)toString;
-- (void)detach;
-- (DOMDocumentFragment *)createContextualFragment:(NSString *)html WEBKIT_AVAILABLE_MAC(10_5);
-- (BOOL)intersectsNode:(DOMNode *)refNode WEBKIT_AVAILABLE_MAC(10_5);
-- (short)compareNode:(DOMNode *)refNode WEBKIT_AVAILABLE_MAC(10_5);
-- (short)comparePoint:(DOMNode *)refNode offset:(int)offset WEBKIT_AVAILABLE_MAC(10_5);
-- (BOOL)isPointInRange:(DOMNode *)refNode offset:(int)offset WEBKIT_AVAILABLE_MAC(10_5);
-@end
-
-@interface DOMNodeIterator : DOMObject 10_4
-@property (readonly, strong) DOMNode *root;
-@property (readonly) unsigned whatToShow;
-@property (readonly, strong) id <DOMNodeFilter> filter;
-@property (readonly) BOOL expandEntityReferences;
-@property (readonly, strong) DOMNode *referenceNode WEBKIT_AVAILABLE_MAC(10_5);
-@property (readonly) BOOL pointerBeforeReferenceNode WEBKIT_AVAILABLE_MAC(10_5);
-- (DOMNode *)nextNode;
-- (DOMNode *)previousNode;
-- (void)detach;
-@end
-
-@interface DOMMediaList : DOMObject 10_4
-@property (copy) NSString *mediaText;
-@property (readonly) unsigned length;
-- (NSString *)item:(unsigned)index;
-- (void)deleteMedium:(NSString *)oldMedium;
-- (void)appendMedium:(NSString *)newMedium;
-@end
-
-@interface DOMTreeWalker : DOMObject 10_4
-@property (readonly, strong) DOMNode *root;
-@property (readonly) unsigned whatToShow;
-@property (readonly, strong) id <DOMNodeFilter> filter;
-@property (readonly) BOOL expandEntityReferences;
-@property (strong) DOMNode *currentNode;
-- (DOMNode *)parentNode;
-- (DOMNode *)firstChild;
-- (DOMNode *)lastChild;
-- (DOMNode *)previousSibling;
-- (DOMNode *)nextSibling;
-- (DOMNode *)previousNode;
-- (DOMNode *)nextNode;
-@end
-
-@interface DOMXPathResult : DOMObject 10_5
-@property (readonly) unsigned short resultType;
-@property (readonly) double numberValue;
-@property (readonly, copy) NSString *stringValue;
-@property (readonly) BOOL booleanValue;
-@property (readonly, strong) DOMNode *singleNodeValue;
-@property (readonly) BOOL invalidIteratorState;
-@property (readonly) unsigned snapshotLength;
-- (DOMNode *)iterateNext;
-- (DOMNode *)snapshotItem:(unsigned)index;
-@end
-
-@interface DOMXPathExpression : DOMObject 10_5
-- (DOMXPathResult *)evaluate:(DOMNode *)contextNode type:(unsigned short)type inResult:(DOMXPathResult *)inResult WEBKIT_AVAILABLE_MAC(10_5);
-- (DOMXPathResult *)evaluate:(DOMNode *)contextNode :(unsigned short)type :(DOMXPathResult *)inResult WEBKIT_DEPRECATED_MAC(10_5, 10_5);
-@end
-
-@interface DOMProgressEvent : DOMEvent 10_6
-@property (readonly) BOOL lengthComputable;
-@property (readonly) unsigned long long loaded;
-@property (readonly) unsigned long long total;
-@end
-
-// Protocols
-
-@protocol DOMEventListener <NSObject> 10_4
-- (void)handleEvent:(DOMEvent *)event;
-@end
-
-@protocol DOMEventTarget <NSObject, NSCopying> 10_4
-- (void)addEventListener:(NSString *)type :(id <DOMEventListener>)listener :(BOOL)useCapture;
-- (void)removeEventListener:(NSString *)type :(id <DOMEventListener>)listener :(BOOL)useCapture;
-- (void)addEventListener:(NSString *)type listener:(id <DOMEventListener>)listener useCapture:(BOOL)useCapture WEBKIT_AVAILABLE_MAC(10_5);
-- (void)removeEventListener:(NSString *)type listener:(id <DOMEventListener>)listener useCapture:(BOOL)useCapture WEBKIT_AVAILABLE_MAC(10_5);
-- (BOOL)dispatchEvent:(DOMEvent *)event;
-@end
-
-@protocol DOMNodeFilter <NSObject> 10_4
-- (short)acceptNode:(DOMNode *)n;
-@end
-
-@protocol DOMXPathNSResolver <NSObject> 10_5
-- (NSString *)lookupNamespaceURI:(NSString *)prefix;
-@end
-
-#if defined(USE_APPLE_INTERNAL_SDK) && USE_APPLE_INTERNAL_SDK
-#if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE
-#include <WebKitAdditions/PublicDOMInterfacesIOS.h>
-#endif
-#endif
</del></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptsCodeGeneratorObjCpm"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/bindings/scripts/CodeGeneratorObjC.pm (204103 => 204104)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/CodeGeneratorObjC.pm        2016-08-03 21:31:03 UTC (rev 204103)
+++ trunk/Source/WebCore/bindings/scripts/CodeGeneratorObjC.pm        2016-08-03 22:53:09 UTC (rev 204104)
</span><span class="lines">@@ -1,1789 +0,0 @@
</span><del>-#
-# Copyright (C) 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org>
-# Copyright (C) 2006 Anders Carlsson <andersca@mac.com>
-# Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org>
-# Copyright (C) 2006 Alexey Proskuryakov <ap@webkit.org>
-# Copyright (C) 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
-# Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au>
-# Copyright (C) 2010 Google Inc.
-# Copyright (C) Research In Motion Limited 2010. All rights reserved.
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Library General Public
-# License as published by the Free Software Foundation; either
-# version 2 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Library General Public License for more details.
-#
-# You should have received a copy of the GNU Library General Public License
-# along with this library; see the file COPYING.LIB. If not, write to
-# the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-# Boston, MA 02110-1301, USA.
-#
-
-package CodeGeneratorObjC;
-
-use constant FileNamePrefix => "DOM";
-use File::Basename;
-use FindBin;
-
-sub ConditionalIsEnabled(\%$);
-
-# Global Variables
-my $writeDependencies = 0;
-my %publicInterfaces = ();
-my $newPublicClass = 0;
-my $interfaceAvailabilityVersion = "";
-my $isProtocol = 0;
-my $noImpl = 0;
-
-my @headerContentHeader = ();
-my @headerContent = ();
-my %headerForwardDeclarations = ();
-my %headerForwardDeclarationsForProtocols = ();
-
-my @privateHeaderContentHeader = ();
-my @privateHeaderContent = ();
-my %privateHeaderForwardDeclarations = ();
-my %privateHeaderForwardDeclarationsForProtocols = ();
-
-my @internalHeaderContent = ();
-
-my @implConditionalIncludes = ();
-my @implContentHeader = ();
-my @implContent = ();
-my %implIncludes = ();
-my @depsContent = ();
-
-my $beginAppleCopyrightForHeaderFiles = <<END;
-// ------- Begin Apple Copyright -------
-/*
- * Copyright (C) 2008, Apple Inc. All rights reserved.
- *
- * Permission is granted by Apple to use this file to the extent
- * necessary to relink with LGPL WebKit files.
- *
- * No license or rights are granted by Apple expressly or by
- * implication, estoppel, or otherwise, to Apple patents and
- * trademarks. For the sake of clarity, no license or rights are
- * granted by Apple expressly or by implication, estoppel, or otherwise,
- * under any Apple patents, copyrights and trademarks to underlying
- * implementations of any application programming interfaces (APIs)
- * or to any functionality that is invoked by calling any API.
- */
-
-END
-my $beginAppleCopyrightForSourceFiles = <<END;
-// ------- Begin Apple Copyright -------
-/*
- * Copyright (C) 2008, Apple Inc. All rights reserved.
- *
- * No license or rights are granted by Apple expressly or by implication,
- * estoppel, or otherwise, to Apple copyrights, patents, trademarks, trade
- * secrets or other rights.
- */
-
-END
-my $endAppleCopyright = <<END;
-// ------- End Apple Copyright -------
-
-END
-
-# Hashes
-my %protocolTypeHash = ("XPathNSResolver" => 1, "EventListener" => 1, "EventTarget" => 1, "NodeFilter" => 1);
-my %nativeObjCTypeHash = ("URL" => 1, "Color" => 1);
-
-# FIXME: this should be replaced with a function that recurses up the tree
-# to find the actual base type.
-my %baseTypeHash = ("Object" => 1, "Node" => 1, "NodeList" => 1, "NamedNodeMap" => 1, "DOMImplementation" => 1,
- "Event" => 1, "CSSRule" => 1, "CSSValue" => 1, "StyleSheet" => 1, "MediaList" => 1,
- "Counter" => 1, "Rect" => 1, "RGBColor" => 1, "XPathExpression" => 1, "XPathResult" => 1,
- "NodeIterator" => 1, "TreeWalker" => 1, "AbstractView" => 1, "Blob" => 1);
-
-# Constants
-my $shouldUseCGColor = defined $ENV{PLATFORM_NAME} && $ENV{PLATFORM_NAME} ne "macosx";
-my $exceptionInit = "WebCore::ExceptionCode ec = 0;";
-my $jsContextSetter = "WebCore::JSMainThreadNullState state;";
-my $exceptionRaiseOnError = "WebCore::raiseOnDOMError(ec);";
-my $threadViolationCheck = "WebCoreThreadViolationCheckRoundOne();";
-
-my %conflictMethod = (
- # FIXME: Add C language keywords?
- # FIXME: Add other predefined types like "id"?
-
- "callWebScriptMethod:withArguments:" => "WebScriptObject",
- "evaluateWebScript:" => "WebScriptObject",
- "removeWebScriptKey:" => "WebScriptObject",
- "setException:" => "WebScriptObject",
- "setWebScriptValueAtIndex:value:" => "WebScriptObject",
- "stringRepresentation" => "WebScriptObject",
- "webScriptValueAtIndex:" => "WebScriptObject",
-
- "autorelease" => "NSObject",
- "awakeAfterUsingCoder:" => "NSObject",
- "class" => "NSObject",
- "classForCoder" => "NSObject",
- "conformsToProtocol:" => "NSObject",
- "copy" => "NSObject",
- "copyWithZone:" => "NSObject",
- "dealloc" => "NSObject",
- "description" => "NSObject",
- "doesNotRecognizeSelector:" => "NSObject",
- "encodeWithCoder:" => "NSObject",
- "forwardInvocation:" => "NSObject",
- "hash" => "NSObject",
- "init" => "NSObject",
- "initWithCoder:" => "NSObject",
- "isEqual:" => "NSObject",
- "isKindOfClass:" => "NSObject",
- "isMemberOfClass:" => "NSObject",
- "isProxy" => "NSObject",
- "methodForSelector:" => "NSObject",
- "methodSignatureForSelector:" => "NSObject",
- "mutableCopy" => "NSObject",
- "mutableCopyWithZone:" => "NSObject",
- "performSelector:" => "NSObject",
- "release" => "NSObject",
- "replacementObjectForCoder:" => "NSObject",
- "respondsToSelector:" => "NSObject",
- "retain" => "NSObject",
- "retainCount" => "NSObject",
- "self" => "NSObject",
- "superclass" => "NSObject",
- "zone" => "NSObject",
-);
-
-my $fatalError = 0;
-
-# Default License Templates
-my $headerLicenseTemplate = << "EOF";
-/*
- * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
- * Copyright (C) 2006 Samuel Weinig <sam.weinig\@gmail.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-EOF
-
-my $implementationLicenseTemplate = << "EOF";
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-EOF
-
-my $TBDAvailabilityVersion = "9876_5";
-
-# Default constructor
-sub new
-{
- my $object = shift;
- my $reference = { };
-
- $codeGenerator = shift;
- $writeDependencies = shift;
-
- bless($reference, $object);
- return $reference;
-}
-
-sub ReadPublicInterfaces
-{
- my $class = shift;
- my $superClass = shift;
- my $defines = shift;
- my $isProtocol = shift;
-
- my $found = 0;
- my $actualSuperClass;
- %publicInterfaces = ();
-
- my @args = qw(-E -P -x objective-c);
-
- push(@args, "-I" . $ENV{BUILT_PRODUCTS_DIR} . "/usr/local/include") if $ENV{BUILT_PRODUCTS_DIR};
- push(@args, "-isysroot", $ENV{SDKROOT}) if $ENV{SDKROOT};
-
- my $bindingsDir = dirname($FindBin::Bin);
- my $fileName = "$bindingsDir/objc/PublicDOMInterfaces.h";
- my $gccLocation = "";
- if ($ENV{CC}) {
- $gccLocation = $ENV{CC};
- } elsif (($Config::Config{'osname'}) =~ /solaris/i) {
- $gccLocation = "/usr/sfw/bin/gcc";
- } elsif (-x "/usr/bin/clang") {
- $gccLocation = "/usr/bin/clang";
- } else {
- $gccLocation = "/usr/bin/gcc";
- }
-
- open FILE, "-|", $gccLocation, @args,
- (map { "-D$_" } split(/ +/, $defines)), "-DOBJC_CODE_GENERATION", $fileName or die "Could not open $fileName";
- my @documentContent = <FILE>;
- close FILE;
-
- foreach $line (@documentContent) {
- if (!$isProtocol && $line =~ /^\s*\@interface\s*$class\s*:\s*(\w+)\s*([A-Z0-9_]*)/) {
- if ($superClass ne $1) {
- warn "Public API change. Superclass for \"$class\" differs ($1 != $superClass)";
- $fatalError = 1;
- }
-
- $interfaceAvailabilityVersion = $2 if defined $2;
- $found = 1;
- next;
- } elsif ($isProtocol && $line =~ /^\s*\@protocol $class\s*<[^>]+>\s*([A-Z0-9_()]*)/) {
- $interfaceAvailabilityVersion = $1 if defined $1;
- $found = 1;
- next;
- }
-
- last if $found and $line =~ /^\s?\@end\s?$/;
-
- if ($found) {
- # trim whitspace
- $line =~ s/^\s+//;
- $line =~ s/\s+$//;
-
- my $availabilityMacro = "";
- $line =~ s/\s([A-Z0-9_(), ]+)\s*;$/;/;
- $availabilityMacro = $1 if defined $1;
-
- $publicInterfaces{$line} = $availabilityMacro if length $line;
- }
- }
-
- # If this class was not found in PublicDOMInterfaces.h then it should be considered as an entirely new public class.
- $newPublicClass = !$found;
- $interfaceAvailabilityVersion = $TBDAvailabilityVersion if $newPublicClass;
-}
-
-sub AddMethodsConstantsAndAttributesFromParentInterfaces
-{
- # Add to $interface all of its inherited interface members, except for those
- # inherited through $interface's first listed parent. If an array reference
- # is passed in as $parents, the names of all ancestor interfaces visited
- # will be appended to the array. If $collectDirectParents is true, then
- # even the names of $interface's first listed parent and its ancestors will
- # be appended to $parents.
-
- my $interface = shift;
- my $parents = shift;
- my $collectDirectParents = shift;
-
- my $first = 1;
-
- $codeGenerator->ForAllParents($interface, sub {
- my $currentInterface = shift;
-
- if ($first) {
- # Ignore first parent class, already handled by the generation itself.
- $first = 0;
-
- if ($collectDirectParents) {
- # Just collect the names of the direct ancestor interfaces,
- # if necessary.
- push(@$parents, $currentInterface->name);
- $codeGenerator->ForAllParents($currentInterface, sub {
- my $currentInterface = shift;
- push(@$parents, $currentInterface->name);
- }, undef);
- }
-
- # Prune the recursion here.
- return 'prune';
- }
-
- # Collect the name of this additional parent.
- push(@$parents, $currentInterface->name) if $parents;
-
- print " | |> -> Inheriting "
- . @{$currentInterface->constants} . " constants, "
- . @{$currentInterface->functions} . " functions, "
- . @{$currentInterface->attributes} . " attributes...\n | |>\n" if $verbose;
-
- # Add this parent's members to $interface.
- push(@{$interface->constants}, @{$currentInterface->constants});
- push(@{$interface->functions}, @{$currentInterface->functions});
- push(@{$interface->attributes}, @{$currentInterface->attributes});
- });
-}
-
-sub GenerateInterface
-{
- my $object = shift;
- my $interface = shift;
- my $defines = shift;
-
- $fatalError = 0;
-
- my $name = $interface->name;
-
- # ObjC bindings only support EventTarget as base class for Node.
- $interface->parents([grep(!/EventTarget/, @{$interface->parents})]) if $name ne "Node";
-
- my $className = GetClassName($name);
- my $parentClassName = "DOM" . GetParentImplClassName($interface);
- $isProtocol = $interface->extendedAttributes->{ObjCProtocol};
- $noImpl = $interface->extendedAttributes->{ObjCCustomImplementation} || $isProtocol;
-
- ReadPublicInterfaces($className, $parentClassName, $defines, $isProtocol);
-
- # Start actual generation..
- $object->GenerateHeader($interface, $defines);
- $object->GenerateImplementation($interface) unless $noImpl;
-
- # Check for missing public API
- if (keys %publicInterfaces > 0) {
- my $missing = join("\n", keys %publicInterfaces);
- warn "Public API change. There are missing public properties and/or methods from the \"$className\" class.\n$missing\n";
- $fatalError = 1;
- }
-
- # FIXME: This should not need to be an exception.
- # ObjCCustomImplementation doesn't work with CMake right now.
- # https://bugs.webkit.org/show_bug.cgi?id=135860
- die if $fatalError && $className ne "DOMAbstractView";
-}
-
-sub GetClassName
-{
- my $name = shift;
-
- # special cases
- return "NSString" if $name eq "DOMString" or $name eq "SerializedScriptValue";
- return "CGColorRef" if $name eq "Color" and $shouldUseCGColor;
- return "NS$name" if IsNativeObjCType($name);
- return "BOOL" if $name eq "boolean";
- return "unsigned char" if $name eq "octet";
- return "char" if $name eq "byte";
- return "unsigned" if $name eq "unsigned long";
- return "int" if $name eq "long";
- return "NSTimeInterval" if $name eq "Date";
- return "DOMAbstractView" if $name eq "DOMWindow";
- return $name if $codeGenerator->IsPrimitiveType($name) or $name eq "DOMImplementation" or $name eq "DOMTimeStamp";
-
- # Default, assume Objective-C type has the same type name as
- # idl type prefixed with "DOM".
- return "DOM$name";
-}
-
-sub GetClassHeaderName
-{
- my $name = shift;
-
- return "DOMDOMImplementation" if $name eq "DOMImplementation";
- return $name;
-}
-
-sub GetImplClassName
-{
- my $name = shift;
-
- return "NativeNodeFilter" if $name eq "NodeFilter";
- return "DOMWindow" if $name eq "AbstractView";
- return $name;
-}
-
-sub GetParentImplClassName
-{
- my $interface = shift;
-
- return "Object" if @{$interface->parents} eq 0;
-
- my $parent = $interface->parents(0);
-
- # special cases
- return "Object" if $parent eq "HTMLCollection";
-
- return $parent;
-}
-
-sub GetParentAndProtocols
-{
- my $interface = shift;
- my $numParents = @{$interface->parents};
-
- my $parent = "";
- my @protocols = ();
- if ($numParents eq 0) {
- if ($isProtocol) {
- push(@protocols, "NSObject");
- push(@protocols, "NSCopying") if $interface->name eq "EventTarget";
- } else {
- $parent = "DOMObject";
- }
- } elsif ($numParents eq 1) {
- my $parentName = $interface->parents(0);
- if ($isProtocol) {
- die "Parents of protocols must also be protocols." unless IsProtocolType($parentName);
- push(@protocols, "DOM" . $parentName);
- } else {
- if (IsProtocolType($parentName)) {
- push(@protocols, "DOM" . $parentName);
- } elsif ($parentName eq "HTMLCollection") {
- $parent = "DOMObject";
- } else {
- $parent = "DOM" . $parentName;
- }
- }
- } else {
- my @parents = @{$interface->parents};
- my $firstParent = shift(@parents);
- if (IsProtocolType($firstParent)) {
- push(@protocols, "DOM" . $firstParent);
- if (!$isProtocol) {
- $parent = "DOMObject";
- }
- } else {
- $parent = "DOM" . $firstParent;
- }
-
- foreach my $parentName (@parents) {
- die "Everything past the first class should be a protocol!" unless IsProtocolType($parentName);
-
- push(@protocols, "DOM" . $parentName);
- }
- }
-
- return ($parent, @protocols);
-}
-
-sub GetBaseClass
-{
- $parent = shift;
-
- return $parent if $parent eq "Object" or IsBaseType($parent);
- return "Event" if $parent eq "UIEvent" or $parent eq "MouseEvent";
- return "CSSValue" if $parent eq "CSSValueList";
- return "Node";
-}
-
-sub IsBaseType
-{
- my $type = shift;
-
- return 1 if $baseTypeHash{$type};
- return 0;
-}
-
-sub IsProtocolType
-{
- my $type = shift;
-
- return 1 if $protocolTypeHash{$type};
- return 0;
-}
-
-sub IsNativeObjCType
-{
- my $type = shift;
-
- return 1 if $nativeObjCTypeHash{$type};
- return 0;
-}
-
-sub IsCoreFoundationType
-{
- my $type = shift;
-
- return 1 if $type =~ /^(CF|CG)[A-Za-z]+Ref$/;
- return 0;
-}
-
-sub SkipFunction
-{
- my $function = shift;
-
- return 1 if $codeGenerator->GetSequenceType($function->signature->type);
- return 1 if $codeGenerator->GetArrayType($function->signature->type);
-
- return 1 if $function->signature->type eq "Promise";
- return 1 if $function->signature->type eq "Symbol";
-
- foreach my $param (@{$function->parameters}) {
- return 1 if $codeGenerator->GetSequenceType($param->type);
- return 1 if $codeGenerator->GetArrayType($param->type);
- return 1 if $param->extendedAttributes->{"Clamp"};
- return 1 if $param->isVariadic;
- }
-
- return 1 if $function->signature->extendedAttributes->{"PrivateIdentifier"} and not $function->signature->extendedAttributes->{"PublicIdentifier"};
-
- return 0;
-}
-
-sub SkipAttribute
-{
- my $attribute = shift;
- my $type = $attribute->signature->type;
-
- $codeGenerator->AssertNotSequenceType($type);
- return 1 if $codeGenerator->GetArrayType($type);
- return 1 if $codeGenerator->IsTypedArrayType($type);
- return 1 if $codeGenerator->IsEnumType($type);
- return 1 if $type eq "EventHandler";
- return 1 if $type eq "Symbol";
- return 1 if $attribute->isStatic;
-
- # This is for DynamicsCompressorNode.idl.
- # FIXME: Normally we would rename rather than just skipping for a case like this.
- return 1 if $attribute->signature->name eq "release";
-
- return 0;
-}
-
-sub GetObjCType
-{
- my $type = shift;
- my $name = GetClassName($type);
-
- return "double" if $type eq "unrestricted double";
- return "float" if $type eq "unrestricted float";
- return "id <$name>" if IsProtocolType($type);
- return $name if $codeGenerator->IsPrimitiveType($type) or $type eq "DOMTimeStamp";
- return $name if IsCoreFoundationType($name);
- return "$name *";
-}
-
-sub GetPropertyAttributes
-{
- my $type = shift;
- my $readOnly = shift;
-
- my @attributes = ();
-
- push(@attributes, "readonly") if $readOnly;
-
- # FIXME: <rdar://problem/5049934> Consider using 'nonatomic' on the DOM @property declarations.
- if ($type eq "DOMString" || IsNativeObjCType($type)) {
- push(@attributes, "copy");
- } elsif ($type ne "DOMString" && !$codeGenerator->IsPrimitiveType($type) && $type ne "DOMTimeStamp") {
- push(@attributes, "strong");
- }
-
- return "" unless @attributes > 0;
- return " (" . join(", ", @attributes) . ")";
-}
-
-sub ConversionNeeded
-{
- my $type = shift;
-
- return !$codeGenerator->IsNonPointerType($type) && $type ne "DOMString" && !IsNativeObjCType($type);
-}
-
-sub GetObjCTypeGetter
-{
- my $argName = shift;
- my $type = shift;
-
- return $argName if $codeGenerator->IsPrimitiveType($type) or $type eq "DOMString" or IsNativeObjCType($type);
- return $argName . "Node" if $type eq "EventTarget";
- return "WTF::getPtr(nativeEventListener)" if $type eq "EventListener";
- return "WTF::getPtr(nativeNodeFilter)" if $type eq "NodeFilter";
- return "WTF::getPtr(nativeResolver)" if $type eq "XPathNSResolver";
-
- if ($type eq "SerializedScriptValue") {
- $implIncludes{"SerializedScriptValue.h"} = 1;
- return "WebCore::SerializedScriptValue::create(WTF::String($argName))";
- }
- return "core($argName)";
-}
-
-sub AddForwardDeclarationsForType
-{
- my $type = shift;
- my $public = shift;
-
- return if $codeGenerator->IsNonPointerType($type);
- return if $codeGenerator->GetSequenceType($type);
- return if $codeGenerator->GetArrayType($type);
-
- my $class = GetClassName($type);
-
- if (IsProtocolType($type)) {
- $headerForwardDeclarationsForProtocols{$class} = 1 if $public;
- $privateHeaderForwardDeclarationsForProtocols{$class} = 1 if !$public and !$headerForwardDeclarationsForProtocols{$class};
- return;
- }
-
- $headerForwardDeclarations{$class} = 1 if $public;
-
- # Private headers include the public header, so only add a forward declaration to the private header
- # if the public header does not already have the same forward declaration.
- $privateHeaderForwardDeclarations{$class} = 1 if !$public and !$headerForwardDeclarations{$class};
-}
-
-sub AddIncludesForType
-{
- my $type = shift;
-
- return if $codeGenerator->IsNonPointerType($type);
- return if $codeGenerator->GetSequenceType($type);
- return if $codeGenerator->GetArrayType($type);
-
- if (IsNativeObjCType($type)) {
- if ($type eq "Color") {
- if ($shouldUseCGColor) {
- $implIncludes{"ColorSpace.h"} = 1;
- } else {
- $implIncludes{"ColorMac.h"} = 1;
- }
- }
- return;
- }
-
- if ($type eq "DOMString") {
- $implIncludes{"URL.h"} = 1;
- return;
- }
-
- if ($type eq "DOMWindow") {
- $implIncludes{"DOMAbstractViewInternal.h"} = 1;
- $implIncludes{"DOMWindow.h"} = 1;
- return;
- }
-
- if ($type eq "EventTarget") {
- $implIncludes{"Node.h"} = 1;
- $implIncludes{"DOMEventTarget.h"} = 1;
- return;
- }
-
- if ($type =~ /(\w+)(Abs|Rel)$/) {
- $implIncludes{"$1.h"} = 1;
- $implIncludes{"DOM${type}Internal.h"} = 1;
- return;
- }
-
- if ($type eq "NodeFilter") {
- $implIncludes{"NativeNodeFilter.h"} = 1;
- $implIncludes{"ObjCNodeFilterCondition.h"} = 1;
- return;
- }
-
- if ($type eq "EventListener") {
- $implIncludes{"EventListener.h"} = 1;
- $implIncludes{"ObjCEventListener.h"} = 1;
- return;
- }
-
- if ($type eq "XPathNSResolver") {
- $implIncludes{"DOMCustomXPathNSResolver.h"} = 1;
- $implIncludes{"XPathNSResolver.h"} = 1;
- return;
- }
-
- if ($type eq "SerializedScriptValue") {
- $implIncludes{"SerializedScriptValue.h"} = 1;
- return;
- }
-
- # FIXME: won't compile without these
- $implIncludes{"CSSImportRule.h"} = 1 if $type eq "CSSRule";
- $implIncludes{"StyleProperties.h"} = 1 if $type eq "CSSStyleDeclaration";
- $implIncludes{"NameNodeList.h"} = 1 if $type eq "NodeList";
-
- # Default, include the same named file (the implementation) and the same name prefixed with "DOM".
- $implIncludes{"$type.h"} = 1 if not $codeGenerator->SkipIncludeHeader($type);
- $implIncludes{"DOM${type}Internal.h"} = 1;
-}
-
-sub ConditionalIsEnabled(\%$)
-{
- my $defines = shift;
- my $conditional = shift;
-
- return 1 if !$conditional;
-
- my $operator = ($conditional =~ /&/ ? '&' : ($conditional =~ /\|/ ? '|' : ''));
- if (!$operator) {
- return exists($defines->{"ENABLE_" . $conditional});
- }
-
- my @conditions = split(/\Q$operator\E/, $conditional);
- foreach (@conditions) {
- my $enable = "ENABLE_" . $_;
- return 0 if ($operator eq '&') and !exists($defines->{$enable});
- return 1 if ($operator eq '|') and exists($defines->{$enable});
- }
-
- return $operator eq '&';
-}
-
-sub GenerateHeader
-{
- my $object = shift;
- my $interface = shift;
- my $defines = shift;
-
- my %definesRef = map { $_ => 1 } split(/\s+/, $defines);
-
- my $interfaceName = $interface->name;
- my $className = GetClassName($interfaceName);
-
- my $parentName = "";
- my @protocolsToImplement = ();
- ($parentName, @protocolsToImplement) = GetParentAndProtocols($interface);
-
- my $numConstants = @{$interface->constants};
- my $numAttributes = @{$interface->attributes};
- my $numFunctions = @{$interface->functions};
-
- # - Add default header template
- if ($interface->extendedAttributes->{"AppleCopyright"}) {
- @headerContentHeader = split("\r", $beginAppleCopyrightForHeaderFiles);
- } else {
- @headerContentHeader = split("\r", $headerLicenseTemplate);
- }
- push(@headerContentHeader, "\n");
-
- # - INCLUDES -
- my $includedWebKitAvailabilityHeader = 0;
- unless ($isProtocol) {
- my $parentHeaderName = GetClassHeaderName($parentName);
- push(@headerContentHeader, "#import <WebCore/$parentHeaderName.h>\n");
- $includedWebKitAvailabilityHeader = 1;
- }
-
- foreach my $parentProtocol (@protocolsToImplement) {
- next if $parentProtocol =~ /^NS/;
- $parentProtocol = GetClassHeaderName($parentProtocol);
- push(@headerContentHeader, "#import <WebCore/$parentProtocol.h>\n");
- $includedWebKitAvailabilityHeader = 1;
- }
-
- # Special case needed for legacy support of DOMRange
- if ($interfaceName eq "Range") {
- push(@headerContentHeader, "#import <WebCore/DOMCore.h>\n");
- push(@headerContentHeader, "#import <WebCore/DOMDocument.h>\n");
- push(@headerContentHeader, "#import <WebCore/DOMRangeException.h>\n");
- $includedWebKitAvailabilityHeader = 1;
- }
-
- push(@headerContentHeader, "#import <WebCore/WebKitAvailability.h>\n") unless $includedWebKitAvailabilityHeader;
-
- push(@headerContentHeader, "\n");
-
- # - Add constants.
- if ($numConstants > 0) {
- my @headerConstants = ();
- my @constants = @{$interface->constants};
- my $combinedConstants = "";
-
- # FIXME: we need a way to include multiple enums.
- foreach my $constant (@constants) {
- my $constantName = $constant->name;
- my $constantValue = $constant->value;
- my $notLast = $constant ne $constants[-1];
-
- if (ConditionalIsEnabled(%definesRef, $constant->extendedAttributes->{"Conditional"})) {
- $combinedConstants .= " DOM_$constantName = $constantValue";
- $combinedConstants .= "," if $notLast;
- if ($notLast) {
- $combinedConstants .= "\n";
- }
- }
- }
-
- # FIXME: the formatting of the enums should line up the equal signs.
- # FIXME: enums are unconditionally placed in the public header.
- push(@headerContent, "enum {\n");
- push(@headerContent, $combinedConstants);
- push(@headerContent, "\n}");
- push(@headerContent, " WEBKIT_ENUM_AVAILABLE_MAC($interfaceAvailabilityVersion)") if length $interfaceAvailabilityVersion;
- push(@headerContent, ";\n\n");
- }
-
- # - Begin @interface or @protocol
- my $interfaceDeclaration = ($isProtocol ? "\@protocol $className" : "WEBCORE_EXPORT \@interface $className : $parentName");
- $interfaceDeclaration .= " <" . join(", ", @protocolsToImplement) . ">" if @protocolsToImplement > 0;
- $interfaceDeclaration .= "\n";
-
- push(@headerContent, "WEBKIT_CLASS_AVAILABLE_MAC($interfaceAvailabilityVersion)\n") if length $interfaceAvailabilityVersion;
- push(@headerContent, $interfaceDeclaration);
-
- my @headerAttributes = ();
- my @privateHeaderAttributes = ();
-
- # - Add attribute getters/setters.
- if ($numAttributes > 0) {
- foreach my $attribute (@{$interface->attributes}) {
- next if SkipAttribute($attribute);
- my $attributeName = $attribute->signature->name;
-
- if ($attributeName eq "id" or $attributeName eq "hash" or $attributeName eq "description") {
- # Special case some attributes (like id and hash) to have a "Name" suffix to avoid ObjC naming conflicts.
- $attributeName .= "Name";
- } elsif ($attributeName eq "frame") {
- # Special case attribute frame to be frameBorders.
- $attributeName .= "Borders";
- }
-
- my $attributeType = GetObjCType($attribute->signature->type);
- my $property = "\@property" . GetPropertyAttributes($attribute->signature->type, $attribute->isReadOnly);
-
- $property .= " " . $attributeType . ($attributeType =~ /\*$/ ? "" : " ") . $attributeName;
-
- my $publicInterfaceKey = $property . ";";
-
- # FIXME: This only works for the getter, but not the setter. Need to refactor this code.
- if (IsCoreFoundationType($attributeType)) {
- $publicInterfaceKey = "- (" . $attributeType . ")" . $attributeName . ";";
- }
-
- my $availabilityMacro = "";
- if (defined $publicInterfaces{$publicInterfaceKey} and length $publicInterfaces{$publicInterfaceKey}) {
- $availabilityMacro = $publicInterfaces{$publicInterfaceKey};
- }
-
- my $declarationSuffix = ";\n";
- $declarationSuffix = " $availabilityMacro;\n" if length $availabilityMacro;
-
- my $public = (defined $publicInterfaces{$publicInterfaceKey} or $newPublicClass);
- delete $publicInterfaces{$publicInterfaceKey};
-
- AddForwardDeclarationsForType($attribute->signature->type, $public);
-
- my $setterName = "set" . ucfirst($attributeName) . ":";
-
- my $conflict = $conflictMethod{$attributeName};
- if ($conflict) {
- warn "$className conflicts with $conflict method $attributeName\n";
- $fatalError = 1;
- }
-
- $conflict = $conflictMethod{$setterName};
- if ($conflict) {
- warn "$className conflicts with $conflict method $setterName\n";
- $fatalError = 1;
- }
-
- if (!IsCoreFoundationType($attributeType)) {
- # FIXME: We should probably also check that the property type is an Objective-C type.
- my $needsReturnsRetainedAnnotation = $attributeName =~ /new([A-Z].*)?/;
-
- $property .= $declarationSuffix;
- push(@headerAttributes, $property) if $public;
- push(@privateHeaderAttributes, $property) unless $public;
- if ($needsReturnsRetainedAnnotation) {
- # - GETTER
- my $getter = "- (" . $attributeType . ")" . $attributeName . " NS_RETURNS_NOT_RETAINED" . $declarationSuffix;
- push(@headerAttributes, $getter) if $public;
- push(@privateHeaderAttributes, $getter) unless $public;
- }
-
- } elsif (ConditionalIsEnabled(%definesRef, $attribute->signature->extendedAttributes->{"Conditional"})) {
- # - GETTER
- my $getter = "- (" . $attributeType . ")" . $attributeName . $declarationSuffix;
- push(@headerAttributes, $getter) if $public;
- push(@privateHeaderAttributes, $getter) unless $public;
-
- # - SETTER
- if (!$attribute->isReadOnly) {
- my $setter = "- (void)$setterName(" . $attributeType . ")new" . ucfirst($attributeName) . $declarationSuffix;
- push(@headerAttributes, $setter) if $public;
- push(@privateHeaderAttributes, $setter) unless $public;
- }
- }
- }
-
- push(@headerContent, @headerAttributes) if @headerAttributes > 0;
- }
-
- my @headerFunctions = ();
- my @privateHeaderFunctions = ();
- my @deprecatedHeaderFunctions = ();
-
- # - Add functions.
- if ($numFunctions > 0) {
- my %inAppleCopyright = (public => 0, private => 0);
- foreach my $function (@{$interface->functions}) {
- next if SkipFunction($function);
- next if ($function->signature->name eq "set" and $interface->extendedAttributes->{"TypedArray"});
- my $functionName = $function->signature->name;
-
- my $returnType = GetObjCType($function->signature->type);
- my $needsDeprecatedVersion = (@{$function->parameters} > 1 and $function->signature->extendedAttributes->{"ObjCLegacyUnnamedParameters"});
- my $needsAppleCopyright = $function->signature->extendedAttributes->{"AppleCopyright"};
- my $numberOfParameters = @{$function->parameters};
- my %typesToForwardDeclare = ($function->signature->type => 1);
-
- my $parameterIndex = 0;
- my $functionSig = "- ($returnType)$functionName";
- my $methodName = $functionName;
- foreach my $param (@{$function->parameters}) {
- my $paramName = $param->name;
- my $paramType = GetObjCType($param->type);
-
- $typesToForwardDeclare{$param->type} = 1;
-
- if ($parameterIndex >= 1) {
- $functionSig .= " $paramName";
- $methodName .= $paramName;
- }
-
- $functionSig .= ":($paramType)$paramName";
- $methodName .= ":";
-
- $parameterIndex++;
- }
-
- my $publicInterfaceKey = $functionSig . ";";
-
- my $conflict = $conflictMethod{$methodName};
- if ($conflict) {
- warn "$className conflicts with $conflict method $methodName\n";
- $fatalError = 1;
- }
-
- if ($isProtocol && !$newPublicClass && !defined $publicInterfaces{$publicInterfaceKey}) {
- warn "Protocol method $publicInterfaceKey is not in PublicDOMInterfaces.h. Protocols require all methods to be public";
- $fatalError = 1;
- }
-
- my $availabilityMacro = "";
- if (defined $publicInterfaces{$publicInterfaceKey} and length $publicInterfaces{$publicInterfaceKey}) {
- $availabilityMacro = $publicInterfaces{$publicInterfaceKey};
- }
-
- my $functionDeclaration = $functionSig;
- $functionDeclaration .= " " . $availabilityMacro if length $availabilityMacro;
- $functionDeclaration .= ";\n";
-
- my $public = (defined $publicInterfaces{$publicInterfaceKey} or $newPublicClass);
- delete $publicInterfaces{$publicInterfaceKey};
-
- foreach my $type (keys %typesToForwardDeclare) {
- # add any forward declarations to the public header if a deprecated version will be generated
- AddForwardDeclarationsForType($type, 1) if $needsDeprecatedVersion;
- AddForwardDeclarationsForType($type, $public) unless $public and $needsDeprecatedVersion;
- }
-
- if ($needsAppleCopyright) {
- if (!$inAppleCopyright{$public ? "public" : "private"}) {
- push(@headerFunctions, $beginAppleCopyrightForHeaderFiles) if $public;
- push(@privateHeaderFunctions, $beginAppleCopyrightForHeaderFiles) unless $public;
- $inAppleCopyright{$public ? "public" : "private"} = 1;
- }
- } elsif ($inAppleCopyright{$public ? "public" : "private"}) {
- push(@headerFunctions, $endAppleCopyright) if $public;
- push(@privateHeaderFunctions, $endAppleCopyright) unless $public;
- $inAppleCopyright{$public ? "public" : "private"} = 0;
- }
-
- if (ConditionalIsEnabled(%definesRef, $function->signature->extendedAttributes->{"Conditional"})) {
- push(@headerFunctions, $functionDeclaration) if $public;
- push(@privateHeaderFunctions, $functionDeclaration) unless $public;
-
- # generate the old style method names with un-named parameters, these methods are deprecated
- if ($needsDeprecatedVersion) {
- my $deprecatedFunctionSig = $functionSig;
- $deprecatedFunctionSig =~ s/\s\w+:/ :/g; # remove parameter names
-
- $publicInterfaceKey = $deprecatedFunctionSig . ";";
-
- my $availabilityMacro = "WEBKIT_DEPRECATED_MAC(10_4, 10_5)";
- if (defined $publicInterfaces{$publicInterfaceKey} and length $publicInterfaces{$publicInterfaceKey}) {
- $availabilityMacro = $publicInterfaces{$publicInterfaceKey};
- }
-
- $functionDeclaration = "$deprecatedFunctionSig $availabilityMacro;\n";
-
- push(@deprecatedHeaderFunctions, $functionDeclaration);
-
- unless (defined $publicInterfaces{$publicInterfaceKey}) {
- warn "Deprecated method $publicInterfaceKey is not in PublicDOMInterfaces.h. All deprecated methods need to be public, or should have the ObjCLegacyUnnamedParameters IDL attribute removed";
- $fatalError = 1;
- }
-
- delete $publicInterfaces{$publicInterfaceKey};
- }
- }
- }
-
- push(@headerFunctions, $endAppleCopyright) if $inAppleCopyright{"public"};
- push(@privateHeaderFunctions, $endAppleCopyright) if $inAppleCopyright{"private"};
-
- if (@headerFunctions > 0) {
- push(@headerContent, "\n") if @headerAttributes > 0;
- push(@headerContent, @headerFunctions);
- }
- }
-
- if (@deprecatedHeaderFunctions > 0 && $isProtocol) {
- push(@headerContent, @deprecatedHeaderFunctions);
- }
-
- # - End @interface or @protocol
- push(@headerContent, "\@end\n");
-
- if (@deprecatedHeaderFunctions > 0 && !$isProtocol) {
- # - Deprecated category @interface
- push(@headerContent, "\n\@interface $className (" . $className . "Deprecated)\n");
- push(@headerContent, @deprecatedHeaderFunctions);
- push(@headerContent, "\@end\n");
- }
-
- if ($interface->extendedAttributes->{"AppleCopyright"}) {
- push(@headerContent, split("\r", $endAppleCopyright));
- }
-
- my %alwaysGenerate = map { $_ => 1 } qw(DOMHTMLEmbedElement DOMHTMLObjectElement);
-
- if (@privateHeaderAttributes > 0 or @privateHeaderFunctions > 0 or exists $alwaysGenerate{$className}) {
- # - Private category @interface
- if ($interface->extendedAttributes->{"AppleCopyright"}) {
- @privateHeaderContentHeader = split("\r", $beginAppleCopyrightForHeaderFiles);
- } else {
- @privateHeaderContentHeader = split("\r", $headerLicenseTemplate);
- }
- push(@privateHeaderContentHeader, "\n");
-
- my $classHeaderName = GetClassHeaderName($className);
- push(@privateHeaderContentHeader, "#import <WebCore/$classHeaderName.h>\n\n");
-
- @privateHeaderContent = ();
- push(@privateHeaderContent, "\@interface $className (" . $className . "Private)\n");
- push(@privateHeaderContent, @privateHeaderAttributes) if @privateHeaderAttributes > 0;
- push(@privateHeaderContent, "\n") if @privateHeaderAttributes > 0 and @privateHeaderFunctions > 0;
- push(@privateHeaderContent, @privateHeaderFunctions) if @privateHeaderFunctions > 0;
- push(@privateHeaderContent, "\@end\n");
-
- if ($interface->extendedAttributes->{"AppleCopyright"}) {
- push(@privateHeaderContent, split("\r", $endAppleCopyright));
- }
- }
-
- unless ($isProtocol) {
- # Generate internal interfaces
- my $implClassName = GetImplClassName($interfaceName);
- my $implClassNameWithNamespace = "WebCore::" . $implClassName;
-
- my $implType = $implClassNameWithNamespace;
-
- # Generate interface definitions.
- if ($interface->extendedAttributes->{"AppleCopyright"}) {
- @internalHeaderContent = split("\r", $beginAppleCopyrightForHeaderFiles);
- } else {
- @internalHeaderContent = split("\r", $implementationLicenseTemplate);
- }
-
- my $classHeaderName = GetClassHeaderName($className);
- push(@internalHeaderContent, "\n#import <WebCore/$classHeaderName.h>\n\n");
-
- if ($interfaceName eq "Node") {
- push(@internalHeaderContent, "\@protocol DOMEventTarget;\n\n");
- }
-
- my $startedNamespace = 0;
-
- push(@internalHeaderContent, "namespace WebCore {\n");
- $startedNamespace = 1;
- if ($interfaceName eq "Node") {
- push(@internalHeaderContent, "class EventTarget;\n class Node;\n");
- } else {
- push(@internalHeaderContent, "class $implClassName;\n");
- }
- push(@internalHeaderContent, "}\n\n");
-
- push(@internalHeaderContent, "WEBCORE_EXPORT $implType* core($className *);\n");
- push(@internalHeaderContent, "WEBCORE_EXPORT $className *kit($implType*);\n");
-
- if ($interface->extendedAttributes->{"ObjCPolymorphic"}) {
- push(@internalHeaderContent, "Class kitClass($implType*);\n");
- }
-
- if ($interfaceName eq "Node") {
- push(@internalHeaderContent, "id <DOMEventTarget> kit(WebCore::EventTarget*);\n");
- }
- }
-}
-
-sub GenerateImplementation
-{
- my $object = shift;
- my $interface = shift;
-
- my @ancestorInterfaceNames = ();
-
- if (@{$interface->parents} > 1) {
- AddMethodsConstantsAndAttributesFromParentInterfaces($interface, \@ancestorInterfaceNames);
- }
-
- my $interfaceName = $interface->name;
- my $className = GetClassName($interfaceName);
- my $implClassName = GetImplClassName($interfaceName);
- my $parentImplClassName = GetParentImplClassName($interface);
- my $implClassNameWithNamespace = "WebCore::" . $implClassName;
- my $baseClass = GetBaseClass($parentImplClassName);
- my $classHeaderName = GetClassHeaderName($className);
-
- my $numAttributes = @{$interface->attributes};
- my $numFunctions = @{$interface->functions};
- my $implType = $implClassNameWithNamespace;
-
- # - Add default header template.
- if ($interface->extendedAttributes->{"AppleCopyright"}) {
- @implContentHeader = split("\r", $beginAppleCopyrightForSourceFiles);
- } else {
- @implContentHeader = split("\r", $implementationLicenseTemplate);
- }
-
- # - INCLUDES -
- push(@implContentHeader, "\n#import \"config.h\"\n");
-
- my $conditionalString = $codeGenerator->GenerateConditionalString($interface);
- push(@implContentHeader, "\n#if ${conditionalString}\n\n") if $conditionalString;
-
- push(@implContentHeader, "#import \"DOMInternal.h\"\n\n");
- push(@implContentHeader, "#import \"$classHeaderName.h\"\n\n");
-
- $implIncludes{"ExceptionHandlers.h"} = 1;
- $implIncludes{"ThreadCheck.h"} = 1;
- $implIncludes{"JSMainThreadExecState.h"} = 1;
- $implIncludes{"WebScriptObjectPrivate.h"} = 1;
- $implIncludes{$classHeaderName . "Internal.h"} = 1;
- $implIncludes{"DOMNodeInternal.h"} = 1;
-
- $implIncludes{"DOMBlobInternal.h"} = 1 if $interfaceName eq "File";
- $implIncludes{"DOMCSSRuleInternal.h"} = 1 if $interfaceName =~ /.*CSS.*Rule/;
- $implIncludes{"DOMCSSValueInternal.h"} = 1 if $interfaceName =~ /.*CSS.*Value/;
- $implIncludes{"DOMEventInternal.h"} = 1 if $interfaceName =~ /.*Event/;
- $implIncludes{"DOMStyleSheetInternal.h"} = 1 if $interfaceName eq "CSSStyleSheet";
-
- if ($interfaceName =~ /(\w+)(Abs|Rel)$/) {
- $implIncludes{"$1.h"} = 1;
- } else {
- if (!$codeGenerator->SkipIncludeHeader($implClassName)) {
- $implIncludes{"$implClassName.h"} = 1 ;
- }
- }
-
- @implContent = ();
-
- push(@implContent, "#import <wtf/GetPtr.h>\n\n");
-
- # add implementation accessor
- if ($parentImplClassName eq "Object") {
- push(@implContent, "#define IMPL reinterpret_cast<$implType*>(_internal)\n\n");
- } else {
- my $baseClassWithNamespace = "WebCore::$baseClass";
- push(@implContent, "#define IMPL static_cast<$implClassNameWithNamespace*>(reinterpret_cast<$baseClassWithNamespace*>(_internal))\n\n");
- }
-
- # START implementation
- push(@implContent, "\@implementation $className\n\n");
-
- # Only generate 'dealloc' for direct subclasses of DOMObject.
- if ($parentImplClassName eq "Object") {
- $implIncludes{"WebCoreObjCExtras.h"} = 1;
- push(@implContent, "- (void)dealloc\n");
- push(@implContent, "{\n");
- push(@implContent, " if (WebCoreObjCScheduleDeallocateOnMainThread([$className class], self))\n");
- push(@implContent, " return;\n");
- push(@implContent, "\n");
- if ($interfaceName eq "NodeIterator") {
- push(@implContent, " if (_internal) {\n");
- push(@implContent, " [self detach];\n");
- push(@implContent, " IMPL->deref();\n");
- push(@implContent, " };\n");
- } else {
- push(@implContent, " if (_internal)\n");
- push(@implContent, " IMPL->deref();\n");
- }
- push(@implContent, " [super dealloc];\n");
- push(@implContent, "}\n\n");
- }
-
- %attributeNames = ();
-
- # - Attributes
- if ($numAttributes > 0) {
- foreach my $attribute (@{$interface->attributes}) {
- next if SkipAttribute($attribute);
- AddIncludesForType($attribute->signature->type);
-
- my $idlType = $attribute->signature->type;
-
- my $attributeName = $attribute->signature->name;
- my $attributeType = GetObjCType($attribute->signature->type);
- my $attributeClassName = GetClassName($attribute->signature->type);
-
- my $attributeInterfaceName = $attributeName;
- if ($attributeName eq "id" or $attributeName eq "hash" or $attributeName eq "description") {
- # Special case some attributes (like id and hash) to have a "Name" suffix to avoid ObjC naming conflicts.
- $attributeInterfaceName .= "Name";
- } elsif ($attributeName eq "frame") {
- # Special case attribute frame to be frameBorders.
- $attributeInterfaceName .= "Borders";
- }
-
- $attributeNames{$attributeInterfaceName} = 1;
-
- # - GETTER
- my $getterSig = "- ($attributeType)$attributeInterfaceName\n";
-
- my ($functionName, @arguments) = $codeGenerator->GetterExpression(\%implIncludes, $interfaceName, $attribute);
-
- # To avoid bloating Obj-C bindings, we use getAttribute() instead of attributeWithoutSynchronization().
- if ($functionName eq "attributeWithoutSynchronization") {
- $functionName = "getAttribute";
- }
-
- my $getterExpressionPrefix = "$functionName(" . join(", ", @arguments);
-
- # FIXME: Special case attribute ownerDocument to call document. This makes it return the
- # document when called on the document itself. Legacy behavior, see <https://bugs.webkit.org/show_bug.cgi?id=10889>.
- $getterExpressionPrefix =~ s/\bownerDocument\b/document/;
-
- my $hasGetterException = $attribute->signature->extendedAttributes->{"GetterRaisesException"};
- my $getterContentHead;
- if ($attribute->signature->extendedAttributes->{"ImplementedBy"}) {
- my $implementedBy = $attribute->signature->extendedAttributes->{"ImplementedBy"};
- $implIncludes{"${implementedBy}.h"} = 1;
- $getterContentHead = "WebCore::${implementedBy}::${getterExpressionPrefix}*IMPL";
- } else {
- $getterContentHead = "IMPL->$getterExpressionPrefix";
- }
-
- my $getterContentTail = ")";
-
- my $attributeTypeSansPtr = $attributeType;
- $attributeTypeSansPtr =~ s/ \*$//; # Remove trailing " *" from pointer types.
-
- # special case for EventTarget protocol
- $attributeTypeSansPtr = "DOMNode" if $idlType eq "EventTarget";
-
- # Special cases
- my @customGetterContent = ();
- if ($attributeName =~ /(\w+)DisplayString$/) {
- my $attributeToDisplay = $1;
- $getterContentHead = "WebCore::displayString(IMPL->$attributeToDisplay(), core(self)";
- $implIncludes{"HitTestResult.h"} = 1;
- } elsif ($attributeName =~ /^absolute(\w+)URL$/) {
- my $typeOfURL = $1;
- $getterContentHead = "[self _getURLAttribute:";
- if ($typeOfURL eq "Link") {
- $getterContentTail = "\@\"href\"]";
- } elsif ($typeOfURL eq "Image") {
- if ($interfaceName eq "HTMLObjectElement") {
- $getterContentTail = "\@\"data\"]";
- } else {
- $getterContentTail = "\@\"src\"]";
- }
- unless ($interfaceName eq "HTMLImageElement") {
- push(@customGetterContent, " if (!IMPL->renderer() || !IMPL->renderer()->isImage())\n");
- push(@customGetterContent, " return nil;\n");
- $implIncludes{"RenderElement.h"} = 1;
- }
- }
- $implIncludes{"DOMPrivate.h"} = 1;
- } elsif ($attribute->signature->extendedAttributes->{"ObjCImplementedAsUnsignedLong"}) {
- $getterContentHead = "WTF::String::number(" . $getterContentHead;
- $getterContentTail .= ")";
- } elsif ($idlType eq "Date") {
- $getterContentHead = "kit($getterContentHead";
- $getterContentTail .= ")";
- } elsif (IsProtocolType($idlType) and $idlType ne "EventTarget") {
- $getterContentHead = "kit($getterContentHead";
- $getterContentTail .= ")";
- } elsif ($idlType eq "Color") {
- if ($shouldUseCGColor) {
- $getterContentHead = "WebCore::cachedCGColor($getterContentHead";
- $getterContentTail .= ")";
- } else {
- $getterContentHead = "WebCore::nsColor($getterContentHead";
- $getterContentTail .= ")";
- }
- } elsif ($attribute->signature->type eq "SerializedScriptValue") {
- $getterContentHead = "$getterContentHead";
- $getterContentTail .= "->toString()";
- } elsif (ConversionNeeded($attribute->signature->type)) {
- $getterContentHead = "kit(WTF::getPtr($getterContentHead";
- $getterContentTail .= "))";
- }
-
- # It would be easy to add nullable support here if we ever need it, but we probably never
- # will since we are unlikely to add Objective-C bindings that require it in the future.
- # In particular, we'd have to decide what return type to use for "number or null".
-
- my $getterContent;
- if ($hasGetterException) {
- $getterContent = $getterContentHead;
- my $getterWithoutAttributes = $getterContentHead =~ /\($|, $/ ? "ec" : ", ec";
- if ($hasGetterException) {
- $getterContent .= $getterWithoutAttributes ? "ec" : ", ec";
- }
- $getterContent .= $getterContentTail;
- } else {
- $getterContent = $getterContentHead . $getterContentTail;
- }
-
- my $attributeConditionalString = $codeGenerator->GenerateConditionalString($attribute->signature);
- push(@implContent, "#if ${attributeConditionalString}\n") if $attributeConditionalString;
- push(@implContent, $getterSig);
- push(@implContent, "{\n");
- push(@implContent, " $jsContextSetter\n");
- push(@implContent, @customGetterContent);
-
- if ($hasGetterException) {
- # Differentiated between when the return type is a pointer and
- # not for white space issue (ie. Foo *result vs. int result).
- if ($attributeType =~ /\*$/) {
- $getterContent = $attributeType . "result = " . $getterContent;
- } else {
- $getterContent = $attributeType . " result = " . $getterContent;
- }
-
- push(@implContent, " $exceptionInit\n");
- push(@implContent, " $getterContent;\n");
- push(@implContent, " $exceptionRaiseOnError\n");
- push(@implContent, " return result;\n");
- } else {
- push(@implContent, " return $getterContent;\n");
- }
- push(@implContent, "}\n");
-
- # - SETTER
- if (!$attribute->isReadOnly) {
- # Exception handling
- my $hasSetterException = $attribute->signature->extendedAttributes->{"SetterRaisesException"};
-
- my $coreSetterName = "set" . $codeGenerator->WK_ucfirst($attributeName);
- my $setterName = "set" . ucfirst($attributeInterfaceName);
- my $argName = "new" . ucfirst($attributeInterfaceName);
- my $arg = GetObjCTypeGetter($argName, $idlType);
-
- # The definition of ObjCImplementedAsUnsignedLong is flipped for the setter
- if ($attribute->signature->extendedAttributes->{"ObjCImplementedAsUnsignedLong"}) {
- $arg = "WTF::String($arg).toInt()";
- }
-
- my $setterSig = "- (void)$setterName:($attributeType)$argName\n";
-
- push(@implContent, "\n");
- push(@implContent, $setterSig);
- push(@implContent, "{\n");
- push(@implContent, " $jsContextSetter\n");
-
- unless ($codeGenerator->IsPrimitiveType($idlType) or $idlType eq "DOMString") {
- push(@implContent, " ASSERT($argName);\n\n");
- }
-
- if ($idlType eq "Date") {
- $arg = "core(" . $arg . ")";
- }
-
- if ($codeGenerator->ShouldPassWrapperByReference($attribute->signature, $interface)) {
- push(@implContent, " if (!$arg)\n");
- push(@implContent, " WebCore::raiseTypeErrorException();\n");
- $arg = "*$arg";
- }
-
- my ($functionName, @arguments) = $codeGenerator->SetterExpression(\%implIncludes, $interfaceName, $attribute);
- push(@arguments, $arg);
- push(@arguments, "ec") if $hasSetterException;
- push(@implContent, " $exceptionInit\n") if $hasSetterException;
- if ($attribute->signature->extendedAttributes->{"ImplementedBy"}) {
- my $implementedBy = $attribute->signature->extendedAttributes->{"ImplementedBy"};
- $implIncludes{"${implementedBy}.h"} = 1;
- unshift(@arguments, "*IMPL");
- $functionName = "WebCore::${implementedBy}::${functionName}";
- } else {
- $functionName = "IMPL->${functionName}";
- }
- push(@implContent, " ${functionName}(" . join(", ", @arguments) . ");\n");
- push(@implContent, " $exceptionRaiseOnError\n") if $hasSetterException;
-
- push(@implContent, "}\n");
- }
-
- push(@implContent, "#endif\n") if $attributeConditionalString;
- push(@implContent, "\n");
- }
- }
-
- # - Functions
- if ($numFunctions > 0) {
- my $inAppleCopyright = 0;
- foreach my $function (@{$interface->functions}) {
- next if SkipFunction($function);
- next if ($function->signature->name eq "set" and $interface->extendedAttributes->{"TypedArray"});
- AddIncludesForType($function->signature->type);
-
- my $functionName = $function->signature->name;
- my $returnType = GetObjCType($function->signature->type);
- my $needsAppleCopyright = $function->signature->extendedAttributes->{"AppleCopyright"};
- my $hasParameters = @{$function->parameters};
- my $raisesExceptions = $function->signature->extendedAttributes->{"RaisesException"};
-
- my @parameterNames = ();
- my %needsCustom = ();
-
- my $parameterIndex = 0;
- my $functionSig = "- ($returnType)$functionName";
- my @functionContent = ();
-
- foreach my $param (@{$function->parameters}) {
- my $paramName = $param->name;
- my $paramType = GetObjCType($param->type);
-
- # make a new parameter name if the original conflicts with a property name
- $paramName = "in" . ucfirst($paramName) if $attributeNames{$paramName};
-
- AddIncludesForType($param->type);
-
- my $idlType = $param->type;
- my $implGetter;
- if ($param->extendedAttributes->{"ObjCExplicitAtomicString"}) {
- $implGetter = "AtomicString($paramName)"
- } else {
- $implGetter = GetObjCTypeGetter($paramName, $idlType);
- }
-
- if ($codeGenerator->ShouldPassWrapperByReference($param, $interface)) {
- $implGetter = "*$implGetter";
- push(@functionContent, " if (!$paramName)\n");
- push(@functionContent, " WebCore::raiseTypeErrorException();\n");
- }
-
- push(@parameterNames, $implGetter);
- $needsCustom{"XPathNSResolver"} = $paramName if $idlType eq "XPathNSResolver";
- $needsCustom{"NodeFilter"} = $paramName if $idlType eq "NodeFilter";
- $needsCustom{"EventListener"} = $paramName if $idlType eq "EventListener";
- $needsCustom{"EventTarget"} = $paramName if $idlType eq "EventTarget";
- $needsCustom{"NodeToReturn"} = $paramName if $param->extendedAttributes->{"CustomReturn"};
-
- if ($parameterIndex >= 1) {
- $functionSig .= " " . $param->name;
- }
-
- $functionSig .= ":($paramType)$paramName";
-
- $parameterIndex++;
- }
-
- my $caller = "IMPL";
-
- # special case the XPathNSResolver
- if (defined $needsCustom{"XPathNSResolver"}) {
- my $paramName = $needsCustom{"XPathNSResolver"};
- push(@functionContent, " WebCore::XPathNSResolver* nativeResolver = 0;\n");
- push(@functionContent, " RefPtr<WebCore::XPathNSResolver> customResolver;\n");
- push(@functionContent, " if ($paramName) {\n");
- push(@functionContent, " if ([$paramName isMemberOfClass:[DOMNativeXPathNSResolver class]])\n");
- push(@functionContent, " nativeResolver = core(static_cast<DOMNativeXPathNSResolver *>($paramName));\n");
- push(@functionContent, " else {\n");
- push(@functionContent, " customResolver = WebCore::DOMCustomXPathNSResolver::create($paramName);\n");
- push(@functionContent, " nativeResolver = WTF::getPtr(customResolver);\n");
- push(@functionContent, " }\n");
- push(@functionContent, " }\n");
- }
-
- # special case the EventTarget
- if (defined $needsCustom{"EventTarget"}) {
- my $paramName = $needsCustom{"EventTarget"};
- push(@functionContent, " DOMNode* ${paramName}ObjC = $paramName;\n");
- push(@functionContent, " WebCore::Node* ${paramName}Node = core(${paramName}ObjC);\n");
- $implIncludes{"DOMNode.h"} = 1;
- $implIncludes{"Node.h"} = 1;
- }
-
- if ($function->signature->extendedAttributes->{"ObjCUseDefaultView"}) {
- push(@functionContent, " WebCore::DOMWindow* dv = $caller->defaultView();\n");
- push(@functionContent, " if (!dv)\n");
- push(@functionContent, " return nil;\n");
- $implIncludes{"DOMWindow.h"} = 1;
- $caller = "dv";
- }
-
- # special case the EventListener
- if (defined $needsCustom{"EventListener"}) {
- my $paramName = $needsCustom{"EventListener"};
- push(@functionContent, " RefPtr<WebCore::EventListener> nativeEventListener = WebCore::ObjCEventListener::wrap($paramName);\n");
- }
-
- # special case the NodeFilter
- if (defined $needsCustom{"NodeFilter"}) {
- my $paramName = $needsCustom{"NodeFilter"};
- push(@functionContent, " RefPtr<WebCore::NodeFilter> nativeNodeFilter;\n");
- push(@functionContent, " if ($paramName)\n");
- push(@functionContent, " nativeNodeFilter = WebCore::NativeNodeFilter::create(WebCore::ObjCNodeFilterCondition::create($paramName));\n");
- }
-
- push(@parameterNames, "ec") if $raisesExceptions;
-
- my $content;
- if ($function->signature->extendedAttributes->{"ImplementedBy"}) {
- my $implementedBy = $function->signature->extendedAttributes->{"ImplementedBy"};
- $implIncludes{"${implementedBy}.h"} = 1;
- unshift(@parameterNames, "*" . $caller);
- $content = "WebCore::${implementedBy}::" . $codeGenerator->WK_lcfirst($functionName) . "(" . join(", ", @parameterNames) . ")";
- } else {
- my $functionImplementationName = $function->signature->extendedAttributes->{"ImplementedAs"} || $codeGenerator->WK_lcfirst($functionName);
- $content = "$caller->" . $functionImplementationName . "(" . join(", ", @parameterNames) . ")";
- }
-
- if ($returnType eq "void") {
- # Special case 'void' return type.
- if ($raisesExceptions) {
- push(@functionContent, " $exceptionInit\n");
- push(@functionContent, " $content;\n");
- push(@functionContent, " $exceptionRaiseOnError\n");
- } else {
- push(@functionContent, " $content;\n");
- }
- } elsif (defined $needsCustom{"NodeToReturn"}) {
- # Special case the insertBefore, replaceChild, removeChild
- # and appendChild functions from DOMNode
- my $toReturn = $needsCustom{"NodeToReturn"};
- if ($raisesExceptions) {
- push(@functionContent, " $exceptionInit\n");
- push(@functionContent, " if ($content)\n");
- push(@functionContent, " return $toReturn;\n");
- push(@functionContent, " $exceptionRaiseOnError\n");
- push(@functionContent, " return nil;\n");
- } else {
- push(@functionContent, " if ($content)\n");
- push(@functionContent, " return $toReturn;\n");
- push(@functionContent, " return nil;\n");
- }
- } elsif ($returnType eq "SerializedScriptValue") {
- $content = "foo";
- } else {
- if (ConversionNeeded($function->signature->type)) {
- $content = "kit(WTF::getPtr($content))";
- }
-
- if ($raisesExceptions) {
- # Differentiated between when the return type is a pointer and
- # not for white space issue (ie. Foo *result vs. int result).
- if ($returnType =~ /\*$/) {
- $content = $returnType . "result = " . $content;
- } else {
- $content = $returnType . " result = " . $content;
- }
-
- push(@functionContent, " $exceptionInit\n");
- push(@functionContent, " $content;\n");
- push(@functionContent, " $exceptionRaiseOnError\n");
- push(@functionContent, " return result;\n");
- } else {
- push(@functionContent, " return $content;\n");
- }
- }
-
- if ($needsAppleCopyright) {
- if (!$inAppleCopyright) {
- push(@implContent, $beginAppleCopyrightForSourceFiles);
- $inAppleCopyright = 1;
- }
- } elsif ($inAppleCopyright) {
- push(@implContent, $endAppleCopyright);
- $inAppleCopyright = 0;
- }
-
- my $conditionalString = $codeGenerator->GenerateConditionalString($function->signature);
- push(@implContent, "\n#if ${conditionalString}\n") if $conditionalString;
-
- push(@implContent, "$functionSig\n");
- push(@implContent, "{\n");
- push(@implContent, " $jsContextSetter\n");
- push(@implContent, @functionContent);
- push(@implContent, "}\n\n");
-
- push(@implContent, "#endif\n\n") if $conditionalString;
-
- # generate the old style method names with un-named parameters, these methods are deprecated
- if (@{$function->parameters} > 1 and $function->signature->extendedAttributes->{"ObjCLegacyUnnamedParameters"}) {
- my $deprecatedFunctionSig = $functionSig;
- $deprecatedFunctionSig =~ s/\s\w+:/ :/g; # remove parameter names
-
- push(@implContent, "$deprecatedFunctionSig\n");
- push(@implContent, "{\n");
- push(@implContent, " $jsContextSetter\n");
- push(@implContent, @functionContent);
- push(@implContent, "}\n\n");
- }
-
- # Clear the hash
- %needsCustom = ();
- }
- push(@implContent, $endAppleCopyright) if $inAppleCopyright;
- }
-
- # END implementation
- push(@implContent, "\@end\n");
-
- if ($interface->extendedAttributes->{"AppleCopyright"}) {
- push(@implContent, split("\r", $endAppleCopyright));
- }
-
- # Generate internal interfaces
- push(@implContent, "\n$implType* core($className *wrapper)\n");
- push(@implContent, "{\n");
- push(@implContent, " return wrapper ? reinterpret_cast<$implType*>(wrapper->_internal) : 0;\n");
- push(@implContent, "}\n\n");
-
- if ($parentImplClassName eq "Object") {
- push(@implContent, "$className *kit($implType* value)\n");
- push(@implContent, "{\n");
- push(@implContent, " $threadViolationCheck\n");
- push(@implContent, " if (!value)\n");
- push(@implContent, " return nil;\n");
- push(@implContent, " if ($className *wrapper = getDOMWrapper(value))\n");
- push(@implContent, " return [[wrapper retain] autorelease];\n");
- if ($interface->extendedAttributes->{"ObjCPolymorphic"}) {
- push(@implContent, " $className *wrapper = [[kitClass(value) alloc] _init];\n");
- push(@implContent, " if (!wrapper)\n");
- push(@implContent, " return nil;\n");
- } else {
- push(@implContent, " $className *wrapper = [[$className alloc] _init];\n");
- }
- push(@implContent, " wrapper->_internal = reinterpret_cast<DOMObjectInternal*>(value);\n");
- push(@implContent, " value->ref();\n");
- push(@implContent, " addDOMWrapper(wrapper, value);\n");
- push(@implContent, " return [wrapper autorelease];\n");
- push(@implContent, "}\n");
- } else {
- push(@implContent, "$className *kit($implType* value)\n");
- push(@implContent, "{\n");
- push(@implContent, " $threadViolationCheck\n");
- push(@implContent, " return static_cast<$className*>(kit(static_cast<WebCore::$baseClass*>(value)));\n");
- push(@implContent, "}\n");
- }
-
- # - End the ifdef conditional if necessary
- push(@implContent, "\n#endif // ${conditionalString}\n") if $conditionalString;
-
- if ($interface->extendedAttributes->{"AppleCopyright"}) {
- push(@implContent, split("\r", $endAppleCopyright));
- }
-
- # - Generate dependencies.
- if ($writeDependencies && @ancestorInterfaceNames) {
- push(@depsContent, "$className.h : ", join(" ", map { "$_.idl" } @ancestorInterfaceNames), "\n");
- push(@depsContent, map { "$_.idl :\n" } @ancestorInterfaceNames);
- }
-}
-
-# Internal helper
-sub WriteData
-{
- my $object = shift;
- my $interface = shift;
- my $outputDir = shift;
-
- # Open files for writing...
- my $name = $interface->name;
- my $prefix = FileNamePrefix;
- my $headerFileName = "$outputDir/$prefix$name.h";
- my $privateHeaderFileName = "$outputDir/$prefix${name}Private.h";
- my $implFileName = "$outputDir/$prefix$name.mm";
- my $internalHeaderFileName = "$outputDir/$prefix${name}Internal.h";
- my $depsFileName = "$outputDir/$prefix$name.dep";
-
- # Write public header.
- my $contents = join "", @headerContentHeader;
- map { $contents .= (IsCoreFoundationType($_) ? "typedef struct " . substr($_, 0, -3) . "* $_;\n" : "\@class $_;\n") } sort keys(%headerForwardDeclarations);
- map { $contents .= "\@protocol $_;\n" } sort keys(%headerForwardDeclarationsForProtocols);
-
- my $hasForwardDeclarations = keys(%headerForwardDeclarations) + keys(%headerForwardDeclarationsForProtocols);
- $contents .= "\n" if $hasForwardDeclarations;
- $contents .= join "", @headerContent;
- $codeGenerator->UpdateFile($headerFileName, $contents);
-
- @headerContentHeader = ();
- @headerContent = ();
- %headerForwardDeclarations = ();
- %headerForwardDeclarationsForProtocols = ();
-
- if (@privateHeaderContent > 0) {
- $contents = join "", @privateHeaderContentHeader;
- map { $contents .= "\@class $_;\n" } sort keys(%privateHeaderForwardDeclarations);
- map { $contents .= "\@protocol $_;\n" } sort keys(%privateHeaderForwardDeclarationsForProtocols);
-
- $hasForwardDeclarations = keys(%privateHeaderForwardDeclarations) + keys(%privateHeaderForwardDeclarationsForProtocols);
- $contents .= "\n" if $hasForwardDeclarations;
- $contents .= join "", @privateHeaderContent;
- $codeGenerator->UpdateFile($privateHeaderFileName, $contents);
-
- @privateHeaderContentHeader = ();
- @privateHeaderContent = ();
- %privateHeaderForwardDeclarations = ();
- %privateHeaderForwardDeclarationsForProtocols = ();
- }
-
- # Write implementation file.
- unless ($noImpl) {
- $contents = join "", @implContentHeader;
- map { $contents .= "#import \"$_\"\n" } sort keys(%implIncludes);
- $contents .= join "", @implContent;
- $codeGenerator->UpdateFile($implFileName, $contents);
-
- @implContentHeader = ();
- @implContent = ();
- %implIncludes = ();
- }
-
- if (@internalHeaderContent > 0) {
- $contents = join "", @internalHeaderContent;
- $codeGenerator->UpdateFile($internalHeaderFileName, $contents);
-
- @internalHeaderContent = ();
- }
-
- # Write dependency file.
- if (@depsContent) {
- $contents = join "", @depsContent;
- $codeGenerator->UpdateFile($depsFileName, $contents);
-
- @depsContent = ();
- }
-}
-
-1;
</del></span></pre></div>
<a id="trunkToolsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Tools/ChangeLog (204103 => 204104)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/ChangeLog        2016-08-03 21:31:03 UTC (rev 204103)
+++ trunk/Tools/ChangeLog        2016-08-03 22:53:09 UTC (rev 204104)
</span><span class="lines">@@ -1,3 +1,13 @@
</span><ins>+2016-08-03 Anders Carlsson <andersca@apple.com>
+
+ Remove the Objective-C bindings generator
+ https://bugs.webkit.org/show_bug.cgi?id=160526
+
+ Reviewed by Sam Weinig.
+
+ * Scripts/run-bindings-tests:
+ Update test.
+
</ins><span class="cx"> 2016-08-03 Tim Horton <timothy_horton@apple.com>
</span><span class="cx">
</span><span class="cx"> Revise a TestWebKitAPI comment to mention the actual underlying problem
</span></span></pre></div>
<a id="trunkToolsScriptsrunbindingstests"></a>
<div class="modfile"><h4>Modified: trunk/Tools/Scripts/run-bindings-tests (204103 => 204104)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/Scripts/run-bindings-tests        2016-08-03 21:31:03 UTC (rev 204103)
+++ trunk/Tools/Scripts/run-bindings-tests        2016-08-03 22:53:09 UTC (rev 204104)
</span><span class="lines">@@ -44,7 +44,6 @@
</span><span class="cx">
</span><span class="cx"> generators = [
</span><span class="cx"> 'JS',
</span><del>- 'ObjC',
</del><span class="cx"> 'GObject'
</span><span class="cx"> ]
</span><span class="cx">
</span></span></pre>
</div>
</div>
</body>
</html>