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

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

Issue 10379024: Proper support for Uint8ClampedArray. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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 | « lib/dom/frog/dom_frog.dart ('k') | lib/dom/scripts/generator.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 11
12 Float32Array implements sequence<double>; 12 Float32Array implements sequence<double>;
13 Float64Array implements sequence<double>; 13 Float64Array implements sequence<double>;
14 Int8Array implements sequence<int>; 14 Int8Array implements sequence<int>;
15 Int16Array implements sequence<int>; 15 Int16Array implements sequence<int>;
16 Int32Array implements sequence<int>; 16 Int32Array implements sequence<int>;
17 Uint8Array implements sequence<int>; 17 Uint8Array implements sequence<int>;
18 // Ugliness ahead: we cannot analyse inheritance right now when deducing if
podivilov 2012/05/05 14:44:45 Could you please add a more thorough fixme with re
Anton Muhin 2012/05/05 14:52:28 Done.
19 // given interface is a typed array (database is not accessible), so I have
20 // to duplicate both sequence<int> and ArrayBufferView to make our heuristics
21 // work.
22 Uint8ClampedArray implements sequence<int>;
23 Uint8ClampedArray implements ArrayBufferView;
18 Uint16Array implements sequence<int>; 24 Uint16Array implements sequence<int>;
19 Uint32Array implements sequence<int>; 25 Uint32Array implements sequence<int>;
20 26
21 // Is List<int> because inherits from Uint8Array: 27 // Is List<int> because inherits from Uint8Array:
22 // Uint8ClampedArray implements sequence<int>; 28 // Uint8ClampedArray implements sequence<int>;
23 } 29 }
24 30
25 module core { 31 module core {
26 [Supplemental] 32 [Supplemental]
27 interface Document { 33 interface Document {
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 [Supplemental, Callback] // Add missing Callback attribute. 235 [Supplemental, Callback] // Add missing Callback attribute.
230 interface VoidCallback { 236 interface VoidCallback {
231 }; 237 };
232 }; 238 };
233 239
234 module svg { 240 module svg {
235 interface SVGNumber { 241 interface SVGNumber {
236 [StrictTypeChecking, Custom] attribute double value; 242 [StrictTypeChecking, Custom] attribute double value;
237 }; 243 };
238 } 244 }
OLDNEW
« no previous file with comments | « lib/dom/frog/dom_frog.dart ('k') | lib/dom/scripts/generator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698