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

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
« no previous file with comments | « no previous file | lib/dom/frog/dom_frog.dart » ('j') | lib/dom/idl/dart/dart.idl » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dom/dom.dart
diff --git a/lib/dom/dom.dart b/lib/dom/dom.dart
index 480bf5b4b4c47277dd3330ea5c727cecd98ff4cf..c1a1d9fafeeb8260be2ccff382039c41ecfe13ff 100644
--- a/lib/dom/dom.dart
+++ b/lib/dom/dom.dart
@@ -181,6 +181,13 @@ class _WebKitCSSMatrixFactoryProvider {
// 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 _WebKitMutationObserverFactoryProvider {
+ factory WebKitMutationObserver(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 _WorkerFactoryProvider {
factory Worker(String scriptUrl) => _dummy();
}
@@ -6012,8 +6019,7 @@ interface MouseEvent extends UIEvent {
// WARNING: Do not edit - generated code.
-interface MutationCallback {
-}
+typedef bool MutationCallback(List<MutationRecord> mutations, WebKitMutationObserver observer);
// 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.
@@ -11840,11 +11846,13 @@ interface WebKitCSSTransformValue extends CSSValueList {
// WARNING: Do not edit - generated code.
-interface WebKitMutationObserver {
+interface WebKitMutationObserver default _WebKitMutationObserverFactoryProvider {
Anton Muhin 2012/07/13 10:50:47 btw, there is no more WebKitMutationObserver, only
sra1 2012/07/19 00:34:54 This is the DOM library - if it doesn't work we no
+
+ WebKitMutationObserver(MutationCallback callback);
void disconnect();
- void observe(Node target, Map options);
+ void _observe(Node target, Map options);
List<MutationRecord> takeRecords();
}
« no previous file with comments | « no previous file | lib/dom/frog/dom_frog.dart » ('j') | lib/dom/idl/dart/dart.idl » ('J')

Powered by Google App Engine
This is Rietveld 408576698