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

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

Issue 9264057: Refresh dart:dom libraries from WebKit (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: CR changes Created 8 years, 10 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>;
11 CanvasPixelArray implements sequence<int>; 11 CanvasPixelArray implements sequence<int>;
12 12
13 Float32Array implements sequence<double>; 13 Float32Array implements sequence<double>;
14 Float64Array implements sequence<double>; 14 Float64Array implements sequence<double>;
15 Int8Array implements sequence<int>; 15 Int8Array implements sequence<int>;
16 Int16Array implements sequence<int>; 16 Int16Array implements sequence<int>;
17 Int32Array implements sequence<int>; 17 Int32Array implements sequence<int>;
18 Uint8Array implements sequence<int>; 18 Uint8Array implements sequence<int>;
19 Uint16Array implements sequence<int>; 19 Uint16Array implements sequence<int>;
20 Uint32Array implements sequence<int>; 20 Uint32Array implements sequence<int>;
21
22 // Is List<int> because inherits from Uint8Array:
23 // Uint8ClampedArray implements sequence<int>;
21 } 24 }
22 25
23 module dom { 26 module dom {
24 // Force NodeSelector. WebKit defines these operations directly. 27 // Force NodeSelector. WebKit defines these operations directly.
25 interface NodeSelector { 28 interface NodeSelector {
26 Element querySelector(in DOMString selectors); 29 Element querySelector(in DOMString selectors);
27 NodeList querySelectorAll(in DOMString selectors); 30 NodeList querySelectorAll(in DOMString selectors);
28 }; 31 };
29 Document implements NodeSelector; 32 Document implements NodeSelector;
30 DocumentFragment implements NodeSelector; 33 DocumentFragment implements NodeSelector;
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 [DartName=setElements] void set(in any array, in optional unsigned long offs et); 147 [DartName=setElements] void set(in any array, in optional unsigned long offs et);
145 }; 148 };
146 [Supplemental] 149 [Supplemental]
147 interface Uint32Array { 150 interface Uint32Array {
148 [DartName=setElements] void set(in any array, in optional unsigned long offs et); 151 [DartName=setElements] void set(in any array, in optional unsigned long offs et);
149 }; 152 };
150 [Supplemental] 153 [Supplemental]
151 interface Uint8Array { 154 interface Uint8Array {
152 [DartName=setElements] void set(in any array, in optional unsigned long offs et); 155 [DartName=setElements] void set(in any array, in optional unsigned long offs et);
153 }; 156 };
157
158 [Supplemental]
159 interface Uint8ClampedArray {
160 // Avoid 'overriding static member BYTES_PER_ELEMENT'.
161 [Suppressed] const unsigned int BYTES_PER_ELEMENT = 1;
162
163 [Suppressed] void set();
164 [DartName=setElements] void set(in any array, in optional unsigned long offs et);
165 };
154 }; 166 };
155 167
156 module storage { 168 module storage {
157 // TODO(vsm): Define new names for these (see b/4436830). 169 // TODO(vsm): Define new names for these (see b/4436830).
158 [Supplemental] 170 [Supplemental]
159 interface IDBCursor { 171 interface IDBCursor {
160 [DartName=continueFunction] void continue(in optional IDBKey key); 172 [DartName=continueFunction] void continue(in optional IDBKey key);
161 }; 173 };
162 [Supplemental] 174 [Supplemental]
163 interface IDBIndex { 175 interface IDBIndex {
164 [DartName=getObject] IDBRequest get(in IDBKey key); 176 [DartName=getObject] IDBRequest get(in IDBKey key);
165 }; 177 };
166 [Supplemental] 178 [Supplemental]
167 interface IDBObjectStore { 179 interface IDBObjectStore {
168 [DartName=getObject] IDBRequest get(in IDBKey key); 180 [DartName=getObject] IDBRequest get(in IDBKey key);
169 }; 181 };
170 }; 182 };
171 183
172 module html { 184 module html {
173 [Supplemental, Callback] // Add missing Callback attribute. 185 [Supplemental, Callback] // Add missing Callback attribute.
174 interface VoidCallback { 186 interface VoidCallback {
175 }; 187 };
176 }; 188 };
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