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

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

Issue 8344019: Remove createXMLHttpRequest and other 'factory' constructors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 2 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 void postMessage_replacement(in SerializedScriptValue message, in DOMString targetOrigin) 46 void postMessage_replacement(in SerializedScriptValue message, in DOMString targetOrigin)
47 raises(DOMException); 47 raises(DOMException);
48 [DartName=postMessage, ImplementationFunction=postMessage] 48 [DartName=postMessage, ImplementationFunction=postMessage]
49 void postMessage_replacement(in SerializedScriptValue message, in MessagePor t messagePort, in DOMString targetOrigin) 49 void postMessage_replacement(in SerializedScriptValue message, in MessagePor t messagePort, in DOMString targetOrigin)
50 raises(DOMException); 50 raises(DOMException);
51 51
52 }; 52 };
53 }; 53 };
54 54
55 module html { 55 module html {
56 // Define factory for XMLHttpRequest.
57 [Supplemental]
58 interface Window {
59 XMLHttpRequest createXMLHttpRequest();
60 };
61
62 [Supplemental] 56 [Supplemental]
63 interface Console { 57 interface Console {
64 [Suppressed] void debug(); 58 [Suppressed] void debug();
65 void debug(DOMObject arg); 59 void debug(DOMObject arg);
66 [Suppressed] void error(); 60 [Suppressed] void error();
67 void error(DOMObject arg); 61 void error(DOMObject arg);
68 [Suppressed] void info(); 62 [Suppressed] void info();
69 void info(DOMObject arg); 63 void info(DOMObject arg);
70 [Suppressed] void log(); 64 [Suppressed] void log();
71 void log(DOMObject arg); 65 void log(DOMObject arg);
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 }; 131 };
138 [Supplemental] 132 [Supplemental]
139 interface IDBIndex { 133 interface IDBIndex {
140 [DartName=getObject] IDBRequest get(in IDBKey key); 134 [DartName=getObject] IDBRequest get(in IDBKey key);
141 }; 135 };
142 [Supplemental] 136 [Supplemental]
143 interface IDBObjectStore { 137 interface IDBObjectStore {
144 [DartName=getObject] IDBRequest get(in IDBKey key); 138 [DartName=getObject] IDBRequest get(in IDBKey key);
145 }; 139 };
146 }; 140 };
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