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

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

Issue 9618049: Fix for Issue 2036 - remove 'var' in type position on getter (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 8 years, 9 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 | client/dom/generated/src/frog/HTMLMediaElement.dart » ('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 3284 matching lines...) Expand 10 before | Expand all | Expand 10 after
3295 3295
3296 String width; 3296 String width;
3297 3297
3298 void start() native; 3298 void start() native;
3299 3299
3300 void stop() native; 3300 void stop() native;
3301 } 3301 }
3302 3302
3303 class _HTMLMediaElementJs extends _HTMLElementJs implements HTMLMediaElement nat ive "*HTMLMediaElement" { 3303 class _HTMLMediaElementJs extends _HTMLElementJs implements HTMLMediaElement nat ive "*HTMLMediaElement" {
3304 3304
3305 static final int EOS_DECODE_ERR = 2;
3306
3307 static final int EOS_NETWORK_ERR = 1;
3308
3309 static final int EOS_NO_ERROR = 0;
3310
3305 static final int HAVE_CURRENT_DATA = 2; 3311 static final int HAVE_CURRENT_DATA = 2;
3306 3312
3307 static final int HAVE_ENOUGH_DATA = 4; 3313 static final int HAVE_ENOUGH_DATA = 4;
3308 3314
3309 static final int HAVE_FUTURE_DATA = 3; 3315 static final int HAVE_FUTURE_DATA = 3;
3310 3316
3311 static final int HAVE_METADATA = 1; 3317 static final int HAVE_METADATA = 1;
3312 3318
3313 static final int HAVE_NOTHING = 0; 3319 static final int HAVE_NOTHING = 0;
3314 3320
3315 static final int NETWORK_EMPTY = 0; 3321 static final int NETWORK_EMPTY = 0;
3316 3322
3317 static final int NETWORK_IDLE = 1; 3323 static final int NETWORK_IDLE = 1;
3318 3324
3319 static final int NETWORK_LOADING = 2; 3325 static final int NETWORK_LOADING = 2;
3320 3326
3321 static final int NETWORK_NO_SOURCE = 3; 3327 static final int NETWORK_NO_SOURCE = 3;
3322 3328
3329 static final int SOURCE_CLOSED = 0;
3330
3331 static final int SOURCE_ENDED = 2;
3332
3333 static final int SOURCE_OPEN = 1;
3334
3323 bool autoplay; 3335 bool autoplay;
3324 3336
3325 final _TimeRangesJs buffered; 3337 final _TimeRangesJs buffered;
3326 3338
3327 _MediaControllerJs controller; 3339 _MediaControllerJs controller;
3328 3340
3329 bool controls; 3341 bool controls;
3330 3342
3331 final String currentSrc; 3343 final String currentSrc;
3332 3344
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after
3901 void setSelectionRange(int start, int end, [String direction = null]) native; 3913 void setSelectionRange(int start, int end, [String direction = null]) native;
3902 } 3914 }
3903 3915
3904 class _HTMLTitleElementJs extends _HTMLElementJs implements HTMLTitleElement nat ive "*HTMLTitleElement" { 3916 class _HTMLTitleElementJs extends _HTMLElementJs implements HTMLTitleElement nat ive "*HTMLTitleElement" {
3905 3917
3906 String text; 3918 String text;
3907 } 3919 }
3908 3920
3909 class _HTMLTrackElementJs extends _HTMLElementJs implements HTMLTrackElement nat ive "*HTMLTrackElement" { 3921 class _HTMLTrackElementJs extends _HTMLElementJs implements HTMLTrackElement nat ive "*HTMLTrackElement" {
3910 3922
3923 static final int ERROR = 3;
3924
3911 static final int LOADED = 2; 3925 static final int LOADED = 2;
3912 3926
3913 static final int LOADING = 1; 3927 static final int LOADING = 1;
3914 3928
3915 static final int NONE = 0; 3929 static final int NONE = 0;
3916 3930
3917 bool isDefault; 3931 bool isDefault;
3918 3932
3919 String kind; 3933 String kind;
3920 3934
(...skipping 5295 matching lines...) Expand 10 before | Expand all | Expand 10 after
9216 9230
9217 void removeItem(String key) native; 9231 void removeItem(String key) native;
9218 9232
9219 void setItem(String key, String data) native; 9233 void setItem(String key, String data) native;
9220 9234
9221 9235
9222 // Storage needs a special implementation of dartObjectLocalStorage since it 9236 // Storage needs a special implementation of dartObjectLocalStorage since it
9223 // captures what would normally be an expando and places property in the 9237 // captures what would normally be an expando and places property in the
9224 // storage, stringifying the assigned value. 9238 // storage, stringifying the assigned value.
9225 9239
9226 var get dartObjectLocalStorage() native """ 9240 get dartObjectLocalStorage() native """
9227 if (this === window.localStorage) 9241 if (this === window.localStorage)
9228 return window._dartLocalStorageLocalStorage; 9242 return window._dartLocalStorageLocalStorage;
9229 else if (this === window.sessionStorage) 9243 else if (this === window.sessionStorage)
9230 return window._dartSessionStorageLocalStorage; 9244 return window._dartSessionStorageLocalStorage;
9231 else 9245 else
9232 throw new UnsupportedOperationException('Cannot dartObjectLocalStorage for unknown Storage object.'); 9246 throw new UnsupportedOperationException('Cannot dartObjectLocalStorage for unknown Storage object.');
9233 """ { throw new UnsupportedOperationException(''); } 9247 """ { throw new UnsupportedOperationException(''); }
9234 9248
9235 void set dartObjectLocalStorage(var value) native """ 9249 void set dartObjectLocalStorage(var value) native """
9236 if (this === window.localStorage) 9250 if (this === window.localStorage)
(...skipping 6301 matching lines...) Expand 10 before | Expand all | Expand 10 after
15538 void stop(); 15552 void stop();
15539 } 15553 }
15540 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 15554 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15541 // for details. All rights reserved. Use of this source code is governed by a 15555 // for details. All rights reserved. Use of this source code is governed by a
15542 // BSD-style license that can be found in the LICENSE file. 15556 // BSD-style license that can be found in the LICENSE file.
15543 15557
15544 // WARNING: Do not edit - generated code. 15558 // WARNING: Do not edit - generated code.
15545 15559
15546 interface HTMLMediaElement extends HTMLElement { 15560 interface HTMLMediaElement extends HTMLElement {
15547 15561
15562 static final int EOS_DECODE_ERR = 2;
15563
15564 static final int EOS_NETWORK_ERR = 1;
15565
15566 static final int EOS_NO_ERROR = 0;
15567
15548 static final int HAVE_CURRENT_DATA = 2; 15568 static final int HAVE_CURRENT_DATA = 2;
15549 15569
15550 static final int HAVE_ENOUGH_DATA = 4; 15570 static final int HAVE_ENOUGH_DATA = 4;
15551 15571
15552 static final int HAVE_FUTURE_DATA = 3; 15572 static final int HAVE_FUTURE_DATA = 3;
15553 15573
15554 static final int HAVE_METADATA = 1; 15574 static final int HAVE_METADATA = 1;
15555 15575
15556 static final int HAVE_NOTHING = 0; 15576 static final int HAVE_NOTHING = 0;
15557 15577
15558 static final int NETWORK_EMPTY = 0; 15578 static final int NETWORK_EMPTY = 0;
15559 15579
15560 static final int NETWORK_IDLE = 1; 15580 static final int NETWORK_IDLE = 1;
15561 15581
15562 static final int NETWORK_LOADING = 2; 15582 static final int NETWORK_LOADING = 2;
15563 15583
15564 static final int NETWORK_NO_SOURCE = 3; 15584 static final int NETWORK_NO_SOURCE = 3;
15565 15585
15586 static final int SOURCE_CLOSED = 0;
15587
15588 static final int SOURCE_ENDED = 2;
15589
15590 static final int SOURCE_OPEN = 1;
15591
15566 bool autoplay; 15592 bool autoplay;
15567 15593
15568 final TimeRanges buffered; 15594 final TimeRanges buffered;
15569 15595
15570 MediaController controller; 15596 MediaController controller;
15571 15597
15572 bool controls; 15598 bool controls;
15573 15599
15574 final String currentSrc; 15600 final String currentSrc;
15575 15601
(...skipping 718 matching lines...) Expand 10 before | Expand all | Expand 10 after
16294 String text; 16320 String text;
16295 } 16321 }
16296 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 16322 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16297 // for details. All rights reserved. Use of this source code is governed by a 16323 // for details. All rights reserved. Use of this source code is governed by a
16298 // BSD-style license that can be found in the LICENSE file. 16324 // BSD-style license that can be found in the LICENSE file.
16299 16325
16300 // WARNING: Do not edit - generated code. 16326 // WARNING: Do not edit - generated code.
16301 16327
16302 interface HTMLTrackElement extends HTMLElement { 16328 interface HTMLTrackElement extends HTMLElement {
16303 16329
16330 static final int ERROR = 3;
16331
16304 static final int LOADED = 2; 16332 static final int LOADED = 2;
16305 16333
16306 static final int LOADING = 1; 16334 static final int LOADING = 1;
16307 16335
16308 static final int NONE = 0; 16336 static final int NONE = 0;
16309 16337
16310 bool isDefault; 16338 bool isDefault;
16311 16339
16312 String kind; 16340 String kind;
16313 16341
(...skipping 7863 matching lines...) Expand 10 before | Expand all | Expand 10 after
24177 if (length < 0) throw new IllegalArgumentException('length'); 24205 if (length < 0) throw new IllegalArgumentException('length');
24178 if (start < 0) throw new IndexOutOfRangeException(start); 24206 if (start < 0) throw new IndexOutOfRangeException(start);
24179 int end = start + length; 24207 int end = start + length;
24180 if (end > a.length) throw new IndexOutOfRangeException(end); 24208 if (end > a.length) throw new IndexOutOfRangeException(end);
24181 for (int i = start; i < end; i++) { 24209 for (int i = start; i < end; i++) {
24182 accumulator.add(a[i]); 24210 accumulator.add(a[i]);
24183 } 24211 }
24184 return accumulator; 24212 return accumulator;
24185 } 24213 }
24186 } 24214 }
OLDNEW
« no previous file with comments | « no previous file | client/dom/generated/src/frog/HTMLMediaElement.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698