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

Unified Diff: lib/dom/dom.dart

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/dom.dart
diff --git a/lib/dom/dom.dart b/lib/dom/dom.dart
index 3c928bde9fdccbf64d689b8f97abab6b4d2fd09b..b0dc73a4e5dbd5f2d13fdfb08288e94206bea984 100644
--- a/lib/dom/dom.dart
+++ b/lib/dom/dom.dart
@@ -118,6 +118,13 @@ class _MessageChannelFactoryProvider {
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+class _MutationObserverFactoryProvider {
+ factory MutationObserver(MutationCallback callback) => _dummy();
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
class _NotificationFactoryProvider {
factory Notification(String title, [Map options]) => _dummy();
}
@@ -6054,11 +6061,13 @@ interface MutationEvent extends Event {
// WARNING: Do not edit - generated code.
-interface MutationObserver {
+interface MutationObserver default _MutationObserverFactoryProvider {
+
+ MutationObserver(MutationCallback callback);
void disconnect();
- void observe(Node target, Map options);
+ void _observe(Node target, Map options);
List<MutationRecord> takeRecords();
}

Powered by Google App Engine
This is Rietveld 408576698