OLD | NEW |
---|---|
1 // This file introduces / supplements and forces Dart declarations. | 1 // This file introduces / supplements and forces Dart declarations. |
2 | 2 |
3 [DartSupplemental, | 3 [DartSupplemental, |
4 Constructor] | 4 Constructor] |
5 interface AudioContext { | 5 interface AudioContext { |
6 // TODO(ager): Auto-generate this custom method when the info about retaining | 6 // TODO(ager): Auto-generate this custom method when the info about retaining |
7 // typed arrays is in the IDL. | 7 // typed arrays is in the IDL. |
8 [Custom] void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback succe ssCallback, AudioBufferCallback errorCallback); | 8 [Custom] void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback succe ssCallback, AudioBufferCallback errorCallback); |
9 }; | 9 }; |
10 | 10 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
62 readonly attribute Element nextElementSibling; | 62 readonly attribute Element nextElementSibling; |
63 readonly attribute Element previousElementSibling; | 63 readonly attribute Element previousElementSibling; |
64 }; | 64 }; |
65 | 65 |
66 [DartSupplemental] | 66 [DartSupplemental] |
67 interface CharacterData { | 67 interface CharacterData { |
68 readonly attribute Element nextElementSibling; | 68 readonly attribute Element nextElementSibling; |
69 readonly attribute Element previousElementSibling; | 69 readonly attribute Element previousElementSibling; |
70 }; | 70 }; |
71 | 71 |
72 [DartCallback] | 72 [Callback] |
73 interface TimeoutHandler { | 73 interface TimeoutHandler { |
74 void handleEvent(); | 74 void handleEvent(); |
75 }; | 75 }; |
76 | 76 |
77 // FIXME(leafp): This is a temporary hack to get things running while | 77 // FIXME(leafp): This is a temporary hack to get things running while |
78 // we are still generating _blink from the dart side idl files. | 78 // we are still generating _blink from the dart side idl files. |
79 // Once we are up and running generating dart:_blink in dartium | 79 // Once we are up and running generating dart:_blink in dartium |
80 // this should go away. | 80 // this should go away. |
81 [DartSupplemental] | 81 [DartSupplemental] |
82 interface URL { | 82 interface URL { |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
246 ] | 246 ] |
247 interface Blob { | 247 interface Blob { |
248 }; | 248 }; |
249 | 249 |
250 [DartSupplemental, | 250 [DartSupplemental, |
251 Constructor(float x, float y) | 251 Constructor(float x, float y) |
252 ] | 252 ] |
253 interface WebKitPoint { | 253 interface WebKitPoint { |
254 }; | 254 }; |
255 | 255 |
256 [DartSupplemental, DartCallback] // Add missing Callback attribute. | 256 [DartSupplemental, Callback] // Add missing Callback attribute. |
257 interface VoidCallback { | 257 interface VoidCallback { |
Leaf
2014/09/09 20:47:28
This interface is marked callback in the idl, I wo
terry
2014/09/09 20:58:35
Good idea I'll look at that post checkin and chang
| |
258 }; | 258 }; |
259 | 259 |
260 interface SVGNumber { | 260 interface SVGNumber { |
261 [DartStrictTypeChecking, Custom] attribute float value; | 261 [DartStrictTypeChecking, Custom] attribute float value; |
262 }; | 262 }; |
263 | 263 |
264 // Keep it in to generate Dart code, C++ implementation is filterd out in genera tor. | 264 // Keep it in to generate Dart code, C++ implementation is filterd out in genera tor. |
265 [ | 265 [Callback] |
266 DartCallback | 266 interface MutationCallback { |
267 ] interface MutationCallback { | |
268 [Custom] boolean handleEvent(MutationRecordArray mutations, MutationObserver o bserver); | 267 [Custom] boolean handleEvent(MutationRecordArray mutations, MutationObserver o bserver); |
269 }; | 268 }; |
270 | 269 |
271 [DartSupplemental, | 270 [DartSupplemental, |
272 CustomConstructor, | 271 CustomConstructor, |
273 // Provide missing constructor signature. | 272 // Provide missing constructor signature. |
274 Constructor(MutationCallback callback)] | 273 Constructor(MutationCallback callback)] |
275 interface MutationObserver { | 274 interface MutationObserver { |
276 }; | 275 }; |
277 | 276 |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
458 [DartSuppress] void webkitRequestPointerLock(); | 457 [DartSuppress] void webkitRequestPointerLock(); |
459 }; | 458 }; |
460 | 459 |
461 [DartSupplemental] interface CSSStyleDeclaration { | 460 [DartSupplemental] interface CSSStyleDeclaration { |
462 // Expose __propertyQuery__ a getter with a special operation in the IDL | 461 // Expose __propertyQuery__ a getter with a special operation in the IDL |
463 // when used with Custom=PropertyQuery will emit __propertyQuery__. | 462 // when used with Custom=PropertyQuery will emit __propertyQuery__. |
464 [Custom=PropertyQuery] getter boolean (DOMString name); | 463 [Custom=PropertyQuery] getter boolean (DOMString name); |
465 }; | 464 }; |
466 | 465 |
467 Element implements GlobalEventHandlers; | 466 Element implements GlobalEventHandlers; |
OLD | NEW |