Diff
Modified: trunk/Source/WebCore/CMakeLists.txt (108786 => 108787)
--- trunk/Source/WebCore/CMakeLists.txt 2012-02-24 14:36:38 UTC (rev 108786)
+++ trunk/Source/WebCore/CMakeLists.txt 2012-02-24 14:37:36 UTC (rev 108787)
@@ -391,6 +391,7 @@
websockets/CloseEvent.idl
websockets/DOMWindowWebSocket.idl
+ xml/DOMWindowXML.idl
xml/DOMParser.idl
xml/XMLHttpRequest.idl
xml/XMLHttpRequestException.idl
Modified: trunk/Source/WebCore/ChangeLog (108786 => 108787)
--- trunk/Source/WebCore/ChangeLog 2012-02-24 14:36:38 UTC (rev 108786)
+++ trunk/Source/WebCore/ChangeLog 2012-02-24 14:37:36 UTC (rev 108787)
@@ -1,3 +1,25 @@
+2012-02-24 Kentaro Hara <[email protected]>
+
+ Move XML-related APIs from DOMWindow.idl to DOMWindowXML.idl
+ https://bugs.webkit.org/show_bug.cgi?id=79434
+
+ Reviewed by Adam Barth.
+
+ For WebKit modularization, this patch moves XML-related APIs
+ from DOMWindow.idl to DOMWIndowXML.idl.
+
+ No tests. No change in behavior.
+
+ * xml/DOMWindowXML.idl: Added.
+ * page/DOMWindow.idl:
+
+ * CMakeLists.txt: Added "DOMWindowXML.idl".
+ * DerivedSources.make: Ditto.
+ * DerivedSources.pri: Ditto.
+ * GNUmakefile.list.am: Ditto.
+ * WebCore.gypi: Ditto.
+ * WebCore.xcodeproj/project.pbxproj: Ditto.
+
2012-02-24 Renata Hodovan <[email protected]>
External <use> xlink:href references do not work
Modified: trunk/Source/WebCore/DerivedSources.make (108786 => 108787)
--- trunk/Source/WebCore/DerivedSources.make 2012-02-24 14:36:38 UTC (rev 108786)
+++ trunk/Source/WebCore/DerivedSources.make 2012-02-24 14:37:36 UTC (rev 108787)
@@ -572,6 +572,7 @@
$(WebCore)/workers/Worker.idl \
$(WebCore)/workers/WorkerContext.idl \
$(WebCore)/workers/WorkerLocation.idl \
+ $(WebCore)/xml/DOMWindowXML.idl \
$(WebCore)/xml/DOMParser.idl \
$(WebCore)/xml/XMLHttpRequest.idl \
$(WebCore)/xml/XMLHttpRequestException.idl \
Modified: trunk/Source/WebCore/DerivedSources.pri (108786 => 108787)
--- trunk/Source/WebCore/DerivedSources.pri 2012-02-24 14:36:38 UTC (rev 108786)
+++ trunk/Source/WebCore/DerivedSources.pri 2012-02-24 14:37:36 UTC (rev 108787)
@@ -437,6 +437,7 @@
$$PWD/workers/Worker.idl \
$$PWD/workers/WorkerContext.idl \
$$PWD/workers/WorkerLocation.idl \
+ $$PWD/xml/DOMWindowXML.idl \
$$PWD/xml/DOMParser.idl \
$$PWD/xml/XMLHttpRequest.idl \
$$PWD/xml/XMLHttpRequestException.idl \
Modified: trunk/Source/WebCore/GNUmakefile.list.am (108786 => 108787)
--- trunk/Source/WebCore/GNUmakefile.list.am 2012-02-24 14:36:38 UTC (rev 108786)
+++ trunk/Source/WebCore/GNUmakefile.list.am 2012-02-24 14:37:36 UTC (rev 108787)
@@ -942,6 +942,7 @@
$(WebCore)/workers/Worker.idl \
$(WebCore)/workers/WorkerContext.idl \
$(WebCore)/workers/WorkerLocation.idl \
+ $(WebCore)/xml/DOMWindowXML.idl \
$(WebCore)/xml/DOMParser.idl \
$(WebCore)/xml/XMLHttpRequest.idl \
$(WebCore)/xml/XMLHttpRequestException.idl \
Modified: trunk/Source/WebCore/WebCore.gypi (108786 => 108787)
--- trunk/Source/WebCore/WebCore.gypi 2012-02-24 14:36:38 UTC (rev 108786)
+++ trunk/Source/WebCore/WebCore.gypi 2012-02-24 14:37:36 UTC (rev 108787)
@@ -1110,6 +1110,7 @@
'workers/Worker.idl',
'workers/WorkerContext.idl',
'workers/WorkerLocation.idl',
+ 'xml/DOMWindowXML.idl',
'xml/DOMParser.idl',
'xml/XMLHttpRequest.idl',
'xml/XMLHttpRequestException.idl',
Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (108786 => 108787)
--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj 2012-02-24 14:36:38 UTC (rev 108786)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj 2012-02-24 14:37:36 UTC (rev 108787)
@@ -10678,6 +10678,7 @@
A833C80B0A2CF25600D57664 /* XMLNames.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = XMLNames.h; sourceTree = "<group>"; };
A83B533814F399BB00720D9D /* IDLAttributes.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = IDLAttributes.txt; path = scripts/IDLAttributes.txt; sourceTree = "<group>"; };
A83B535B14F7413A00720D9D /* DOMWindowWebGL.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DOMWindowWebGL.idl; path = canvas/DOMWindowWebGL.idl; sourceTree = "<group>"; };
+ A83B536C14F749E200720D9D /* DOMWindowXML.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = DOMWindowXML.idl; sourceTree = "<group>"; };
A83B78F20CCAFF15000B0825 /* JSSVGFontFaceUriElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSSVGFontFaceUriElement.h; sourceTree = "<group>"; };
A83B78F30CCAFF15000B0825 /* JSSVGFontFaceUriElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSSVGFontFaceUriElement.cpp; sourceTree = "<group>"; };
A83B78F40CCAFF15000B0825 /* JSSVGFontFaceSrcElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSSVGFontFaceSrcElement.h; sourceTree = "<group>"; };
@@ -20017,6 +20018,7 @@
E1F0424309839389006694EA /* xml */ = {
isa = PBXGroup;
children = (
+ A83B536C14F749E200720D9D /* DOMWindowXML.idl */,
00B9318013BA867F0035A948 /* parser */,
1ACE53E10A8D18E70022947D /* DOMParser.cpp */,
1ACE53E20A8D18E70022947D /* DOMParser.h */,
Modified: trunk/Source/WebCore/page/DOMWindow.idl (108786 => 108787)
--- trunk/Source/WebCore/page/DOMWindow.idl 2012-02-24 14:36:38 UTC (rev 108786)
+++ trunk/Source/WebCore/page/DOMWindow.idl 2012-02-24 14:37:36 UTC (rev 108787)
@@ -437,7 +437,6 @@
attribute WebKitAnimationEventConstructor WebKitAnimationEvent;
attribute WebKitTransitionEventConstructor WebKitTransitionEvent;
attribute WheelEventConstructor WheelEvent;
- attribute XMLHttpRequestProgressEventConstructor XMLHttpRequestProgressEvent;
attribute [Conditional=DEVICE_ORIENTATION, V8EnabledAtRuntime] DeviceMotionEventConstructor DeviceMotionEvent;
attribute [Conditional=DEVICE_ORIENTATION, V8EnabledAtRuntime] DeviceOrientationEventConstructor DeviceOrientationEvent;
attribute [Conditional=TOUCH_EVENTS] TouchEventConstructor TouchEvent;
@@ -467,19 +466,6 @@
attribute EventSourceConstructor EventSource; // Usable with new the operator
- // Mozilla has a separate XMLDocument object for XML documents.
- // We just use Document for this.
- attribute DocumentConstructor XMLDocument;
-
- attribute DOMParserConstructor DOMParser;
- attribute XMLSerializerConstructor XMLSerializer;
-
- attribute XMLHttpRequestConstructor XMLHttpRequest; // Usable with the new operator
- attribute XMLHttpRequestUploadConstructor XMLHttpRequestUpload;
- attribute XMLHttpRequestExceptionConstructor XMLHttpRequestException;
-
- attribute [Conditional=XSLT] XSLTProcessorConstructor XSLTProcessor; // Usable with the new operator
-
#if defined(ENABLE_CHANNEL_MESSAGING) && ENABLE_CHANNEL_MESSAGING
attribute MessagePortConstructor MessagePort;
attribute MessageChannelConstructor MessageChannel; // Usable with the new operator
Added: trunk/Source/WebCore/xml/DOMWindowXML.idl (0 => 108787)
--- trunk/Source/WebCore/xml/DOMWindowXML.idl (rev 0)
+++ trunk/Source/WebCore/xml/DOMWindowXML.idl 2012-02-24 14:37:36 UTC (rev 108787)
@@ -0,0 +1,37 @@
+/*
+ * Copyright (C) 2012 Google Inc. 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.
+ */
+
+module window {
+
+ interface [
+ Supplemental=DOMWindow
+ ] DOMWindowXML {
+ // Mozilla has a separate XMLDocument object for XML documents.
+ // We just use Document for this.
+ attribute DocumentConstructor XMLDocument;
+ attribute DOMParserConstructor DOMParser;
+ attribute XMLSerializerConstructor XMLSerializer;
+ attribute XMLHttpRequestConstructor XMLHttpRequest; // Usable with the new operator
+ attribute XMLHttpRequestUploadConstructor XMLHttpRequestUpload;
+ attribute XMLHttpRequestExceptionConstructor XMLHttpRequestException;
+ attribute XMLHttpRequestProgressEventConstructor XMLHttpRequestProgressEvent;
+ attribute [Conditional=XSLT] XSLTProcessorConstructor XSLTProcessor; // Usable with the new operator
+ };
+
+}