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

Side by Side Diff: lib/dom/frog/dom_frog.dart

Issue 10704219: Handle all registered types. (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
OLDNEW
1 #library('dom'); 1 #library('dom');
2 2
3 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 3 // Copyright (c) 2011, 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. 8 // Auto-generated Dart DOM library.
9 9
10 10
(...skipping 5212 matching lines...) Expand 10 before | Expand all | Expand 10 after
5223 5223
5224 final int webkitMovementY; 5224 final int webkitMovementY;
5225 5225
5226 final int x; 5226 final int x;
5227 5227
5228 final int y; 5228 final int y;
5229 5229
5230 void initMouseEvent(String type, bool canBubble, bool cancelable, _DOMWindowJs view, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrl Key, bool altKey, bool shiftKey, bool metaKey, int button, _EventTargetJs relate dTarget) native; 5230 void initMouseEvent(String type, bool canBubble, bool cancelable, _DOMWindowJs view, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrl Key, bool altKey, bool shiftKey, bool metaKey, int button, _EventTargetJs relate dTarget) native;
5231 } 5231 }
5232 5232
5233 class _MutationCallbackJs extends _DOMTypeJs implements MutationCallback native "*MutationCallback" {
5234 }
5235
5236 class _MutationEventJs extends _EventJs implements MutationEvent native "*Mutati onEvent" { 5233 class _MutationEventJs extends _EventJs implements MutationEvent native "*Mutati onEvent" {
5237 5234
5238 static final int ADDITION = 2; 5235 static final int ADDITION = 2;
5239 5236
5240 static final int MODIFICATION = 1; 5237 static final int MODIFICATION = 1;
5241 5238
5242 static final int REMOVAL = 3; 5239 static final int REMOVAL = 3;
5243 5240
5244 final int attrChange; 5241 final int attrChange;
5245 5242
(...skipping 12736 matching lines...) Expand 10 before | Expand all | Expand 10 after
17982 final int y; 17979 final int y;
17983 17980
17984 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); 17981 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);
17985 } 17982 }
17986 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17983 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17987 // for details. All rights reserved. Use of this source code is governed by a 17984 // for details. All rights reserved. Use of this source code is governed by a
17988 // BSD-style license that can be found in the LICENSE file. 17985 // BSD-style license that can be found in the LICENSE file.
17989 17986
17990 // WARNING: Do not edit - generated code. 17987 // WARNING: Do not edit - generated code.
17991 17988
17992 interface MutationCallback { 17989 typedef bool MutationCallback(List<MutationRecord> mutations, WebKitMutationObse rver observer);
17993 }
17994 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17990 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17995 // for details. All rights reserved. Use of this source code is governed by a 17991 // for details. All rights reserved. Use of this source code is governed by a
17996 // BSD-style license that can be found in the LICENSE file. 17992 // BSD-style license that can be found in the LICENSE file.
17997 17993
17998 // WARNING: Do not edit - generated code. 17994 // WARNING: Do not edit - generated code.
17999 17995
18000 interface MutationEvent extends Event { 17996 interface MutationEvent extends Event {
18001 17997
18002 static final int ADDITION = 2; 17998 static final int ADDITION = 2;
18003 17999
(...skipping 7258 matching lines...) Expand 10 before | Expand all | Expand 10 after
25262 if (length < 0) throw new IllegalArgumentException('length'); 25258 if (length < 0) throw new IllegalArgumentException('length');
25263 if (start < 0) throw new IndexOutOfRangeException(start); 25259 if (start < 0) throw new IndexOutOfRangeException(start);
25264 int end = start + length; 25260 int end = start + length;
25265 if (end > a.length) throw new IndexOutOfRangeException(end); 25261 if (end > a.length) throw new IndexOutOfRangeException(end);
25266 for (int i = start; i < end; i++) { 25262 for (int i = start; i < end; i++) {
25267 accumulator.add(a[i]); 25263 accumulator.add(a[i]);
25268 } 25264 }
25269 return accumulator; 25265 return accumulator;
25270 } 25266 }
25271 } 25267 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698