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

Side by Side Diff: lib/dom/dart2js/dom_dart2js.dart

Issue 10821012: Autogenerate additional arguments for fanky methods. (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/dom.dart » ('j') | lib/dom/scripts/dartgenerator.py » ('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) 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 795 matching lines...) Expand 10 before | Expand all | Expand 10 after
806 // DOMTypeJs. 806 // DOMTypeJs.
807 implements Console, DOMType 807 implements Console, DOMType
808 native "=(typeof console == 'undefined' ? {} : console)" { 808 native "=(typeof console == 'undefined' ? {} : console)" {
809 809
810 final _MemoryInfoJs memory; 810 final _MemoryInfoJs memory;
811 811
812 final List<ScriptProfile> profiles; 812 final List<ScriptProfile> profiles;
813 813
814 void assertCondition(bool condition, Object arg) native; 814 void assertCondition(bool condition, Object arg) native;
815 815
816 void count() native; 816 void count(Object arg) native;
817 817
818 void debug(Object arg) native; 818 void debug(Object arg) native;
819 819
820 void dir() native; 820 void dir(Object arg) native;
821 821
822 void dirxml() native; 822 void dirxml(Object arg) native;
823 823
824 void error(Object arg) native; 824 void error(Object arg) native;
825 825
826 void group(Object arg) native; 826 void group(Object arg) native;
827 827
828 void groupCollapsed(Object arg) native; 828 void groupCollapsed(Object arg) native;
829 829
830 void groupEnd() native; 830 void groupEnd() native;
831 831
832 void info(Object arg) native; 832 void info(Object arg) native;
833 833
834 void log(Object arg) native; 834 void log(Object arg) native;
835 835
836 void markTimeline() native; 836 void markTimeline(Object arg) native;
837 837
838 void profile(String title) native; 838 void profile(String title) native;
839 839
840 void profileEnd(String title) native; 840 void profileEnd(String title) native;
841 841
842 void time(String title) native; 842 void time(String title) native;
843 843
844 void timeEnd(String title, Object arg) native; 844 void timeEnd(String title, Object arg) native;
845 845
846 void timeStamp(Object arg) native; 846 void timeStamp(Object arg) native;
(...skipping 12429 matching lines...) Expand 10 before | Expand all | Expand 10 after
13276 // WARNING: Do not edit - generated code. 13276 // WARNING: Do not edit - generated code.
13277 13277
13278 interface Console { 13278 interface Console {
13279 13279
13280 final MemoryInfo memory; 13280 final MemoryInfo memory;
13281 13281
13282 final List<ScriptProfile> profiles; 13282 final List<ScriptProfile> profiles;
13283 13283
13284 void assertCondition(bool condition, Object arg); 13284 void assertCondition(bool condition, Object arg);
13285 13285
13286 void count(); 13286 void count(Object arg);
13287 13287
13288 void debug(Object arg); 13288 void debug(Object arg);
13289 13289
13290 void dir(); 13290 void dir(Object arg);
13291 13291
13292 void dirxml(); 13292 void dirxml(Object arg);
13293 13293
13294 void error(Object arg); 13294 void error(Object arg);
13295 13295
13296 void group(Object arg); 13296 void group(Object arg);
13297 13297
13298 void groupCollapsed(Object arg); 13298 void groupCollapsed(Object arg);
13299 13299
13300 void groupEnd(); 13300 void groupEnd();
13301 13301
13302 void info(Object arg); 13302 void info(Object arg);
13303 13303
13304 void log(Object arg); 13304 void log(Object arg);
13305 13305
13306 void markTimeline(); 13306 void markTimeline(Object arg);
13307 13307
13308 void profile(String title); 13308 void profile(String title);
13309 13309
13310 void profileEnd(String title); 13310 void profileEnd(String title);
13311 13311
13312 void time(String title); 13312 void time(String title);
13313 13313
13314 void timeEnd(String title, Object arg); 13314 void timeEnd(String title, Object arg);
13315 13315
13316 void timeStamp(Object arg); 13316 void timeStamp(Object arg);
(...skipping 12063 matching lines...) Expand 10 before | Expand all | Expand 10 after
25380 if (length < 0) throw new IllegalArgumentException('length'); 25380 if (length < 0) throw new IllegalArgumentException('length');
25381 if (start < 0) throw new IndexOutOfRangeException(start); 25381 if (start < 0) throw new IndexOutOfRangeException(start);
25382 int end = start + length; 25382 int end = start + length;
25383 if (end > a.length) throw new IndexOutOfRangeException(end); 25383 if (end > a.length) throw new IndexOutOfRangeException(end);
25384 for (int i = start; i < end; i++) { 25384 for (int i = start; i < end; i++) {
25385 accumulator.add(a[i]); 25385 accumulator.add(a[i]);
25386 } 25386 }
25387 return accumulator; 25387 return accumulator;
25388 } 25388 }
25389 } 25389 }
OLDNEW
« no previous file with comments | « no previous file | lib/dom/dom.dart » ('j') | lib/dom/scripts/dartgenerator.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698