https://bugs.webkit.org/show_bug.cgi?id=79432
Reviewed by Adam Barth.
For WebKit modularization, this patch moves WebGL-related APIs
from DOMWindow.idl to DOMWindowWebGL.idl.
No tests. No change in behavior.
* html/canvas/DOMWindowWebGL.idl: Added.
* page/DOMWindow.idl:
* DerivedSources.make: Added DOMWindowWebGL.idl.
* DerivedSources.pri: Ditto.
* GNUmakefile.list.am: Ditto.
* WebCore.gypi: Ditto.
* WebCore.xcodeproj/project.pbxproj: Ditto.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108768
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2012-02-24 Kentaro Hara <haraken@chromium.org>
+
+ Move WebGL APIs from DOMWindow.idl to DOMWindowWebGL.idl
+ https://bugs.webkit.org/show_bug.cgi?id=79432
+
+ Reviewed by Adam Barth.
+
+ For WebKit modularization, this patch moves WebGL-related APIs
+ from DOMWindow.idl to DOMWindowWebGL.idl.
+
+ No tests. No change in behavior.
+
+ * html/canvas/DOMWindowWebGL.idl: Added.
+ * page/DOMWindow.idl:
+
+ * DerivedSources.make: Added DOMWindowWebGL.idl.
+ * DerivedSources.pri: Ditto.
+ * GNUmakefile.list.am: Ditto.
+ * WebCore.gypi: Ditto.
+ * WebCore.xcodeproj/project.pbxproj: Ditto.
+
2012-02-24 Vsevolod Vlasov <vsevik@chromium.org>
Web Inspector: [Regression] network worker tests crash on qt.
$(WebCore)/html/canvas/CanvasPattern.idl \
$(WebCore)/html/canvas/CanvasRenderingContext.idl \
$(WebCore)/html/canvas/CanvasRenderingContext2D.idl \
+ $(WebCore)/html/canvas/DOMWindowWebGL.idl \
$(WebCore)/html/canvas/DataView.idl \
$(WebCore)/html/canvas/Float32Array.idl \
$(WebCore)/html/canvas/Float64Array.idl \
$$PWD/fileapi/WebKitBlobBuilder.idl \
$$PWD/html/canvas/ArrayBufferView.idl \
$$PWD/html/canvas/ArrayBuffer.idl \
+ $$PWD/html/canvas/DOMWindowWebGL.idl \
$$PWD/html/canvas/DataView.idl \
$$PWD/html/canvas/Int8Array.idl \
$$PWD/html/canvas/Float32Array.idl \
$(WebCore)/html/canvas/CanvasPattern.idl \
$(WebCore)/html/canvas/CanvasRenderingContext.idl \
$(WebCore)/html/canvas/CanvasRenderingContext2D.idl \
+ $(WebCore)/html/canvas/DOMWindowWebGL.idl \
$(WebCore)/html/canvas/DataView.idl \
$(WebCore)/html/canvas/Float32Array.idl \
$(WebCore)/html/canvas/Float64Array.idl \
'html/canvas/CanvasPixelArray.idl',
'html/canvas/CanvasRenderingContext.idl',
'html/canvas/CanvasRenderingContext2D.idl',
+ 'html/canvas/DOMWindowWebGL.idl',
'html/canvas/DataView.idl',
'html/canvas/Float32Array.idl',
'html/canvas/Float64Array.idl',
A833C80A0A2CF25600D57664 /* XMLNames.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = XMLNames.cpp; sourceTree = "<group>"; };
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>"; };
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>"; };
49484FAE102CF01E00187DD3 /* canvas */ = {
isa = PBXGroup;
children = (
+ A83B535B14F7413A00720D9D /* DOMWindowWebGL.idl */,
49EECDCC10503C2300099FAB /* ArrayBuffer.idl */,
49EECDC910503C2300099FAB /* ArrayBufferView.idl */,
6E4E91A710F7FB3100A2779C /* CanvasContextAttributes.cpp */,
--- /dev/null
+/*
+ * 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 [
+ Conditional=WEBGL,
+ Supplemental=DOMWindow
+ ] DOMWindowWebGL {
+ attribute WebGLActiveInfoConstructor WebGLActiveInfo;
+ attribute WebGLBufferConstructor WebGLBuffer;
+ attribute WebGLFramebufferConstructor WebGLFramebuffer;
+ attribute WebGLProgramConstructor WebGLProgram;
+ attribute WebGLRenderbufferConstructor WebGLRenderbuffer;
+ attribute WebGLRenderingContextConstructor WebGLRenderingContext;
+ attribute WebGLShaderConstructor WebGLShader;
+ attribute WebGLTextureConstructor WebGLTexture;
+ attribute WebGLUniformLocationConstructor WebGLUniformLocation;
+ };
+
+}
attribute CanvasRenderingContext2DConstructor CanvasRenderingContext2D;
attribute ImageDataConstructor ImageData;
- attribute [Conditional=WEBGL] WebGLActiveInfoConstructor WebGLActiveInfo;
- attribute [Conditional=WEBGL] WebGLBufferConstructor WebGLBuffer;
- attribute [Conditional=WEBGL] WebGLFramebufferConstructor WebGLFramebuffer;
- attribute [Conditional=WEBGL] WebGLProgramConstructor WebGLProgram;
- attribute [Conditional=WEBGL] WebGLRenderbufferConstructor WebGLRenderbuffer;
- attribute [Conditional=WEBGL] WebGLRenderingContextConstructor WebGLRenderingContext;
- attribute [Conditional=WEBGL] WebGLShaderConstructor WebGLShader;
- attribute [Conditional=WEBGL] WebGLTextureConstructor WebGLTexture;
- attribute [Conditional=WEBGL] WebGLUniformLocationConstructor WebGLUniformLocation;
attribute TextMetricsConstructor TextMetrics;
attribute DOMStringMapConstructor DOMStringMap;