Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(698)

Unified Diff: sdk/lib/web_gl/dartium/web_gl_dartium.dart

Issue 1392723003: Switch dart:html objects not to be NativeFieldWrapper subclasses with JsInterop (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/web_audio/dartium/web_audio_dartium.dart ('k') | sdk/lib/web_sql/dartium/web_sql_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/web_gl/dartium/web_gl_dartium.dart
diff --git a/sdk/lib/web_gl/dartium/web_gl_dartium.dart b/sdk/lib/web_gl/dartium/web_gl_dartium.dart
index 356cca83519e8463b2f85edbb6eb3b7676628f5c..1805e18a75fb6ccac50a7e7b983db7c4a27204c4 100644
--- a/sdk/lib/web_gl/dartium/web_gl_dartium.dart
+++ b/sdk/lib/web_gl/dartium/web_gl_dartium.dart
@@ -408,7 +408,7 @@ const int ZERO = RenderingContext.ZERO;
@DocsEditable()
@DomName('WebGLActiveInfo')
@Unstable()
-class ActiveInfo extends NativeFieldWrapperClass2 {
+class ActiveInfo extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory ActiveInfo._() { throw new UnsupportedError("Not supported"); }
@@ -416,8 +416,6 @@ class ActiveInfo extends NativeFieldWrapperClass2 {
return new ActiveInfo._internalWrap();
}
- js.JsObject blink_jsObject;
-
factory ActiveInfo._internalWrap() {
return new ActiveInfo.internal_();
}
@@ -450,7 +448,7 @@ class ActiveInfo extends NativeFieldWrapperClass2 {
@DocsEditable()
@DomName('ANGLEInstancedArrays')
@Experimental() // untriaged
-class AngleInstancedArrays extends NativeFieldWrapperClass2 {
+class AngleInstancedArrays extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory AngleInstancedArrays._() { throw new UnsupportedError("Not supported"); }
@@ -458,8 +456,6 @@ class AngleInstancedArrays extends NativeFieldWrapperClass2 {
return new AngleInstancedArrays._internalWrap();
}
- js.JsObject blink_jsObject;
-
factory AngleInstancedArrays._internalWrap() {
return new AngleInstancedArrays.internal_();
}
@@ -500,7 +496,7 @@ class AngleInstancedArrays extends NativeFieldWrapperClass2 {
@DocsEditable()
@DomName('WebGLBuffer')
@Unstable()
-class Buffer extends NativeFieldWrapperClass2 {
+class Buffer extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory Buffer._() { throw new UnsupportedError("Not supported"); }
@@ -508,8 +504,6 @@ class Buffer extends NativeFieldWrapperClass2 {
return new Buffer._internalWrap();
}
- js.JsObject blink_jsObject;
-
factory Buffer._internalWrap() {
return new Buffer.internal_();
}
@@ -531,7 +525,7 @@ class Buffer extends NativeFieldWrapperClass2 {
@DomName('WebGLCompressedTextureATC')
// http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_atc/
@Experimental()
-class CompressedTextureAtc extends NativeFieldWrapperClass2 {
+class CompressedTextureAtc extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory CompressedTextureAtc._() { throw new UnsupportedError("Not supported"); }
@@ -539,8 +533,6 @@ class CompressedTextureAtc extends NativeFieldWrapperClass2 {
return new CompressedTextureAtc._internalWrap();
}
- js.JsObject blink_jsObject;
-
factory CompressedTextureAtc._internalWrap() {
return new CompressedTextureAtc.internal_();
}
@@ -573,7 +565,7 @@ class CompressedTextureAtc extends NativeFieldWrapperClass2 {
@DocsEditable()
@DomName('WebGLCompressedTextureETC1')
@Experimental() // untriaged
-class CompressedTextureETC1 extends NativeFieldWrapperClass2 {
+class CompressedTextureETC1 extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory CompressedTextureETC1._() { throw new UnsupportedError("Not supported"); }
@@ -581,8 +573,6 @@ class CompressedTextureETC1 extends NativeFieldWrapperClass2 {
return new CompressedTextureETC1._internalWrap();
}
- js.JsObject blink_jsObject;
-
factory CompressedTextureETC1._internalWrap() {
return new CompressedTextureETC1.internal_();
}
@@ -609,7 +599,7 @@ class CompressedTextureETC1 extends NativeFieldWrapperClass2 {
@DomName('WebGLCompressedTexturePVRTC')
// http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_pvrtc/
@Experimental() // experimental
-class CompressedTexturePvrtc extends NativeFieldWrapperClass2 {
+class CompressedTexturePvrtc extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory CompressedTexturePvrtc._() { throw new UnsupportedError("Not supported"); }
@@ -617,8 +607,6 @@ class CompressedTexturePvrtc extends NativeFieldWrapperClass2 {
return new CompressedTexturePvrtc._internalWrap();
}
- js.JsObject blink_jsObject;
-
factory CompressedTexturePvrtc._internalWrap() {
return new CompressedTexturePvrtc.internal_();
}
@@ -656,7 +644,7 @@ class CompressedTexturePvrtc extends NativeFieldWrapperClass2 {
@DomName('WebGLCompressedTextureS3TC')
// http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_s3tc/
@Experimental() // experimental
-class CompressedTextureS3TC extends NativeFieldWrapperClass2 {
+class CompressedTextureS3TC extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory CompressedTextureS3TC._() { throw new UnsupportedError("Not supported"); }
@@ -664,8 +652,6 @@ class CompressedTextureS3TC extends NativeFieldWrapperClass2 {
return new CompressedTextureS3TC._internalWrap();
}
- js.JsObject blink_jsObject;
-
factory CompressedTextureS3TC._internalWrap() {
return new CompressedTextureS3TC.internal_();
}
@@ -724,7 +710,7 @@ class CompressedTextureS3TC extends NativeFieldWrapperClass2 {
*/
@DomName('WebGLContextAttributes')
@Unstable()
-class ContextAttributes extends NativeFieldWrapperClass2 {
+class ContextAttributes extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory ContextAttributes._() { throw new UnsupportedError("Not supported"); }
@@ -732,8 +718,6 @@ class ContextAttributes extends NativeFieldWrapperClass2 {
return new ContextAttributes._internalWrap();
}
- js.JsObject blink_jsObject;
-
factory ContextAttributes._internalWrap() {
return new ContextAttributes.internal_();
}
@@ -844,7 +828,7 @@ class ContextEvent extends Event {
@DomName('WebGLDebugRendererInfo')
// http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_renderer_info/
@Experimental() // experimental
-class DebugRendererInfo extends NativeFieldWrapperClass2 {
+class DebugRendererInfo extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory DebugRendererInfo._() { throw new UnsupportedError("Not supported"); }
@@ -852,8 +836,6 @@ class DebugRendererInfo extends NativeFieldWrapperClass2 {
return new DebugRendererInfo._internalWrap();
}
- js.JsObject blink_jsObject;
-
factory DebugRendererInfo._internalWrap() {
return new DebugRendererInfo.internal_();
}
@@ -883,7 +865,7 @@ class DebugRendererInfo extends NativeFieldWrapperClass2 {
@DomName('WebGLDebugShaders')
// http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_shaders/
@Experimental() // experimental
-class DebugShaders extends NativeFieldWrapperClass2 {
+class DebugShaders extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory DebugShaders._() { throw new UnsupportedError("Not supported"); }
@@ -891,8 +873,6 @@ class DebugShaders extends NativeFieldWrapperClass2 {
return new DebugShaders._internalWrap();
}
- js.JsObject blink_jsObject;
-
factory DebugShaders._internalWrap() {
return new DebugShaders.internal_();
}
@@ -918,7 +898,7 @@ class DebugShaders extends NativeFieldWrapperClass2 {
@DomName('WebGLDepthTexture')
// http://www.khronos.org/registry/webgl/extensions/WEBGL_depth_texture/
@Experimental() // experimental
-class DepthTexture extends NativeFieldWrapperClass2 {
+class DepthTexture extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory DepthTexture._() { throw new UnsupportedError("Not supported"); }
@@ -926,8 +906,6 @@ class DepthTexture extends NativeFieldWrapperClass2 {
return new DepthTexture._internalWrap();
}
- js.JsObject blink_jsObject;
-
factory DepthTexture._internalWrap() {
return new DepthTexture.internal_();
}
@@ -953,7 +931,7 @@ class DepthTexture extends NativeFieldWrapperClass2 {
@DomName('WebGLDrawBuffers')
// http://www.khronos.org/registry/webgl/specs/latest/
@Experimental() // stable
-class DrawBuffers extends NativeFieldWrapperClass2 {
+class DrawBuffers extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory DrawBuffers._() { throw new UnsupportedError("Not supported"); }
@@ -961,8 +939,6 @@ class DrawBuffers extends NativeFieldWrapperClass2 {
return new DrawBuffers._internalWrap();
}
- js.JsObject blink_jsObject;
-
factory DrawBuffers._internalWrap() {
return new DrawBuffers.internal_();
}
@@ -1123,7 +1099,7 @@ class DrawBuffers extends NativeFieldWrapperClass2 {
@DocsEditable()
@DomName('EXTBlendMinMax')
@Experimental() // untriaged
-class ExtBlendMinMax extends NativeFieldWrapperClass2 {
+class ExtBlendMinMax extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory ExtBlendMinMax._() { throw new UnsupportedError("Not supported"); }
@@ -1131,8 +1107,6 @@ class ExtBlendMinMax extends NativeFieldWrapperClass2 {
return new ExtBlendMinMax._internalWrap();
}
- js.JsObject blink_jsObject;
-
factory ExtBlendMinMax._internalWrap() {
return new ExtBlendMinMax.internal_();
}
@@ -1164,7 +1138,7 @@ class ExtBlendMinMax extends NativeFieldWrapperClass2 {
@DomName('EXTFragDepth')
// http://www.khronos.org/registry/webgl/extensions/EXT_frag_depth/
@Experimental()
-class ExtFragDepth extends NativeFieldWrapperClass2 {
+class ExtFragDepth extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory ExtFragDepth._() { throw new UnsupportedError("Not supported"); }
@@ -1172,8 +1146,6 @@ class ExtFragDepth extends NativeFieldWrapperClass2 {
return new ExtFragDepth._internalWrap();
}
- js.JsObject blink_jsObject;
-
factory ExtFragDepth._internalWrap() {
return new ExtFragDepth.internal_();
}
@@ -1194,7 +1166,7 @@ class ExtFragDepth extends NativeFieldWrapperClass2 {
@DocsEditable()
@DomName('EXTShaderTextureLOD')
@Experimental() // untriaged
-class ExtShaderTextureLod extends NativeFieldWrapperClass2 {
+class ExtShaderTextureLod extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory ExtShaderTextureLod._() { throw new UnsupportedError("Not supported"); }
@@ -1202,8 +1174,6 @@ class ExtShaderTextureLod extends NativeFieldWrapperClass2 {
return new ExtShaderTextureLod._internalWrap();
}
- js.JsObject blink_jsObject;
-
factory ExtShaderTextureLod._internalWrap() {
return new ExtShaderTextureLod.internal_();
}
@@ -1225,7 +1195,7 @@ class ExtShaderTextureLod extends NativeFieldWrapperClass2 {
@DomName('EXTTextureFilterAnisotropic')
// http://www.khronos.org/registry/webgl/extensions/EXT_texture_filter_anisotropic/
@Experimental()
-class ExtTextureFilterAnisotropic extends NativeFieldWrapperClass2 {
+class ExtTextureFilterAnisotropic extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory ExtTextureFilterAnisotropic._() { throw new UnsupportedError("Not supported"); }
@@ -1233,8 +1203,6 @@ class ExtTextureFilterAnisotropic extends NativeFieldWrapperClass2 {
return new ExtTextureFilterAnisotropic._internalWrap();
}
- js.JsObject blink_jsObject;
-
factory ExtTextureFilterAnisotropic._internalWrap() {
return new ExtTextureFilterAnisotropic.internal_();
}
@@ -1263,7 +1231,7 @@ class ExtTextureFilterAnisotropic extends NativeFieldWrapperClass2 {
@DocsEditable()
@DomName('WebGLFramebuffer')
@Unstable()
-class Framebuffer extends NativeFieldWrapperClass2 {
+class Framebuffer extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory Framebuffer._() { throw new UnsupportedError("Not supported"); }
@@ -1271,8 +1239,6 @@ class Framebuffer extends NativeFieldWrapperClass2 {
return new Framebuffer._internalWrap();
}
- js.JsObject blink_jsObject;
-
factory Framebuffer._internalWrap() {
return new Framebuffer.internal_();
}
@@ -1294,7 +1260,7 @@ class Framebuffer extends NativeFieldWrapperClass2 {
@DomName('WebGLLoseContext')
// http://www.khronos.org/registry/webgl/extensions/WEBGL_lose_context/
@Experimental()
-class LoseContext extends NativeFieldWrapperClass2 {
+class LoseContext extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory LoseContext._() { throw new UnsupportedError("Not supported"); }
@@ -1302,8 +1268,6 @@ class LoseContext extends NativeFieldWrapperClass2 {
return new LoseContext._internalWrap();
}
- js.JsObject blink_jsObject;
-
factory LoseContext._internalWrap() {
return new LoseContext.internal_();
}
@@ -1333,7 +1297,7 @@ class LoseContext extends NativeFieldWrapperClass2 {
@DomName('OESElementIndexUint')
// http://www.khronos.org/registry/webgl/extensions/OES_element_index_uint/
@Experimental() // experimental
-class OesElementIndexUint extends NativeFieldWrapperClass2 {
+class OesElementIndexUint extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory OesElementIndexUint._() { throw new UnsupportedError("Not supported"); }
@@ -1341,8 +1305,6 @@ class OesElementIndexUint extends NativeFieldWrapperClass2 {
return new OesElementIndexUint._internalWrap();
}
- js.JsObject blink_jsObject;
-
factory OesElementIndexUint._internalWrap() {
return new OesElementIndexUint.internal_();
}
@@ -1364,7 +1326,7 @@ class OesElementIndexUint extends NativeFieldWrapperClass2 {
@DomName('OESStandardDerivatives')
// http://www.khronos.org/registry/webgl/extensions/OES_standard_derivatives/
@Experimental() // experimental
-class OesStandardDerivatives extends NativeFieldWrapperClass2 {
+class OesStandardDerivatives extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory OesStandardDerivatives._() { throw new UnsupportedError("Not supported"); }
@@ -1372,8 +1334,6 @@ class OesStandardDerivatives extends NativeFieldWrapperClass2 {
return new OesStandardDerivatives._internalWrap();
}
- js.JsObject blink_jsObject;
-
factory OesStandardDerivatives._internalWrap() {
return new OesStandardDerivatives.internal_();
}
@@ -1399,7 +1359,7 @@ class OesStandardDerivatives extends NativeFieldWrapperClass2 {
@DomName('OESTextureFloat')
// http://www.khronos.org/registry/webgl/extensions/OES_texture_float/
@Experimental() // experimental
-class OesTextureFloat extends NativeFieldWrapperClass2 {
+class OesTextureFloat extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory OesTextureFloat._() { throw new UnsupportedError("Not supported"); }
@@ -1407,8 +1367,6 @@ class OesTextureFloat extends NativeFieldWrapperClass2 {
return new OesTextureFloat._internalWrap();
}
- js.JsObject blink_jsObject;
-
factory OesTextureFloat._internalWrap() {
return new OesTextureFloat.internal_();
}
@@ -1430,7 +1388,7 @@ class OesTextureFloat extends NativeFieldWrapperClass2 {
@DomName('OESTextureFloatLinear')
// http://www.khronos.org/registry/webgl/extensions/OES_texture_float_linear/
@Experimental()
-class OesTextureFloatLinear extends NativeFieldWrapperClass2 {
+class OesTextureFloatLinear extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory OesTextureFloatLinear._() { throw new UnsupportedError("Not supported"); }
@@ -1438,8 +1396,6 @@ class OesTextureFloatLinear extends NativeFieldWrapperClass2 {
return new OesTextureFloatLinear._internalWrap();
}
- js.JsObject blink_jsObject;
-
factory OesTextureFloatLinear._internalWrap() {
return new OesTextureFloatLinear.internal_();
}
@@ -1461,7 +1417,7 @@ class OesTextureFloatLinear extends NativeFieldWrapperClass2 {
@DomName('OESTextureHalfFloat')
// http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float/
@Experimental() // experimental
-class OesTextureHalfFloat extends NativeFieldWrapperClass2 {
+class OesTextureHalfFloat extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory OesTextureHalfFloat._() { throw new UnsupportedError("Not supported"); }
@@ -1469,8 +1425,6 @@ class OesTextureHalfFloat extends NativeFieldWrapperClass2 {
return new OesTextureHalfFloat._internalWrap();
}
- js.JsObject blink_jsObject;
-
factory OesTextureHalfFloat._internalWrap() {
return new OesTextureHalfFloat.internal_();
}
@@ -1496,7 +1450,7 @@ class OesTextureHalfFloat extends NativeFieldWrapperClass2 {
@DomName('OESTextureHalfFloatLinear')
// http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float_linear/
@Experimental()
-class OesTextureHalfFloatLinear extends NativeFieldWrapperClass2 {
+class OesTextureHalfFloatLinear extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory OesTextureHalfFloatLinear._() { throw new UnsupportedError("Not supported"); }
@@ -1504,8 +1458,6 @@ class OesTextureHalfFloatLinear extends NativeFieldWrapperClass2 {
return new OesTextureHalfFloatLinear._internalWrap();
}
- js.JsObject blink_jsObject;
-
factory OesTextureHalfFloatLinear._internalWrap() {
return new OesTextureHalfFloatLinear.internal_();
}
@@ -1527,7 +1479,7 @@ class OesTextureHalfFloatLinear extends NativeFieldWrapperClass2 {
@DomName('OESVertexArrayObject')
// http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/
@Experimental() // experimental
-class OesVertexArrayObject extends NativeFieldWrapperClass2 {
+class OesVertexArrayObject extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory OesVertexArrayObject._() { throw new UnsupportedError("Not supported"); }
@@ -1535,8 +1487,6 @@ class OesVertexArrayObject extends NativeFieldWrapperClass2 {
return new OesVertexArrayObject._internalWrap();
}
- js.JsObject blink_jsObject;
-
factory OesVertexArrayObject._internalWrap() {
return new OesVertexArrayObject.internal_();
}
@@ -1577,7 +1527,7 @@ class OesVertexArrayObject extends NativeFieldWrapperClass2 {
@DocsEditable()
@DomName('WebGLProgram')
@Unstable()
-class Program extends NativeFieldWrapperClass2 {
+class Program extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory Program._() { throw new UnsupportedError("Not supported"); }
@@ -1585,8 +1535,6 @@ class Program extends NativeFieldWrapperClass2 {
return new Program._internalWrap();
}
- js.JsObject blink_jsObject;
-
factory Program._internalWrap() {
return new Program.internal_();
}
@@ -1607,7 +1555,7 @@ class Program extends NativeFieldWrapperClass2 {
@DocsEditable()
@DomName('WebGLRenderbuffer')
@Unstable()
-class Renderbuffer extends NativeFieldWrapperClass2 {
+class Renderbuffer extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory Renderbuffer._() { throw new UnsupportedError("Not supported"); }
@@ -1615,8 +1563,6 @@ class Renderbuffer extends NativeFieldWrapperClass2 {
return new Renderbuffer._internalWrap();
}
- js.JsObject blink_jsObject;
-
factory Renderbuffer._internalWrap() {
return new Renderbuffer.internal_();
}
@@ -1637,7 +1583,7 @@ class Renderbuffer extends NativeFieldWrapperClass2 {
@SupportedBrowser(SupportedBrowser.FIREFOX)
@Experimental()
@Unstable()
-class RenderingContext extends NativeFieldWrapperClass2 implements CanvasRenderingContext {
+class RenderingContext extends DartHtmlDomObject implements CanvasRenderingContext {
// To suppress missing implicit constructor warnings.
factory RenderingContext._() { throw new UnsupportedError("Not supported"); }
@@ -1645,8 +1591,6 @@ class RenderingContext extends NativeFieldWrapperClass2 implements CanvasRenderi
return new RenderingContext._internalWrap();
}
- js.JsObject blink_jsObject;
-
factory RenderingContext._internalWrap() {
return new RenderingContext.internal_();
}
@@ -3584,7 +3528,7 @@ class RenderingContext extends NativeFieldWrapperClass2 implements CanvasRenderi
@DocsEditable()
@DomName('WebGLShader')
-class Shader extends NativeFieldWrapperClass2 {
+class Shader extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory Shader._() { throw new UnsupportedError("Not supported"); }
@@ -3592,8 +3536,6 @@ class Shader extends NativeFieldWrapperClass2 {
return new Shader._internalWrap();
}
- js.JsObject blink_jsObject;
-
factory Shader._internalWrap() {
return new Shader.internal_();
}
@@ -3613,7 +3555,7 @@ class Shader extends NativeFieldWrapperClass2 {
@DocsEditable()
@DomName('WebGLShaderPrecisionFormat')
-class ShaderPrecisionFormat extends NativeFieldWrapperClass2 {
+class ShaderPrecisionFormat extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory ShaderPrecisionFormat._() { throw new UnsupportedError("Not supported"); }
@@ -3621,8 +3563,6 @@ class ShaderPrecisionFormat extends NativeFieldWrapperClass2 {
return new ShaderPrecisionFormat._internalWrap();
}
- js.JsObject blink_jsObject;
-
factory ShaderPrecisionFormat._internalWrap() {
return new ShaderPrecisionFormat.internal_();
}
@@ -3654,7 +3594,7 @@ class ShaderPrecisionFormat extends NativeFieldWrapperClass2 {
@DocsEditable()
@DomName('WebGLTexture')
-class Texture extends NativeFieldWrapperClass2 {
+class Texture extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory Texture._() { throw new UnsupportedError("Not supported"); }
@@ -3662,8 +3602,6 @@ class Texture extends NativeFieldWrapperClass2 {
return new Texture._internalWrap();
}
- js.JsObject blink_jsObject;
-
factory Texture._internalWrap() {
return new Texture.internal_();
}
@@ -3683,7 +3621,7 @@ class Texture extends NativeFieldWrapperClass2 {
@DocsEditable()
@DomName('WebGLUniformLocation')
-class UniformLocation extends NativeFieldWrapperClass2 {
+class UniformLocation extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory UniformLocation._() { throw new UnsupportedError("Not supported"); }
@@ -3691,8 +3629,6 @@ class UniformLocation extends NativeFieldWrapperClass2 {
return new UniformLocation._internalWrap();
}
- js.JsObject blink_jsObject;
-
factory UniformLocation._internalWrap() {
return new UniformLocation.internal_();
}
@@ -3714,7 +3650,7 @@ class UniformLocation extends NativeFieldWrapperClass2 {
@DomName('WebGLVertexArrayObjectOES')
// http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/
@Experimental() // experimental
-class VertexArrayObject extends NativeFieldWrapperClass2 {
+class VertexArrayObject extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); }
@@ -3722,8 +3658,6 @@ class VertexArrayObject extends NativeFieldWrapperClass2 {
return new VertexArrayObject._internalWrap();
}
- js.JsObject blink_jsObject;
-
factory VertexArrayObject._internalWrap() {
return new VertexArrayObject.internal_();
}
@@ -3744,7 +3678,7 @@ class VertexArrayObject extends NativeFieldWrapperClass2 {
@DocsEditable()
@DomName('WebGLRenderingContextBase')
@Experimental() // untriaged
-class _WebGLRenderingContextBase extends NativeFieldWrapperClass2 {
+class _WebGLRenderingContextBase extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory _WebGLRenderingContextBase._() { throw new UnsupportedError("Not supported"); }
« no previous file with comments | « sdk/lib/web_audio/dartium/web_audio_dartium.dart ('k') | sdk/lib/web_sql/dartium/web_sql_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698