| OLD | NEW |
| 1 | 1 |
| 2 // This file introduces / supplements and forces Dart declarations. | 2 // This file introduces / supplements and forces Dart declarations. |
| 3 | 3 |
| 4 module default { | 4 module default { |
| 5 NamedNodeMap implements sequence<Node>; | 5 NamedNodeMap implements sequence<Node>; |
| 6 NodeList implements sequence<Node>; | 6 NodeList implements sequence<Node>; |
| 7 HTMLCollection implements sequence<Node>; | 7 HTMLCollection implements sequence<Node>; |
| 8 MediaList implements sequence<DOMString>; | 8 MediaList implements sequence<DOMString>; |
| 9 StyleSheetList implements sequence<StyleSheet>; | 9 StyleSheetList implements sequence<StyleSheet>; |
| 10 TouchList implements sequence<Touch>; | 10 TouchList implements sequence<Touch>; |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 | 56 |
| 57 [Supplemental] | 57 [Supplemental] |
| 58 interface WebGLContextEvent { | 58 interface WebGLContextEvent { |
| 59 [Suppressed] void initEvent(in optional DOMString eventTypeArg, | 59 [Suppressed] void initEvent(in optional DOMString eventTypeArg, |
| 60 in optional boolean canBubbleArg, | 60 in optional boolean canBubbleArg, |
| 61 in optional boolean cancelableArg, | 61 in optional boolean cancelableArg, |
| 62 in optional DOMString statusMessageArg); | 62 in optional DOMString statusMessageArg); |
| 63 }; | 63 }; |
| 64 }; | 64 }; |
| 65 | 65 |
| 66 module html { |
| 67 [Supplemental] |
| 68 interface WebGLRenderingContext { |
| 69 |
| 70 //void compressedTexImage2D(in unsigned long target, in long level,
in unsigned long internalformat, in unsigned long width, in unsigned long height
, in long border, in unsigned long imageSize, const void* data); |
| 71 //void compressedTexSubImage2D(in unsigned long target, in long leve
l, in long xoffset, in long yoffset, in unsigned long width, in unsigned long he
ight, in unsigned long format, in unsigned long imageSize, const void* data); |
| 72 |
| 73 any getBufferParameter(in unsigned long target, in unsigned long pname) rais
es(DOMException); |
| 74 [Suppressed, StrictTypeChecking, Custom] void getBufferParameter(); |
| 75 |
| 76 object getExtension(in DOMString name); |
| 77 [Suppressed, StrictTypeChecking, Custom] void getExtension(in DOMString name
); |
| 78 |
| 79 any getFramebufferAttachmentParameter(in unsigned long target, in unsigned l
ong attachment, in unsigned long pname) raises(DOMException); |
| 80 [Suppressed, StrictTypeChecking, Custom] void getFramebufferAttachmentParame
ter(); |
| 81 |
| 82 any getParameter(in unsigned long pname) raises(DOMException); |
| 83 [Suppressed, StrictTypeChecking, Custom] void getParameter(); |
| 84 |
| 85 any getProgramParameter(in WebGLProgram program, in unsigned long pname) rai
ses(DOMException); |
| 86 [Suppressed, StrictTypeChecking, Custom] void getProgramParameter(); |
| 87 |
| 88 any getRenderbufferParameter(in unsigned long target, in unsigned long pname
) raises(DOMException); |
| 89 [Suppressed, StrictTypeChecking, Custom] void getRenderbufferParameter(); |
| 90 |
| 91 any getShaderParameter(in WebGLShader shader, in unsigned long pname) raises
(DOMException); |
| 92 [Suppressed, StrictTypeChecking, Custom] void getShaderParameter() raises(DO
MException); |
| 93 |
| 94 // TBD |
| 95 // void glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype,
GLint* range, GLint* precision); |
| 96 |
| 97 DOMString[] getSupportedExtensions(); |
| 98 [Suppressed, StrictTypeChecking, Custom] void getSupportedExtensions(); |
| 99 |
| 100 any getTexParameter(in unsigned long target, in unsigned long pname) raises(
DOMException); |
| 101 [Suppressed, StrictTypeChecking, Custom] void getTexParameter(); |
| 102 |
| 103 any getUniform(in WebGLProgram program, in WebGLUniformLocation location) ra
ises(DOMException); |
| 104 [Suppressed, StrictTypeChecking, Custom] void getUniform(); |
| 105 |
| 106 any getVertexAttrib(in unsigned long index, in unsigned long pname) raises(D
OMException); |
| 107 [Suppressed, StrictTypeChecking, Custom] void getVertexAttrib(); |
| 108 }; |
| 109 } |
| 110 |
| 111 |
| 112 |
| 66 module canvas { | 113 module canvas { |
| 67 interface CanvasPixelArray { | 114 interface CanvasPixelArray { |
| 68 int item(in int index); | 115 int item(in int index); |
| 69 }; | 116 }; |
| 70 | 117 |
| 71 // TODO(dstockwell): Define these manually. | 118 // TODO(dstockwell): Define these manually. |
| 72 [Supplemental] | 119 [Supplemental] |
| 73 interface Float32Array { | 120 interface Float32Array { |
| 74 [Suppressed] void set(); | 121 [Suppressed] void set(); |
| 75 }; | 122 }; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 }; | 158 }; |
| 112 [Supplemental] | 159 [Supplemental] |
| 113 interface IDBIndex { | 160 interface IDBIndex { |
| 114 [DartName=getObject] IDBRequest get(in IDBKey key); | 161 [DartName=getObject] IDBRequest get(in IDBKey key); |
| 115 }; | 162 }; |
| 116 [Supplemental] | 163 [Supplemental] |
| 117 interface IDBObjectStore { | 164 interface IDBObjectStore { |
| 118 [DartName=getObject] IDBRequest get(in IDBKey key); | 165 [DartName=getObject] IDBRequest get(in IDBKey key); |
| 119 }; | 166 }; |
| 120 }; | 167 }; |
| OLD | NEW |