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

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

Issue 8574040: Support DOMString[] and regenerate from IDL (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix Window.postMessage Created 9 years, 1 month 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/monkey_dom.dart.broken » ('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 14 matching lines...) Expand all
25 interface ElementTraversal { 25 interface ElementTraversal {
26 getter attribute unsigned long childElementCount; 26 getter attribute unsigned long childElementCount;
27 getter attribute Element firstElementChild; 27 getter attribute Element firstElementChild;
28 getter attribute Element lastElementChild; 28 getter attribute Element lastElementChild;
29 getter attribute Element nextElementSibling; 29 getter attribute Element nextElementSibling;
30 getter attribute Element previousElementSibling; 30 getter attribute Element previousElementSibling;
31 }; 31 };
32 Element implements ElementTraversal; 32 Element implements ElementTraversal;
33 }; 33 };
34 34
35 module window {
36 [Supplemental]
37 interface Window {
38 // Provide a different signature for postMessage. Because one of the
39 // desired signatures conflicts with an existing option, it is simpler to
40 // completely suppress postMessage and introduce a new
41 // postMessage_replacement that is renamed as postMessage.
42 [Suppressed] void postMessage(in SerializedScriptValue message, [Optional] i n MessagePort messagePort, in DOMString targetOrigin)
43 raises(DOMException);
44
45 [DartName=postMessage, ImplementationFunction=postMessage]
46 void postMessage_replacement(in SerializedScriptValue message, in DOMString targetOrigin)
47 raises(DOMException);
48 [DartName=postMessage, ImplementationFunction=postMessage]
49 void postMessage_replacement(in SerializedScriptValue message, in MessagePor t messagePort, in DOMString targetOrigin)
50 raises(DOMException);
51
52 };
53 };
54
55 module html { 35 module html {
56 [Supplemental] 36 [Supplemental]
57 interface Console { 37 interface Console {
58 [Suppressed] void debug(); 38 [Suppressed] void debug();
59 void debug(DOMObject arg); 39 void debug(DOMObject arg);
60 [Suppressed] void error(); 40 [Suppressed] void error();
61 void error(DOMObject arg); 41 void error(DOMObject arg);
62 [Suppressed] void info(); 42 [Suppressed] void info();
63 void info(DOMObject arg); 43 void info(DOMObject arg);
64 [Suppressed] void log(); 44 [Suppressed] void log();
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 }; 111 };
132 [Supplemental] 112 [Supplemental]
133 interface IDBIndex { 113 interface IDBIndex {
134 [DartName=getObject] IDBRequest get(in IDBKey key); 114 [DartName=getObject] IDBRequest get(in IDBKey key);
135 }; 115 };
136 [Supplemental] 116 [Supplemental]
137 interface IDBObjectStore { 117 interface IDBObjectStore {
138 [DartName=getObject] IDBRequest get(in IDBKey key); 118 [DartName=getObject] IDBRequest get(in IDBKey key);
139 }; 119 };
140 }; 120 };
OLDNEW
« no previous file with comments | « client/dom/generated/wrapping_dom_externs.js ('k') | client/dom/monkey_dom.dart.broken » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698