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

Unified Diff: core/html/canvas/WebGLRenderingContextBase.idl

Issue 581453002: Dartium Roll 38 roll (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Sync'd w/ r 182210 Created 6 years, 3 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 | « core/html/canvas/WebGLRenderingContext.idl ('k') | core/html/canvas/WebGLShader.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/html/canvas/WebGLRenderingContextBase.idl
diff --git a/core/html/canvas/WebGLRenderingContextBase.idl b/core/html/canvas/WebGLRenderingContextBase.idl
index e6b013e56f16b8fbf00ad776a86dfb8f80b3cd70..a7905569c1a340b2f449a57d533a51b67e1d3fd2 100644
--- a/core/html/canvas/WebGLRenderingContextBase.idl
+++ b/core/html/canvas/WebGLRenderingContextBase.idl
@@ -41,11 +41,12 @@ typedef unrestricted float GLfloat;
typedef unrestricted float GLclampf;
[
- // FIXME: [DoNotCheckConstants] and [TypeChecking=Interface|Nullable] should be applied
+ // FIXME: [DoNotCheckConstants] and [TypeChecking=Interface|Unrestricted] should be applied
// to members and not need to be put on implementing interface
// DoNotCheckConstants, // need to put on implementing interface
NoInterfaceObject, // Always used on target of 'implements'
- // TypeChecking=Interface|Nullable|Unrestricted, // need to put on implementing interface
+ // TypeChecking=Interface|Unrestricted, // need to put on implementing interface
+ WillBeGarbageCollected,
] interface WebGLRenderingContextBase {
readonly attribute HTMLCanvasElement canvas;
@@ -545,7 +546,7 @@ typedef unrestricted float GLclampf;
[DartNoAutoScope] WebGLActiveInfo getActiveAttrib(WebGLProgram? program, GLuint index);
[DartNoAutoScope] WebGLActiveInfo getActiveUniform(WebGLProgram? program, GLuint index);
- [Custom, DartNoAutoScope] void getAttachedShaders(WebGLProgram? program);
+ [DartNoAutoScope] sequence<WebGLShader>? getAttachedShaders(WebGLProgram? program);
[DartNoAutoScope] GLint getAttribLocation(WebGLProgram? program, DOMString name);
@@ -561,21 +562,21 @@ typedef unrestricted float GLclampf;
[Custom] any getFramebufferAttachmentParameter(GLenum target, GLenum attachment, GLenum pname);
[Custom] any getParameter(GLenum pname);
[Custom] any getProgramParameter(WebGLProgram? program, GLenum pname);
- [TreatReturnedNullStringAs=Null] DOMString getProgramInfoLog(WebGLProgram? program);
+ DOMString? getProgramInfoLog(WebGLProgram? program);
[Custom] any getRenderbufferParameter(GLenum target, GLenum pname);
[Custom] any getShaderParameter(WebGLShader? shader, GLenum pname);
- [TreatReturnedNullStringAs=Null] DOMString getShaderInfoLog(WebGLShader? shader);
+ DOMString? getShaderInfoLog(WebGLShader? shader);
WebGLShaderPrecisionFormat getShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype);
- [TreatReturnedNullStringAs=Null] DOMString getShaderSource(WebGLShader? shader);
+ DOMString? getShaderSource(WebGLShader? shader);
- [Custom] sequence<DOMString> getSupportedExtensions();
+ sequence<DOMString>? getSupportedExtensions();
[Custom] any getTexParameter(GLenum target, GLenum pname);
- [Custom] any getUniform(WebGLProgram? program, WebGLUniformLocation location);
+ [Custom] any getUniform(WebGLProgram? program, WebGLUniformLocation? location);
WebGLUniformLocation getUniformLocation(WebGLProgram? program, DOMString name);
« no previous file with comments | « core/html/canvas/WebGLRenderingContext.idl ('k') | core/html/canvas/WebGLShader.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698