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

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

Issue 10027017: Auto-generate TimeoutHandler.dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: . Created 8 years, 8 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 | « lib/compiler/implementation/scanner/source_list.dart ('k') | lib/dom/idl/dart/dart.idl » ('j') | no next file with comments »
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) 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 22025 matching lines...) Expand 10 before | Expand all | Expand 10 after
22036 // WARNING: Do not edit - generated code. 22036 // WARNING: Do not edit - generated code.
22037 22037
22038 interface TimeRanges { 22038 interface TimeRanges {
22039 22039
22040 final int length; 22040 final int length;
22041 22041
22042 num end(int index); 22042 num end(int index);
22043 22043
22044 num start(int index); 22044 num start(int index);
22045 } 22045 }
22046 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
22047 // for details. All rights reserved. Use of this source code is governed by a
22048 // BSD-style license that can be found in the LICENSE file.
22049
22050 // WARNING: Do not edit - generated code.
22051
22052 typedef void TimeoutHandler();
22046 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 22053 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22047 // for details. All rights reserved. Use of this source code is governed by a 22054 // for details. All rights reserved. Use of this source code is governed by a
22048 // BSD-style license that can be found in the LICENSE file. 22055 // BSD-style license that can be found in the LICENSE file.
22049 22056
22050 // WARNING: Do not edit - generated code. 22057 // WARNING: Do not edit - generated code.
22051 22058
22052 interface Touch { 22059 interface Touch {
22053 22060
22054 final int clientX; 22061 final int clientX;
22055 22062
(...skipping 2617 matching lines...) Expand 10 before | Expand all | Expand 10 after
24673 24680
24674 /** 24681 /**
24675 * Indicates the document and all subresources have been loaded. 24682 * Indicates the document and all subresources have been loaded.
24676 */ 24683 */
24677 static final String COMPLETE = "complete"; 24684 static final String COMPLETE = "complete";
24678 } 24685 }
24679 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 24686 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
24680 // for details. All rights reserved. Use of this source code is governed by a 24687 // for details. All rights reserved. Use of this source code is governed by a
24681 // BSD-style license that can be found in the LICENSE file. 24688 // BSD-style license that can be found in the LICENSE file.
24682 24689
24683 typedef void TimeoutHandler();
24684 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
24685 // for details. All rights reserved. Use of this source code is governed by a
24686 // BSD-style license that can be found in the LICENSE file.
24687
24688 /** 24690 /**
24689 * The [Collections] class implements static methods useful when 24691 * The [Collections] class implements static methods useful when
24690 * writing a class that implements [Collection] and the [iterator] 24692 * writing a class that implements [Collection] and the [iterator]
24691 * method. 24693 * method.
24692 */ 24694 */
24693 class _Collections { 24695 class _Collections {
24694 static void forEach(Iterable<Object> iterable, void f(Object o)) { 24696 static void forEach(Iterable<Object> iterable, void f(Object o)) {
24695 for (final e in iterable) { 24697 for (final e in iterable) {
24696 f(e); 24698 f(e);
24697 } 24699 }
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
25032 if (length < 0) throw new IllegalArgumentException('length'); 25034 if (length < 0) throw new IllegalArgumentException('length');
25033 if (start < 0) throw new IndexOutOfRangeException(start); 25035 if (start < 0) throw new IndexOutOfRangeException(start);
25034 int end = start + length; 25036 int end = start + length;
25035 if (end > a.length) throw new IndexOutOfRangeException(end); 25037 if (end > a.length) throw new IndexOutOfRangeException(end);
25036 for (int i = start; i < end; i++) { 25038 for (int i = start; i < end; i++) {
25037 accumulator.add(a[i]); 25039 accumulator.add(a[i]);
25038 } 25040 }
25039 return accumulator; 25041 return accumulator;
25040 } 25042 }
25041 } 25043 }
OLDNEW
« no previous file with comments | « lib/compiler/implementation/scanner/source_list.dart ('k') | lib/dom/idl/dart/dart.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698