| OLD | NEW |
| 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 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 | 333 |
| 334 void getFrequencyResponse(_Float32ArrayJs frequencyHz, _Float32ArrayJs magResp
onse, _Float32ArrayJs phaseResponse) native; | 334 void getFrequencyResponse(_Float32ArrayJs frequencyHz, _Float32ArrayJs magResp
onse, _Float32ArrayJs phaseResponse) native; |
| 335 } | 335 } |
| 336 | 336 |
| 337 class _BlobJs extends _DOMTypeJs implements Blob native "*Blob" { | 337 class _BlobJs extends _DOMTypeJs implements Blob native "*Blob" { |
| 338 | 338 |
| 339 final int size; | 339 final int size; |
| 340 | 340 |
| 341 final String type; | 341 final String type; |
| 342 | 342 |
| 343 _BlobJs slice([int start = null, int end = null, String contentType = null]) n
ative; |
| 344 |
| 343 _BlobJs webkitSlice([int start = null, int end = null, String contentType = nu
ll]) native; | 345 _BlobJs webkitSlice([int start = null, int end = null, String contentType = nu
ll]) native; |
| 344 } | 346 } |
| 345 | 347 |
| 346 class _CDATASectionJs extends _TextJs implements CDATASection native "*CDATASect
ion" { | 348 class _CDATASectionJs extends _TextJs implements CDATASection native "*CDATASect
ion" { |
| 347 } | 349 } |
| 348 | 350 |
| 349 class _CSSCharsetRuleJs extends _CSSRuleJs implements CSSCharsetRule native "*CS
SCharsetRule" { | 351 class _CSSCharsetRuleJs extends _CSSRuleJs implements CSSCharsetRule native "*CS
SCharsetRule" { |
| 350 | 352 |
| 351 String encoding; | 353 String encoding; |
| 352 } | 354 } |
| (...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 800 | 802 |
| 801 class _ConsoleJs | 803 class _ConsoleJs |
| 802 // Implement DOMType directly. Console is sometimes a singleton | 804 // Implement DOMType directly. Console is sometimes a singleton |
| 803 // bag-of-properties without a prototype, so it can't inherit from | 805 // bag-of-properties without a prototype, so it can't inherit from |
| 804 // DOMTypeJs. | 806 // DOMTypeJs. |
| 805 implements Console, DOMType | 807 implements Console, DOMType |
| 806 native "=(typeof console == 'undefined' ? {} : console)" { | 808 native "=(typeof console == 'undefined' ? {} : console)" { |
| 807 | 809 |
| 808 final _MemoryInfoJs memory; | 810 final _MemoryInfoJs memory; |
| 809 | 811 |
| 810 final List<ScriptProfile> profiles; | |
| 811 | |
| 812 void assertCondition(bool condition, Object arg) native; | 812 void assertCondition(bool condition, Object arg) native; |
| 813 | 813 |
| 814 void count() native; | 814 void count() native; |
| 815 | 815 |
| 816 void debug(Object arg) native; | 816 void debug(Object arg) native; |
| 817 | 817 |
| 818 void dir() native; | 818 void dir() native; |
| 819 | 819 |
| 820 void dirxml() native; | 820 void dirxml() native; |
| 821 | 821 |
| (...skipping 838 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1660 String cookie; | 1660 String cookie; |
| 1661 | 1661 |
| 1662 final String defaultCharset; | 1662 final String defaultCharset; |
| 1663 | 1663 |
| 1664 final _DOMWindowJs defaultView; | 1664 final _DOMWindowJs defaultView; |
| 1665 | 1665 |
| 1666 final _DocumentTypeJs doctype; | 1666 final _DocumentTypeJs doctype; |
| 1667 | 1667 |
| 1668 final _ElementJs documentElement; | 1668 final _ElementJs documentElement; |
| 1669 | 1669 |
| 1670 String documentURI; | 1670 final String documentURI; |
| 1671 | 1671 |
| 1672 String domain; | 1672 String domain; |
| 1673 | 1673 |
| 1674 final _HTMLCollectionJs forms; | 1674 final _HTMLCollectionJs forms; |
| 1675 | 1675 |
| 1676 final _HTMLHeadElementJs head; | 1676 final _HTMLHeadElementJs head; |
| 1677 | 1677 |
| 1678 final _HTMLCollectionJs images; | 1678 final _HTMLCollectionJs images; |
| 1679 | 1679 |
| 1680 final _DOMImplementationJs implementation; | 1680 final _DOMImplementationJs implementation; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 1704 final bool webkitFullScreenKeyboardInputAllowed; | 1704 final bool webkitFullScreenKeyboardInputAllowed; |
| 1705 | 1705 |
| 1706 final _ElementJs webkitFullscreenElement; | 1706 final _ElementJs webkitFullscreenElement; |
| 1707 | 1707 |
| 1708 final bool webkitFullscreenEnabled; | 1708 final bool webkitFullscreenEnabled; |
| 1709 | 1709 |
| 1710 final bool webkitHidden; | 1710 final bool webkitHidden; |
| 1711 | 1711 |
| 1712 final bool webkitIsFullScreen; | 1712 final bool webkitIsFullScreen; |
| 1713 | 1713 |
| 1714 final _ElementJs webkitPointerLockElement; |
| 1715 |
| 1714 final String webkitVisibilityState; | 1716 final String webkitVisibilityState; |
| 1715 | 1717 |
| 1716 final String xmlEncoding; | 1718 final String xmlEncoding; |
| 1717 | 1719 |
| 1718 bool xmlStandalone; | 1720 bool xmlStandalone; |
| 1719 | 1721 |
| 1720 String xmlVersion; | 1722 String xmlVersion; |
| 1721 | 1723 |
| 1722 _NodeJs adoptNode(_NodeJs source) native; | 1724 _NodeJs adoptNode(_NodeJs source) native; |
| 1723 | 1725 |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1793 | 1795 |
| 1794 String queryCommandValue(String command) native; | 1796 String queryCommandValue(String command) native; |
| 1795 | 1797 |
| 1796 _ElementJs querySelector(String selectors) native; | 1798 _ElementJs querySelector(String selectors) native; |
| 1797 | 1799 |
| 1798 _NodeListJs querySelectorAll(String selectors) native; | 1800 _NodeListJs querySelectorAll(String selectors) native; |
| 1799 | 1801 |
| 1800 void webkitCancelFullScreen() native; | 1802 void webkitCancelFullScreen() native; |
| 1801 | 1803 |
| 1802 void webkitExitFullscreen() native; | 1804 void webkitExitFullscreen() native; |
| 1805 |
| 1806 void webkitExitPointerLock() native; |
| 1803 } | 1807 } |
| 1804 | 1808 |
| 1805 class _DocumentFragmentJs extends _NodeJs implements DocumentFragment native "*D
ocumentFragment" { | 1809 class _DocumentFragmentJs extends _NodeJs implements DocumentFragment native "*D
ocumentFragment" { |
| 1806 | 1810 |
| 1807 _ElementJs querySelector(String selectors) native; | 1811 _ElementJs querySelector(String selectors) native; |
| 1808 | 1812 |
| 1809 _NodeListJs querySelectorAll(String selectors) native; | 1813 _NodeListJs querySelectorAll(String selectors) native; |
| 1810 } | 1814 } |
| 1811 | 1815 |
| 1812 class _DocumentTypeJs extends _NodeJs implements DocumentType native "*DocumentT
ype" { | 1816 class _DocumentTypeJs extends _NodeJs implements DocumentType native "*DocumentT
ype" { |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1944 | 1948 |
| 1945 _AttrJs setAttributeNode(_AttrJs newAttr) native; | 1949 _AttrJs setAttributeNode(_AttrJs newAttr) native; |
| 1946 | 1950 |
| 1947 _AttrJs setAttributeNodeNS(_AttrJs newAttr) native; | 1951 _AttrJs setAttributeNodeNS(_AttrJs newAttr) native; |
| 1948 | 1952 |
| 1949 bool webkitMatchesSelector(String selectors) native; | 1953 bool webkitMatchesSelector(String selectors) native; |
| 1950 | 1954 |
| 1951 void webkitRequestFullScreen(int flags) native; | 1955 void webkitRequestFullScreen(int flags) native; |
| 1952 | 1956 |
| 1953 void webkitRequestFullscreen() native; | 1957 void webkitRequestFullscreen() native; |
| 1958 |
| 1959 void webkitRequestPointerLock() native; |
| 1954 } | 1960 } |
| 1955 | 1961 |
| 1956 class _EntityJs extends _NodeJs implements Entity native "*Entity" { | 1962 class _EntityJs extends _NodeJs implements Entity native "*Entity" { |
| 1957 | 1963 |
| 1958 final String notationName; | 1964 final String notationName; |
| 1959 | 1965 |
| 1960 final String publicId; | 1966 final String publicId; |
| 1961 | 1967 |
| 1962 final String systemId; | 1968 final String systemId; |
| 1963 } | 1969 } |
| (...skipping 824 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2788 String formMethod; | 2794 String formMethod; |
| 2789 | 2795 |
| 2790 bool formNoValidate; | 2796 bool formNoValidate; |
| 2791 | 2797 |
| 2792 String formTarget; | 2798 String formTarget; |
| 2793 | 2799 |
| 2794 final _NodeListJs labels; | 2800 final _NodeListJs labels; |
| 2795 | 2801 |
| 2796 String name; | 2802 String name; |
| 2797 | 2803 |
| 2798 final String type; | 2804 String type; |
| 2799 | 2805 |
| 2800 final String validationMessage; | 2806 final String validationMessage; |
| 2801 | 2807 |
| 2802 final _ValidityStateJs validity; | 2808 final _ValidityStateJs validity; |
| 2803 | 2809 |
| 2804 String value; | 2810 String value; |
| 2805 | 2811 |
| 2806 final bool willValidate; | 2812 final bool willValidate; |
| 2807 | 2813 |
| 2808 bool checkValidity() native; | 2814 bool checkValidity() native; |
| (...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3346 final String validationMessage; | 3352 final String validationMessage; |
| 3347 | 3353 |
| 3348 final _ValidityStateJs validity; | 3354 final _ValidityStateJs validity; |
| 3349 | 3355 |
| 3350 String value; | 3356 String value; |
| 3351 | 3357 |
| 3352 Date valueAsDate; | 3358 Date valueAsDate; |
| 3353 | 3359 |
| 3354 num valueAsNumber; | 3360 num valueAsNumber; |
| 3355 | 3361 |
| 3362 final _EntryArrayJs webkitEntries; |
| 3363 |
| 3356 bool webkitGrammar; | 3364 bool webkitGrammar; |
| 3357 | 3365 |
| 3358 bool webkitSpeech; | 3366 bool webkitSpeech; |
| 3359 | 3367 |
| 3360 bool webkitdirectory; | 3368 bool webkitdirectory; |
| 3361 | 3369 |
| 3362 int width; | 3370 int width; |
| 3363 | 3371 |
| 3364 final bool willValidate; | 3372 final bool willValidate; |
| 3365 | 3373 |
| (...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3859 bool multiple; | 3867 bool multiple; |
| 3860 | 3868 |
| 3861 String name; | 3869 String name; |
| 3862 | 3870 |
| 3863 final _HTMLOptionsCollectionJs options; | 3871 final _HTMLOptionsCollectionJs options; |
| 3864 | 3872 |
| 3865 bool required; | 3873 bool required; |
| 3866 | 3874 |
| 3867 int selectedIndex; | 3875 int selectedIndex; |
| 3868 | 3876 |
| 3869 final _HTMLCollectionJs selectedOptions; | |
| 3870 | |
| 3871 int size; | 3877 int size; |
| 3872 | 3878 |
| 3873 final String type; | 3879 final String type; |
| 3874 | 3880 |
| 3875 final String validationMessage; | 3881 final String validationMessage; |
| 3876 | 3882 |
| 3877 final _ValidityStateJs validity; | 3883 final _ValidityStateJs validity; |
| 3878 | 3884 |
| 3879 String value; | 3885 String value; |
| 3880 | 3886 |
| (...skipping 5523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9404 | 9410 |
| 9405 final String title; | 9411 final String title; |
| 9406 | 9412 |
| 9407 final int uid; | 9413 final int uid; |
| 9408 } | 9414 } |
| 9409 | 9415 |
| 9410 class _ScriptProfileNodeJs extends _DOMTypeJs implements ScriptProfileNode nativ
e "*ScriptProfileNode" { | 9416 class _ScriptProfileNodeJs extends _DOMTypeJs implements ScriptProfileNode nativ
e "*ScriptProfileNode" { |
| 9411 | 9417 |
| 9412 final int callUID; | 9418 final int callUID; |
| 9413 | 9419 |
| 9414 final List<ScriptProfileNode> children; | |
| 9415 | |
| 9416 final String functionName; | 9420 final String functionName; |
| 9417 | 9421 |
| 9418 final int lineNumber; | 9422 final int lineNumber; |
| 9419 | 9423 |
| 9420 final int numberOfCalls; | 9424 final int numberOfCalls; |
| 9421 | 9425 |
| 9422 final num selfTime; | 9426 final num selfTime; |
| 9423 | 9427 |
| 9424 final num totalTime; | 9428 final num totalTime; |
| 9425 | 9429 |
| 9426 final String url; | 9430 final String url; |
| 9427 | 9431 |
| 9428 final bool visible; | 9432 final bool visible; |
| 9433 |
| 9434 List<ScriptProfileNode> children() native; |
| 9429 } | 9435 } |
| 9430 | 9436 |
| 9431 class _SessionDescriptionJs extends _DOMTypeJs implements SessionDescription nat
ive "*SessionDescription" { | 9437 class _SessionDescriptionJs extends _DOMTypeJs implements SessionDescription nat
ive "*SessionDescription" { |
| 9432 | 9438 |
| 9433 void addCandidate(_IceCandidateJs candidate) native; | 9439 void addCandidate(_IceCandidateJs candidate) native; |
| 9434 | 9440 |
| 9435 String toSdp() native; | 9441 String toSdp() native; |
| 9436 } | 9442 } |
| 9437 | 9443 |
| 9438 class _ShadowRootJs extends _DocumentFragmentJs implements ShadowRoot native "*S
hadowRoot" { | 9444 class _ShadowRootJs extends _DocumentFragmentJs implements ShadowRoot native "*S
hadowRoot" { |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9526 void stop() native; | 9532 void stop() native; |
| 9527 } | 9533 } |
| 9528 | 9534 |
| 9529 class _SpeechRecognitionAlternativeJs extends _DOMTypeJs implements SpeechRecogn
itionAlternative native "*SpeechRecognitionAlternative" { | 9535 class _SpeechRecognitionAlternativeJs extends _DOMTypeJs implements SpeechRecogn
itionAlternative native "*SpeechRecognitionAlternative" { |
| 9530 | 9536 |
| 9531 final num confidence; | 9537 final num confidence; |
| 9532 | 9538 |
| 9533 final String transcript; | 9539 final String transcript; |
| 9534 } | 9540 } |
| 9535 | 9541 |
| 9536 class _SpeechRecognitionErrorJs extends _DOMTypeJs implements SpeechRecognitionE
rror native "*SpeechRecognitionError" { | 9542 class _SpeechRecognitionErrorJs extends _EventJs implements SpeechRecognitionErr
or native "*SpeechRecognitionError" { |
| 9537 | 9543 |
| 9538 static final int ABORTED = 2; | 9544 static final int ABORTED = 2; |
| 9539 | 9545 |
| 9540 static final int AUDIO_CAPTURE = 3; | 9546 static final int AUDIO_CAPTURE = 3; |
| 9541 | 9547 |
| 9542 static final int BAD_GRAMMAR = 7; | 9548 static final int BAD_GRAMMAR = 7; |
| 9543 | 9549 |
| 9544 static final int LANGUAGE_NOT_SUPPORTED = 8; | 9550 static final int LANGUAGE_NOT_SUPPORTED = 8; |
| 9545 | 9551 |
| 9546 static final int NETWORK = 4; | 9552 static final int NETWORK = 4; |
| 9547 | 9553 |
| 9548 static final int NOT_ALLOWED = 5; | 9554 static final int NOT_ALLOWED = 5; |
| 9549 | 9555 |
| 9550 static final int NO_SPEECH = 1; | 9556 static final int NO_SPEECH = 1; |
| 9551 | 9557 |
| 9552 static final int OTHER = 0; | 9558 static final int OTHER = 0; |
| 9553 | 9559 |
| 9554 static final int SERVICE_NOT_ALLOWED = 6; | 9560 static final int SERVICE_NOT_ALLOWED = 6; |
| 9555 | 9561 |
| 9556 final int code; | 9562 final int code; |
| 9557 | 9563 |
| 9558 final String message; | 9564 final String message; |
| 9559 } | 9565 } |
| 9560 | 9566 |
| 9561 class _SpeechRecognitionEventJs extends _EventJs implements SpeechRecognitionEve
nt native "*SpeechRecognitionEvent" { | 9567 class _SpeechRecognitionEventJs extends _EventJs implements SpeechRecognitionEve
nt native "*SpeechRecognitionEvent" { |
| 9562 | 9568 |
| 9563 final _SpeechRecognitionErrorJs error; | |
| 9564 | |
| 9565 final _SpeechRecognitionResultJs result; | 9569 final _SpeechRecognitionResultJs result; |
| 9566 | 9570 |
| 9567 final _SpeechRecognitionResultListJs resultHistory; | 9571 final _SpeechRecognitionResultListJs resultHistory; |
| 9568 | 9572 |
| 9569 final int resultIndex; | 9573 final int resultIndex; |
| 9570 } | 9574 } |
| 9571 | 9575 |
| 9572 class _SpeechRecognitionResultJs extends _DOMTypeJs implements SpeechRecognition
Result native "*SpeechRecognitionResult" { | 9576 class _SpeechRecognitionResultJs extends _DOMTypeJs implements SpeechRecognition
Result native "*SpeechRecognitionResult" { |
| 9573 | 9577 |
| 9574 bool get finalValue() native "return this.final;"; | 9578 bool get finalValue() native "return this.final;"; |
| (...skipping 847 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10422 static final int UNMASKED_RENDERER_WEBGL = 0x9246; | 10426 static final int UNMASKED_RENDERER_WEBGL = 0x9246; |
| 10423 | 10427 |
| 10424 static final int UNMASKED_VENDOR_WEBGL = 0x9245; | 10428 static final int UNMASKED_VENDOR_WEBGL = 0x9245; |
| 10425 } | 10429 } |
| 10426 | 10430 |
| 10427 class _WebGLDebugShadersJs extends _DOMTypeJs implements WebGLDebugShaders nativ
e "*WebGLDebugShaders" { | 10431 class _WebGLDebugShadersJs extends _DOMTypeJs implements WebGLDebugShaders nativ
e "*WebGLDebugShaders" { |
| 10428 | 10432 |
| 10429 String getTranslatedShaderSource(_WebGLShaderJs shader) native; | 10433 String getTranslatedShaderSource(_WebGLShaderJs shader) native; |
| 10430 } | 10434 } |
| 10431 | 10435 |
| 10436 class _WebGLDepthTextureJs extends _DOMTypeJs implements WebGLDepthTexture nativ
e "*WebGLDepthTexture" { |
| 10437 } |
| 10438 |
| 10432 class _WebGLFramebufferJs extends _DOMTypeJs implements WebGLFramebuffer native
"*WebGLFramebuffer" { | 10439 class _WebGLFramebufferJs extends _DOMTypeJs implements WebGLFramebuffer native
"*WebGLFramebuffer" { |
| 10433 } | 10440 } |
| 10434 | 10441 |
| 10435 class _WebGLLoseContextJs extends _DOMTypeJs implements WebGLLoseContext native
"*WebGLLoseContext" { | 10442 class _WebGLLoseContextJs extends _DOMTypeJs implements WebGLLoseContext native
"*WebGLLoseContext" { |
| 10436 | 10443 |
| 10437 void loseContext() native; | 10444 void loseContext() native; |
| 10438 | 10445 |
| 10439 void restoreContext() native; | 10446 void restoreContext() native; |
| 10440 } | 10447 } |
| 10441 | 10448 |
| (...skipping 1306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11748 static final int DONE = 4; | 11755 static final int DONE = 4; |
| 11749 | 11756 |
| 11750 static final int HEADERS_RECEIVED = 2; | 11757 static final int HEADERS_RECEIVED = 2; |
| 11751 | 11758 |
| 11752 static final int LOADING = 3; | 11759 static final int LOADING = 3; |
| 11753 | 11760 |
| 11754 static final int OPENED = 1; | 11761 static final int OPENED = 1; |
| 11755 | 11762 |
| 11756 static final int UNSENT = 0; | 11763 static final int UNSENT = 0; |
| 11757 | 11764 |
| 11758 bool asBlob; | |
| 11759 | |
| 11760 final int readyState; | 11765 final int readyState; |
| 11761 | 11766 |
| 11762 final Object response; | 11767 final Object response; |
| 11763 | 11768 |
| 11764 final _BlobJs responseBlob; | 11769 final _BlobJs responseBlob; |
| 11765 | 11770 |
| 11766 final String responseText; | 11771 final String responseText; |
| 11767 | 11772 |
| 11768 String responseType; | 11773 String responseType; |
| 11769 | 11774 |
| (...skipping 842 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12612 // BSD-style license that can be found in the LICENSE file. | 12617 // BSD-style license that can be found in the LICENSE file. |
| 12613 | 12618 |
| 12614 // WARNING: Do not edit - generated code. | 12619 // WARNING: Do not edit - generated code. |
| 12615 | 12620 |
| 12616 interface Blob { | 12621 interface Blob { |
| 12617 | 12622 |
| 12618 final int size; | 12623 final int size; |
| 12619 | 12624 |
| 12620 final String type; | 12625 final String type; |
| 12621 | 12626 |
| 12627 Blob slice([int start, int end, String contentType]); |
| 12628 |
| 12622 Blob webkitSlice([int start, int end, String contentType]); | 12629 Blob webkitSlice([int start, int end, String contentType]); |
| 12623 } | 12630 } |
| 12624 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 12631 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 12625 // for details. All rights reserved. Use of this source code is governed by a | 12632 // for details. All rights reserved. Use of this source code is governed by a |
| 12626 // BSD-style license that can be found in the LICENSE file. | 12633 // BSD-style license that can be found in the LICENSE file. |
| 12627 | 12634 |
| 12628 // WARNING: Do not edit - generated code. | 12635 // WARNING: Do not edit - generated code. |
| 12629 | 12636 |
| 12630 interface CDATASection extends Text { | 12637 interface CDATASection extends Text { |
| 12631 } | 12638 } |
| (...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13206 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13213 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13207 // for details. All rights reserved. Use of this source code is governed by a | 13214 // for details. All rights reserved. Use of this source code is governed by a |
| 13208 // BSD-style license that can be found in the LICENSE file. | 13215 // BSD-style license that can be found in the LICENSE file. |
| 13209 | 13216 |
| 13210 // WARNING: Do not edit - generated code. | 13217 // WARNING: Do not edit - generated code. |
| 13211 | 13218 |
| 13212 interface Console { | 13219 interface Console { |
| 13213 | 13220 |
| 13214 final MemoryInfo memory; | 13221 final MemoryInfo memory; |
| 13215 | 13222 |
| 13216 final List<ScriptProfile> profiles; | |
| 13217 | |
| 13218 void assertCondition(bool condition, Object arg); | 13223 void assertCondition(bool condition, Object arg); |
| 13219 | 13224 |
| 13220 void count(); | 13225 void count(); |
| 13221 | 13226 |
| 13222 void debug(Object arg); | 13227 void debug(Object arg); |
| 13223 | 13228 |
| 13224 void dir(); | 13229 void dir(); |
| 13225 | 13230 |
| 13226 void dirxml(); | 13231 void dirxml(); |
| 13227 | 13232 |
| (...skipping 956 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14184 String cookie; | 14189 String cookie; |
| 14185 | 14190 |
| 14186 final String defaultCharset; | 14191 final String defaultCharset; |
| 14187 | 14192 |
| 14188 final DOMWindow defaultView; | 14193 final DOMWindow defaultView; |
| 14189 | 14194 |
| 14190 final DocumentType doctype; | 14195 final DocumentType doctype; |
| 14191 | 14196 |
| 14192 final Element documentElement; | 14197 final Element documentElement; |
| 14193 | 14198 |
| 14194 String documentURI; | 14199 final String documentURI; |
| 14195 | 14200 |
| 14196 String domain; | 14201 String domain; |
| 14197 | 14202 |
| 14198 final HTMLCollection forms; | 14203 final HTMLCollection forms; |
| 14199 | 14204 |
| 14200 final HTMLHeadElement head; | 14205 final HTMLHeadElement head; |
| 14201 | 14206 |
| 14202 final HTMLCollection images; | 14207 final HTMLCollection images; |
| 14203 | 14208 |
| 14204 final DOMImplementation implementation; | 14209 final DOMImplementation implementation; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 14228 final bool webkitFullScreenKeyboardInputAllowed; | 14233 final bool webkitFullScreenKeyboardInputAllowed; |
| 14229 | 14234 |
| 14230 final Element webkitFullscreenElement; | 14235 final Element webkitFullscreenElement; |
| 14231 | 14236 |
| 14232 final bool webkitFullscreenEnabled; | 14237 final bool webkitFullscreenEnabled; |
| 14233 | 14238 |
| 14234 final bool webkitHidden; | 14239 final bool webkitHidden; |
| 14235 | 14240 |
| 14236 final bool webkitIsFullScreen; | 14241 final bool webkitIsFullScreen; |
| 14237 | 14242 |
| 14243 final Element webkitPointerLockElement; |
| 14244 |
| 14238 final String webkitVisibilityState; | 14245 final String webkitVisibilityState; |
| 14239 | 14246 |
| 14240 final String xmlEncoding; | 14247 final String xmlEncoding; |
| 14241 | 14248 |
| 14242 bool xmlStandalone; | 14249 bool xmlStandalone; |
| 14243 | 14250 |
| 14244 String xmlVersion; | 14251 String xmlVersion; |
| 14245 | 14252 |
| 14246 Node adoptNode(Node source); | 14253 Node adoptNode(Node source); |
| 14247 | 14254 |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14317 | 14324 |
| 14318 String queryCommandValue(String command); | 14325 String queryCommandValue(String command); |
| 14319 | 14326 |
| 14320 Element querySelector(String selectors); | 14327 Element querySelector(String selectors); |
| 14321 | 14328 |
| 14322 NodeList querySelectorAll(String selectors); | 14329 NodeList querySelectorAll(String selectors); |
| 14323 | 14330 |
| 14324 void webkitCancelFullScreen(); | 14331 void webkitCancelFullScreen(); |
| 14325 | 14332 |
| 14326 void webkitExitFullscreen(); | 14333 void webkitExitFullscreen(); |
| 14334 |
| 14335 void webkitExitPointerLock(); |
| 14327 } | 14336 } |
| 14328 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14337 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14329 // for details. All rights reserved. Use of this source code is governed by a | 14338 // for details. All rights reserved. Use of this source code is governed by a |
| 14330 // BSD-style license that can be found in the LICENSE file. | 14339 // BSD-style license that can be found in the LICENSE file. |
| 14331 | 14340 |
| 14332 // WARNING: Do not edit - generated code. | 14341 // WARNING: Do not edit - generated code. |
| 14333 | 14342 |
| 14334 interface DocumentFragment extends Node { | 14343 interface DocumentFragment extends Node { |
| 14335 | 14344 |
| 14336 Element querySelector(String selectors); | 14345 Element querySelector(String selectors); |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14493 | 14502 |
| 14494 Attr setAttributeNode(Attr newAttr); | 14503 Attr setAttributeNode(Attr newAttr); |
| 14495 | 14504 |
| 14496 Attr setAttributeNodeNS(Attr newAttr); | 14505 Attr setAttributeNodeNS(Attr newAttr); |
| 14497 | 14506 |
| 14498 bool webkitMatchesSelector(String selectors); | 14507 bool webkitMatchesSelector(String selectors); |
| 14499 | 14508 |
| 14500 void webkitRequestFullScreen(int flags); | 14509 void webkitRequestFullScreen(int flags); |
| 14501 | 14510 |
| 14502 void webkitRequestFullscreen(); | 14511 void webkitRequestFullscreen(); |
| 14512 |
| 14513 void webkitRequestPointerLock(); |
| 14503 } | 14514 } |
| 14504 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14515 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14505 // for details. All rights reserved. Use of this source code is governed by a | 14516 // for details. All rights reserved. Use of this source code is governed by a |
| 14506 // BSD-style license that can be found in the LICENSE file. | 14517 // BSD-style license that can be found in the LICENSE file. |
| 14507 | 14518 |
| 14508 // WARNING: Do not edit - generated code. | 14519 // WARNING: Do not edit - generated code. |
| 14509 | 14520 |
| 14510 interface ElementTimeControl { | 14521 interface ElementTimeControl { |
| 14511 | 14522 |
| 14512 void beginElement(); | 14523 void beginElement(); |
| (...skipping 853 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15366 String formMethod; | 15377 String formMethod; |
| 15367 | 15378 |
| 15368 bool formNoValidate; | 15379 bool formNoValidate; |
| 15369 | 15380 |
| 15370 String formTarget; | 15381 String formTarget; |
| 15371 | 15382 |
| 15372 final NodeList labels; | 15383 final NodeList labels; |
| 15373 | 15384 |
| 15374 String name; | 15385 String name; |
| 15375 | 15386 |
| 15376 final String type; | 15387 String type; |
| 15377 | 15388 |
| 15378 final String validationMessage; | 15389 final String validationMessage; |
| 15379 | 15390 |
| 15380 final ValidityState validity; | 15391 final ValidityState validity; |
| 15381 | 15392 |
| 15382 String value; | 15393 String value; |
| 15383 | 15394 |
| 15384 final bool willValidate; | 15395 final bool willValidate; |
| 15385 | 15396 |
| 15386 bool checkValidity(); | 15397 bool checkValidity(); |
| (...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15944 final String validationMessage; | 15955 final String validationMessage; |
| 15945 | 15956 |
| 15946 final ValidityState validity; | 15957 final ValidityState validity; |
| 15947 | 15958 |
| 15948 String value; | 15959 String value; |
| 15949 | 15960 |
| 15950 Date valueAsDate; | 15961 Date valueAsDate; |
| 15951 | 15962 |
| 15952 num valueAsNumber; | 15963 num valueAsNumber; |
| 15953 | 15964 |
| 15965 final EntryArray webkitEntries; |
| 15966 |
| 15954 bool webkitGrammar; | 15967 bool webkitGrammar; |
| 15955 | 15968 |
| 15956 bool webkitSpeech; | 15969 bool webkitSpeech; |
| 15957 | 15970 |
| 15958 bool webkitdirectory; | 15971 bool webkitdirectory; |
| 15959 | 15972 |
| 15960 int width; | 15973 int width; |
| 15961 | 15974 |
| 15962 final bool willValidate; | 15975 final bool willValidate; |
| 15963 | 15976 |
| (...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16582 bool multiple; | 16595 bool multiple; |
| 16583 | 16596 |
| 16584 String name; | 16597 String name; |
| 16585 | 16598 |
| 16586 final HTMLOptionsCollection options; | 16599 final HTMLOptionsCollection options; |
| 16587 | 16600 |
| 16588 bool required; | 16601 bool required; |
| 16589 | 16602 |
| 16590 int selectedIndex; | 16603 int selectedIndex; |
| 16591 | 16604 |
| 16592 final HTMLCollection selectedOptions; | |
| 16593 | |
| 16594 int size; | 16605 int size; |
| 16595 | 16606 |
| 16596 final String type; | 16607 final String type; |
| 16597 | 16608 |
| 16598 final String validationMessage; | 16609 final String validationMessage; |
| 16599 | 16610 |
| 16600 final ValidityState validity; | 16611 final ValidityState validity; |
| 16601 | 16612 |
| 16602 String value; | 16613 String value; |
| 16603 | 16614 |
| (...skipping 5035 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21639 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21650 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21640 // for details. All rights reserved. Use of this source code is governed by a | 21651 // for details. All rights reserved. Use of this source code is governed by a |
| 21641 // BSD-style license that can be found in the LICENSE file. | 21652 // BSD-style license that can be found in the LICENSE file. |
| 21642 | 21653 |
| 21643 // WARNING: Do not edit - generated code. | 21654 // WARNING: Do not edit - generated code. |
| 21644 | 21655 |
| 21645 interface ScriptProfileNode { | 21656 interface ScriptProfileNode { |
| 21646 | 21657 |
| 21647 final int callUID; | 21658 final int callUID; |
| 21648 | 21659 |
| 21649 final List<ScriptProfileNode> children; | |
| 21650 | |
| 21651 final String functionName; | 21660 final String functionName; |
| 21652 | 21661 |
| 21653 final int lineNumber; | 21662 final int lineNumber; |
| 21654 | 21663 |
| 21655 final int numberOfCalls; | 21664 final int numberOfCalls; |
| 21656 | 21665 |
| 21657 final num selfTime; | 21666 final num selfTime; |
| 21658 | 21667 |
| 21659 final num totalTime; | 21668 final num totalTime; |
| 21660 | 21669 |
| 21661 final String url; | 21670 final String url; |
| 21662 | 21671 |
| 21663 final bool visible; | 21672 final bool visible; |
| 21673 |
| 21674 List<ScriptProfileNode> children(); |
| 21664 } | 21675 } |
| 21665 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21676 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21666 // for details. All rights reserved. Use of this source code is governed by a | 21677 // for details. All rights reserved. Use of this source code is governed by a |
| 21667 // BSD-style license that can be found in the LICENSE file. | 21678 // BSD-style license that can be found in the LICENSE file. |
| 21668 | 21679 |
| 21669 // WARNING: Do not edit - generated code. | 21680 // WARNING: Do not edit - generated code. |
| 21670 | 21681 |
| 21671 interface SessionDescription default _SessionDescriptionFactoryProvider { | 21682 interface SessionDescription default _SessionDescriptionFactoryProvider { |
| 21672 | 21683 |
| 21673 SessionDescription(String sdp); | 21684 SessionDescription(String sdp); |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21843 final num confidence; | 21854 final num confidence; |
| 21844 | 21855 |
| 21845 final String transcript; | 21856 final String transcript; |
| 21846 } | 21857 } |
| 21847 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21858 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21848 // for details. All rights reserved. Use of this source code is governed by a | 21859 // for details. All rights reserved. Use of this source code is governed by a |
| 21849 // BSD-style license that can be found in the LICENSE file. | 21860 // BSD-style license that can be found in the LICENSE file. |
| 21850 | 21861 |
| 21851 // WARNING: Do not edit - generated code. | 21862 // WARNING: Do not edit - generated code. |
| 21852 | 21863 |
| 21853 interface SpeechRecognitionError { | 21864 interface SpeechRecognitionError extends Event { |
| 21854 | 21865 |
| 21855 static final int ABORTED = 2; | 21866 static final int ABORTED = 2; |
| 21856 | 21867 |
| 21857 static final int AUDIO_CAPTURE = 3; | 21868 static final int AUDIO_CAPTURE = 3; |
| 21858 | 21869 |
| 21859 static final int BAD_GRAMMAR = 7; | 21870 static final int BAD_GRAMMAR = 7; |
| 21860 | 21871 |
| 21861 static final int LANGUAGE_NOT_SUPPORTED = 8; | 21872 static final int LANGUAGE_NOT_SUPPORTED = 8; |
| 21862 | 21873 |
| 21863 static final int NETWORK = 4; | 21874 static final int NETWORK = 4; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 21875 final String message; | 21886 final String message; |
| 21876 } | 21887 } |
| 21877 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21888 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21878 // for details. All rights reserved. Use of this source code is governed by a | 21889 // for details. All rights reserved. Use of this source code is governed by a |
| 21879 // BSD-style license that can be found in the LICENSE file. | 21890 // BSD-style license that can be found in the LICENSE file. |
| 21880 | 21891 |
| 21881 // WARNING: Do not edit - generated code. | 21892 // WARNING: Do not edit - generated code. |
| 21882 | 21893 |
| 21883 interface SpeechRecognitionEvent extends Event { | 21894 interface SpeechRecognitionEvent extends Event { |
| 21884 | 21895 |
| 21885 final SpeechRecognitionError error; | |
| 21886 | |
| 21887 final SpeechRecognitionResult result; | 21896 final SpeechRecognitionResult result; |
| 21888 | 21897 |
| 21889 final SpeechRecognitionResultList resultHistory; | 21898 final SpeechRecognitionResultList resultHistory; |
| 21890 | 21899 |
| 21891 final int resultIndex; | 21900 final int resultIndex; |
| 21892 } | 21901 } |
| 21893 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21902 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21894 // for details. All rights reserved. Use of this source code is governed by a | 21903 // for details. All rights reserved. Use of this source code is governed by a |
| 21895 // BSD-style license that can be found in the LICENSE file. | 21904 // BSD-style license that can be found in the LICENSE file. |
| 21896 | 21905 |
| (...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22540 interface WebGLDebugShaders { | 22549 interface WebGLDebugShaders { |
| 22541 | 22550 |
| 22542 String getTranslatedShaderSource(WebGLShader shader); | 22551 String getTranslatedShaderSource(WebGLShader shader); |
| 22543 } | 22552 } |
| 22544 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22553 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22545 // for details. All rights reserved. Use of this source code is governed by a | 22554 // for details. All rights reserved. Use of this source code is governed by a |
| 22546 // BSD-style license that can be found in the LICENSE file. | 22555 // BSD-style license that can be found in the LICENSE file. |
| 22547 | 22556 |
| 22548 // WARNING: Do not edit - generated code. | 22557 // WARNING: Do not edit - generated code. |
| 22549 | 22558 |
| 22559 interface WebGLDepthTexture { |
| 22560 } |
| 22561 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22562 // for details. All rights reserved. Use of this source code is governed by a |
| 22563 // BSD-style license that can be found in the LICENSE file. |
| 22564 |
| 22565 // WARNING: Do not edit - generated code. |
| 22566 |
| 22550 interface WebGLFramebuffer { | 22567 interface WebGLFramebuffer { |
| 22551 } | 22568 } |
| 22552 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22569 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22553 // for details. All rights reserved. Use of this source code is governed by a | 22570 // for details. All rights reserved. Use of this source code is governed by a |
| 22554 // BSD-style license that can be found in the LICENSE file. | 22571 // BSD-style license that can be found in the LICENSE file. |
| 22555 | 22572 |
| 22556 // WARNING: Do not edit - generated code. | 22573 // WARNING: Do not edit - generated code. |
| 22557 | 22574 |
| 22558 interface WebGLLoseContext { | 22575 interface WebGLLoseContext { |
| 22559 | 22576 |
| (...skipping 1459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 24019 static final int DONE = 4; | 24036 static final int DONE = 4; |
| 24020 | 24037 |
| 24021 static final int HEADERS_RECEIVED = 2; | 24038 static final int HEADERS_RECEIVED = 2; |
| 24022 | 24039 |
| 24023 static final int LOADING = 3; | 24040 static final int LOADING = 3; |
| 24024 | 24041 |
| 24025 static final int OPENED = 1; | 24042 static final int OPENED = 1; |
| 24026 | 24043 |
| 24027 static final int UNSENT = 0; | 24044 static final int UNSENT = 0; |
| 24028 | 24045 |
| 24029 bool asBlob; | |
| 24030 | |
| 24031 final int readyState; | 24046 final int readyState; |
| 24032 | 24047 |
| 24033 final Object response; | 24048 final Object response; |
| 24034 | 24049 |
| 24035 final Blob responseBlob; | 24050 final Blob responseBlob; |
| 24036 | 24051 |
| 24037 final String responseText; | 24052 final String responseText; |
| 24038 | 24053 |
| 24039 String responseType; | 24054 String responseType; |
| 24040 | 24055 |
| (...skipping 1189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 25230 if (length < 0) throw new IllegalArgumentException('length'); | 25245 if (length < 0) throw new IllegalArgumentException('length'); |
| 25231 if (start < 0) throw new IndexOutOfRangeException(start); | 25246 if (start < 0) throw new IndexOutOfRangeException(start); |
| 25232 int end = start + length; | 25247 int end = start + length; |
| 25233 if (end > a.length) throw new IndexOutOfRangeException(end); | 25248 if (end > a.length) throw new IndexOutOfRangeException(end); |
| 25234 for (int i = start; i < end; i++) { | 25249 for (int i = start; i < end; i++) { |
| 25235 accumulator.add(a[i]); | 25250 accumulator.add(a[i]); |
| 25236 } | 25251 } |
| 25237 return accumulator; | 25252 return accumulator; |
| 25238 } | 25253 } |
| 25239 } | 25254 } |
| OLD | NEW |