OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
6 | 6 |
7 class _DOMWindowWrappingImplementation extends DOMWrapperBase implements DOMWind
ow { | 7 class _DOMWindowWrappingImplementation extends DOMWrapperBase implements DOMWind
ow { |
8 _DOMWindowWrappingImplementation() : super() {} | 8 _DOMWindowWrappingImplementation() : super() {} |
9 | 9 |
10 static create__DOMWindowWrappingImplementation() native { | 10 static create__DOMWindowWrappingImplementation() native { |
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
528 throw "Incorrect number or type of arguments"; | 528 throw "Incorrect number or type of arguments"; |
529 } | 529 } |
530 static void _webkitPostMessage(receiver, message, targetOrigin_OR_transferList
) native; | 530 static void _webkitPostMessage(receiver, message, targetOrigin_OR_transferList
) native; |
531 static void _webkitPostMessage_2(receiver, message, targetOrigin_OR_transferLi
st, targetOrigin) native; | 531 static void _webkitPostMessage_2(receiver, message, targetOrigin_OR_transferLi
st, targetOrigin) native; |
532 | 532 |
533 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback, Elemen
t element) { | 533 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback, Elemen
t element) { |
534 return _webkitRequestAnimationFrame(this, callback, element); | 534 return _webkitRequestAnimationFrame(this, callback, element); |
535 } | 535 } |
536 static int _webkitRequestAnimationFrame(receiver, callback, element) native; | 536 static int _webkitRequestAnimationFrame(receiver, callback, element) native; |
537 | 537 |
| 538 void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCa
llback = null, ErrorCallback errorCallback = null]) { |
| 539 if (successCallback === null) { |
| 540 if (errorCallback === null) { |
| 541 _webkitRequestFileSystem(this, type, size); |
| 542 return; |
| 543 } |
| 544 } else { |
| 545 if (errorCallback === null) { |
| 546 _webkitRequestFileSystem_2(this, type, size, successCallback); |
| 547 return; |
| 548 } else { |
| 549 _webkitRequestFileSystem_3(this, type, size, successCallback, errorCallb
ack); |
| 550 return; |
| 551 } |
| 552 } |
| 553 throw "Incorrect number or type of arguments"; |
| 554 } |
| 555 static void _webkitRequestFileSystem(receiver, type, size) native; |
| 556 static void _webkitRequestFileSystem_2(receiver, type, size, successCallback)
native; |
| 557 static void _webkitRequestFileSystem_3(receiver, type, size, successCallback,
errorCallback) native; |
| 558 |
| 559 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac
k = null, ErrorCallback errorCallback = null]) { |
| 560 if (successCallback === null) { |
| 561 if (errorCallback === null) { |
| 562 _webkitResolveLocalFileSystemURL(this, url); |
| 563 return; |
| 564 } |
| 565 } else { |
| 566 if (errorCallback === null) { |
| 567 _webkitResolveLocalFileSystemURL_2(this, url, successCallback); |
| 568 return; |
| 569 } else { |
| 570 _webkitResolveLocalFileSystemURL_3(this, url, successCallback, errorCall
back); |
| 571 return; |
| 572 } |
| 573 } |
| 574 throw "Incorrect number or type of arguments"; |
| 575 } |
| 576 static void _webkitResolveLocalFileSystemURL(receiver, url) native; |
| 577 static void _webkitResolveLocalFileSystemURL_2(receiver, url, successCallback)
native; |
| 578 static void _webkitResolveLocalFileSystemURL_3(receiver, url, successCallback,
errorCallback) native; |
| 579 |
538 String get typeName() { return "DOMWindow"; } | 580 String get typeName() { return "DOMWindow"; } |
539 } | 581 } |
OLD | NEW |