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

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

Issue 9390009: Implement C++ bindings generation in dartgenerator.py. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Comments addressed. 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
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 30 matching lines...) Expand all
41 getter attribute Element nextElementSibling; 41 getter attribute Element nextElementSibling;
42 getter attribute Element previousElementSibling; 42 getter attribute Element previousElementSibling;
43 }; 43 };
44 Element implements ElementTraversal; 44 Element implements ElementTraversal;
45 }; 45 };
46 46
47 module html { 47 module html {
48 [Supplemental] 48 [Supplemental]
49 interface Console { 49 interface Console {
50 [Suppressed] void debug(); 50 [Suppressed] void debug();
51 void debug(DOMObject arg); 51 [CustomArgumentHandling] void debug(DOMObject arg);
52 [Suppressed] void error(); 52 [Suppressed] void error();
53 void error(DOMObject arg); 53 [CustomArgumentHandling] void error(DOMObject arg);
54 [Suppressed] void info(); 54 [Suppressed] void info();
55 void info(DOMObject arg); 55 [CustomArgumentHandling] void info(DOMObject arg);
56 [Suppressed] void log(); 56 [Suppressed] void log();
57 void log(DOMObject arg); 57 [CustomArgumentHandling] void log(DOMObject arg);
58 [Suppressed] void warn(); 58 [Suppressed] void warn();
59 void warn(DOMObject arg); 59 [CustomArgumentHandling] void warn(DOMObject arg);
60 [Suppressed] void trace(); 60 [Suppressed] void trace();
61 void trace(DOMObject arg); 61 [CustomArgumentHandling] void trace(DOMObject arg);
62 [DartName=assertCondition] void assert(in boolean condition); 62 [Suppressed] void assert(in boolean condition);
63 [CustomArgumentHandling] void assertCondition(boolean condition, DOMObject a rg);
64 [Suppressed] void timeEnd(in DOMString title);
65 [CustomArgumentHandling] void timeEnd(DOMString title, DOMObject arg);
66 [Suppressed] void timeStamp();
67 [CustomArgumentHandling] void timeStamp(DOMObject arg);
68 [Suppressed] void group();
69 [CustomArgumentHandling] void group(DOMObject arg);
70 [Suppressed] void groupCollapsed();
71 [CustomArgumentHandling] void groupCollapsed(DOMObject arg);
63 }; 72 };
64 73
65 [Supplemental] 74 [Supplemental]
66 interface HTMLOptionsCollection { 75 interface HTMLOptionsCollection {
67 [Suppressed] void add(in optional HTMLOptionElement element, in optional lon g before); 76 [Suppressed] void add(in optional HTMLOptionElement element, in optional lon g before);
68 }; 77 };
69 78
70 [Supplemental] 79 [Supplemental]
71 interface WebGLContextEvent { 80 interface WebGLContextEvent {
72 [Suppressed] void initEvent(in optional DOMString eventTypeArg, 81 [Suppressed] void initEvent(in optional DOMString eventTypeArg,
73 in optional boolean canBubbleArg, 82 in optional boolean canBubbleArg,
74 in optional boolean cancelableArg, 83 in optional boolean cancelableArg,
75 in optional DOMString statusMessageArg); 84 in optional DOMString statusMessageArg);
76 }; 85 };
77 }; 86 };
78 87
79 module html { 88 module html {
80 [Supplemental] 89 [Supplemental]
81 interface WebGLRenderingContext { 90 interface WebGLRenderingContext {
82 91
83 //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); 92 //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);
84 //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); 93 //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);
85 94
86 any getBufferParameter(in unsigned long target, in unsigned long pname) rais es(DOMException); 95 any getBufferParameter(in unsigned long target, in unsigned long pname) rais es(DOMException);
87 [Suppressed, StrictTypeChecking, Custom] void getBufferParameter(); 96 [Suppressed, StrictTypeChecking, Custom] void getBufferParameter();
88 97
89 any getFramebufferAttachmentParameter(in unsigned long target, in unsigned l ong attachment, in unsigned long pname) raises(DOMException); 98 any getFramebufferAttachmentParameter(in unsigned long target, in unsigned l ong attachment, in unsigned long pname) raises(DOMException);
90 [Suppressed, StrictTypeChecking, Custom] void getFramebufferAttachmentParame ter(); 99 [Suppressed, StrictTypeChecking, Custom] void getFramebufferAttachmentParame ter();
91 100
92 any getParameter(in unsigned long pname) raises(DOMException); 101 any getParameter(in unsigned long pname) raises(DOMException);
93 [Suppressed, StrictTypeChecking, Custom] void getParameter(); 102 [Suppressed, StrictTypeChecking, Custom] void getParameter();
94 103
95 any getProgramParameter(in WebGLProgram program, in unsigned long pname) rai ses(DOMException); 104 any getProgramParameter(in WebGLProgram program, in unsigned long pname) rai ses(DOMException);
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 interface IDBObjectStore { 188 interface IDBObjectStore {
180 [DartName=getObject] IDBRequest get(in IDBKey key); 189 [DartName=getObject] IDBRequest get(in IDBKey key);
181 }; 190 };
182 }; 191 };
183 192
184 module html { 193 module html {
185 [Supplemental, Callback] // Add missing Callback attribute. 194 [Supplemental, Callback] // Add missing Callback attribute.
186 interface VoidCallback { 195 interface VoidCallback {
187 }; 196 };
188 }; 197 };
198
199 module svg {
200 interface SVGNumber {
201 [StrictTypeChecking, Custom] attribute double value;
202 };
203 }
OLDNEW
« no previous file with comments | « no previous file | client/dom/scripts/dartdomgenerator.py » ('j') | client/dom/scripts/dartgenerator.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698