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

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

Issue 10696209: MutationObserver (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 5 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 FileList implements sequence<File>; 5 FileList implements sequence<File>;
6 HTMLCollection implements sequence<Node>; 6 HTMLCollection implements sequence<Node>;
7 MediaList implements sequence<DOMString>; 7 MediaList implements sequence<DOMString>;
8 NamedNodeMap implements sequence<Node>; 8 NamedNodeMap implements sequence<Node>;
9 NodeList implements sequence<Node>; 9 NodeList implements sequence<Node>;
10 StyleSheetList implements sequence<StyleSheet>; 10 StyleSheetList implements sequence<StyleSheet>;
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 [Supplemental, Callback] // Add missing Callback attribute. 270 [Supplemental, Callback] // Add missing Callback attribute.
271 interface VoidCallback { 271 interface VoidCallback {
272 }; 272 };
273 }; 273 };
274 274
275 module svg { 275 module svg {
276 interface SVGNumber { 276 interface SVGNumber {
277 [StrictTypeChecking, Custom] attribute float value; 277 [StrictTypeChecking, Custom] attribute float value;
278 }; 278 };
279 } 279 }
280
281 module core {
282 [Supplemental]
283 interface MutationCallback {
284 // Change MutationRecordArray to MutationRecord[].
285 [Suppressed, Custom] boolean handleEvent(in MutationRecordArray mutations, i n WebKitMutationObserver observer);
286 [Custom] boolean handleEvent(in MutationRecord[] mutations, in WebKitMutatio nObserver observer);
287 };
288
289 [Supplemental,
290 CustomConstructor,
291 // Provide missing constructor signature.
292 Constructor(MutationCallback callback)]
293 interface WebKitMutationObserver {
294 // Rename 'observe' so we can define a new 'observe' API implemented using
295 // the original.
296 [DartName=_observe] void observe(in Node target, in Dictionary options)
Anton Muhin 2012/07/13 10:50:47 as you probably already know, that's exactly the s
sra1 2012/07/19 00:34:54 Yes. To copy the extended attribute DartName onto
297 raises(DOMException);
298 };
299 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698