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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: lib/dom/idl/dart/dart.idl
diff --git a/lib/dom/idl/dart/dart.idl b/lib/dom/idl/dart/dart.idl
index 326bc1519204e220e24778d9f9b44f247c519946..90c6da71c1733ea45c05477201e3daca08a8ac16 100644
--- a/lib/dom/idl/dart/dart.idl
+++ b/lib/dom/idl/dart/dart.idl
@@ -280,3 +280,16 @@ module svg {
[StrictTypeChecking, Custom] attribute float value;
};
}
+
+module core {
+ [Supplemental,
+ CustomConstructor,
+ // Provide missing constructor signature.
+ Constructor(MutationCallback callback)]
+ interface MutationObserver {
+ // Rename 'observe' so we can define a new 'observe' API that calls the
+ // original.
+ [DartName=_observe] void observe(in Node target, in Dictionary options)
+ raises(DOMException);
+ };
+}

Powered by Google App Engine
This is Rietveld 408576698