<!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>[163389] 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/163389">163389</a></dd>
<dt>Author</dt> <dd>akling@apple.com</dd>
<dt>Date</dt> <dd>2014-02-04 10:51:07 -0800 (Tue, 04 Feb 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>Remove CPP bindings generator.
&lt;https://webkit.org/b/128189&gt;

Scrub out some leftover Blackberry gunk.

Reviewed by Anders Carlsson.

* Modules/webdatabase/SQLResultSet.idl:
* bindings/cpp/WebDOMCString.cpp: Removed.
* bindings/cpp/WebDOMCString.h: Removed.
* bindings/cpp/WebDOMDOMWindowCustom.cpp: Removed.
* bindings/cpp/WebDOMEventListenerCustom.cpp: Removed.
* bindings/cpp/WebDOMEventTarget.cpp: Removed.
* bindings/cpp/WebDOMEventTarget.h: Removed.
* bindings/cpp/WebDOMHTMLCollectionCustom.cpp: Removed.
* bindings/cpp/WebDOMHTMLDocumentCustom.cpp: Removed.
* bindings/cpp/WebDOMHTMLOptionsCollectionCustom.cpp: Removed.
* bindings/cpp/WebDOMNodeCustom.cpp: Removed.
* bindings/cpp/WebDOMNodeFilterCustom.cpp: Removed.
* bindings/cpp/WebDOMObject.h: Removed.
* bindings/cpp/WebDOMString.cpp: Removed.
* bindings/cpp/WebDOMString.h: Removed.
* bindings/cpp/WebExceptionHandler.cpp: Removed.
* bindings/cpp/WebExceptionHandler.h: Removed.
* bindings/cpp/WebNativeEventListener.cpp: Removed.
* bindings/cpp/WebNativeEventListener.h: Removed.
* bindings/cpp/WebNativeNodeFilterCondition.cpp: Removed.
* bindings/cpp/WebNativeNodeFilterCondition.h: Removed.
* bindings/scripts/CodeGeneratorCPP.pm: Removed.
* bindings/scripts/test/CPP/CPPTestSupplemental.cpp: Removed.
* bindings/scripts/test/CPP/CPPTestSupplemental.h: Removed.
* bindings/scripts/test/CPP/WebDOMFloat64Array.cpp: Removed.
* bindings/scripts/test/CPP/WebDOMFloat64Array.h: Removed.
* bindings/scripts/test/CPP/WebDOMTestActiveDOMObject.cpp: Removed.
* bindings/scripts/test/CPP/WebDOMTestActiveDOMObject.h: Removed.
* bindings/scripts/test/CPP/WebDOMTestCallback.cpp: Removed.
* bindings/scripts/test/CPP/WebDOMTestCallback.h: Removed.
* bindings/scripts/test/CPP/WebDOMTestCustomNamedGetter.cpp: Removed.
* bindings/scripts/test/CPP/WebDOMTestCustomNamedGetter.h: Removed.
* bindings/scripts/test/CPP/WebDOMTestEventConstructor.cpp: Removed.
* bindings/scripts/test/CPP/WebDOMTestEventConstructor.h: Removed.
* bindings/scripts/test/CPP/WebDOMTestEventTarget.cpp: Removed.
* bindings/scripts/test/CPP/WebDOMTestEventTarget.h: Removed.
* bindings/scripts/test/CPP/WebDOMTestException.cpp: Removed.
* bindings/scripts/test/CPP/WebDOMTestException.h: Removed.
* bindings/scripts/test/CPP/WebDOMTestGenerateIsReachable.cpp: Removed.
* bindings/scripts/test/CPP/WebDOMTestGenerateIsReachable.h: Removed.
* bindings/scripts/test/CPP/WebDOMTestImplements.cpp: Removed.
* bindings/scripts/test/CPP/WebDOMTestImplements.h: Removed.
* bindings/scripts/test/CPP/WebDOMTestInterface.cpp: Removed.
* bindings/scripts/test/CPP/WebDOMTestInterface.h: Removed.
* bindings/scripts/test/CPP/WebDOMTestMediaQueryListListener.cpp: Removed.
* bindings/scripts/test/CPP/WebDOMTestMediaQueryListListener.h: Removed.
* bindings/scripts/test/CPP/WebDOMTestNamedConstructor.cpp: Removed.
* bindings/scripts/test/CPP/WebDOMTestNamedConstructor.h: Removed.
* bindings/scripts/test/CPP/WebDOMTestNode.cpp: Removed.
* bindings/scripts/test/CPP/WebDOMTestNode.h: Removed.
* bindings/scripts/test/CPP/WebDOMTestObj.cpp: Removed.
* bindings/scripts/test/CPP/WebDOMTestObj.h: Removed.
* bindings/scripts/test/CPP/WebDOMTestOverloadedConstructors.cpp: Removed.
* bindings/scripts/test/CPP/WebDOMTestOverloadedConstructors.h: Removed.
* bindings/scripts/test/CPP/WebDOMTestSerializedScriptValueInterface.cpp: Removed.
* bindings/scripts/test/CPP/WebDOMTestSerializedScriptValueInterface.h: Removed.
* bindings/scripts/test/CPP/WebDOMTestSupplemental.cpp: Removed.
* bindings/scripts/test/CPP/WebDOMTestSupplemental.h: Removed.
* bindings/scripts/test/CPP/WebDOMTestTypedefs.cpp: Removed.
* bindings/scripts/test/CPP/WebDOMTestTypedefs.h: Removed.
* bindings/scripts/test/CPP/WebDOMattribute.cpp: Removed.
* bindings/scripts/test/CPP/WebDOMattribute.h: Removed.
* bindings/scripts/test/CPP/WebDOMreadonly.cpp: Removed.
* bindings/scripts/test/CPP/WebDOMreadonly.h: Removed.
* css/StyleSheet.idl:
* dom/CustomEvent.idl:
* dom/Document.idl:
* dom/Event.idl:
* dom/Node.idl:
* dom/PopStateEvent.idl:
* html/HTMLCanvasElement.idl:
* html/HTMLInputElement.idl:
* html/canvas/CanvasRenderingContext2D.idl:
* page/DOMWindow.idl:
* page/Location.idl:
* workers/DedicatedWorkerGlobalScope.idl:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreModuleswebdatabaseSQLResultSetidl">trunk/Source/WebCore/Modules/webdatabase/SQLResultSet.idl</a></li>
<li><a href="#trunkSourceWebCorecssStyleSheetidl">trunk/Source/WebCore/css/StyleSheet.idl</a></li>
<li><a href="#trunkSourceWebCoredomCustomEventidl">trunk/Source/WebCore/dom/CustomEvent.idl</a></li>
<li><a href="#trunkSourceWebCoredomDocumentidl">trunk/Source/WebCore/dom/Document.idl</a></li>
<li><a href="#trunkSourceWebCoredomEventidl">trunk/Source/WebCore/dom/Event.idl</a></li>
<li><a href="#trunkSourceWebCoredomNodeidl">trunk/Source/WebCore/dom/Node.idl</a></li>
<li><a href="#trunkSourceWebCoredomPopStateEventidl">trunk/Source/WebCore/dom/PopStateEvent.idl</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLCanvasElementidl">trunk/Source/WebCore/html/HTMLCanvasElement.idl</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLInputElementidl">trunk/Source/WebCore/html/HTMLInputElement.idl</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasCanvasRenderingContext2Didl">trunk/Source/WebCore/html/canvas/CanvasRenderingContext2D.idl</a></li>
<li><a href="#trunkSourceWebCorepageDOMWindowidl">trunk/Source/WebCore/page/DOMWindow.idl</a></li>
<li><a href="#trunkSourceWebCorepageLocationidl">trunk/Source/WebCore/page/Location.idl</a></li>
<li><a href="#trunkSourceWebCoreworkersDedicatedWorkerGlobalScopeidl">trunk/Source/WebCore/workers/DedicatedWorkerGlobalScope.idl</a></li>
<li><a href="#trunkToolsScriptsrunbindingstests">trunk/Tools/Scripts/run-bindings-tests</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li>trunk/Source/WebCore/bindings/cpp/</li>
<li><a href="#trunkSourceWebCorebindingsscriptsCodeGeneratorCPPpm">trunk/Source/WebCore/bindings/scripts/CodeGeneratorCPP.pm</a></li>
<li>trunk/Source/WebCore/bindings/scripts/test/CPP/</li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (163388 => 163389)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2014-02-04 18:41:07 UTC (rev 163388)
+++ trunk/Source/WebCore/ChangeLog        2014-02-04 18:51:07 UTC (rev 163389)
</span><span class="lines">@@ -1,3 +1,89 @@
</span><ins>+2014-02-04  Andreas Kling  &lt;akling@apple.com&gt;
+
+        Remove CPP bindings generator.
+        &lt;https://webkit.org/b/128189&gt;
+
+        Scrub out some leftover Blackberry gunk.
+
+        Reviewed by Anders Carlsson.
+
+        * Modules/webdatabase/SQLResultSet.idl:
+        * bindings/cpp/WebDOMCString.cpp: Removed.
+        * bindings/cpp/WebDOMCString.h: Removed.
+        * bindings/cpp/WebDOMDOMWindowCustom.cpp: Removed.
+        * bindings/cpp/WebDOMEventListenerCustom.cpp: Removed.
+        * bindings/cpp/WebDOMEventTarget.cpp: Removed.
+        * bindings/cpp/WebDOMEventTarget.h: Removed.
+        * bindings/cpp/WebDOMHTMLCollectionCustom.cpp: Removed.
+        * bindings/cpp/WebDOMHTMLDocumentCustom.cpp: Removed.
+        * bindings/cpp/WebDOMHTMLOptionsCollectionCustom.cpp: Removed.
+        * bindings/cpp/WebDOMNodeCustom.cpp: Removed.
+        * bindings/cpp/WebDOMNodeFilterCustom.cpp: Removed.
+        * bindings/cpp/WebDOMObject.h: Removed.
+        * bindings/cpp/WebDOMString.cpp: Removed.
+        * bindings/cpp/WebDOMString.h: Removed.
+        * bindings/cpp/WebExceptionHandler.cpp: Removed.
+        * bindings/cpp/WebExceptionHandler.h: Removed.
+        * bindings/cpp/WebNativeEventListener.cpp: Removed.
+        * bindings/cpp/WebNativeEventListener.h: Removed.
+        * bindings/cpp/WebNativeNodeFilterCondition.cpp: Removed.
+        * bindings/cpp/WebNativeNodeFilterCondition.h: Removed.
+        * bindings/scripts/CodeGeneratorCPP.pm: Removed.
+        * bindings/scripts/test/CPP/CPPTestSupplemental.cpp: Removed.
+        * bindings/scripts/test/CPP/CPPTestSupplemental.h: Removed.
+        * bindings/scripts/test/CPP/WebDOMFloat64Array.cpp: Removed.
+        * bindings/scripts/test/CPP/WebDOMFloat64Array.h: Removed.
+        * bindings/scripts/test/CPP/WebDOMTestActiveDOMObject.cpp: Removed.
+        * bindings/scripts/test/CPP/WebDOMTestActiveDOMObject.h: Removed.
+        * bindings/scripts/test/CPP/WebDOMTestCallback.cpp: Removed.
+        * bindings/scripts/test/CPP/WebDOMTestCallback.h: Removed.
+        * bindings/scripts/test/CPP/WebDOMTestCustomNamedGetter.cpp: Removed.
+        * bindings/scripts/test/CPP/WebDOMTestCustomNamedGetter.h: Removed.
+        * bindings/scripts/test/CPP/WebDOMTestEventConstructor.cpp: Removed.
+        * bindings/scripts/test/CPP/WebDOMTestEventConstructor.h: Removed.
+        * bindings/scripts/test/CPP/WebDOMTestEventTarget.cpp: Removed.
+        * bindings/scripts/test/CPP/WebDOMTestEventTarget.h: Removed.
+        * bindings/scripts/test/CPP/WebDOMTestException.cpp: Removed.
+        * bindings/scripts/test/CPP/WebDOMTestException.h: Removed.
+        * bindings/scripts/test/CPP/WebDOMTestGenerateIsReachable.cpp: Removed.
+        * bindings/scripts/test/CPP/WebDOMTestGenerateIsReachable.h: Removed.
+        * bindings/scripts/test/CPP/WebDOMTestImplements.cpp: Removed.
+        * bindings/scripts/test/CPP/WebDOMTestImplements.h: Removed.
+        * bindings/scripts/test/CPP/WebDOMTestInterface.cpp: Removed.
+        * bindings/scripts/test/CPP/WebDOMTestInterface.h: Removed.
+        * bindings/scripts/test/CPP/WebDOMTestMediaQueryListListener.cpp: Removed.
+        * bindings/scripts/test/CPP/WebDOMTestMediaQueryListListener.h: Removed.
+        * bindings/scripts/test/CPP/WebDOMTestNamedConstructor.cpp: Removed.
+        * bindings/scripts/test/CPP/WebDOMTestNamedConstructor.h: Removed.
+        * bindings/scripts/test/CPP/WebDOMTestNode.cpp: Removed.
+        * bindings/scripts/test/CPP/WebDOMTestNode.h: Removed.
+        * bindings/scripts/test/CPP/WebDOMTestObj.cpp: Removed.
+        * bindings/scripts/test/CPP/WebDOMTestObj.h: Removed.
+        * bindings/scripts/test/CPP/WebDOMTestOverloadedConstructors.cpp: Removed.
+        * bindings/scripts/test/CPP/WebDOMTestOverloadedConstructors.h: Removed.
+        * bindings/scripts/test/CPP/WebDOMTestSerializedScriptValueInterface.cpp: Removed.
+        * bindings/scripts/test/CPP/WebDOMTestSerializedScriptValueInterface.h: Removed.
+        * bindings/scripts/test/CPP/WebDOMTestSupplemental.cpp: Removed.
+        * bindings/scripts/test/CPP/WebDOMTestSupplemental.h: Removed.
+        * bindings/scripts/test/CPP/WebDOMTestTypedefs.cpp: Removed.
+        * bindings/scripts/test/CPP/WebDOMTestTypedefs.h: Removed.
+        * bindings/scripts/test/CPP/WebDOMattribute.cpp: Removed.
+        * bindings/scripts/test/CPP/WebDOMattribute.h: Removed.
+        * bindings/scripts/test/CPP/WebDOMreadonly.cpp: Removed.
+        * bindings/scripts/test/CPP/WebDOMreadonly.h: Removed.
+        * css/StyleSheet.idl:
+        * dom/CustomEvent.idl:
+        * dom/Document.idl:
+        * dom/Event.idl:
+        * dom/Node.idl:
+        * dom/PopStateEvent.idl:
+        * html/HTMLCanvasElement.idl:
+        * html/HTMLInputElement.idl:
+        * html/canvas/CanvasRenderingContext2D.idl:
+        * page/DOMWindow.idl:
+        * page/Location.idl:
+        * workers/DedicatedWorkerGlobalScope.idl:
+
</ins><span class="cx"> 2014-02-04  Dan Bernstein  &lt;mitz@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         iOS build fix.
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebdatabaseSQLResultSetidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webdatabase/SQLResultSet.idl (163388 => 163389)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webdatabase/SQLResultSet.idl        2014-02-04 18:41:07 UTC (rev 163388)
+++ trunk/Source/WebCore/Modules/webdatabase/SQLResultSet.idl        2014-02-04 18:51:07 UTC (rev 163389)
</span><span class="lines">@@ -33,12 +33,6 @@
</span><span class="cx">     ImplementationLacksVTable
</span><span class="cx"> ] interface SQLResultSet {
</span><span class="cx">     readonly attribute SQLResultSetRowList rows;
</span><del>-
-#if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP
</del><span class="cx">     [GetterRaisesException] readonly attribute long insertId;
</span><del>-#else
-    // Explicitely choose 'long long' here to avoid a 64bit-&gt;32bit shortening warning for us.
-    [GetterRaisesException] readonly attribute long long insertId;
-#endif
</del><span class="cx">     readonly attribute long rowsAffected;
</span><span class="cx"> };
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptsCodeGeneratorCPPpm"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/bindings/scripts/CodeGeneratorCPP.pm (163388 => 163389)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/CodeGeneratorCPP.pm        2014-02-04 18:41:07 UTC (rev 163388)
+++ trunk/Source/WebCore/bindings/scripts/CodeGeneratorCPP.pm        2014-02-04 18:51:07 UTC (rev 163389)
</span><span class="lines">@@ -1,998 +0,0 @@
</span><del>-
-# Copyright (C) 2005, 2006 Nikolas Zimmermann &lt;zimmermann@kde.org&gt;
-# Copyright (C) 2006 Anders Carlsson &lt;andersca@mac.com&gt; 
-# Copyright (C) 2006, 2007 Samuel Weinig &lt;sam@webkit.org&gt;
-# Copyright (C) 2006 Alexey Proskuryakov &lt;ap@webkit.org&gt;
-# Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
-# Copyright (C) 2009 Cameron McCormack &lt;cam@mcc.id.au&gt;
-# 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
-# aint 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 CodeGeneratorCPP;
-
-use constant FileNamePrefix =&gt; &quot;WebDOM&quot;;
-
-# Global Variables
-
-my @headerContentHeader = ();
-my @headerContent = ();
-my %headerForwardDeclarations = ();
-
-my @implContentHeader = ();
-my @implContent = ();
-my %implIncludes = ();
-
-# Constants
-my $exceptionInit = &quot;WebCore::ExceptionCode ec = 0;&quot;;
-my $exceptionRaiseOnError = &quot;webDOMRaiseError(static_cast&lt;WebDOMExceptionCode&gt;(ec));&quot;;
-
-# Default License Templates
-my $headerLicenseTemplate = &lt;&lt; &quot;EOF&quot;;
-/*
- * Copyright (C) Research In Motion Limited 2010. All rights reserved.
- * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
- * Copyright (C) 2006 Samuel Weinig &lt;sam.weinig\@gmail.com&gt;
- * 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.
- */
-EOF
-
-my $implementationLicenseTemplate = &lt;&lt; &quot;EOF&quot;;
-/*
- * This file is part of the WebKit open source project.
- * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- *
- * 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.
- */
-EOF
-
-# Default constructor
-sub new
-{
-    my $object = shift;
-    my $reference = { };
-
-    $codeGenerator = shift;
-    shift; # $useLayerOnTop
-    shift; # $preprocessor
-    shift; # $writeDependencies
-
-    bless($reference, $object);
-    return $reference;
-}
-
-sub GenerateInterface
-{
-    my $object = shift;
-    my $interface = shift;
-    my $defines = shift;
-
-    my $name = $interface-&gt;name;
-    my $className = GetClassName($name);
-    my $parentClassName = &quot;WebDOM&quot; . GetParentImplClassName($interface);
-
-    $object-&gt;GenerateHeader($interface);
-    $object-&gt;GenerateImplementation($interface);
-}
-
-sub GetClassName
-{
-    my $name = shift;
-
-    # special cases
-    return &quot;WebDOMString&quot; if $codeGenerator-&gt;IsStringType($name) or $name eq &quot;SerializedScriptValue&quot;;
-    return &quot;WebDOMObject&quot; if $name eq &quot;any&quot;;
-    return &quot;bool&quot; if $name eq &quot;boolean&quot;;
-    return $name if $codeGenerator-&gt;IsPrimitiveType($name);
-
-    return &quot;WebDOM$name&quot;;
-}
-
-sub GetImplClassName
-{
-    return shift;
-}
-
-sub GetParentImplClassName
-{
-    my $interface = shift;
-
-    unless ($interface-&gt;parent) {
-        return &quot;EventTarget&quot; if $interface-&gt;extendedAttributes-&gt;{&quot;EventTarget&quot;};
-        return &quot;Object&quot;;
-    }
-
-    return $interface-&gt;parent;
-}
-
-sub GetParent
-{
-    my $interface = shift;
-
-    my $parent;
-    if (!$interface-&gt;parent) {
-        $parent = &quot;WebDOMObject&quot;;
-        $parent = &quot;WebDOMEventTarget&quot; if $interface-&gt;extendedAttributes-&gt;{&quot;EventTarget&quot;};
-    } else {
-        my $parentName = $interface-&gt;parent;
-        $parent = &quot;WebDOM&quot; . $parentName;
-    }
-
-    return $parent;
-}
-
-sub SkipFunction
-{
-    my $function = shift;
-
-    return 1 if $function-&gt;signature-&gt;extendedAttributes-&gt;{&quot;Custom&quot;};
-
-    # FIXME: We don't generate bindings for SVG related interfaces yet
-    return 1 if $function-&gt;signature-&gt;name =~ /getSVGDocument/;
-
-    if ($codeGenerator-&gt;GetArrayType($function-&gt;signature-&gt;type)) {
-        return 1;
-    }
-
-    if ($codeGenerator-&gt;GetSequenceType($function-&gt;signature-&gt;type)) {
-        return 1;
-    }
-
-    foreach my $param (@{$function-&gt;parameters}) {
-        return 1 if $codeGenerator-&gt;GetSequenceType($param-&gt;type);
-        return 1 if $param-&gt;extendedAttributes-&gt;{&quot;Clamp&quot;};
-    }
-
-    # FIXME: This is typically used to add script execution state arguments to the method.
-    # These functions will not compile with the C++ bindings as is, so disable them
-    # to restore compilation until a proper implementation can be developed.
-    return 1 if $function-&gt;signature-&gt;extendedAttributes-&gt;{&quot;CallWith&quot;};
-}
-
-sub SkipAttribute
-{
-    my $attribute = shift;
-    my $type = $attribute-&gt;signature-&gt;type;
-
-    return 1 if $attribute-&gt;signature-&gt;extendedAttributes-&gt;{&quot;Custom&quot;}
-                or $attribute-&gt;signature-&gt;extendedAttributes-&gt;{&quot;CustomGetter&quot;};
-
-    return 1 if $type =~ /Constructor$/;
-    return 1 if $attribute-&gt;isStatic;
-    return 1 if $codeGenerator-&gt;IsTypedArrayType($type);
-
-    if ($codeGenerator-&gt;GetArrayType($type)) {
-        return 1;
-    }
-
-    if ($codeGenerator-&gt;GetSequenceType($type)) {
-        return 1;
-    }
-
-    if ($codeGenerator-&gt;IsEnumType($type)) {
-        return 1;
-    }
-
-    $codeGenerator-&gt;AssertNotSequenceType($type);
-
-    # FIXME: This is typically used to add script execution state arguments to the method.
-    # These functions will not compile with the C++ bindings as is, so disable them
-    # to restore compilation until a proper implementation can be developed.
-    return 1 if $attribute-&gt;signature-&gt;extendedAttributes-&gt;{&quot;CallWith&quot;};
-
-    return 0;
-}
-
-sub GetCPPType
-{
-    my $type = shift;
-    my $useConstReference = shift;
-    my $name = GetClassName($type);
-
-    return &quot;char&quot; if $type eq &quot;byte&quot;;
-    return &quot;unsigned char&quot; if $type eq &quot;octet&quot;;
-    return &quot;int&quot; if $type eq &quot;long&quot;;
-    return &quot;unsigned&quot; if $name eq &quot;unsigned long&quot;;
-    return &quot;unsigned short&quot; if $type eq &quot;CompareHow&quot;;
-    return &quot;double&quot; if $name eq &quot;Date&quot;;
-
-    if ($codeGenerator-&gt;IsStringType($type)) {
-        if ($useConstReference) {
-            return &quot;const $name&amp;&quot;;
-        }
-
-        return $name;
-    }
-
-    return $name if $codeGenerator-&gt;IsPrimitiveType($type) or $type eq &quot;DOMTimeStamp&quot;;
-    return &quot;const $name&amp;&quot; if $useConstReference;
-    return $name;
-}
-
-sub ConversionNeeded
-{
-    my $type = shift;
-    return !$codeGenerator-&gt;IsNonPointerType($type) &amp;&amp; !$codeGenerator-&gt;IsStringType($type);
-}
-
-sub GetCPPTypeGetter
-{
-    my $argName = shift;
-    my $type = shift;
-
-    return $argName if $codeGenerator-&gt;IsPrimitiveType($type) or $codeGenerator-&gt;IsStringType($type);
-    return &quot;static_cast&lt;WebCore::Range::CompareHow&gt;($argName)&quot; if $type eq &quot;CompareHow&quot;;
-    return &quot;WebCore::SerializedScriptValue::create(WTF::String($argName))&quot; if $type eq &quot;SerializedScriptValue&quot;;
-    return &quot;to&quot; . GetNamespaceForClass($argName) . &quot;($argName)&quot;;
-}
-
-sub AddForwardDeclarationsForType
-{
-    my $type = shift;
-    my $public = shift;
-
-    return if $codeGenerator-&gt;IsNonPointerType($type) or $codeGenerator-&gt;IsStringType($type);
-
-    my $class = GetClassName($type);
-    $headerForwardDeclarations{$class} = 1 if $public;
-}
-
-sub AddIncludesForType
-{
-    my $type = shift;
-
-    return if $codeGenerator-&gt;GetSequenceType($type);
-    return if $codeGenerator-&gt;GetArrayType($type);
-    return if $codeGenerator-&gt;IsNonPointerType($type);
-    return if $type =~ /Constructor/;
-
-    if ($codeGenerator-&gt;IsStringType($type)) {
-        $implIncludes{&quot;wtf/text/AtomicString.h&quot;} = 1;
-        $implIncludes{&quot;URL.h&quot;} = 1;
-        $implIncludes{&quot;WebDOMString.h&quot;} = 1;
-        return;
-    }
-
-    if ($type eq &quot;any&quot;) {
-        $implIncludes{&quot;WebDOMObject.h&quot;} = 1;
-        return;
-    }
-
-    if ($type eq &quot;EventListener&quot;) {
-        $implIncludes{&quot;WebNativeEventListener.h&quot;} = 1;
-        return;
-    }
-
-    if ($type eq &quot;SerializedScriptValue&quot;) {
-        $implIncludes{&quot;SerializedScriptValue.h&quot;} = 1;
-        return;
-    }
-
-    # Also include CSSImportRule so that the toWebKit methods for subclasses are found
-    if ($type eq &quot;CSSRule&quot;) {
-        $implIncludes{&quot;WebDOMCSSImportRule.h&quot;} = 1;
-    }
-
-    $implIncludes{&quot;Node.h&quot;} = 1 if $type eq &quot;NodeList&quot;;
-    $implIncludes{&quot;StyleProperties.h&quot;} = 1 if $type eq &quot;CSSStyleDeclaration&quot;;
-
-    # Default, include the same named file (the implementation) and the same name prefixed with &quot;WebDOM&quot;. 
-    $implIncludes{&quot;$type.h&quot;} = 1 unless $type eq &quot;any&quot;;
-    $implIncludes{&quot;WebDOM$type.h&quot;} = 1;
-}
-
-sub GetNamespaceForClass
-{
-    my $type = shift;
-    return &quot;WTF&quot; if (($type eq &quot;ArrayBuffer&quot;) or ($type eq &quot;ArrayBufferView&quot;)); 
-    return &quot;WTF&quot; if (($type eq &quot;Uint8Array&quot;) or ($type eq &quot;Uint8ClampedArray&quot;) or ($type eq &quot;Uint16Array&quot;) or ($type eq &quot;Uint32Array&quot;)); 
-    return &quot;WTF&quot; if (($type eq &quot;Int8Array&quot;) or ($type eq &quot;Int16Array&quot;) or ($type eq &quot;Int32Array&quot;)); 
-    return &quot;WTF&quot; if (($type eq &quot;Float32Array&quot;) or ($type eq &quot;Float64Array&quot;));    
-    return &quot;WebCore&quot;;
-}
-
-sub GenerateHeader
-{
-    my $object = shift;
-    my $interface = shift;
-
-    my $interfaceName = $interface-&gt;name;
-    my $className = GetClassName($interfaceName);
-    my $implClassName = GetImplClassName($interfaceName);
-    
-    my $implClassNameWithNamespace = GetNamespaceForClass($implClassName) . &quot;::&quot; . $implClassName;
-
-    my $parentName = &quot;&quot;;
-    $parentName = GetParent($interface);
-
-    my $numConstants = @{$interface-&gt;constants};
-    my $numAttributes = @{$interface-&gt;attributes};
-    my $numFunctions = @{$interface-&gt;functions};
-
-    # - Add default header template
-    @headerContentHeader = split(&quot;\r&quot;, $headerLicenseTemplate);
-    push(@headerContentHeader, &quot;\n#ifndef $className&quot; . &quot;_h&quot;);
-    push(@headerContentHeader, &quot;\n#define $className&quot; . &quot;_h\n\n&quot;);
-
-    my $conditionalString = $codeGenerator-&gt;GenerateConditionalString($interface);
-    push(@headerContentHeader, &quot;#if ${conditionalString}\n\n&quot;) if $conditionalString;
-
-    # - INCLUDES -
-
-    my %headerIncludes = ();
-    $headerIncludes{&quot;WebDOMString.h&quot;} = 1;
-    $headerIncludes{&quot;$parentName.h&quot;} = 1;
-    foreach my $include (sort keys(%headerIncludes)) {
-        push(@headerContentHeader, &quot;#include &lt;$include&gt;\n&quot;);
-    }
-
-    push(@headerContent, &quot;class $className&quot;);
-    push(@headerContent, &quot; : public $parentName&quot;) if $parentName;
-    push(@headerContent, &quot; {\n&quot;);
-    push(@headerContent, &quot;public:\n&quot;);
-
-    # Constructor
-    push(@headerContent, &quot;    $className();\n&quot;);
-    push(@headerContent, &quot;    explicit $className($implClassNameWithNamespace*);\n&quot;);
-
-    # Copy constructor and assignment operator on classes which have the d-ptr
-    if ($parentName eq &quot;WebDOMObject&quot;) {
-        push(@headerContent, &quot;    $className(const $className&amp;);\n&quot;);
-        push(@headerContent, &quot;    ${className}&amp; operator=(const $className&amp;);\n&quot;);
-    }
-
-    # Destructor
-    if ($parentName eq &quot;WebDOMObject&quot;) {
-        push(@headerContent, &quot;    virtual ~$className();\n&quot;);
-    } else {
-        push(@headerContent, &quot;    virtual ~$className() { }\n&quot;);
-    }
-
-    push(@headerContent, &quot;\n&quot;);
-    $headerForwardDeclarations{$implClassNameWithNamespace} = 1;
-
-    # - Add constants.
-    if ($numConstants &gt; 0) {
-        my @headerConstants = ();
-        my @constants = @{$interface-&gt;constants};
-        my $combinedConstants = &quot;&quot;;
-
-        # FIXME: we need a way to include multiple enums.
-        foreach my $constant (@constants) {
-            my $constantName = $constant-&gt;name;
-            my $constantValue = $constant-&gt;value;
-            my $conditional = $constant-&gt;extendedAttributes-&gt;{&quot;Conditional&quot;};
-            my $notLast = $constant ne $constants[-1];
-
-            if ($conditional) {
-                my $conditionalString = $codeGenerator-&gt;GenerateConditionalStringFromAttributeValue($conditional);
-                $combinedConstants .= &quot;#if ${conditionalString}\n&quot;;
-            }
-            $combinedConstants .= &quot;        WEBDOM_$constantName = $constantValue&quot;;
-            $combinedConstants .= &quot;,&quot; if $notLast;
-            if ($conditional) {
-                $combinedConstants .= &quot;\n#endif\n&quot;;
-            } elsif ($notLast) {
-                $combinedConstants .= &quot;\n&quot;;
-            }
-        }
-
-        push(@headerContent, &quot;    &quot;);
-        push(@headerContent, &quot;enum {\n&quot;);
-        push(@headerContent, $combinedConstants);
-        push(@headerContent, &quot;\n    &quot;);
-        push(@headerContent, &quot;};\n\n&quot;);
-    }
-
-    my @headerAttributes = ();
-
-    # - Add attribute getters/setters.
-    if ($numAttributes &gt; 0) {
-        foreach my $attribute (@{$interface-&gt;attributes}) {
-            next if SkipAttribute($attribute);
-
-            my $attributeConditionalString = $codeGenerator-&gt;GenerateConditionalString($attribute-&gt;signature);
-            my $attributeName = $attribute-&gt;signature-&gt;name;
-            my $attributeType = GetCPPType($attribute-&gt;signature-&gt;type, 0);
-            my $property = &quot;&quot;;
-            
-            $property .= &quot;#if ${attributeConditionalString}\n&quot; if $attributeConditionalString;
-            $property .= &quot;    &quot; . $attributeType . ($attributeType =~ /\*$/ ? &quot;&quot; : &quot; &quot;) . $attributeName . &quot;() const&quot;;
-
-            my $availabilityMacro = &quot;&quot;;
-            my $declarationSuffix = &quot;;\n&quot;;
-
-            AddForwardDeclarationsForType($attribute-&gt;signature-&gt;type, 1);
-
-            $attributeType = GetCPPType($attribute-&gt;signature-&gt;type, 1);
-            my $setterName = &quot;set&quot; . ucfirst($attributeName);
-
-            $property .= $declarationSuffix;
-            push(@headerAttributes, $property);
-            if (!$attribute-&gt;isReadOnly and !$attribute-&gt;signature-&gt;extendedAttributes-&gt;{&quot;Replaceable&quot;}) {
-                $property = &quot;    void $setterName($attributeType)&quot;;
-                $property .= $declarationSuffix;
-                push(@headerAttributes, $property); 
-            }
-
-            push(@headerAttributes, &quot;#endif\n&quot;) if $attributeConditionalString;
-        }
-        push(@headerContent, @headerAttributes) if @headerAttributes &gt; 0;
-    }
-
-    my @headerFunctions = ();
-    my @deprecatedHeaderFunctions = ();
-    my @interfaceFunctions = ();
-
-    # - Add functions.
-    if ($numFunctions &gt; 0) {
-        foreach my $function (@{$interface-&gt;functions}) {
-            next if SkipFunction($function);
-            next if ($function-&gt;signature-&gt;name eq &quot;set&quot; and $interface-&gt;extendedAttributes-&gt;{&quot;TypedArray&quot;});
-            my $functionName = $function-&gt;signature-&gt;extendedAttributes-&gt;{&quot;ImplementedAs&quot;} || $function-&gt;signature-&gt;name;
-
-            my $returnType = GetCPPType($function-&gt;signature-&gt;type, 0);
-            my $numberOfParameters = @{$function-&gt;parameters};
-            my %typesToForwardDeclare = ($function-&gt;signature-&gt;type =&gt; 1);
-
-            my $parameterIndex = 0;
-            my $functionSig = &quot;$returnType $functionName(&quot;;
-            my $methodName = $functionName;
-            foreach my $param (@{$function-&gt;parameters}) {
-                my $paramName = $param-&gt;name;
-                my $paramType = GetCPPType($param-&gt;type, 1);
-                $typesToForwardDeclare{$param-&gt;type} = 1;
-
-                $functionSig .= &quot;, &quot; if $parameterIndex &gt;= 1;
-                $functionSig .= &quot;$paramType $paramName&quot;;
-                $parameterIndex++;
-            }
-            $functionSig .= &quot;)&quot;;
-            if ($interface-&gt;extendedAttributes-&gt;{&quot;CPPPureInterface&quot;}) {
-                push(@interfaceFunctions, &quot;    virtual &quot; . $functionSig . &quot; = 0;\n&quot;);
-            }
-            my $functionDeclaration = $functionSig;
-            $functionDeclaration .= &quot;;\n&quot;;
-
-            foreach my $type (keys %typesToForwardDeclare) {
-                # add any forward declarations to the public header if a deprecated version will be generated
-                AddForwardDeclarationsForType($type, 1);
-            }
-
-            my $conditionalString = $codeGenerator-&gt;GenerateConditionalString($function-&gt;signature);
-            push(@headerFunctions, &quot;#if ${conditionalString}\n&quot;) if $conditionalString;
-            push(@headerFunctions, &quot;    &quot;);
-            push(@headerFunctions, $functionDeclaration);
-            push(@headerFunctions, &quot;#endif\n&quot;) if $conditionalString;
-        }
-
-        if (@headerFunctions &gt; 0) {
-            push(@headerContent, &quot;\n&quot;) if @headerAttributes &gt; 0;
-            push(@headerContent, @headerFunctions);
-        }
-    }
-
-    push(@headerContent, &quot;\n&quot;);
-    push(@headerContent, &quot;    $implClassNameWithNamespace* impl() const;\n&quot;);
-
-    if ($parentName eq &quot;WebDOMObject&quot;) {
-        push(@headerContent, &quot;\nprotected:\n&quot;);
-        push(@headerContent, &quot;    struct ${className}Private;\n&quot;);
-        push(@headerContent, &quot;    ${className}Private* m_impl;\n&quot;);
-    }
-
-    push(@headerContent, &quot;};\n\n&quot;);
-
-    # for CPPPureInterface classes also add the interface that the client code needs to
-    # implement
-    if ($interface-&gt;extendedAttributes-&gt;{&quot;CPPPureInterface&quot;}) {
-        push(@headerContent, &quot;class WebUser$interfaceName {\n&quot;);
-        push(@headerContent, &quot;public:\n&quot;);
-        push(@headerContent, &quot;    virtual void ref() = 0;\n&quot;);
-        push(@headerContent, &quot;    virtual void deref() = 0;\n\n&quot;);
-        push(@headerContent, @interfaceFunctions);
-        push(@headerContent, &quot;\nprotected:\n&quot;);
-        push(@headerContent, &quot;    virtual ~WebUser$interfaceName() {}\n&quot;);
-        push(@headerContent, &quot;};\n\n&quot;);
-    }
-
-    my $namespace = GetNamespaceForClass($implClassName);
-    push(@headerContent, &quot;$namespace&quot; . &quot;::$implClassName* toWebCore(const $className&amp;);\n&quot;);
-    push(@headerContent, &quot;$className toWebKit($namespace&quot; . &quot;::$implClassName*);\n&quot;);
-    if ($interface-&gt;extendedAttributes-&gt;{&quot;CPPPureInterface&quot;}) {
-        push(@headerContent, &quot;$className toWebKit(WebUser$interfaceName*);\n&quot;);
-    }
-    push(@headerContent, &quot;\n#endif\n&quot;);
-    push(@headerContent, &quot;#endif // ${conditionalString}\n\n&quot;) if $conditionalString;
-}
-
-sub AddEarlyReturnStatement
-{
-    my $returnType = shift;
-
-    if (!defined($returnType) or $returnType eq &quot;void&quot;) {
-        $returnType = &quot;&quot;;
-    } elsif ($codeGenerator-&gt;IsPrimitiveType($returnType)) {
-        $returnType = &quot; 0&quot;;
-    } elsif ($returnType eq &quot;bool&quot;) {
-        $returnType = &quot; false&quot;;
-    } else {
-        $returnType = &quot; $returnType()&quot;;
-    }
-
-    # TODO: We could set exceptions here, if we want that
-    my $statement = &quot;    if (!impl())\n&quot;;
-    $statement .=   &quot;        return$returnType;\n\n&quot;;
-    return $statement;
-}
-
-sub AddReturnStatement
-{
-    my $typeInfo = shift;
-    my $returnValue = shift;
-
-    # Used to invoke URLs &quot;const String&amp;&quot; operator
-    if ($codeGenerator-&gt;IsStringType($typeInfo-&gt;signature-&gt;type)) {
-        return &quot;    return static_cast&lt;const WTF::String&amp;&gt;($returnValue);\n&quot;;
-    }
-
-    return &quot;    return $returnValue;\n&quot;;
-}
-
-sub GenerateImplementation
-{
-    my $object = shift;
-    my $interface = shift;
-
-    my $interfaceName = $interface-&gt;name;
-    my $className = GetClassName($interfaceName);
-    my $implClassName = GetImplClassName($interfaceName);
-    my $parentImplClassName = GetParentImplClassName($interface);
-    my $implClassNameWithNamespace = GetNamespaceForClass($implClassName) . &quot;::&quot; . $implClassName;
-    my $baseClass = &quot;WebDOM$parentImplClassName&quot;;
-    my $conditional = $interface-&gt;extendedAttributes-&gt;{&quot;Conditional&quot;};
-
-    my $numAttributes = @{$interface-&gt;attributes};
-    my $numFunctions = @{$interface-&gt;functions};
-
-    # - Add default header template.
-    @implContentHeader = split(&quot;\r&quot;, $implementationLicenseTemplate);
-
-    # - INCLUDES -
-    push(@implContentHeader, &quot;\n#include \&quot;config.h\&quot;\n&quot;);
-    my $conditionalString = $codeGenerator-&gt;GenerateConditionalString($interface);
-    push(@implContentHeader, &quot;\n#if ${conditionalString}\n\n&quot;) if $conditionalString;
-    push(@implContentHeader, &quot;#include \&quot;$className.h\&quot;\n\n&quot;);
-
-    $implIncludes{&quot;WebExceptionHandler.h&quot;} = 1;
-    $implIncludes{&quot;$implClassName.h&quot;} = 1;
-    $implIncludes{&quot;wtf/GetPtr.h&quot;} = 1;
-    $implIncludes{&quot;wtf/RefPtr.h&quot;} = 1;
-
-    @implContent = ();
-
-    # Private datastructure, encapsulating WebCore types
-    if ($baseClass eq &quot;WebDOMObject&quot;) {
-        push(@implContent, &quot;struct ${className}::${className}Private {\n&quot;);
-        push(@implContent, &quot;    ${className}Private($implClassNameWithNamespace* object = 0)\n&quot;);
-        push(@implContent, &quot;        : impl(object)\n&quot;);
-        push(@implContent, &quot;    {\n&quot;);
-        push(@implContent, &quot;    }\n\n&quot;);
-        push(@implContent, &quot;    RefPtr&lt;$implClassNameWithNamespace&gt; impl;\n&quot;);
-        push(@implContent, &quot;};\n\n&quot;);
-    }
-
-    # Constructor
-    push(@implContent, &quot;${className}::$className()\n&quot;);
-    push(@implContent, &quot;    : ${baseClass}()\n&quot;);
-    push(@implContent, &quot;    , m_impl(0)\n&quot;) if ($baseClass eq &quot;WebDOMObject&quot;);
-    push(@implContent, &quot;{\n&quot;);
-    push(@implContent, &quot;}\n\n&quot;);
-
-    push(@implContent, &quot;${className}::$className($implClassNameWithNamespace* impl)\n&quot;);
-    if ($baseClass eq &quot;WebDOMObject&quot;) {
-        push(@implContent, &quot;    : ${baseClass}()\n&quot;);
-        push(@implContent, &quot;    , m_impl(new ${className}Private(impl))\n&quot;);
-        push(@implContent, &quot;{\n&quot;);
-        push(@implContent, &quot;}\n\n&quot;);
-
-        push(@implContent, &quot;${className}::${className}(const ${className}&amp; copy)\n&quot;);
-        push(@implContent, &quot;    : ${baseClass}()\n&quot;);
-        push(@implContent, &quot;{\n&quot;);
-        push(@implContent, &quot;    m_impl = copy.impl() ? new ${className}Private(copy.impl()) : 0;\n&quot;);
-        push(@implContent, &quot;}\n\n&quot;);
-
-        push(@implContent, &quot;${className}&amp; ${className}::operator\=(const ${className}&amp; copy)\n&quot;);
-        push(@implContent, &quot;{\n&quot;);
-        push(@implContent, &quot;    delete m_impl;\n&quot;);
-        push(@implContent, &quot;    m_impl = copy.impl() ? new ${className}Private(copy.impl()) : 0;\n&quot;);
-        push(@implContent, &quot;    return *this;\n&quot;);
-        push(@implContent, &quot;}\n\n&quot;);
-
-        push(@implContent, &quot;$implClassNameWithNamespace* ${className}::impl() const\n&quot;);
-        push(@implContent, &quot;{\n&quot;);
-        push(@implContent, &quot;    return m_impl ? WTF::getPtr(m_impl-&gt;impl) : 0;\n&quot;);
-        push(@implContent, &quot;}\n\n&quot;);
-
-        # Destructor
-        push(@implContent, &quot;${className}::~$className()\n&quot;);
-        push(@implContent, &quot;{\n&quot;);
-        push(@implContent, &quot;    delete m_impl;\n&quot;);
-        push(@implContent, &quot;    m_impl = 0;\n&quot;);
-        push(@implContent, &quot;}\n\n&quot;);
-    } else {
-        push(@implContent, &quot;    : ${baseClass}(impl)\n&quot;);
-        push(@implContent, &quot;{\n&quot;);
-        push(@implContent, &quot;}\n\n&quot;);
-
-        push(@implContent, &quot;$implClassNameWithNamespace* ${className}::impl() const\n&quot;);
-        push(@implContent, &quot;{\n&quot;);
-        push(@implContent, &quot;    return static_cast&lt;$implClassNameWithNamespace*&gt;(${baseClass}::impl());\n&quot;);
-        push(@implContent, &quot;}\n\n&quot;);
-    }
-
-    # START implementation
-    %attributeNames = ();
-
-    # - Attributes
-    if ($numAttributes &gt; 0) {
-        foreach my $attribute (@{$interface-&gt;attributes}) {
-            next if SkipAttribute($attribute);
-            AddIncludesForType($attribute-&gt;signature-&gt;type);
-
-            my $idlType = $attribute-&gt;signature-&gt;type;
-
-            my $attributeName = $attribute-&gt;signature-&gt;name;
-            my $attributeType = GetCPPType($attribute-&gt;signature-&gt;type, 0);
-            my $attributeIsNullable = $attribute-&gt;signature-&gt;isNullable;
-
-            $attributeNames{$attributeName} = 1;
-
-            # - GETTER
-            my $getterSig = &quot;$attributeType $className\:\:$attributeName() const\n&quot;;
-            my $hasGetterException = $attribute-&gt;signature-&gt;extendedAttributes-&gt;{&quot;GetterRaisesException&quot;};
-            my ($functionName, @arguments) = $codeGenerator-&gt;GetterExpression(\%implIncludes, $interfaceName, $attribute);
-            push(@arguments, &quot;isNull&quot;) if $attributeIsNullable;
-            push(@arguments, &quot;ec&quot;) if $hasGetterException;
-            if ($attribute-&gt;signature-&gt;extendedAttributes-&gt;{&quot;ImplementedBy&quot;}) {
-                my $implementedBy = $attribute-&gt;signature-&gt;extendedAttributes-&gt;{&quot;ImplementedBy&quot;};
-                $implIncludes{&quot;${implementedBy}.h&quot;} = 1;
-                unshift(@arguments, &quot;impl()&quot;);
-                $functionName = &quot;${implementedBy}::${functionName}&quot;;
-            } else {
-                $functionName = &quot;impl()-&gt;${functionName}&quot;;
-            }
-
-            # Special cases
-            my $getterContentHead = &quot;&quot;;
-            my $getterContentTail = &quot;&quot;;
-            my @customGetterContent = (); 
-            if ($attribute-&gt;signature-&gt;extendedAttributes-&gt;{&quot;ConvertToString&quot;}) {
-                $getterContentHead = &quot;WTF::String::number(&quot;;
-                $getterContentTail = &quot;)&quot;;
-            } elsif ($attribute-&gt;signature-&gt;type eq &quot;SerializedScriptValue&quot;) {
-                $getterContentTail = &quot;-&gt;toString()&quot;;
-            } elsif (ConversionNeeded($attribute-&gt;signature-&gt;type)) {
-                $getterContentHead = &quot;toWebKit(WTF::getPtr(&quot;;
-                $getterContentTail = &quot;))&quot;;
-            }
-
-            my $getterContent = &quot;${getterContentHead}${functionName}(&quot; . join(&quot;, &quot;, @arguments) . &quot;)${getterContentTail}&quot;;
-            my $attributeConditionalString = $codeGenerator-&gt;GenerateConditionalString($attribute-&gt;signature);
-            push(@implContent, &quot;#if ${attributeConditionalString}\n&quot;) if $attributeConditionalString;
-
-            push(@implContent, $getterSig);
-            push(@implContent, &quot;{\n&quot;);
-            push(@implContent, AddEarlyReturnStatement($attributeType));
-            push(@implContent, @customGetterContent);
-
-            # FIXME: Should we return a default value when isNull == true?
-            if ($attributeIsNullable) {
-                push(@implContent, &quot;    bool isNull = false;\n&quot;);
-            }
-
-            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 . &quot;result = &quot; . $getterContent;
-                } else {
-                    $getterContent = $attributeType . &quot; result = &quot; . $getterContent;
-                }
-
-                push(@implContent, &quot;    $exceptionInit\n&quot;);
-                push(@implContent, &quot;    $getterContent;\n&quot;);
-                push(@implContent, &quot;    $exceptionRaiseOnError\n&quot;);
-                push(@implContent, AddReturnStatement($attribute, &quot;result&quot;));
-            } else {
-                push(@implContent, AddReturnStatement($attribute, $getterContent));
-            }
-            push(@implContent, &quot;}\n\n&quot;);
-
-            # - SETTER
-            if (!$attribute-&gt;isReadOnly and !$attribute-&gt;signature-&gt;extendedAttributes-&gt;{&quot;Replaceable&quot;}) {
-                # Exception handling
-                my $hasSetterException = $attribute-&gt;signature-&gt;extendedAttributes-&gt;{&quot;SetterRaisesException&quot;};
-
-                my $coreSetterName = &quot;set&quot; . $codeGenerator-&gt;WK_ucfirst($attributeName);
-                my $setterName = &quot;set&quot; . ucfirst($attributeName);
-                my $argName = &quot;new&quot; . ucfirst($attributeName);
-                my $arg = GetCPPTypeGetter($argName, $idlType);
-
-                my $attributeType = GetCPPType($attribute-&gt;signature-&gt;type, 1);
-                push(@implContent, &quot;void $className\:\:$setterName($attributeType $argName)\n&quot;);
-                push(@implContent, &quot;{\n&quot;);
-                push(@implContent, AddEarlyReturnStatement());
-
-                push(@implContent, &quot;    $exceptionInit\n&quot;) if $hasSetterException;
-
-                my ($functionName, @arguments) = $codeGenerator-&gt;SetterExpression(\%implIncludes, $interfaceName, $attribute);
-                push(@arguments, $arg);
-                push(@arguments, &quot;ec&quot;) if $hasSetterException;
-                if ($attribute-&gt;signature-&gt;extendedAttributes-&gt;{&quot;ImplementedBy&quot;}) {
-                    my $implementedBy = $attribute-&gt;signature-&gt;extendedAttributes-&gt;{&quot;ImplementedBy&quot;};
-                    $implIncludes{&quot;${implementedBy}.h&quot;} = 1;
-                    unshift(@arguments, &quot;impl()&quot;);
-                    $functionName = &quot;${implementedBy}::${functionName}&quot;;
-                } else {
-                    $functionName = &quot;impl()-&gt;${functionName}&quot;;
-                }
-                push(@implContent, &quot;    ${functionName}(&quot; . join(&quot;, &quot;, @arguments) . &quot;);\n&quot;);
-                push(@implContent, &quot;    $exceptionRaiseOnError\n&quot;) if $hasSetterException;
-                push(@implContent, &quot;}\n\n&quot;);
-            }
-
-            push(@implContent, &quot;#endif\n&quot;) if $attributeConditionalString;
-        }
-    }
-
-    # - Functions
-    if ($numFunctions &gt; 0) {
-        foreach my $function (@{$interface-&gt;functions}) {
-            # Treat CPPPureInterface as Custom as well, since the WebCore versions will take a script context as well
-            next if SkipFunction($function) || $interface-&gt;extendedAttributes-&gt;{&quot;CPPPureInterface&quot;};
-            next if ($function-&gt;signature-&gt;name eq &quot;set&quot; and $interface-&gt;extendedAttributes-&gt;{&quot;TypedArray&quot;});
-            AddIncludesForType($function-&gt;signature-&gt;type);
-
-            my $functionName = $function-&gt;signature-&gt;name;
-            my $returnType = GetCPPType($function-&gt;signature-&gt;type, 0);
-            my $hasParameters = @{$function-&gt;parameters};
-            my $raisesExceptions = $function-&gt;signature-&gt;extendedAttributes-&gt;{&quot;RaisesException&quot;};
-
-            my @parameterNames = ();
-            my @needsAssert = ();
-            my %needsCustom = ();
-
-            my $parameterIndex = 0;
-
-            my $functionSig = &quot;$returnType $className\:\:$functionName(&quot;;
-            foreach my $param (@{$function-&gt;parameters}) {
-                my $paramName = $param-&gt;name;
-                my $paramType = GetCPPType($param-&gt;type, 1);
-
-                # make a new parameter name if the original conflicts with a property name
-                $paramName = &quot;in&quot; . ucfirst($paramName) if $attributeNames{$paramName};
-
-                AddIncludesForType($param-&gt;type);
-
-                my $idlType = $param-&gt;type;
-                my $implGetter = GetCPPTypeGetter($paramName, $idlType);
-
-                push(@parameterNames, $implGetter);
-                $needsCustom{&quot;NodeToReturn&quot;} = $paramName if $param-&gt;extendedAttributes-&gt;{&quot;CustomReturn&quot;};
-
-                unless ($codeGenerator-&gt;IsPrimitiveType($idlType) or $codeGenerator-&gt;IsStringType($idlType)) {
-                    push(@needsAssert, &quot;    ASSERT($paramName);\n&quot;);
-                }
-
-                $functionSig .= &quot;, &quot; if $parameterIndex &gt;= 1;
-                $functionSig .= &quot;$paramType $paramName&quot;;
-                $parameterIndex++;
-            }
-
-            $functionSig .= &quot;)&quot;;
-
-            my @functionContent = ();
-            push(@parameterNames, &quot;ec&quot;) if $raisesExceptions;
-
-            my $content;
-            if ($function-&gt;signature-&gt;extendedAttributes-&gt;{&quot;ImplementedBy&quot;}) {
-                my $implementedBy = $function-&gt;signature-&gt;extendedAttributes-&gt;{&quot;ImplementedBy&quot;};
-                $implIncludes{&quot;${implementedBy}.h&quot;} = 1;
-                unshift(@parameterNames, &quot;impl()&quot;);
-                $content = &quot;WebCore::${implementedBy}::&quot; . $codeGenerator-&gt;WK_lcfirst($functionName) . &quot;(&quot; . join(&quot;, &quot;, @parameterNames) . &quot;)&quot;;
-            } else {
-                $content = &quot;impl()-&gt;&quot; . $codeGenerator-&gt;WK_lcfirst($functionName) . &quot;(&quot; . join(&quot;, &quot;, @parameterNames) . &quot;)&quot;;
-            }
-
-            if ($returnType eq &quot;void&quot;) {
-                # Special case 'void' return type.
-                if ($raisesExceptions) {
-                    push(@functionContent, &quot;    $exceptionInit\n&quot;);
-                    push(@functionContent, &quot;    $content;\n&quot;);
-                    push(@functionContent, &quot;    $exceptionRaiseOnError\n&quot;);
-                } else {
-                    push(@functionContent, &quot;    $content;\n&quot;);
-                }
-            } elsif (defined $needsCustom{&quot;NodeToReturn&quot;}) {
-                # TODO: This is important to enable, once we care about custom code!
-
-                # Special case the insertBefore, replaceChild, removeChild 
-                # and appendChild functions from DOMNode 
-                my $toReturn = $needsCustom{&quot;NodeToReturn&quot;};
-                if ($raisesExceptions) {
-                    push(@functionContent, &quot;    $exceptionInit\n&quot;);
-                    push(@functionContent, &quot;    if ($content)\n&quot;);
-                    push(@functionContent, &quot;        return $toReturn;\n&quot;);
-                    push(@functionContent, &quot;    $exceptionRaiseOnError\n&quot;);
-                    push(@functionContent, &quot;    return $className();\n&quot;);
-                } else {
-                    push(@functionContent, &quot;    if ($content)\n&quot;);
-                    push(@functionContent, &quot;        return $toReturn;\n&quot;);
-                    push(@functionContent, &quot;    return NULL;\n&quot;);
-                }
-            } else {
-                if (ConversionNeeded($function-&gt;signature-&gt;type)) {
-                    $content = &quot;toWebKit(WTF::getPtr($content))&quot;;
-                }
-
-                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 . &quot;result = &quot; . $content;
-                    } else {
-                        $content = $returnType . &quot; result = &quot; . $content;
-                    }
-
-                    push(@functionContent, &quot;    $exceptionInit\n&quot;);
-                    push(@functionContent, &quot;    $content;\n&quot;);
-                    push(@functionContent, &quot;    $exceptionRaiseOnError\n&quot;);
-                    push(@functionContent, &quot;    return result;\n&quot;);
-                } else {
-                    push(@functionContent, &quot;    return $content;\n&quot;);
-                }
-            }
-
-            my $conditionalString = $codeGenerator-&gt;GenerateConditionalString($function-&gt;signature);
-            push(@implContent, &quot;\n#if ${conditionalString}\n&quot;) if $conditionalString;
-
-            push(@implContent, &quot;$functionSig\n&quot;);
-            push(@implContent, &quot;{\n&quot;);
-            push(@implContent, AddEarlyReturnStatement($returnType));
-            push(@implContent, @functionContent);
-            push(@implContent, &quot;}\n\n&quot;);
-
-            push(@implContent, &quot;#endif\n\n&quot;) if $conditionalString;
-
-            # Clear the hash
-            %needsCustom = ();
-        }
-    }
-
-    # END implementation
-
-    # Generate internal interfaces
-    my $namespace = GetNamespaceForClass($implClassName);
-    push(@implContent, &quot;$namespace&quot; . &quot;::$implClassName* toWebCore(const $className&amp; wrapper)\n&quot;);
-    push(@implContent, &quot;{\n&quot;);
-    push(@implContent, &quot;    return wrapper.impl();\n&quot;);
-    push(@implContent, &quot;}\n\n&quot;);
-
-    push(@implContent, &quot;$className toWebKit($namespace&quot; . &quot;::$implClassName* value)\n&quot;);
-    push(@implContent, &quot;{\n&quot;);
-    push(@implContent, &quot;    return $className(value);\n&quot;);
-    push(@implContent, &quot;}\n&quot;);
-
-    # - End the ifdef conditional if necessary
-    push(@implContent, &quot;\n#endif // ${conditionalString}\n&quot;) if $conditionalString;
-}
-
-sub WriteData
-{
-    my $object = shift;
-    my $dataNode = shift;
-    my $outputDir = shift;
-
-    # Open files for writing...
-    my $name = $dataNode-&gt;name;
-    my $prefix = FileNamePrefix;
-    my $headerFileName = &quot;$outputDir/$prefix$name.h&quot;;
-    my $implFileName = &quot;$outputDir/$prefix$name.cpp&quot;;
-
-    # Update a .h file if the contents are changed.
-    my $contents = join &quot;&quot;, @headerContentHeader;
-    $contents .= &quot;\n&quot;;
-    foreach my $class (sort keys(%headerForwardDeclarations)) {
-        if ($class =~ /::/) {
-            my $namespacePart = $class;
-            $namespacePart =~ s/::.*//;
-
-            my $classPart = $class;
-            $classPart =~ s/${namespacePart}:://;
-
-            $contents .= &quot;namespace $namespacePart {\nclass $classPart;\n};\n\n&quot;;
-        } else {
-            $contents .= &quot;class $class;\n&quot;
-        }
-    }
-
-    my $hasForwardDeclarations = keys(%headerForwardDeclarations);
-    $contents .= &quot;\n&quot; if $hasForwardDeclarations;
-    $contents .= join &quot;&quot;, @headerContent;
-    $codeGenerator-&gt;UpdateFile($headerFileName, $contents);
-
-    @headerContentHeader = ();
-    @headerContent = ();
-    %headerForwardDeclarations = ();
-
-    # Update a .cpp file if the contents are changed.
-    $contents = join &quot;&quot;, @implContentHeader;
-
-    my @includes;
-    foreach my $include (keys(%implIncludes)) {
-        if ($include =~ /^wtf\//) {
-            push(@includes, &quot;&lt;$include&gt;&quot;);
-        } else {
-            push(@includes, &quot;\&quot;$include\&quot;&quot;);
-        }
-    }
-
-    foreach my $include (sort @includes) {
-        # &quot;className.h&quot; is already included right after config.h, silence check-webkit-style
-        next if $include eq &quot;\&quot;$prefix$name.h\&quot;&quot;;
-        $contents .= &quot;#include $include\n&quot;;
-    }
-    $contents .= &quot;\n&quot;;
-
-    $contents .= join &quot;&quot;, @implContent;
-    $codeGenerator-&gt;UpdateFile($implFileName, $contents);
-
-    @implContentHeader = ();
-    @implContent = ();
-    %implIncludes = ();
-}
-
-1;
</del></span></pre></div>
<a id="trunkSourceWebCorecssStyleSheetidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/StyleSheet.idl (163388 => 163389)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/StyleSheet.idl        2014-02-04 18:41:07 UTC (rev 163388)
+++ trunk/Source/WebCore/css/StyleSheet.idl        2014-02-04 18:51:07 UTC (rev 163389)
</span><span class="lines">@@ -33,11 +33,5 @@
</span><span class="cx">     [TreatReturnedNullStringAs=Null] readonly attribute DOMString        href;
</span><span class="cx">     [TreatReturnedNullStringAs=Null] readonly attribute DOMString        title;
</span><span class="cx">     readonly attribute MediaList        media;
</span><del>-
-#if defined(LANGUAGE_CPP) &amp;&amp; LANGUAGE_CPP
-    // Extra WebCore methods exposed to allowe compile-time casting in C++
-    boolean isCSSStyleSheet();
-#endif
-
</del><span class="cx"> };
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoredomCustomEventidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/CustomEvent.idl (163388 => 163389)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/CustomEvent.idl        2014-02-04 18:41:07 UTC (rev 163388)
+++ trunk/Source/WebCore/dom/CustomEvent.idl        2014-02-04 18:51:07 UTC (rev 163389)
</span><span class="lines">@@ -23,7 +23,6 @@
</span><span class="cx">  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
</span><span class="cx">  */
</span><span class="cx"> 
</span><del>-#if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP
</del><span class="cx"> // Introduced in DOM Level 3:
</span><span class="cx"> [
</span><span class="cx">     ConstructorTemplate=Event,
</span><span class="lines">@@ -35,5 +34,4 @@
</span><span class="cx">                          [Default=Undefined] optional boolean cancelableArg, 
</span><span class="cx">                          [Default=Undefined] optional any detailArg);
</span><span class="cx"> };
</span><del>-#endif
</del><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoredomDocumentidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Document.idl (163388 => 163389)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Document.idl        2014-02-04 18:41:07 UTC (rev 163388)
+++ trunk/Source/WebCore/dom/Document.idl        2014-02-04 18:51:07 UTC (rev 163389)
</span><span class="lines">@@ -201,11 +201,9 @@
</span><span class="cx">                                               
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-#if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP
</del><span class="cx"> #if !defined(LANGUAGE_OBJECTIVE_C) || !LANGUAGE_OBJECTIVE_C
</span><span class="cx">     CanvasRenderingContext getCSSCanvasContext(DOMString contextId, DOMString name, long width, long height);
</span><span class="cx"> #endif
</span><del>-#endif
</del><span class="cx"> 
</span><span class="cx">     // HTML 5
</span><span class="cx">     NodeList getElementsByClassName([Default=Undefined] optional DOMString tagname);
</span><span class="lines">@@ -344,11 +342,6 @@
</span><span class="cx"> #endif // defined(WTF_PLATFORM_IOS) &amp;&amp; WTF_PLATFORM_IOS
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-#if defined(LANGUAGE_CPP) &amp;&amp; LANGUAGE_CPP
-    // Extra WebCore methods exposed to allow compile-time casting in C++
-    boolean isHTMLDocument();
-#endif
-
</del><span class="cx">     // Page visibility API.
</span><span class="cx">     [Conditional=PAGE_VISIBILITY_API] readonly attribute DOMString visibilityState;
</span><span class="cx">     [Conditional=PAGE_VISIBILITY_API] readonly attribute boolean hidden;
</span></span></pre></div>
<a id="trunkSourceWebCoredomEventidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Event.idl (163388 => 163389)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Event.idl        2014-02-04 18:41:07 UTC (rev 163388)
+++ trunk/Source/WebCore/dom/Event.idl        2014-02-04 18:51:07 UTC (rev 163389)
</span><span class="lines">@@ -79,11 +79,5 @@
</span><span class="cx">     [Custom] readonly attribute Clipboard        clipboardData;
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-#if defined(LANGUAGE_CPP) &amp;&amp; LANGUAGE_CPP
-    // Extra WebCore methods exposed to allow compile-time casting in C++
-    boolean isMouseEvent();
-    boolean isUIEvent();
-#endif
-
</del><span class="cx"> };
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoredomNodeidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Node.idl (163388 => 163389)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Node.idl        2014-02-04 18:41:07 UTC (rev 163388)
+++ trunk/Source/WebCore/dom/Node.idl        2014-02-04 18:51:07 UTC (rev 163389)
</span><span class="lines">@@ -122,7 +122,6 @@
</span><span class="cx">     void inspect();
</span><span class="cx"> #endif /* defined(LANGUAGE_OBJECTIVE_C) */
</span><span class="cx"> 
</span><del>-#if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP
</del><span class="cx"> #if !defined(LANGUAGE_OBJECTIVE_C) || !LANGUAGE_OBJECTIVE_C
</span><span class="cx">     void addEventListener(DOMString type, 
</span><span class="cx">                           EventListener listener, 
</span><span class="lines">@@ -132,17 +131,6 @@
</span><span class="cx">                              optional boolean useCapture);
</span><span class="cx">     [RaisesException] boolean dispatchEvent(Event event);
</span><span class="cx"> #endif
</span><del>-#endif
</del><span class="cx"> 
</span><del>-#if defined(LANGUAGE_CPP) &amp;&amp; LANGUAGE_CPP
-    [Custom] void addEventListener(DOMString type, 
-                                      EventListener listener, 
-                                      boolean useCapture);
-    [Custom] void removeEventListener(DOMString type, 
-                                         EventListener listener, 
-                                         boolean useCapture);
-    [RaisesException] boolean dispatchEvent(Event event);
-#endif
-
</del><span class="cx"> };
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoredomPopStateEventidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/PopStateEvent.idl (163388 => 163389)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/PopStateEvent.idl        2014-02-04 18:41:07 UTC (rev 163388)
+++ trunk/Source/WebCore/dom/PopStateEvent.idl        2014-02-04 18:51:07 UTC (rev 163389)
</span><span class="lines">@@ -24,11 +24,9 @@
</span><span class="cx">  *
</span><span class="cx">  */
</span><span class="cx"> 
</span><del>-#if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP
</del><span class="cx"> [
</span><span class="cx">     ConstructorTemplate=Event
</span><span class="cx"> ] interface PopStateEvent : Event {
</span><span class="cx">     [InitializedByEventConstructor, CachedAttribute, CustomGetter] readonly attribute any state;
</span><span class="cx"> };
</span><del>-#endif
</del><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLCanvasElementidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLCanvasElement.idl (163388 => 163389)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLCanvasElement.idl        2014-02-04 18:41:07 UTC (rev 163388)
+++ trunk/Source/WebCore/html/HTMLCanvasElement.idl        2014-02-04 18:51:07 UTC (rev 163389)
</span><span class="lines">@@ -33,13 +33,11 @@
</span><span class="cx"> 
</span><span class="cx">     [Custom, RaisesException] DOMString toDataURL([TreatNullAs=NullString, TreatUndefinedAs=NullString,Default=Undefined] optional DOMString type);
</span><span class="cx"> 
</span><del>-#if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP
</del><span class="cx"> #if !defined(LANGUAGE_OBJECTIVE_C) || !LANGUAGE_OBJECTIVE_C
</span><span class="cx">     // The custom binding is needed to handle context creation attributes.
</span><span class="cx">     [Custom] any getContext([Default=Undefined] optional DOMString contextId);
</span><span class="cx">     [Custom] any probablySupportsContext([Default=Undefined] optional DOMString contextId);
</span><span class="cx"> #endif
</span><del>-#endif
</del><span class="cx"> 
</span><span class="cx"> };
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLInputElementidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLInputElement.idl (163388 => 163389)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLInputElement.idl        2014-02-04 18:41:07 UTC (rev 163388)
+++ trunk/Source/WebCore/html/HTMLInputElement.idl        2014-02-04 18:51:07 UTC (rev 163389)
</span><span class="lines">@@ -62,9 +62,7 @@
</span><span class="cx"> #else
</span><span class="cx">     [TreatNullAs=NullString] attribute DOMString value;
</span><span class="cx"> #endif
</span><del>-#if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP
</del><span class="cx">     [SetterRaisesException] attribute Date valueAsDate;
</span><del>-#endif
</del><span class="cx">     [SetterRaisesException] attribute double valueAsNumber;
</span><span class="cx"> 
</span><span class="cx">     [RaisesException] void stepUp(optional long n);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasCanvasRenderingContext2Didl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/CanvasRenderingContext2D.idl (163388 => 163389)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/CanvasRenderingContext2D.idl        2014-02-04 18:41:07 UTC (rev 163388)
+++ trunk/Source/WebCore/html/canvas/CanvasRenderingContext2D.idl        2014-02-04 18:51:07 UTC (rev 163389)
</span><span class="lines">@@ -96,12 +96,10 @@
</span><span class="cx">     void setAlpha([Default=Undefined] optional float alpha);
</span><span class="cx">     void setCompositeOperation([Default=Undefined] optional DOMString compositeOperation);
</span><span class="cx"> 
</span><del>-#if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP
</del><span class="cx">     void setLineWidth([Default=Undefined] optional float width);
</span><span class="cx">     void setLineCap([Default=Undefined] optional DOMString cap);
</span><span class="cx">     void setLineJoin([Default=Undefined] optional DOMString join);
</span><span class="cx">     void setMiterLimit([Default=Undefined] optional float limit);
</span><del>-#endif
</del><span class="cx"> 
</span><span class="cx">     void clearShadow();
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorepageDOMWindowidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/DOMWindow.idl (163388 => 163389)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/DOMWindow.idl        2014-02-04 18:41:07 UTC (rev 163388)
+++ trunk/Source/WebCore/page/DOMWindow.idl        2014-02-04 18:51:07 UTC (rev 163389)
</span><span class="lines">@@ -51,9 +51,7 @@
</span><span class="cx">     [Replaceable] readonly attribute Navigator navigator;
</span><span class="cx">     [Replaceable] readonly attribute Navigator clientInformation;
</span><span class="cx">     readonly attribute Crypto crypto;
</span><del>-#if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP
</del><span class="cx">     [DoNotCheckSecurity, CustomSetter] attribute Location location;
</span><del>-#endif
</del><span class="cx">     [Replaceable, CustomGetter] readonly attribute Event event;
</span><span class="cx"> 
</span><span class="cx">     DOMSelection getSelection();
</span></span></pre></div>
<a id="trunkSourceWebCorepageLocationidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/Location.idl (163388 => 163389)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/Location.idl        2014-02-04 18:41:07 UTC (rev 163388)
+++ trunk/Source/WebCore/page/Location.idl        2014-02-04 18:51:07 UTC (rev 163389)
</span><span class="lines">@@ -37,26 +37,22 @@
</span><span class="cx">     JSCustomDefineOwnPropertyOnPrototype,
</span><span class="cx">     OperationsNotDeletable
</span><span class="cx"> ] interface Location {
</span><del>-#if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP
-             [DoNotCheckSecurityOnSetter, CustomSetter] attribute DOMString href;
-#endif
</del><ins>+    [DoNotCheckSecurityOnSetter, CustomSetter] attribute DOMString href;
</ins><span class="cx"> 
</span><span class="cx">     [Custom] void assign([Default=Undefined] optional DOMString url);
</span><span class="cx">     [Custom] void replace([Default=Undefined] optional DOMString url);
</span><span class="cx">     [Custom] void reload();
</span><span class="cx"> 
</span><span class="cx">     // URI decomposition attributes
</span><del>-#if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP
-             [CustomSetter] attribute DOMString protocol;
-             [CustomSetter] attribute DOMString host;
-             [CustomSetter] attribute DOMString hostname;
-             [CustomSetter] attribute DOMString port;
-             [CustomSetter] attribute DOMString pathname;
-             [CustomSetter] attribute DOMString search;
-             [CustomSetter] attribute DOMString hash;
</del><ins>+    [CustomSetter] attribute DOMString protocol;
+    [CustomSetter] attribute DOMString host;
+    [CustomSetter] attribute DOMString hostname;
+    [CustomSetter] attribute DOMString port;
+    [CustomSetter] attribute DOMString pathname;
+    [CustomSetter] attribute DOMString search;
+    [CustomSetter] attribute DOMString hash;
</ins><span class="cx"> 
</span><del>-             readonly attribute DOMString origin;
-#endif
</del><ins>+    readonly attribute DOMString origin;
</ins><span class="cx"> 
</span><span class="cx">     readonly attribute DOMStringList ancestorOrigins;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreworkersDedicatedWorkerGlobalScopeidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/workers/DedicatedWorkerGlobalScope.idl (163388 => 163389)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/workers/DedicatedWorkerGlobalScope.idl        2014-02-04 18:41:07 UTC (rev 163388)
+++ trunk/Source/WebCore/workers/DedicatedWorkerGlobalScope.idl        2014-02-04 18:51:07 UTC (rev 163389)
</span><span class="lines">@@ -34,14 +34,12 @@
</span><span class="cx">     JSNoStaticTables,
</span><span class="cx"> ] interface DedicatedWorkerGlobalScope : WorkerGlobalScope {
</span><span class="cx"> 
</span><del>-#if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP
</del><span class="cx"> #if defined(LANGUAGE_JAVASCRIPT) &amp;&amp; LANGUAGE_JAVASCRIPT
</span><span class="cx">     [Custom, RaisesException] void postMessage(any message, optional Array messagePorts);
</span><span class="cx"> #else
</span><span class="cx">     // There's no good way to expose an array via the ObjC bindings, so for now just allow passing in a single port.
</span><span class="cx">     [RaisesException] void postMessage(DOMString message, optional MessagePort messagePort);
</span><span class="cx"> #endif
</span><del>-#endif
</del><span class="cx"> 
</span><span class="cx">              attribute EventListener onmessage;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkToolsScriptsrunbindingstests"></a>
<div class="modfile"><h4>Modified: trunk/Tools/Scripts/run-bindings-tests (163388 => 163389)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/Scripts/run-bindings-tests        2014-02-04 18:41:07 UTC (rev 163388)
+++ trunk/Tools/Scripts/run-bindings-tests        2014-02-04 18:51:07 UTC (rev 163389)
</span><span class="lines">@@ -44,8 +44,7 @@
</span><span class="cx">     generators = [
</span><span class="cx">         'JS',
</span><span class="cx">         'ObjC',
</span><del>-        'GObject',
-        'CPP'
</del><ins>+        'GObject'
</ins><span class="cx">     ]
</span><span class="cx"> 
</span><span class="cx">     from webkitpy.bindings.main import BindingsTests
</span></span></pre>
</div>
</div>

</body>
</html>