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

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

Issue 10831389: Roll IDL to mutlivm@775. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #library('dart:dom_deprecated'); 1 #library('dart:dom_deprecated');
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 1568 matching lines...) Expand 10 before | Expand all | Expand 10 after
1579 1579
1580 final num gamma; 1580 final num gamma;
1581 1581
1582 void initDeviceOrientationEvent(String type, bool bubbles, bool cancelable, nu m alpha, num beta, num gamma, bool absolute) native; 1582 void initDeviceOrientationEvent(String type, bool bubbles, bool cancelable, nu m alpha, num beta, num gamma, bool absolute) native;
1583 } 1583 }
1584 1584
1585 class _DirectoryEntryJs extends _EntryJs implements DirectoryEntry native "*Dire ctoryEntry" { 1585 class _DirectoryEntryJs extends _EntryJs implements DirectoryEntry native "*Dire ctoryEntry" {
1586 1586
1587 _DirectoryReaderJs createReader() native; 1587 _DirectoryReaderJs createReader() native;
1588 1588
1589 void getDirectory(String path, [Object flags, EntryCallback successCallback, E rrorCallback errorCallback]) native; 1589 void getDirectory(String path, [Map options, EntryCallback successCallback, Er rorCallback errorCallback]) native;
1590 1590
1591 void getFile(String path, [Object flags, EntryCallback successCallback, ErrorC allback errorCallback]) native; 1591 void getFile(String path, [Map options, EntryCallback successCallback, ErrorCa llback errorCallback]) native;
1592 1592
1593 void removeRecursively(VoidCallback successCallback, [ErrorCallback errorCallb ack]) native; 1593 void removeRecursively(VoidCallback successCallback, [ErrorCallback errorCallb ack]) native;
1594 } 1594 }
1595 1595
1596 class _DirectoryEntrySyncJs extends _EntrySyncJs implements DirectoryEntrySync n ative "*DirectoryEntrySync" { 1596 class _DirectoryEntrySyncJs extends _EntrySyncJs implements DirectoryEntrySync n ative "*DirectoryEntrySync" {
1597 1597
1598 _DirectoryReaderSyncJs createReader() native; 1598 _DirectoryReaderSyncJs createReader() native;
1599 1599
1600 _DirectoryEntrySyncJs getDirectory(String path, Object flags) native; 1600 _DirectoryEntrySyncJs getDirectory(String path, Map flags) native;
1601 1601
1602 _FileEntrySyncJs getFile(String path, Object flags) native; 1602 _FileEntrySyncJs getFile(String path, Map flags) native;
1603 1603
1604 void removeRecursively() native; 1604 void removeRecursively() native;
1605 } 1605 }
1606 1606
1607 class _DirectoryReaderJs extends _DOMTypeJs implements DirectoryReader native "* DirectoryReader" { 1607 class _DirectoryReaderJs extends _DOMTypeJs implements DirectoryReader native "* DirectoryReader" {
1608 1608
1609 void readEntries(EntriesCallback successCallback, [ErrorCallback errorCallback ]) native; 1609 void readEntries(EntriesCallback successCallback, [ErrorCallback errorCallback ]) native;
1610 } 1610 }
1611 1611
1612 class _DirectoryReaderSyncJs extends _DOMTypeJs implements DirectoryReaderSync n ative "*DirectoryReaderSync" { 1612 class _DirectoryReaderSyncJs extends _DOMTypeJs implements DirectoryReaderSync n ative "*DirectoryReaderSync" {
(...skipping 1957 matching lines...) Expand 10 before | Expand all | Expand 10 after
3570 final _TextTrackListJs textTracks; 3570 final _TextTrackListJs textTracks;
3571 3571
3572 num volume; 3572 num volume;
3573 3573
3574 final int webkitAudioDecodedByteCount; 3574 final int webkitAudioDecodedByteCount;
3575 3575
3576 bool webkitClosedCaptionsVisible; 3576 bool webkitClosedCaptionsVisible;
3577 3577
3578 final bool webkitHasClosedCaptions; 3578 final bool webkitHasClosedCaptions;
3579 3579
3580 final String webkitMediaSourceURL;
3581
3582 bool webkitPreservesPitch; 3580 bool webkitPreservesPitch;
3583 3581
3584 final int webkitVideoDecodedByteCount; 3582 final int webkitVideoDecodedByteCount;
3585 3583
3586 _TextTrackJs addTextTrack(String kind, [String label, String language]) native ; 3584 _TextTrackJs addTextTrack(String kind, [String label, String language]) native ;
3587 3585
3588 String canPlayType(String type, String keySystem) native; 3586 String canPlayType(String type, String keySystem) native;
3589 3587
3590 void load() native; 3588 void load() native;
3591 3589
(...skipping 702 matching lines...) Expand 10 before | Expand all | Expand 10 after
4294 4292
4295 String toString() native; 4293 String toString() native;
4296 } 4294 }
4297 4295
4298 class _IDBFactoryJs extends _DOMTypeJs implements IDBFactory native "*IDBFactory " { 4296 class _IDBFactoryJs extends _DOMTypeJs implements IDBFactory native "*IDBFactory " {
4299 4297
4300 int cmp(first, second) native; 4298 int cmp(first, second) native;
4301 4299
4302 _IDBVersionChangeRequestJs deleteDatabase(String name) native; 4300 _IDBVersionChangeRequestJs deleteDatabase(String name) native;
4303 4301
4304 _IDBRequestJs open(String name) native; 4302 _IDBOpenDBRequestJs open(String name, [int version]) native;
4305 4303
4306 _IDBRequestJs webkitGetDatabaseNames() native; 4304 _IDBRequestJs webkitGetDatabaseNames() native;
4307 } 4305 }
4308 4306
4309 class _IDBIndexJs extends _DOMTypeJs implements IDBIndex native "*IDBIndex" { 4307 class _IDBIndexJs extends _DOMTypeJs implements IDBIndex native "*IDBIndex" {
4310 4308
4311 final keyPath; 4309 final keyPath;
4312 4310
4313 final bool multiEntry; 4311 final bool multiEntry;
4314 4312
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
4369 4367
4370 _IDBRequestJs getObject(key) native 'get'; 4368 _IDBRequestJs getObject(key) native 'get';
4371 4369
4372 _IDBIndexJs index(String name) native; 4370 _IDBIndexJs index(String name) native;
4373 4371
4374 _IDBRequestJs openCursor([key_OR_range, direction]) native; 4372 _IDBRequestJs openCursor([key_OR_range, direction]) native;
4375 4373
4376 _IDBRequestJs put(value, [key]) native; 4374 _IDBRequestJs put(value, [key]) native;
4377 } 4375 }
4378 4376
4377 class _IDBOpenDBRequestJs extends _IDBRequestJs implements IDBOpenDBRequest nati ve "*IDBOpenDBRequest" {
4378
4379 // From EventTarget
4380
4381 void addEventListener(String type, EventListener listener, [bool useCapture]) native;
4382
4383 bool dispatchEvent(_EventJs event) native;
4384
4385 void removeEventListener(String type, EventListener listener, [bool useCapture ]) native;
4386 }
4387
4379 class _IDBRequestJs extends _EventTargetJs implements IDBRequest native "*IDBReq uest" { 4388 class _IDBRequestJs extends _EventTargetJs implements IDBRequest native "*IDBReq uest" {
4380 4389
4381 final _DOMErrorJs error; 4390 final _DOMErrorJs error;
4382 4391
4383 final int errorCode; 4392 final int errorCode;
4384 4393
4385 final String readyState; 4394 final String readyState;
4386 4395
4387 final result; 4396 final result;
4388 4397
(...skipping 28 matching lines...) Expand all
4417 4426
4418 void addEventListener(String type, EventListener listener, [bool useCapture]) native; 4427 void addEventListener(String type, EventListener listener, [bool useCapture]) native;
4419 4428
4420 bool dispatchEvent(_EventJs evt) native; 4429 bool dispatchEvent(_EventJs evt) native;
4421 4430
4422 _IDBObjectStoreJs objectStore(String name) native; 4431 _IDBObjectStoreJs objectStore(String name) native;
4423 4432
4424 void removeEventListener(String type, EventListener listener, [bool useCapture ]) native; 4433 void removeEventListener(String type, EventListener listener, [bool useCapture ]) native;
4425 } 4434 }
4426 4435
4436 class _IDBUpgradeNeededEventJs extends _EventJs implements IDBUpgradeNeededEvent native "*IDBUpgradeNeededEvent" {
4437
4438 final int newVersion;
4439
4440 final int oldVersion;
4441 }
4442
4427 class _IDBVersionChangeEventJs extends _EventJs implements IDBVersionChangeEvent native "*IDBVersionChangeEvent" { 4443 class _IDBVersionChangeEventJs extends _EventJs implements IDBVersionChangeEvent native "*IDBVersionChangeEvent" {
4428 4444
4429 final String version; 4445 final String version;
4430 } 4446 }
4431 4447
4432 class _IDBVersionChangeRequestJs extends _IDBRequestJs implements IDBVersionChan geRequest native "*IDBVersionChangeRequest" { 4448 class _IDBVersionChangeRequestJs extends _IDBRequestJs implements IDBVersionChan geRequest native "*IDBVersionChangeRequest" {
4433 4449
4434 // From EventTarget 4450 // From EventTarget
4435 4451
4436 void addEventListener(String type, EventListener listener, [bool useCapture]) native; 4452 void addEventListener(String type, EventListener listener, [bool useCapture]) native;
(...skipping 1372 matching lines...) Expand 10 before | Expand all | Expand 10 after
5809 5825
5810 final bool horizontalOverflow; 5826 final bool horizontalOverflow;
5811 5827
5812 final int orient; 5828 final int orient;
5813 5829
5814 final bool verticalOverflow; 5830 final bool verticalOverflow;
5815 } 5831 }
5816 5832
5817 class _PagePopupControllerJs extends _DOMTypeJs implements PagePopupController n ative "*PagePopupController" { 5833 class _PagePopupControllerJs extends _DOMTypeJs implements PagePopupController n ative "*PagePopupController" {
5818 5834
5835 String localizeNumberString(String numberString) native;
5836
5819 void setValueAndClosePopup(int numberValue, String stringValue) native; 5837 void setValueAndClosePopup(int numberValue, String stringValue) native;
5820 } 5838 }
5821 5839
5822 class _PageTransitionEventJs extends _EventJs implements PageTransitionEvent nat ive "*PageTransitionEvent" { 5840 class _PageTransitionEventJs extends _EventJs implements PageTransitionEvent nat ive "*PageTransitionEvent" {
5823 5841
5824 final bool persisted; 5842 final bool persisted;
5825 } 5843 }
5826 5844
5827 class _PeerConnection00Js extends _EventTargetJs implements PeerConnection00 nat ive "*PeerConnection00" { 5845 class _PeerConnection00Js extends _EventTargetJs implements PeerConnection00 nat ive "*PeerConnection00" {
5828 5846
(...skipping 3712 matching lines...) Expand 10 before | Expand all | Expand 10 after
9541 9559
9542 class _SharedWorkerContextJs extends _WorkerContextJs implements SharedWorkerCon text native "*SharedWorkerContext" { 9560 class _SharedWorkerContextJs extends _WorkerContextJs implements SharedWorkerCon text native "*SharedWorkerContext" {
9543 9561
9544 final String name; 9562 final String name;
9545 } 9563 }
9546 9564
9547 class _SourceBufferJs extends _DOMTypeJs implements SourceBuffer native "*Source Buffer" { 9565 class _SourceBufferJs extends _DOMTypeJs implements SourceBuffer native "*Source Buffer" {
9548 9566
9549 final _TimeRangesJs buffered; 9567 final _TimeRangesJs buffered;
9550 9568
9569 num timestampOffset;
9570
9551 void abort() native; 9571 void abort() native;
9552 9572
9553 void append(_Uint8ArrayJs data) native; 9573 void append(_Uint8ArrayJs data) native;
9554 } 9574 }
9555 9575
9556 class _SourceBufferListJs extends _EventTargetJs implements SourceBufferList nat ive "*SourceBufferList" { 9576 class _SourceBufferListJs extends _EventTargetJs implements SourceBufferList nat ive "*SourceBufferList" {
9557 9577
9558 final int length; 9578 final int length;
9559 9579
9560 void addEventListener(String type, EventListener listener, [bool useCapture]) native; 9580 void addEventListener(String type, EventListener listener, [bool useCapture]) native;
(...skipping 4644 matching lines...) Expand 10 before | Expand all | Expand 10 after
14205 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14225 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14206 // for details. All rights reserved. Use of this source code is governed by a 14226 // for details. All rights reserved. Use of this source code is governed by a
14207 // BSD-style license that can be found in the LICENSE file. 14227 // BSD-style license that can be found in the LICENSE file.
14208 14228
14209 // WARNING: Do not edit - generated code. 14229 // WARNING: Do not edit - generated code.
14210 14230
14211 interface DirectoryEntry extends Entry { 14231 interface DirectoryEntry extends Entry {
14212 14232
14213 DirectoryReader createReader(); 14233 DirectoryReader createReader();
14214 14234
14215 void getDirectory(String path, [Object flags, EntryCallback successCallback, E rrorCallback errorCallback]); 14235 void getDirectory(String path, [Map options, EntryCallback successCallback, Er rorCallback errorCallback]);
14216 14236
14217 void getFile(String path, [Object flags, EntryCallback successCallback, ErrorC allback errorCallback]); 14237 void getFile(String path, [Map options, EntryCallback successCallback, ErrorCa llback errorCallback]);
14218 14238
14219 void removeRecursively(VoidCallback successCallback, [ErrorCallback errorCallb ack]); 14239 void removeRecursively(VoidCallback successCallback, [ErrorCallback errorCallb ack]);
14220 } 14240 }
14221 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14241 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14222 // for details. All rights reserved. Use of this source code is governed by a 14242 // for details. All rights reserved. Use of this source code is governed by a
14223 // BSD-style license that can be found in the LICENSE file. 14243 // BSD-style license that can be found in the LICENSE file.
14224 14244
14225 // WARNING: Do not edit - generated code. 14245 // WARNING: Do not edit - generated code.
14226 14246
14227 interface DirectoryEntrySync extends EntrySync { 14247 interface DirectoryEntrySync extends EntrySync {
14228 14248
14229 DirectoryReaderSync createReader(); 14249 DirectoryReaderSync createReader();
14230 14250
14231 DirectoryEntrySync getDirectory(String path, Object flags); 14251 DirectoryEntrySync getDirectory(String path, Map flags);
14232 14252
14233 FileEntrySync getFile(String path, Object flags); 14253 FileEntrySync getFile(String path, Map flags);
14234 14254
14235 void removeRecursively(); 14255 void removeRecursively();
14236 } 14256 }
14237 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14257 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14238 // for details. All rights reserved. Use of this source code is governed by a 14258 // for details. All rights reserved. Use of this source code is governed by a
14239 // BSD-style license that can be found in the LICENSE file. 14259 // BSD-style license that can be found in the LICENSE file.
14240 14260
14241 // WARNING: Do not edit - generated code. 14261 // WARNING: Do not edit - generated code.
14242 14262
14243 interface DirectoryReader { 14263 interface DirectoryReader {
(...skipping 2101 matching lines...) Expand 10 before | Expand all | Expand 10 after
16345 final TextTrackList textTracks; 16365 final TextTrackList textTracks;
16346 16366
16347 num volume; 16367 num volume;
16348 16368
16349 final int webkitAudioDecodedByteCount; 16369 final int webkitAudioDecodedByteCount;
16350 16370
16351 bool webkitClosedCaptionsVisible; 16371 bool webkitClosedCaptionsVisible;
16352 16372
16353 final bool webkitHasClosedCaptions; 16373 final bool webkitHasClosedCaptions;
16354 16374
16355 final String webkitMediaSourceURL;
16356
16357 bool webkitPreservesPitch; 16375 bool webkitPreservesPitch;
16358 16376
16359 final int webkitVideoDecodedByteCount; 16377 final int webkitVideoDecodedByteCount;
16360 16378
16361 TextTrack addTextTrack(String kind, [String label, String language]); 16379 TextTrack addTextTrack(String kind, [String label, String language]);
16362 16380
16363 String canPlayType(String type, String keySystem); 16381 String canPlayType(String type, String keySystem);
16364 16382
16365 void load(); 16383 void load();
16366 16384
(...skipping 906 matching lines...) Expand 10 before | Expand all | Expand 10 after
17273 // BSD-style license that can be found in the LICENSE file. 17291 // BSD-style license that can be found in the LICENSE file.
17274 17292
17275 // WARNING: Do not edit - generated code. 17293 // WARNING: Do not edit - generated code.
17276 17294
17277 interface IDBFactory { 17295 interface IDBFactory {
17278 17296
17279 int cmp(/*IDBKey*/ first, /*IDBKey*/ second); 17297 int cmp(/*IDBKey*/ first, /*IDBKey*/ second);
17280 17298
17281 IDBVersionChangeRequest deleteDatabase(String name); 17299 IDBVersionChangeRequest deleteDatabase(String name);
17282 17300
17283 IDBRequest open(String name); 17301 IDBOpenDBRequest open(String name, [int version]);
17284 17302
17285 IDBRequest webkitGetDatabaseNames(); 17303 IDBRequest webkitGetDatabaseNames();
17286 } 17304 }
17287 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17305 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17288 // for details. All rights reserved. Use of this source code is governed by a 17306 // for details. All rights reserved. Use of this source code is governed by a
17289 // BSD-style license that can be found in the LICENSE file. 17307 // BSD-style license that can be found in the LICENSE file.
17290 17308
17291 // WARNING: Do not edit - generated code. 17309 // WARNING: Do not edit - generated code.
17292 17310
17293 interface IDBIndex { 17311 interface IDBIndex {
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
17383 IDBRequest openCursor([key_OR_range, direction]); 17401 IDBRequest openCursor([key_OR_range, direction]);
17384 17402
17385 IDBRequest put(/*SerializedScriptValue*/ value, [/*IDBKey*/ key]); 17403 IDBRequest put(/*SerializedScriptValue*/ value, [/*IDBKey*/ key]);
17386 } 17404 }
17387 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17405 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17388 // for details. All rights reserved. Use of this source code is governed by a 17406 // for details. All rights reserved. Use of this source code is governed by a
17389 // BSD-style license that can be found in the LICENSE file. 17407 // BSD-style license that can be found in the LICENSE file.
17390 17408
17391 // WARNING: Do not edit - generated code. 17409 // WARNING: Do not edit - generated code.
17392 17410
17411 interface IDBOpenDBRequest extends IDBRequest, EventTarget {
17412 }
17413 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17414 // for details. All rights reserved. Use of this source code is governed by a
17415 // BSD-style license that can be found in the LICENSE file.
17416
17417 // WARNING: Do not edit - generated code.
17418
17393 interface IDBRequest extends EventTarget { 17419 interface IDBRequest extends EventTarget {
17394 17420
17395 final DOMError error; 17421 final DOMError error;
17396 17422
17397 final int errorCode; 17423 final int errorCode;
17398 17424
17399 final String readyState; 17425 final String readyState;
17400 17426
17401 final /*IDBAny*/ result; 17427 final /*IDBAny*/ result;
17402 17428
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
17441 IDBObjectStore objectStore(String name); 17467 IDBObjectStore objectStore(String name);
17442 17468
17443 void removeEventListener(String type, EventListener listener, [bool useCapture ]); 17469 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
17444 } 17470 }
17445 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17471 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17446 // for details. All rights reserved. Use of this source code is governed by a 17472 // for details. All rights reserved. Use of this source code is governed by a
17447 // BSD-style license that can be found in the LICENSE file. 17473 // BSD-style license that can be found in the LICENSE file.
17448 17474
17449 // WARNING: Do not edit - generated code. 17475 // WARNING: Do not edit - generated code.
17450 17476
17477 interface IDBUpgradeNeededEvent extends Event {
17478
17479 final int newVersion;
17480
17481 final int oldVersion;
17482 }
17483 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17484 // for details. All rights reserved. Use of this source code is governed by a
17485 // BSD-style license that can be found in the LICENSE file.
17486
17487 // WARNING: Do not edit - generated code.
17488
17451 interface IDBVersionChangeEvent extends Event { 17489 interface IDBVersionChangeEvent extends Event {
17452 17490
17453 final String version; 17491 final String version;
17454 } 17492 }
17455 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17493 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17456 // for details. All rights reserved. Use of this source code is governed by a 17494 // for details. All rights reserved. Use of this source code is governed by a
17457 // BSD-style license that can be found in the LICENSE file. 17495 // BSD-style license that can be found in the LICENSE file.
17458 17496
17459 // WARNING: Do not edit - generated code. 17497 // WARNING: Do not edit - generated code.
17460 17498
(...skipping 1206 matching lines...) Expand 10 before | Expand all | Expand 10 after
18667 final bool verticalOverflow; 18705 final bool verticalOverflow;
18668 } 18706 }
18669 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 18707 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18670 // for details. All rights reserved. Use of this source code is governed by a 18708 // for details. All rights reserved. Use of this source code is governed by a
18671 // BSD-style license that can be found in the LICENSE file. 18709 // BSD-style license that can be found in the LICENSE file.
18672 18710
18673 // WARNING: Do not edit - generated code. 18711 // WARNING: Do not edit - generated code.
18674 18712
18675 interface PagePopupController { 18713 interface PagePopupController {
18676 18714
18715 String localizeNumberString(String numberString);
18716
18677 void setValueAndClosePopup(int numberValue, String stringValue); 18717 void setValueAndClosePopup(int numberValue, String stringValue);
18678 } 18718 }
18679 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 18719 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18680 // for details. All rights reserved. Use of this source code is governed by a 18720 // for details. All rights reserved. Use of this source code is governed by a
18681 // BSD-style license that can be found in the LICENSE file. 18721 // BSD-style license that can be found in the LICENSE file.
18682 18722
18683 // WARNING: Do not edit - generated code. 18723 // WARNING: Do not edit - generated code.
18684 18724
18685 interface PageTransitionEvent extends Event { 18725 interface PageTransitionEvent extends Event {
18686 18726
(...skipping 3247 matching lines...) Expand 10 before | Expand all | Expand 10 after
21934 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 21974 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21935 // for details. All rights reserved. Use of this source code is governed by a 21975 // for details. All rights reserved. Use of this source code is governed by a
21936 // BSD-style license that can be found in the LICENSE file. 21976 // BSD-style license that can be found in the LICENSE file.
21937 21977
21938 // WARNING: Do not edit - generated code. 21978 // WARNING: Do not edit - generated code.
21939 21979
21940 interface SourceBuffer { 21980 interface SourceBuffer {
21941 21981
21942 final TimeRanges buffered; 21982 final TimeRanges buffered;
21943 21983
21984 num timestampOffset;
21985
21944 void abort(); 21986 void abort();
21945 21987
21946 void append(Uint8Array data); 21988 void append(Uint8Array data);
21947 } 21989 }
21948 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 21990 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21949 // for details. All rights reserved. Use of this source code is governed by a 21991 // for details. All rights reserved. Use of this source code is governed by a
21950 // BSD-style license that can be found in the LICENSE file. 21992 // BSD-style license that can be found in the LICENSE file.
21951 21993
21952 // WARNING: Do not edit - generated code. 21994 // WARNING: Do not edit - generated code.
21953 21995
(...skipping 735 matching lines...) Expand 10 before | Expand all | Expand 10 after
22689 final bool valid; 22731 final bool valid;
22690 22732
22691 final bool valueMissing; 22733 final bool valueMissing;
22692 } 22734 }
22693 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 22735 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22694 // for details. All rights reserved. Use of this source code is governed by a 22736 // for details. All rights reserved. Use of this source code is governed by a
22695 // BSD-style license that can be found in the LICENSE file. 22737 // BSD-style license that can be found in the LICENSE file.
22696 22738
22697 // WARNING: Do not edit - generated code. 22739 // WARNING: Do not edit - generated code.
22698 22740
22699 typedef void VoidCallback(); 22741 typedef bool VoidCallback();
22700 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 22742 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22701 // for details. All rights reserved. Use of this source code is governed by a 22743 // for details. All rights reserved. Use of this source code is governed by a
22702 // BSD-style license that can be found in the LICENSE file. 22744 // BSD-style license that can be found in the LICENSE file.
22703 22745
22704 // WARNING: Do not edit - generated code. 22746 // WARNING: Do not edit - generated code.
22705 22747
22706 interface WaveShaperNode extends AudioNode { 22748 interface WaveShaperNode extends AudioNode {
22707 22749
22708 Float32Array curve; 22750 Float32Array curve;
22709 } 22751 }
(...skipping 2766 matching lines...) Expand 10 before | Expand all | Expand 10 after
25476 if (length < 0) throw new IllegalArgumentException('length'); 25518 if (length < 0) throw new IllegalArgumentException('length');
25477 if (start < 0) throw new IndexOutOfRangeException(start); 25519 if (start < 0) throw new IndexOutOfRangeException(start);
25478 int end = start + length; 25520 int end = start + length;
25479 if (end > a.length) throw new IndexOutOfRangeException(end); 25521 if (end > a.length) throw new IndexOutOfRangeException(end);
25480 for (int i = start; i < end; i++) { 25522 for (int i = start; i < end; i++) {
25481 accumulator.add(a[i]); 25523 accumulator.add(a[i]);
25482 } 25524 }
25483 return accumulator; 25525 return accumulator;
25484 } 25526 }
25485 } 25527 }
OLDNEW
« no previous file with comments | « no previous file | lib/dom/dom.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698