| 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 791 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 802 | 802 |
| 803 class _ConsoleJs | 803 class _ConsoleJs |
| 804 // Implement DOMType directly. Console is sometimes a singleton | 804 // Implement DOMType directly. Console is sometimes a singleton |
| 805 // 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 |
| 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; |
| 813 |
| 812 void assertCondition(bool condition, Object arg) native; | 814 void assertCondition(bool condition, Object arg) native; |
| 813 | 815 |
| 814 void count() native; | 816 void count() native; |
| 815 | 817 |
| 816 void debug(Object arg) native; | 818 void debug(Object arg) native; |
| 817 | 819 |
| 818 void dir() native; | 820 void dir() native; |
| 819 | 821 |
| 820 void dirxml() native; | 822 void dirxml() native; |
| 821 | 823 |
| (...skipping 3045 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3867 bool multiple; | 3869 bool multiple; |
| 3868 | 3870 |
| 3869 String name; | 3871 String name; |
| 3870 | 3872 |
| 3871 final _HTMLOptionsCollectionJs options; | 3873 final _HTMLOptionsCollectionJs options; |
| 3872 | 3874 |
| 3873 bool required; | 3875 bool required; |
| 3874 | 3876 |
| 3875 int selectedIndex; | 3877 int selectedIndex; |
| 3876 | 3878 |
| 3879 final _HTMLCollectionJs selectedOptions; |
| 3880 |
| 3877 int size; | 3881 int size; |
| 3878 | 3882 |
| 3879 final String type; | 3883 final String type; |
| 3880 | 3884 |
| 3881 final String validationMessage; | 3885 final String validationMessage; |
| 3882 | 3886 |
| 3883 final _ValidityStateJs validity; | 3887 final _ValidityStateJs validity; |
| 3884 | 3888 |
| 3885 String value; | 3889 String value; |
| 3886 | 3890 |
| (...skipping 907 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4794 final List scopeChain; | 4798 final List scopeChain; |
| 4795 | 4799 |
| 4796 final int sourceID; | 4800 final int sourceID; |
| 4797 | 4801 |
| 4798 final Object thisObject; | 4802 final Object thisObject; |
| 4799 | 4803 |
| 4800 final String type; | 4804 final String type; |
| 4801 | 4805 |
| 4802 void evaluate(String script) native; | 4806 void evaluate(String script) native; |
| 4803 | 4807 |
| 4808 Object restart() native; |
| 4809 |
| 4804 int scopeType(int scopeIndex) native; | 4810 int scopeType(int scopeIndex) native; |
| 4805 } | 4811 } |
| 4806 | 4812 |
| 4807 class _KeyboardEventJs extends _UIEventJs implements KeyboardEvent native "*Keyb
oardEvent" { | 4813 class _KeyboardEventJs extends _UIEventJs implements KeyboardEvent native "*Keyb
oardEvent" { |
| 4808 | 4814 |
| 4809 final bool altGraphKey; | 4815 final bool altGraphKey; |
| 4810 | 4816 |
| 4811 final bool altKey; | 4817 final bool altKey; |
| 4812 | 4818 |
| 4813 final bool ctrlKey; | 4819 final bool ctrlKey; |
| (...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5095 | 5101 |
| 5096 class _MediaStreamTrackJs extends _DOMTypeJs implements MediaStreamTrack native
"*MediaStreamTrack" { | 5102 class _MediaStreamTrackJs extends _DOMTypeJs implements MediaStreamTrack native
"*MediaStreamTrack" { |
| 5097 | 5103 |
| 5098 bool enabled; | 5104 bool enabled; |
| 5099 | 5105 |
| 5100 final String kind; | 5106 final String kind; |
| 5101 | 5107 |
| 5102 final String label; | 5108 final String label; |
| 5103 } | 5109 } |
| 5104 | 5110 |
| 5105 class _MediaStreamTrackListJs extends _DOMTypeJs implements MediaStreamTrackList
native "*MediaStreamTrackList" { | 5111 class _MediaStreamTrackEventJs extends _EventJs implements MediaStreamTrackEvent
native "*MediaStreamTrackEvent" { |
| 5112 |
| 5113 final _MediaStreamTrackJs track; |
| 5114 } |
| 5115 |
| 5116 class _MediaStreamTrackListJs extends _EventTargetJs implements MediaStreamTrack
List native "*MediaStreamTrackList" { |
| 5106 | 5117 |
| 5107 final int length; | 5118 final int length; |
| 5108 | 5119 |
| 5120 void add(_MediaStreamTrackJs track) native; |
| 5121 |
| 5122 void addEventListener(String type, EventListener listener, [bool useCapture])
native; |
| 5123 |
| 5124 bool dispatchEvent(_EventJs event) native; |
| 5125 |
| 5109 _MediaStreamTrackJs item(int index) native; | 5126 _MediaStreamTrackJs item(int index) native; |
| 5127 |
| 5128 void remove(_MediaStreamTrackJs track) native; |
| 5129 |
| 5130 void removeEventListener(String type, EventListener listener, [bool useCapture
]) native; |
| 5110 } | 5131 } |
| 5111 | 5132 |
| 5112 class _MemoryInfoJs extends _DOMTypeJs implements MemoryInfo native "*MemoryInfo
" { | 5133 class _MemoryInfoJs extends _DOMTypeJs implements MemoryInfo native "*MemoryInfo
" { |
| 5113 | 5134 |
| 5114 final int jsHeapSizeLimit; | 5135 final int jsHeapSizeLimit; |
| 5115 | 5136 |
| 5116 final int totalJSHeapSize; | 5137 final int totalJSHeapSize; |
| 5117 | 5138 |
| 5118 final int usedJSHeapSize; | 5139 final int usedJSHeapSize; |
| 5119 } | 5140 } |
| (...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5850 | 5871 |
| 5851 void removeStream(_MediaStreamJs stream) native; | 5872 void removeStream(_MediaStreamJs stream) native; |
| 5852 | 5873 |
| 5853 void setLocalDescription(int action, _SessionDescriptionJs desc) native; | 5874 void setLocalDescription(int action, _SessionDescriptionJs desc) native; |
| 5854 | 5875 |
| 5855 void setRemoteDescription(int action, _SessionDescriptionJs desc) native; | 5876 void setRemoteDescription(int action, _SessionDescriptionJs desc) native; |
| 5856 | 5877 |
| 5857 void startIce([Map iceOptions]) native; | 5878 void startIce([Map iceOptions]) native; |
| 5858 } | 5879 } |
| 5859 | 5880 |
| 5860 class _PerformanceJs extends _DOMTypeJs implements Performance native "*Performa
nce" { | 5881 class _PerformanceJs extends _EventTargetJs implements Performance native "*Perf
ormance" { |
| 5861 | 5882 |
| 5862 final _MemoryInfoJs memory; | 5883 final _MemoryInfoJs memory; |
| 5863 | 5884 |
| 5864 final _PerformanceNavigationJs navigation; | 5885 final _PerformanceNavigationJs navigation; |
| 5865 | 5886 |
| 5866 final _PerformanceTimingJs timing; | 5887 final _PerformanceTimingJs timing; |
| 5867 | 5888 |
| 5868 num webkitNow() native; | 5889 num webkitNow() native; |
| 5869 } | 5890 } |
| 5870 | 5891 |
| (...skipping 3569 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9440 | 9461 |
| 9441 String toSdp() native; | 9462 String toSdp() native; |
| 9442 } | 9463 } |
| 9443 | 9464 |
| 9444 class _ShadowRootJs extends _DocumentFragmentJs implements ShadowRoot native "*S
hadowRoot" { | 9465 class _ShadowRootJs extends _DocumentFragmentJs implements ShadowRoot native "*S
hadowRoot" { |
| 9445 | 9466 |
| 9446 final _ElementJs activeElement; | 9467 final _ElementJs activeElement; |
| 9447 | 9468 |
| 9448 bool applyAuthorStyles; | 9469 bool applyAuthorStyles; |
| 9449 | 9470 |
| 9450 final _ElementJs host; | |
| 9451 | |
| 9452 String innerHTML; | 9471 String innerHTML; |
| 9453 | 9472 |
| 9454 bool resetStyleInheritance; | 9473 bool resetStyleInheritance; |
| 9455 | 9474 |
| 9456 _ElementJs getElementById(String elementId) native; | 9475 _ElementJs getElementById(String elementId) native; |
| 9457 | 9476 |
| 9458 _NodeListJs getElementsByClassName(String className) native; | 9477 _NodeListJs getElementsByClassName(String className) native; |
| 9459 | 9478 |
| 9460 _NodeListJs getElementsByTagName(String tagName) native; | 9479 _NodeListJs getElementsByTagName(String tagName) native; |
| 9461 | 9480 |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9512 } | 9531 } |
| 9513 | 9532 |
| 9514 class _SpeechRecognitionJs extends _EventTargetJs implements SpeechRecognition n
ative "*SpeechRecognition" { | 9533 class _SpeechRecognitionJs extends _EventTargetJs implements SpeechRecognition n
ative "*SpeechRecognition" { |
| 9515 | 9534 |
| 9516 bool continuous; | 9535 bool continuous; |
| 9517 | 9536 |
| 9518 _SpeechGrammarListJs grammars; | 9537 _SpeechGrammarListJs grammars; |
| 9519 | 9538 |
| 9520 String lang; | 9539 String lang; |
| 9521 | 9540 |
| 9541 int maxAlternatives; |
| 9542 |
| 9522 void abort() native; | 9543 void abort() native; |
| 9523 | 9544 |
| 9524 void addEventListener(String type, EventListener listener, [bool useCapture])
native; | 9545 void addEventListener(String type, EventListener listener, [bool useCapture])
native; |
| 9525 | 9546 |
| 9526 bool dispatchEvent(_EventJs evt) native; | 9547 bool dispatchEvent(_EventJs evt) native; |
| 9527 | 9548 |
| 9528 void removeEventListener(String type, EventListener listener, [bool useCapture
]) native; | 9549 void removeEventListener(String type, EventListener listener, [bool useCapture
]) native; |
| 9529 | 9550 |
| 9530 void start() native; | 9551 void start() native; |
| 9531 | 9552 |
| (...skipping 895 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10427 | 10448 |
| 10428 static final int UNMASKED_VENDOR_WEBGL = 0x9245; | 10449 static final int UNMASKED_VENDOR_WEBGL = 0x9245; |
| 10429 } | 10450 } |
| 10430 | 10451 |
| 10431 class _WebGLDebugShadersJs extends _DOMTypeJs implements WebGLDebugShaders nativ
e "*WebGLDebugShaders" { | 10452 class _WebGLDebugShadersJs extends _DOMTypeJs implements WebGLDebugShaders nativ
e "*WebGLDebugShaders" { |
| 10432 | 10453 |
| 10433 String getTranslatedShaderSource(_WebGLShaderJs shader) native; | 10454 String getTranslatedShaderSource(_WebGLShaderJs shader) native; |
| 10434 } | 10455 } |
| 10435 | 10456 |
| 10436 class _WebGLDepthTextureJs extends _DOMTypeJs implements WebGLDepthTexture nativ
e "*WebGLDepthTexture" { | 10457 class _WebGLDepthTextureJs extends _DOMTypeJs implements WebGLDepthTexture nativ
e "*WebGLDepthTexture" { |
| 10458 |
| 10459 static final int UNSIGNED_INT_24_8_WEBGL = 0x84FA; |
| 10437 } | 10460 } |
| 10438 | 10461 |
| 10439 class _WebGLFramebufferJs extends _DOMTypeJs implements WebGLFramebuffer native
"*WebGLFramebuffer" { | 10462 class _WebGLFramebufferJs extends _DOMTypeJs implements WebGLFramebuffer native
"*WebGLFramebuffer" { |
| 10440 } | 10463 } |
| 10441 | 10464 |
| 10442 class _WebGLLoseContextJs extends _DOMTypeJs implements WebGLLoseContext native
"*WebGLLoseContext" { | 10465 class _WebGLLoseContextJs extends _DOMTypeJs implements WebGLLoseContext native
"*WebGLLoseContext" { |
| 10443 | 10466 |
| 10444 void loseContext() native; | 10467 void loseContext() native; |
| 10445 | 10468 |
| 10446 void restoreContext() native; | 10469 void restoreContext() native; |
| (...skipping 1108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11555 | 11578 |
| 11556 static final int CSS_TRANSLATEZ = 12; | 11579 static final int CSS_TRANSLATEZ = 12; |
| 11557 | 11580 |
| 11558 final int operationType; | 11581 final int operationType; |
| 11559 } | 11582 } |
| 11560 | 11583 |
| 11561 class _WebKitMutationObserverJs extends _DOMTypeJs implements WebKitMutationObse
rver native "*WebKitMutationObserver" { | 11584 class _WebKitMutationObserverJs extends _DOMTypeJs implements WebKitMutationObse
rver native "*WebKitMutationObserver" { |
| 11562 | 11585 |
| 11563 void disconnect() native; | 11586 void disconnect() native; |
| 11564 | 11587 |
| 11588 void observe(_NodeJs target, Map options) native; |
| 11589 |
| 11565 List<MutationRecord> takeRecords() native; | 11590 List<MutationRecord> takeRecords() native; |
| 11566 } | 11591 } |
| 11567 | 11592 |
| 11568 class _WebKitNamedFlowJs extends _DOMTypeJs implements WebKitNamedFlow native "*
WebKitNamedFlow" { | 11593 class _WebKitNamedFlowJs extends _DOMTypeJs implements WebKitNamedFlow native "*
WebKitNamedFlow" { |
| 11569 | 11594 |
| 11570 final _NodeListJs contentNodes; | |
| 11571 | |
| 11572 final String name; | 11595 final String name; |
| 11573 | 11596 |
| 11574 final bool overset; | 11597 final bool overset; |
| 11575 | 11598 |
| 11599 _NodeListJs getContent() native; |
| 11600 |
| 11576 _NodeListJs getRegionsByContentNode(_NodeJs contentNode) native; | 11601 _NodeListJs getRegionsByContentNode(_NodeJs contentNode) native; |
| 11577 } | 11602 } |
| 11578 | 11603 |
| 11579 class _WebKitPointJs extends _DOMTypeJs implements WebKitPoint native "*WebKitPo
int" { | 11604 class _WebKitPointJs extends _DOMTypeJs implements WebKitPoint native "*WebKitPo
int" { |
| 11580 | 11605 |
| 11581 num x; | 11606 num x; |
| 11582 | 11607 |
| 11583 num y; | 11608 num y; |
| 11584 } | 11609 } |
| 11585 | 11610 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11618 | 11643 |
| 11619 void close([int code, String reason]) native; | 11644 void close([int code, String reason]) native; |
| 11620 | 11645 |
| 11621 bool dispatchEvent(_EventJs evt) native; | 11646 bool dispatchEvent(_EventJs evt) native; |
| 11622 | 11647 |
| 11623 void removeEventListener(String type, EventListener listener, [bool useCapture
]) native; | 11648 void removeEventListener(String type, EventListener listener, [bool useCapture
]) native; |
| 11624 | 11649 |
| 11625 bool send(String data) native; | 11650 bool send(String data) native; |
| 11626 } | 11651 } |
| 11627 | 11652 |
| 11628 class _WheelEventJs extends _UIEventJs implements WheelEvent native "*WheelEvent
" { | 11653 class _WheelEventJs extends _MouseEventJs implements WheelEvent native "*WheelEv
ent" { |
| 11629 | |
| 11630 final bool altKey; | |
| 11631 | |
| 11632 final int clientX; | |
| 11633 | |
| 11634 final int clientY; | |
| 11635 | |
| 11636 final bool ctrlKey; | |
| 11637 | |
| 11638 final bool metaKey; | |
| 11639 | |
| 11640 final int offsetX; | |
| 11641 | |
| 11642 final int offsetY; | |
| 11643 | |
| 11644 final int screenX; | |
| 11645 | |
| 11646 final int screenY; | |
| 11647 | |
| 11648 final bool shiftKey; | |
| 11649 | 11654 |
| 11650 final bool webkitDirectionInvertedFromDevice; | 11655 final bool webkitDirectionInvertedFromDevice; |
| 11651 | 11656 |
| 11652 final int wheelDelta; | 11657 final int wheelDelta; |
| 11653 | 11658 |
| 11654 final int wheelDeltaX; | 11659 final int wheelDeltaX; |
| 11655 | 11660 |
| 11656 final int wheelDeltaY; | 11661 final int wheelDeltaY; |
| 11657 | 11662 |
| 11658 final int x; | |
| 11659 | |
| 11660 final int y; | |
| 11661 | |
| 11662 void initWebKitWheelEvent(int wheelDeltaX, int wheelDeltaY, _DOMWindowJs view,
int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey,
bool shiftKey, bool metaKey) native; | 11663 void initWebKitWheelEvent(int wheelDeltaX, int wheelDeltaY, _DOMWindowJs view,
int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey,
bool shiftKey, bool metaKey) native; |
| 11663 } | 11664 } |
| 11664 | 11665 |
| 11665 class _WorkerJs extends _AbstractWorkerJs implements Worker native "*Worker" { | 11666 class _WorkerJs extends _AbstractWorkerJs implements Worker native "*Worker" { |
| 11666 | 11667 |
| 11667 void postMessage(message, [List messagePorts]) native; | 11668 void postMessage(message, [List messagePorts]) native; |
| 11668 | 11669 |
| 11669 void terminate() native; | 11670 void terminate() native; |
| 11670 | 11671 |
| 11671 void webkitPostMessage(message, [List messagePorts]) native; | 11672 void webkitPostMessage(message, [List messagePorts]) native; |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11761 static final int LOADING = 3; | 11762 static final int LOADING = 3; |
| 11762 | 11763 |
| 11763 static final int OPENED = 1; | 11764 static final int OPENED = 1; |
| 11764 | 11765 |
| 11765 static final int UNSENT = 0; | 11766 static final int UNSENT = 0; |
| 11766 | 11767 |
| 11767 final int readyState; | 11768 final int readyState; |
| 11768 | 11769 |
| 11769 final Object response; | 11770 final Object response; |
| 11770 | 11771 |
| 11771 final _BlobJs responseBlob; | |
| 11772 | |
| 11773 final String responseText; | 11772 final String responseText; |
| 11774 | 11773 |
| 11775 String responseType; | 11774 String responseType; |
| 11776 | 11775 |
| 11777 final _DocumentJs responseXML; | 11776 final _DocumentJs responseXML; |
| 11778 | 11777 |
| 11779 final int status; | 11778 final int status; |
| 11780 | 11779 |
| 11781 final String statusText; | 11780 final String statusText; |
| 11782 | 11781 |
| (...skipping 1442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13225 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13224 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13226 // for details. All rights reserved. Use of this source code is governed by a | 13225 // for details. All rights reserved. Use of this source code is governed by a |
| 13227 // BSD-style license that can be found in the LICENSE file. | 13226 // BSD-style license that can be found in the LICENSE file. |
| 13228 | 13227 |
| 13229 // WARNING: Do not edit - generated code. | 13228 // WARNING: Do not edit - generated code. |
| 13230 | 13229 |
| 13231 interface Console { | 13230 interface Console { |
| 13232 | 13231 |
| 13233 final MemoryInfo memory; | 13232 final MemoryInfo memory; |
| 13234 | 13233 |
| 13234 final List<ScriptProfile> profiles; |
| 13235 |
| 13235 void assertCondition(bool condition, Object arg); | 13236 void assertCondition(bool condition, Object arg); |
| 13236 | 13237 |
| 13237 void count(); | 13238 void count(); |
| 13238 | 13239 |
| 13239 void debug(Object arg); | 13240 void debug(Object arg); |
| 13240 | 13241 |
| 13241 void dir(); | 13242 void dir(); |
| 13242 | 13243 |
| 13243 void dirxml(); | 13244 void dirxml(); |
| 13244 | 13245 |
| (...skipping 3362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16607 bool multiple; | 16608 bool multiple; |
| 16608 | 16609 |
| 16609 String name; | 16610 String name; |
| 16610 | 16611 |
| 16611 final HTMLOptionsCollection options; | 16612 final HTMLOptionsCollection options; |
| 16612 | 16613 |
| 16613 bool required; | 16614 bool required; |
| 16614 | 16615 |
| 16615 int selectedIndex; | 16616 int selectedIndex; |
| 16616 | 16617 |
| 16618 final HTMLCollection selectedOptions; |
| 16619 |
| 16617 int size; | 16620 int size; |
| 16618 | 16621 |
| 16619 final String type; | 16622 final String type; |
| 16620 | 16623 |
| 16621 final String validationMessage; | 16624 final String validationMessage; |
| 16622 | 16625 |
| 16623 final ValidityState validity; | 16626 final ValidityState validity; |
| 16624 | 16627 |
| 16625 String value; | 16628 String value; |
| 16626 | 16629 |
| (...skipping 879 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17506 final List scopeChain; | 17509 final List scopeChain; |
| 17507 | 17510 |
| 17508 final int sourceID; | 17511 final int sourceID; |
| 17509 | 17512 |
| 17510 final Object thisObject; | 17513 final Object thisObject; |
| 17511 | 17514 |
| 17512 final String type; | 17515 final String type; |
| 17513 | 17516 |
| 17514 void evaluate(String script); | 17517 void evaluate(String script); |
| 17515 | 17518 |
| 17519 Object restart(); |
| 17520 |
| 17516 int scopeType(int scopeIndex); | 17521 int scopeType(int scopeIndex); |
| 17517 } | 17522 } |
| 17518 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17523 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17519 // for details. All rights reserved. Use of this source code is governed by a | 17524 // for details. All rights reserved. Use of this source code is governed by a |
| 17520 // BSD-style license that can be found in the LICENSE file. | 17525 // BSD-style license that can be found in the LICENSE file. |
| 17521 | 17526 |
| 17522 // WARNING: Do not edit - generated code. | 17527 // WARNING: Do not edit - generated code. |
| 17523 | 17528 |
| 17524 interface KeyboardEvent extends UIEvent { | 17529 interface KeyboardEvent extends UIEvent { |
| 17525 | 17530 |
| (...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17806 final String kind; | 17811 final String kind; |
| 17807 | 17812 |
| 17808 final String label; | 17813 final String label; |
| 17809 } | 17814 } |
| 17810 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17815 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17811 // for details. All rights reserved. Use of this source code is governed by a | 17816 // for details. All rights reserved. Use of this source code is governed by a |
| 17812 // BSD-style license that can be found in the LICENSE file. | 17817 // BSD-style license that can be found in the LICENSE file. |
| 17813 | 17818 |
| 17814 // WARNING: Do not edit - generated code. | 17819 // WARNING: Do not edit - generated code. |
| 17815 | 17820 |
| 17816 interface MediaStreamTrackList { | 17821 interface MediaStreamTrackEvent extends Event { |
| 17822 |
| 17823 final MediaStreamTrack track; |
| 17824 } |
| 17825 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17826 // for details. All rights reserved. Use of this source code is governed by a |
| 17827 // BSD-style license that can be found in the LICENSE file. |
| 17828 |
| 17829 // WARNING: Do not edit - generated code. |
| 17830 |
| 17831 interface MediaStreamTrackList extends EventTarget { |
| 17817 | 17832 |
| 17818 final int length; | 17833 final int length; |
| 17819 | 17834 |
| 17835 void add(MediaStreamTrack track); |
| 17836 |
| 17837 void addEventListener(String type, EventListener listener, [bool useCapture]); |
| 17838 |
| 17839 bool dispatchEvent(Event event); |
| 17840 |
| 17820 MediaStreamTrack item(int index); | 17841 MediaStreamTrack item(int index); |
| 17842 |
| 17843 void remove(MediaStreamTrack track); |
| 17844 |
| 17845 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
| 17821 } | 17846 } |
| 17822 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17847 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17823 // for details. All rights reserved. Use of this source code is governed by a | 17848 // for details. All rights reserved. Use of this source code is governed by a |
| 17824 // BSD-style license that can be found in the LICENSE file. | 17849 // BSD-style license that can be found in the LICENSE file. |
| 17825 | 17850 |
| 17826 // WARNING: Do not edit - generated code. | 17851 // WARNING: Do not edit - generated code. |
| 17827 | 17852 |
| 17828 interface MemoryInfo { | 17853 interface MemoryInfo { |
| 17829 | 17854 |
| 17830 final int jsHeapSizeLimit; | 17855 final int jsHeapSizeLimit; |
| (...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18576 void setRemoteDescription(int action, SessionDescription desc); | 18601 void setRemoteDescription(int action, SessionDescription desc); |
| 18577 | 18602 |
| 18578 void startIce([Map iceOptions]); | 18603 void startIce([Map iceOptions]); |
| 18579 } | 18604 } |
| 18580 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18605 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18581 // for details. All rights reserved. Use of this source code is governed by a | 18606 // for details. All rights reserved. Use of this source code is governed by a |
| 18582 // BSD-style license that can be found in the LICENSE file. | 18607 // BSD-style license that can be found in the LICENSE file. |
| 18583 | 18608 |
| 18584 // WARNING: Do not edit - generated code. | 18609 // WARNING: Do not edit - generated code. |
| 18585 | 18610 |
| 18586 interface Performance { | 18611 interface Performance extends EventTarget { |
| 18587 | 18612 |
| 18588 final MemoryInfo memory; | 18613 final MemoryInfo memory; |
| 18589 | 18614 |
| 18590 final PerformanceNavigation navigation; | 18615 final PerformanceNavigation navigation; |
| 18591 | 18616 |
| 18592 final PerformanceTiming timing; | 18617 final PerformanceTiming timing; |
| 18593 | 18618 |
| 18594 num webkitNow(); | 18619 num webkitNow(); |
| 18595 } | 18620 } |
| 18596 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18621 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| (...skipping 3109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21706 // WARNING: Do not edit - generated code. | 21731 // WARNING: Do not edit - generated code. |
| 21707 | 21732 |
| 21708 interface ShadowRoot extends DocumentFragment default _ShadowRootFactoryProvider
{ | 21733 interface ShadowRoot extends DocumentFragment default _ShadowRootFactoryProvider
{ |
| 21709 | 21734 |
| 21710 ShadowRoot(Element host); | 21735 ShadowRoot(Element host); |
| 21711 | 21736 |
| 21712 final Element activeElement; | 21737 final Element activeElement; |
| 21713 | 21738 |
| 21714 bool applyAuthorStyles; | 21739 bool applyAuthorStyles; |
| 21715 | 21740 |
| 21716 final Element host; | |
| 21717 | |
| 21718 String innerHTML; | 21741 String innerHTML; |
| 21719 | 21742 |
| 21720 bool resetStyleInheritance; | 21743 bool resetStyleInheritance; |
| 21721 | 21744 |
| 21722 Element getElementById(String elementId); | 21745 Element getElementById(String elementId); |
| 21723 | 21746 |
| 21724 NodeList getElementsByClassName(String className); | 21747 NodeList getElementsByClassName(String className); |
| 21725 | 21748 |
| 21726 NodeList getElementsByTagName(String tagName); | 21749 NodeList getElementsByTagName(String tagName); |
| 21727 | 21750 |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21836 interface SpeechRecognition extends EventTarget default _SpeechRecognitionFactor
yProvider { | 21859 interface SpeechRecognition extends EventTarget default _SpeechRecognitionFactor
yProvider { |
| 21837 | 21860 |
| 21838 SpeechRecognition(); | 21861 SpeechRecognition(); |
| 21839 | 21862 |
| 21840 bool continuous; | 21863 bool continuous; |
| 21841 | 21864 |
| 21842 SpeechGrammarList grammars; | 21865 SpeechGrammarList grammars; |
| 21843 | 21866 |
| 21844 String lang; | 21867 String lang; |
| 21845 | 21868 |
| 21869 int maxAlternatives; |
| 21870 |
| 21846 void abort(); | 21871 void abort(); |
| 21847 | 21872 |
| 21848 void addEventListener(String type, EventListener listener, [bool useCapture]); | 21873 void addEventListener(String type, EventListener listener, [bool useCapture]); |
| 21849 | 21874 |
| 21850 bool dispatchEvent(Event evt); | 21875 bool dispatchEvent(Event evt); |
| 21851 | 21876 |
| 21852 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | 21877 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
| 21853 | 21878 |
| 21854 void start(); | 21879 void start(); |
| 21855 | 21880 |
| (...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22562 | 22587 |
| 22563 String getTranslatedShaderSource(WebGLShader shader); | 22588 String getTranslatedShaderSource(WebGLShader shader); |
| 22564 } | 22589 } |
| 22565 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22590 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22566 // for details. All rights reserved. Use of this source code is governed by a | 22591 // for details. All rights reserved. Use of this source code is governed by a |
| 22567 // BSD-style license that can be found in the LICENSE file. | 22592 // BSD-style license that can be found in the LICENSE file. |
| 22568 | 22593 |
| 22569 // WARNING: Do not edit - generated code. | 22594 // WARNING: Do not edit - generated code. |
| 22570 | 22595 |
| 22571 interface WebGLDepthTexture { | 22596 interface WebGLDepthTexture { |
| 22597 |
| 22598 static final int UNSIGNED_INT_24_8_WEBGL = 0x84FA; |
| 22572 } | 22599 } |
| 22573 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22600 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22574 // for details. All rights reserved. Use of this source code is governed by a | 22601 // for details. All rights reserved. Use of this source code is governed by a |
| 22575 // BSD-style license that can be found in the LICENSE file. | 22602 // BSD-style license that can be found in the LICENSE file. |
| 22576 | 22603 |
| 22577 // WARNING: Do not edit - generated code. | 22604 // WARNING: Do not edit - generated code. |
| 22578 | 22605 |
| 22579 interface WebGLFramebuffer { | 22606 interface WebGLFramebuffer { |
| 22580 } | 22607 } |
| 22581 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22608 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| (...skipping 1205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 23787 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23814 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23788 // for details. All rights reserved. Use of this source code is governed by a | 23815 // for details. All rights reserved. Use of this source code is governed by a |
| 23789 // BSD-style license that can be found in the LICENSE file. | 23816 // BSD-style license that can be found in the LICENSE file. |
| 23790 | 23817 |
| 23791 // WARNING: Do not edit - generated code. | 23818 // WARNING: Do not edit - generated code. |
| 23792 | 23819 |
| 23793 interface WebKitMutationObserver { | 23820 interface WebKitMutationObserver { |
| 23794 | 23821 |
| 23795 void disconnect(); | 23822 void disconnect(); |
| 23796 | 23823 |
| 23824 void observe(Node target, Map options); |
| 23825 |
| 23797 List<MutationRecord> takeRecords(); | 23826 List<MutationRecord> takeRecords(); |
| 23798 } | 23827 } |
| 23799 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23828 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23800 // for details. All rights reserved. Use of this source code is governed by a | 23829 // for details. All rights reserved. Use of this source code is governed by a |
| 23801 // BSD-style license that can be found in the LICENSE file. | 23830 // BSD-style license that can be found in the LICENSE file. |
| 23802 | 23831 |
| 23803 // WARNING: Do not edit - generated code. | 23832 // WARNING: Do not edit - generated code. |
| 23804 | 23833 |
| 23805 interface WebKitNamedFlow { | 23834 interface WebKitNamedFlow { |
| 23806 | 23835 |
| 23807 final NodeList contentNodes; | |
| 23808 | |
| 23809 final String name; | 23836 final String name; |
| 23810 | 23837 |
| 23811 final bool overset; | 23838 final bool overset; |
| 23812 | 23839 |
| 23840 NodeList getContent(); |
| 23841 |
| 23813 NodeList getRegionsByContentNode(Node contentNode); | 23842 NodeList getRegionsByContentNode(Node contentNode); |
| 23814 } | 23843 } |
| 23815 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23844 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23816 // for details. All rights reserved. Use of this source code is governed by a | 23845 // for details. All rights reserved. Use of this source code is governed by a |
| 23817 // BSD-style license that can be found in the LICENSE file. | 23846 // BSD-style license that can be found in the LICENSE file. |
| 23818 | 23847 |
| 23819 // WARNING: Do not edit - generated code. | 23848 // WARNING: Do not edit - generated code. |
| 23820 | 23849 |
| 23821 interface WebKitPoint default _WebKitPointFactoryProvider { | 23850 interface WebKitPoint default _WebKitPointFactoryProvider { |
| 23822 | 23851 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 23879 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | 23908 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
| 23880 | 23909 |
| 23881 bool send(String data); | 23910 bool send(String data); |
| 23882 } | 23911 } |
| 23883 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23912 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23884 // for details. All rights reserved. Use of this source code is governed by a | 23913 // for details. All rights reserved. Use of this source code is governed by a |
| 23885 // BSD-style license that can be found in the LICENSE file. | 23914 // BSD-style license that can be found in the LICENSE file. |
| 23886 | 23915 |
| 23887 // WARNING: Do not edit - generated code. | 23916 // WARNING: Do not edit - generated code. |
| 23888 | 23917 |
| 23889 interface WheelEvent extends UIEvent { | 23918 interface WheelEvent extends MouseEvent { |
| 23890 | |
| 23891 final bool altKey; | |
| 23892 | |
| 23893 final int clientX; | |
| 23894 | |
| 23895 final int clientY; | |
| 23896 | |
| 23897 final bool ctrlKey; | |
| 23898 | |
| 23899 final bool metaKey; | |
| 23900 | |
| 23901 final int offsetX; | |
| 23902 | |
| 23903 final int offsetY; | |
| 23904 | |
| 23905 final int screenX; | |
| 23906 | |
| 23907 final int screenY; | |
| 23908 | |
| 23909 final bool shiftKey; | |
| 23910 | 23919 |
| 23911 final bool webkitDirectionInvertedFromDevice; | 23920 final bool webkitDirectionInvertedFromDevice; |
| 23912 | 23921 |
| 23913 final int wheelDelta; | 23922 final int wheelDelta; |
| 23914 | 23923 |
| 23915 final int wheelDeltaX; | 23924 final int wheelDeltaX; |
| 23916 | 23925 |
| 23917 final int wheelDeltaY; | 23926 final int wheelDeltaY; |
| 23918 | 23927 |
| 23919 final int x; | |
| 23920 | |
| 23921 final int y; | |
| 23922 | |
| 23923 void initWebKitWheelEvent(int wheelDeltaX, int wheelDeltaY, DOMWindow view, in
t screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, boo
l shiftKey, bool metaKey); | 23928 void initWebKitWheelEvent(int wheelDeltaX, int wheelDeltaY, DOMWindow view, in
t screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, boo
l shiftKey, bool metaKey); |
| 23924 } | 23929 } |
| 23925 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23930 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23926 // for details. All rights reserved. Use of this source code is governed by a | 23931 // for details. All rights reserved. Use of this source code is governed by a |
| 23927 // BSD-style license that can be found in the LICENSE file. | 23932 // BSD-style license that can be found in the LICENSE file. |
| 23928 | 23933 |
| 23929 // WARNING: Do not edit - generated code. | 23934 // WARNING: Do not edit - generated code. |
| 23930 | 23935 |
| 23931 interface Worker extends AbstractWorker default _WorkerFactoryProvider { | 23936 interface Worker extends AbstractWorker default _WorkerFactoryProvider { |
| 23932 | 23937 |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 24054 static final int LOADING = 3; | 24059 static final int LOADING = 3; |
| 24055 | 24060 |
| 24056 static final int OPENED = 1; | 24061 static final int OPENED = 1; |
| 24057 | 24062 |
| 24058 static final int UNSENT = 0; | 24063 static final int UNSENT = 0; |
| 24059 | 24064 |
| 24060 final int readyState; | 24065 final int readyState; |
| 24061 | 24066 |
| 24062 final Object response; | 24067 final Object response; |
| 24063 | 24068 |
| 24064 final Blob responseBlob; | |
| 24065 | |
| 24066 final String responseText; | 24069 final String responseText; |
| 24067 | 24070 |
| 24068 String responseType; | 24071 String responseType; |
| 24069 | 24072 |
| 24070 final Document responseXML; | 24073 final Document responseXML; |
| 24071 | 24074 |
| 24072 final int status; | 24075 final int status; |
| 24073 | 24076 |
| 24074 final String statusText; | 24077 final String statusText; |
| 24075 | 24078 |
| (...skipping 1183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 25259 if (length < 0) throw new IllegalArgumentException('length'); | 25262 if (length < 0) throw new IllegalArgumentException('length'); |
| 25260 if (start < 0) throw new IndexOutOfRangeException(start); | 25263 if (start < 0) throw new IndexOutOfRangeException(start); |
| 25261 int end = start + length; | 25264 int end = start + length; |
| 25262 if (end > a.length) throw new IndexOutOfRangeException(end); | 25265 if (end > a.length) throw new IndexOutOfRangeException(end); |
| 25263 for (int i = start; i < end; i++) { | 25266 for (int i = start; i < end; i++) { |
| 25264 accumulator.add(a[i]); | 25267 accumulator.add(a[i]); |
| 25265 } | 25268 } |
| 25266 return accumulator; | 25269 return accumulator; |
| 25267 } | 25270 } |
| 25268 } | 25271 } |
| OLD | NEW |