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

Side by Side Diff: client/dom/idl/dart/dart.idl

Issue 9117013: Refresh dart:dom from WebKit. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « client/dom/generated/wrapping_dom_externs.js ('k') | client/dom/scripts/dartgenerator.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 module html { 76 module html {
77 [Supplemental] 77 [Supplemental]
78 interface WebGLRenderingContext { 78 interface WebGLRenderingContext {
79 79
80 //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); 80 //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);
81 //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); 81 //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);
82 82
83 any getBufferParameter(in unsigned long target, in unsigned long pname) rais es(DOMException); 83 any getBufferParameter(in unsigned long target, in unsigned long pname) rais es(DOMException);
84 [Suppressed, StrictTypeChecking, Custom] void getBufferParameter(); 84 [Suppressed, StrictTypeChecking, Custom] void getBufferParameter();
85 85
86 object getExtension(in DOMString name);
87 [Suppressed, StrictTypeChecking, Custom] void getExtension(in DOMString name );
88
89 any getFramebufferAttachmentParameter(in unsigned long target, in unsigned l ong attachment, in unsigned long pname) raises(DOMException); 86 any getFramebufferAttachmentParameter(in unsigned long target, in unsigned l ong attachment, in unsigned long pname) raises(DOMException);
90 [Suppressed, StrictTypeChecking, Custom] void getFramebufferAttachmentParame ter(); 87 [Suppressed, StrictTypeChecking, Custom] void getFramebufferAttachmentParame ter();
91 88
92 any getParameter(in unsigned long pname) raises(DOMException); 89 any getParameter(in unsigned long pname) raises(DOMException);
93 [Suppressed, StrictTypeChecking, Custom] void getParameter(); 90 [Suppressed, StrictTypeChecking, Custom] void getParameter();
94 91
95 any getProgramParameter(in WebGLProgram program, in unsigned long pname) rai ses(DOMException); 92 any getProgramParameter(in WebGLProgram program, in unsigned long pname) rai ses(DOMException);
96 [Suppressed, StrictTypeChecking, Custom] void getProgramParameter(); 93 [Suppressed, StrictTypeChecking, Custom] void getProgramParameter();
97 94
98 any getRenderbufferParameter(in unsigned long target, in unsigned long pname ) raises(DOMException); 95 any getRenderbufferParameter(in unsigned long target, in unsigned long pname ) raises(DOMException);
(...skipping 18 matching lines...) Expand all
117 [Suppressed, StrictTypeChecking, Custom] void getVertexAttrib(); 114 [Suppressed, StrictTypeChecking, Custom] void getVertexAttrib();
118 }; 115 };
119 } 116 }
120 117
121 118
122 119
123 module canvas { 120 module canvas {
124 // TODO(dstockwell): Define these manually. 121 // TODO(dstockwell): Define these manually.
125 [Supplemental] 122 [Supplemental]
126 interface Float32Array { 123 interface Float32Array {
127 [Suppressed] void set(); 124 [DartName=setElements] void set(in any array, in optional unsigned long offs et);
128 }; 125 };
129 [Supplemental] 126 [Supplemental]
130 interface Float64Array { 127 interface Float64Array {
131 [Suppressed] void set(); 128 [DartName=setElements] void set(in any array, in optional unsigned long offs et);
132 }; 129 };
133 [Supplemental] 130 [Supplemental]
134 interface Int16Array { 131 interface Int16Array {
135 [Suppressed] void set(); 132 [DartName=setElements] void set(in any array, in optional unsigned long offs et);
136 }; 133 };
137 [Supplemental] 134 [Supplemental]
138 interface Int32Array { 135 interface Int32Array {
139 [Suppressed] void set(); 136 [DartName=setElements] void set(in any array, in optional unsigned long offs et);
140 }; 137 };
141 [Supplemental] 138 [Supplemental]
142 interface Int8Array { 139 interface Int8Array {
143 [Suppressed] void set(); 140 [DartName=setElements] void set(in any array, in optional unsigned long offs et);
144 }; 141 };
145 [Supplemental] 142 [Supplemental]
146 interface Uint16Array { 143 interface Uint16Array {
147 [Suppressed] void set(); 144 [DartName=setElements] void set(in any array, in optional unsigned long offs et);
148 }; 145 };
149 [Supplemental] 146 [Supplemental]
150 interface Uint32Array { 147 interface Uint32Array {
151 [Suppressed] void set(); 148 [DartName=setElements] void set(in any array, in optional unsigned long offs et);
152 }; 149 };
153 [Supplemental] 150 [Supplemental]
154 interface Uint8Array { 151 interface Uint8Array {
155 [Suppressed] void set(); 152 [DartName=setElements] void set(in any array, in optional unsigned long offs et);
156 }; 153 };
157 }; 154 };
158 155
159 module storage { 156 module storage {
160 // TODO(vsm): Define new names for these (see b/4436830). 157 // TODO(vsm): Define new names for these (see b/4436830).
161 [Supplemental] 158 [Supplemental]
162 interface IDBCursor { 159 interface IDBCursor {
163 [DartName=continueFunction] void continue(in optional IDBKey key); 160 [DartName=continueFunction] void continue(in optional IDBKey key);
164 }; 161 };
165 [Supplemental] 162 [Supplemental]
166 interface IDBIndex { 163 interface IDBIndex {
167 [DartName=getObject] IDBRequest get(in IDBKey key); 164 [DartName=getObject] IDBRequest get(in IDBKey key);
168 }; 165 };
169 [Supplemental] 166 [Supplemental]
170 interface IDBObjectStore { 167 interface IDBObjectStore {
171 [DartName=getObject] IDBRequest get(in IDBKey key); 168 [DartName=getObject] IDBRequest get(in IDBKey key);
172 }; 169 };
173 }; 170 };
174 171
175 module html { 172 module html {
176 [Supplemental, Callback] // Add missing Callback attribute. 173 [Supplemental, Callback] // Add missing Callback attribute.
177 interface VoidCallback { 174 interface VoidCallback {
178 }; 175 };
179 }; 176 };
OLDNEW
« no previous file with comments | « client/dom/generated/wrapping_dom_externs.js ('k') | client/dom/scripts/dartgenerator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698