| OLD | NEW |
| 1 // This file introduces / supplements and forces Dart declarations. | 1 // This file introduces / supplements and forces Dart declarations. |
| 2 | 2 |
| 3 [Supplemental, | 3 [Supplemental, |
| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 */ | 60 */ |
| 61 | 61 |
| 62 [Callback] | 62 [Callback] |
| 63 interface TimeoutHandler { | 63 interface TimeoutHandler { |
| 64 void handleEvent(); | 64 void handleEvent(); |
| 65 }; | 65 }; |
| 66 | 66 |
| 67 [Supplemental] | 67 [Supplemental] |
| 68 interface CanvasRenderingContext2D { | 68 interface CanvasRenderingContext2D { |
| 69 [DartName=createImageDataFromImageData] ImageData createImageData(ImageData im
agedata); | 69 [DartName=createImageDataFromImageData] ImageData createImageData(ImageData im
agedata); |
| 70 | |
| 71 [Suppressed] attribute boolean webkitImageSmoothingEnabled; | |
| 72 }; | 70 }; |
| 73 | 71 |
| 74 [Supplemental] | 72 [Supplemental] |
| 75 interface Console { | 73 interface Console { |
| 76 [Suppressed] void assert(boolean condition); | 74 [Suppressed] void assert(boolean condition); |
| 77 [CallWith=ScriptArguments|ScriptState] void assertCondition(boolean condition)
; | 75 [CallWith=ScriptArguments|ScriptState] void assertCondition(boolean condition)
; |
| 78 }; | 76 }; |
| 79 | 77 |
| 80 interface HTMLCanvasElement { | 78 interface HTMLCanvasElement { |
| 81 [Suppressed] DOMString toDataURL([TreatNullAs=NullString, TreatUndefinedAs=Nul
lString,Default=Undefined] DOMString type); | 79 [Suppressed] DOMString toDataURL([TreatNullAs=NullString, TreatUndefinedAs=Nul
lString,Default=Undefined] DOMString type); |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 329 // URI decomposition attributes | 327 // URI decomposition attributes |
| 330 [CustomSetter] attribute DOMString protocol; | 328 [CustomSetter] attribute DOMString protocol; |
| 331 [CustomSetter] attribute DOMString host; | 329 [CustomSetter] attribute DOMString host; |
| 332 [CustomSetter] attribute DOMString hostname; | 330 [CustomSetter] attribute DOMString hostname; |
| 333 [CustomSetter] attribute DOMString port; | 331 [CustomSetter] attribute DOMString port; |
| 334 [CustomSetter] attribute DOMString pathname; | 332 [CustomSetter] attribute DOMString pathname; |
| 335 [CustomSetter] attribute DOMString search; | 333 [CustomSetter] attribute DOMString search; |
| 336 [CustomSetter] attribute DOMString hash; | 334 [CustomSetter] attribute DOMString hash; |
| 337 }; | 335 }; |
| 338 | 336 |
| 339 // TODO(jacobr): reenable these new Blink features. | |
| 340 [Suppressed] | |
| 341 interface ImageBitmapFactories {}; | |
| 342 | |
| 343 // See https://chromiumcodereview.appspot.com/15901002 for the V8 implementation
of | |
| 344 // TextEncoder/TextDecoder | |
| 345 [Suppressed] | |
| 346 interface TextEncoder {}; | |
| 347 | |
| 348 [Suppressed] | |
| 349 interface TextDecoder {}; | |
| 350 | |
| 351 // TODO(jacobr): renable these as part of fixing dartbug.com/12537 | |
| 352 // We need to apply changes analogous to https://chromiumcodereview.appspot.com/
21274004 | |
| 353 // to the Dart bindings so that we can reenable NodeIterator and TreeWalker | |
| 354 [Suppressed] | |
| 355 interface NodeIterator {}; | |
| 356 | |
| 357 [Suppressed] | |
| 358 interface TreeWalker {}; | |
| 359 | 337 |
| 360 [Supplemental] | 338 [Supplemental] |
| 361 interface Window : EventTarget {}; | 339 interface Window : EventTarget {}; |
| 362 | 340 |
| OLD | NEW |