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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | lib/dom/frog/dom_frog.dart » ('j') | lib/dom/idl/dart/dart.idl » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #library('dom'); 1 #library('dom');
2 2
3 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4 // for details. All rights reserved. Use of this source code is governed by a 4 // for details. All rights reserved. Use of this source code is governed by a
5 // BSD-style license that can be found in the LICENSE file. 5 // BSD-style license that can be found in the LICENSE file.
6 6
7 // DO NOT EDIT 7 // DO NOT EDIT
8 // Auto-generated Dart DOM library with no implementation. 8 // Auto-generated Dart DOM library with no implementation.
9 9
10 10
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 // for details. All rights reserved. Use of this source code is governed by a 174 // for details. All rights reserved. Use of this source code is governed by a
175 // BSD-style license that can be found in the LICENSE file. 175 // BSD-style license that can be found in the LICENSE file.
176 176
177 class _WebKitCSSMatrixFactoryProvider { 177 class _WebKitCSSMatrixFactoryProvider {
178 factory WebKitCSSMatrix([String cssValue]) => _dummy(); 178 factory WebKitCSSMatrix([String cssValue]) => _dummy();
179 } 179 }
180 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 180 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
181 // for details. All rights reserved. Use of this source code is governed by a 181 // for details. All rights reserved. Use of this source code is governed by a
182 // BSD-style license that can be found in the LICENSE file. 182 // BSD-style license that can be found in the LICENSE file.
183 183
184 class _WebKitMutationObserverFactoryProvider {
185 factory WebKitMutationObserver(MutationCallback callback) => _dummy();
186 }
187 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
188 // for details. All rights reserved. Use of this source code is governed by a
189 // BSD-style license that can be found in the LICENSE file.
190
184 class _WorkerFactoryProvider { 191 class _WorkerFactoryProvider {
185 factory Worker(String scriptUrl) => _dummy(); 192 factory Worker(String scriptUrl) => _dummy();
186 } 193 }
187 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 194 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
188 // for details. All rights reserved. Use of this source code is governed by a 195 // for details. All rights reserved. Use of this source code is governed by a
189 // BSD-style license that can be found in the LICENSE file. 196 // BSD-style license that can be found in the LICENSE file.
190 197
191 class _XMLHttpRequestFactoryProvider { 198 class _XMLHttpRequestFactoryProvider {
192 factory XMLHttpRequest() => _dummy(); 199 factory XMLHttpRequest() => _dummy();
193 } 200 }
(...skipping 5811 matching lines...) Expand 10 before | Expand all | Expand 10 after
6005 final int y; 6012 final int y;
6006 6013
6007 void initMouseEvent(String type, bool canBubble, bool cancelable, DOMWindow vi ew, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlKey , bool altKey, bool shiftKey, bool metaKey, int button, EventTarget relatedTarge t); 6014 void initMouseEvent(String type, bool canBubble, bool cancelable, DOMWindow vi ew, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlKey , bool altKey, bool shiftKey, bool metaKey, int button, EventTarget relatedTarge t);
6008 } 6015 }
6009 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6016 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6010 // for details. All rights reserved. Use of this source code is governed by a 6017 // for details. All rights reserved. Use of this source code is governed by a
6011 // BSD-style license that can be found in the LICENSE file. 6018 // BSD-style license that can be found in the LICENSE file.
6012 6019
6013 // WARNING: Do not edit - generated code. 6020 // WARNING: Do not edit - generated code.
6014 6021
6015 interface MutationCallback { 6022 typedef bool MutationCallback(List<MutationRecord> mutations, WebKitMutationObse rver observer);
6016 }
6017 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6023 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6018 // for details. All rights reserved. Use of this source code is governed by a 6024 // for details. All rights reserved. Use of this source code is governed by a
6019 // BSD-style license that can be found in the LICENSE file. 6025 // BSD-style license that can be found in the LICENSE file.
6020 6026
6021 // WARNING: Do not edit - generated code. 6027 // WARNING: Do not edit - generated code.
6022 6028
6023 interface MutationEvent extends Event { 6029 interface MutationEvent extends Event {
6024 6030
6025 static final int ADDITION = 2; 6031 static final int ADDITION = 2;
6026 6032
(...skipping 5806 matching lines...) Expand 10 before | Expand all | Expand 10 after
11833 static final int CSS_TRANSLATEZ = 12; 11839 static final int CSS_TRANSLATEZ = 12;
11834 11840
11835 final int operationType; 11841 final int operationType;
11836 } 11842 }
11837 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 11843 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11838 // for details. All rights reserved. Use of this source code is governed by a 11844 // for details. All rights reserved. Use of this source code is governed by a
11839 // BSD-style license that can be found in the LICENSE file. 11845 // BSD-style license that can be found in the LICENSE file.
11840 11846
11841 // WARNING: Do not edit - generated code. 11847 // WARNING: Do not edit - generated code.
11842 11848
11843 interface WebKitMutationObserver { 11849 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
11850
11851 WebKitMutationObserver(MutationCallback callback);
11844 11852
11845 void disconnect(); 11853 void disconnect();
11846 11854
11847 void observe(Node target, Map options); 11855 void _observe(Node target, Map options);
11848 11856
11849 List<MutationRecord> takeRecords(); 11857 List<MutationRecord> takeRecords();
11850 } 11858 }
11851 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 11859 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11852 // for details. All rights reserved. Use of this source code is governed by a 11860 // for details. All rights reserved. Use of this source code is governed by a
11853 // BSD-style license that can be found in the LICENSE file. 11861 // BSD-style license that can be found in the LICENSE file.
11854 11862
11855 // WARNING: Do not edit - generated code. 11863 // WARNING: Do not edit - generated code.
11856 11864
11857 interface WebKitNamedFlow { 11865 interface WebKitNamedFlow {
(...skipping 1102 matching lines...) Expand 10 before | Expand all | Expand 10 after
12960 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 12968 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12961 // for details. All rights reserved. Use of this source code is governed by a 12969 // for details. All rights reserved. Use of this source code is governed by a
12962 // BSD-style license that can be found in the LICENSE file. 12970 // BSD-style license that can be found in the LICENSE file.
12963 12971
12964 Window get window() => _dummy(); 12972 Window get window() => _dummy();
12965 12973
12966 // TODO(vsm): Remove when prefixes are supported. 12974 // TODO(vsm): Remove when prefixes are supported.
12967 Window get dom_window() => _dummy(); 12975 Window get dom_window() => _dummy();
12968 12976
12969 Document get document() => _dummy(); 12977 Document get document() => _dummy();
OLDNEW
« 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