Chromium Code Reviews| 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(); |
| } |