| OLD | NEW |
| 1 #library('dom'); | 1 #library('dom'); |
| 2 | 2 |
| 3 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3 // Copyright (c) 2012, 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 with no implementation. | 8 // Auto-generated Dart DOM library with no implementation. |
| 9 | 9 |
| 10 | 10 |
| (...skipping 1236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1247 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1247 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1248 // for details. All rights reserved. Use of this source code is governed by a | 1248 // for details. All rights reserved. Use of this source code is governed by a |
| 1249 // BSD-style license that can be found in the LICENSE file. | 1249 // BSD-style license that can be found in the LICENSE file. |
| 1250 | 1250 |
| 1251 // WARNING: Do not edit - generated code. | 1251 // WARNING: Do not edit - generated code. |
| 1252 | 1252 |
| 1253 interface Console { | 1253 interface Console { |
| 1254 | 1254 |
| 1255 final MemoryInfo memory; | 1255 final MemoryInfo memory; |
| 1256 | 1256 |
| 1257 final List<ScriptProfile> profiles; |
| 1258 |
| 1257 void assertCondition(bool condition, Object arg); | 1259 void assertCondition(bool condition, Object arg); |
| 1258 | 1260 |
| 1259 void count(); | 1261 void count(); |
| 1260 | 1262 |
| 1261 void debug(Object arg); | 1263 void debug(Object arg); |
| 1262 | 1264 |
| 1263 void dir(); | 1265 void dir(); |
| 1264 | 1266 |
| 1265 void dirxml(); | 1267 void dirxml(); |
| 1266 | 1268 |
| (...skipping 3362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4629 bool multiple; | 4631 bool multiple; |
| 4630 | 4632 |
| 4631 String name; | 4633 String name; |
| 4632 | 4634 |
| 4633 final HTMLOptionsCollection options; | 4635 final HTMLOptionsCollection options; |
| 4634 | 4636 |
| 4635 bool required; | 4637 bool required; |
| 4636 | 4638 |
| 4637 int selectedIndex; | 4639 int selectedIndex; |
| 4638 | 4640 |
| 4641 final HTMLCollection selectedOptions; |
| 4642 |
| 4639 int size; | 4643 int size; |
| 4640 | 4644 |
| 4641 final String type; | 4645 final String type; |
| 4642 | 4646 |
| 4643 final String validationMessage; | 4647 final String validationMessage; |
| 4644 | 4648 |
| 4645 final ValidityState validity; | 4649 final ValidityState validity; |
| 4646 | 4650 |
| 4647 String value; | 4651 String value; |
| 4648 | 4652 |
| (...skipping 879 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5528 final List scopeChain; | 5532 final List scopeChain; |
| 5529 | 5533 |
| 5530 final int sourceID; | 5534 final int sourceID; |
| 5531 | 5535 |
| 5532 final Object thisObject; | 5536 final Object thisObject; |
| 5533 | 5537 |
| 5534 final String type; | 5538 final String type; |
| 5535 | 5539 |
| 5536 void evaluate(String script); | 5540 void evaluate(String script); |
| 5537 | 5541 |
| 5542 Object restart(); |
| 5543 |
| 5538 int scopeType(int scopeIndex); | 5544 int scopeType(int scopeIndex); |
| 5539 } | 5545 } |
| 5540 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5546 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5541 // for details. All rights reserved. Use of this source code is governed by a | 5547 // for details. All rights reserved. Use of this source code is governed by a |
| 5542 // BSD-style license that can be found in the LICENSE file. | 5548 // BSD-style license that can be found in the LICENSE file. |
| 5543 | 5549 |
| 5544 // WARNING: Do not edit - generated code. | 5550 // WARNING: Do not edit - generated code. |
| 5545 | 5551 |
| 5546 interface KeyboardEvent extends UIEvent { | 5552 interface KeyboardEvent extends UIEvent { |
| 5547 | 5553 |
| (...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5828 final String kind; | 5834 final String kind; |
| 5829 | 5835 |
| 5830 final String label; | 5836 final String label; |
| 5831 } | 5837 } |
| 5832 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5838 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5833 // for details. All rights reserved. Use of this source code is governed by a | 5839 // for details. All rights reserved. Use of this source code is governed by a |
| 5834 // BSD-style license that can be found in the LICENSE file. | 5840 // BSD-style license that can be found in the LICENSE file. |
| 5835 | 5841 |
| 5836 // WARNING: Do not edit - generated code. | 5842 // WARNING: Do not edit - generated code. |
| 5837 | 5843 |
| 5838 interface MediaStreamTrackList { | 5844 interface MediaStreamTrackEvent extends Event { |
| 5845 |
| 5846 final MediaStreamTrack track; |
| 5847 } |
| 5848 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5849 // for details. All rights reserved. Use of this source code is governed by a |
| 5850 // BSD-style license that can be found in the LICENSE file. |
| 5851 |
| 5852 // WARNING: Do not edit - generated code. |
| 5853 |
| 5854 interface MediaStreamTrackList extends EventTarget { |
| 5839 | 5855 |
| 5840 final int length; | 5856 final int length; |
| 5841 | 5857 |
| 5858 void add(MediaStreamTrack track); |
| 5859 |
| 5860 void addEventListener(String type, EventListener listener, [bool useCapture]); |
| 5861 |
| 5862 bool dispatchEvent(Event event); |
| 5863 |
| 5842 MediaStreamTrack item(int index); | 5864 MediaStreamTrack item(int index); |
| 5865 |
| 5866 void remove(MediaStreamTrack track); |
| 5867 |
| 5868 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
| 5843 } | 5869 } |
| 5844 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5870 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5845 // for details. All rights reserved. Use of this source code is governed by a | 5871 // for details. All rights reserved. Use of this source code is governed by a |
| 5846 // BSD-style license that can be found in the LICENSE file. | 5872 // BSD-style license that can be found in the LICENSE file. |
| 5847 | 5873 |
| 5848 // WARNING: Do not edit - generated code. | 5874 // WARNING: Do not edit - generated code. |
| 5849 | 5875 |
| 5850 interface MemoryInfo { | 5876 interface MemoryInfo { |
| 5851 | 5877 |
| 5852 final int jsHeapSizeLimit; | 5878 final int jsHeapSizeLimit; |
| (...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6598 void setRemoteDescription(int action, SessionDescription desc); | 6624 void setRemoteDescription(int action, SessionDescription desc); |
| 6599 | 6625 |
| 6600 void startIce([Map iceOptions]); | 6626 void startIce([Map iceOptions]); |
| 6601 } | 6627 } |
| 6602 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6628 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6603 // for details. All rights reserved. Use of this source code is governed by a | 6629 // for details. All rights reserved. Use of this source code is governed by a |
| 6604 // BSD-style license that can be found in the LICENSE file. | 6630 // BSD-style license that can be found in the LICENSE file. |
| 6605 | 6631 |
| 6606 // WARNING: Do not edit - generated code. | 6632 // WARNING: Do not edit - generated code. |
| 6607 | 6633 |
| 6608 interface Performance { | 6634 interface Performance extends EventTarget { |
| 6609 | 6635 |
| 6610 final MemoryInfo memory; | 6636 final MemoryInfo memory; |
| 6611 | 6637 |
| 6612 final PerformanceNavigation navigation; | 6638 final PerformanceNavigation navigation; |
| 6613 | 6639 |
| 6614 final PerformanceTiming timing; | 6640 final PerformanceTiming timing; |
| 6615 | 6641 |
| 6616 num webkitNow(); | 6642 num webkitNow(); |
| 6617 } | 6643 } |
| 6618 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6644 // 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... |
| 9728 // WARNING: Do not edit - generated code. | 9754 // WARNING: Do not edit - generated code. |
| 9729 | 9755 |
| 9730 interface ShadowRoot extends DocumentFragment default _ShadowRootFactoryProvider
{ | 9756 interface ShadowRoot extends DocumentFragment default _ShadowRootFactoryProvider
{ |
| 9731 | 9757 |
| 9732 ShadowRoot(Element host); | 9758 ShadowRoot(Element host); |
| 9733 | 9759 |
| 9734 final Element activeElement; | 9760 final Element activeElement; |
| 9735 | 9761 |
| 9736 bool applyAuthorStyles; | 9762 bool applyAuthorStyles; |
| 9737 | 9763 |
| 9738 final Element host; | |
| 9739 | |
| 9740 String innerHTML; | 9764 String innerHTML; |
| 9741 | 9765 |
| 9742 bool resetStyleInheritance; | 9766 bool resetStyleInheritance; |
| 9743 | 9767 |
| 9744 Element getElementById(String elementId); | 9768 Element getElementById(String elementId); |
| 9745 | 9769 |
| 9746 NodeList getElementsByClassName(String className); | 9770 NodeList getElementsByClassName(String className); |
| 9747 | 9771 |
| 9748 NodeList getElementsByTagName(String tagName); | 9772 NodeList getElementsByTagName(String tagName); |
| 9749 | 9773 |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9858 interface SpeechRecognition extends EventTarget default _SpeechRecognitionFactor
yProvider { | 9882 interface SpeechRecognition extends EventTarget default _SpeechRecognitionFactor
yProvider { |
| 9859 | 9883 |
| 9860 SpeechRecognition(); | 9884 SpeechRecognition(); |
| 9861 | 9885 |
| 9862 bool continuous; | 9886 bool continuous; |
| 9863 | 9887 |
| 9864 SpeechGrammarList grammars; | 9888 SpeechGrammarList grammars; |
| 9865 | 9889 |
| 9866 String lang; | 9890 String lang; |
| 9867 | 9891 |
| 9892 int maxAlternatives; |
| 9893 |
| 9868 void abort(); | 9894 void abort(); |
| 9869 | 9895 |
| 9870 void addEventListener(String type, EventListener listener, [bool useCapture]); | 9896 void addEventListener(String type, EventListener listener, [bool useCapture]); |
| 9871 | 9897 |
| 9872 bool dispatchEvent(Event evt); | 9898 bool dispatchEvent(Event evt); |
| 9873 | 9899 |
| 9874 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | 9900 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
| 9875 | 9901 |
| 9876 void start(); | 9902 void start(); |
| 9877 | 9903 |
| (...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10584 | 10610 |
| 10585 String getTranslatedShaderSource(WebGLShader shader); | 10611 String getTranslatedShaderSource(WebGLShader shader); |
| 10586 } | 10612 } |
| 10587 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10613 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10588 // for details. All rights reserved. Use of this source code is governed by a | 10614 // for details. All rights reserved. Use of this source code is governed by a |
| 10589 // BSD-style license that can be found in the LICENSE file. | 10615 // BSD-style license that can be found in the LICENSE file. |
| 10590 | 10616 |
| 10591 // WARNING: Do not edit - generated code. | 10617 // WARNING: Do not edit - generated code. |
| 10592 | 10618 |
| 10593 interface WebGLDepthTexture { | 10619 interface WebGLDepthTexture { |
| 10620 |
| 10621 static final int UNSIGNED_INT_24_8_WEBGL = 0x84FA; |
| 10594 } | 10622 } |
| 10595 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10623 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10596 // for details. All rights reserved. Use of this source code is governed by a | 10624 // for details. All rights reserved. Use of this source code is governed by a |
| 10597 // BSD-style license that can be found in the LICENSE file. | 10625 // BSD-style license that can be found in the LICENSE file. |
| 10598 | 10626 |
| 10599 // WARNING: Do not edit - generated code. | 10627 // WARNING: Do not edit - generated code. |
| 10600 | 10628 |
| 10601 interface WebGLFramebuffer { | 10629 interface WebGLFramebuffer { |
| 10602 } | 10630 } |
| 10603 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10631 // 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... |
| 11809 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11837 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11810 // for details. All rights reserved. Use of this source code is governed by a | 11838 // for details. All rights reserved. Use of this source code is governed by a |
| 11811 // BSD-style license that can be found in the LICENSE file. | 11839 // BSD-style license that can be found in the LICENSE file. |
| 11812 | 11840 |
| 11813 // WARNING: Do not edit - generated code. | 11841 // WARNING: Do not edit - generated code. |
| 11814 | 11842 |
| 11815 interface WebKitMutationObserver { | 11843 interface WebKitMutationObserver { |
| 11816 | 11844 |
| 11817 void disconnect(); | 11845 void disconnect(); |
| 11818 | 11846 |
| 11847 void observe(Node target, Map options); |
| 11848 |
| 11819 List<MutationRecord> takeRecords(); | 11849 List<MutationRecord> takeRecords(); |
| 11820 } | 11850 } |
| 11821 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11851 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11822 // for details. All rights reserved. Use of this source code is governed by a | 11852 // for details. All rights reserved. Use of this source code is governed by a |
| 11823 // BSD-style license that can be found in the LICENSE file. | 11853 // BSD-style license that can be found in the LICENSE file. |
| 11824 | 11854 |
| 11825 // WARNING: Do not edit - generated code. | 11855 // WARNING: Do not edit - generated code. |
| 11826 | 11856 |
| 11827 interface WebKitNamedFlow { | 11857 interface WebKitNamedFlow { |
| 11828 | 11858 |
| 11829 final NodeList contentNodes; | |
| 11830 | |
| 11831 final String name; | 11859 final String name; |
| 11832 | 11860 |
| 11833 final bool overset; | 11861 final bool overset; |
| 11834 | 11862 |
| 11863 NodeList getContent(); |
| 11864 |
| 11835 NodeList getRegionsByContentNode(Node contentNode); | 11865 NodeList getRegionsByContentNode(Node contentNode); |
| 11836 } | 11866 } |
| 11837 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11867 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11838 // for details. All rights reserved. Use of this source code is governed by a | 11868 // for details. All rights reserved. Use of this source code is governed by a |
| 11839 // BSD-style license that can be found in the LICENSE file. | 11869 // BSD-style license that can be found in the LICENSE file. |
| 11840 | 11870 |
| 11841 // WARNING: Do not edit - generated code. | 11871 // WARNING: Do not edit - generated code. |
| 11842 | 11872 |
| 11843 interface WebKitPoint default _WebKitPointFactoryProvider { | 11873 interface WebKitPoint default _WebKitPointFactoryProvider { |
| 11844 | 11874 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11901 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | 11931 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
| 11902 | 11932 |
| 11903 bool send(String data); | 11933 bool send(String data); |
| 11904 } | 11934 } |
| 11905 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11935 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11906 // for details. All rights reserved. Use of this source code is governed by a | 11936 // for details. All rights reserved. Use of this source code is governed by a |
| 11907 // BSD-style license that can be found in the LICENSE file. | 11937 // BSD-style license that can be found in the LICENSE file. |
| 11908 | 11938 |
| 11909 // WARNING: Do not edit - generated code. | 11939 // WARNING: Do not edit - generated code. |
| 11910 | 11940 |
| 11911 interface WheelEvent extends UIEvent { | 11941 interface WheelEvent extends MouseEvent { |
| 11912 | |
| 11913 final bool altKey; | |
| 11914 | |
| 11915 final int clientX; | |
| 11916 | |
| 11917 final int clientY; | |
| 11918 | |
| 11919 final bool ctrlKey; | |
| 11920 | |
| 11921 final bool metaKey; | |
| 11922 | |
| 11923 final int offsetX; | |
| 11924 | |
| 11925 final int offsetY; | |
| 11926 | |
| 11927 final int screenX; | |
| 11928 | |
| 11929 final int screenY; | |
| 11930 | |
| 11931 final bool shiftKey; | |
| 11932 | 11942 |
| 11933 final bool webkitDirectionInvertedFromDevice; | 11943 final bool webkitDirectionInvertedFromDevice; |
| 11934 | 11944 |
| 11935 final int wheelDelta; | 11945 final int wheelDelta; |
| 11936 | 11946 |
| 11937 final int wheelDeltaX; | 11947 final int wheelDeltaX; |
| 11938 | 11948 |
| 11939 final int wheelDeltaY; | 11949 final int wheelDeltaY; |
| 11940 | 11950 |
| 11941 final int x; | |
| 11942 | |
| 11943 final int y; | |
| 11944 | |
| 11945 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); | 11951 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); |
| 11946 } | 11952 } |
| 11947 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11953 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11948 // for details. All rights reserved. Use of this source code is governed by a | 11954 // for details. All rights reserved. Use of this source code is governed by a |
| 11949 // BSD-style license that can be found in the LICENSE file. | 11955 // BSD-style license that can be found in the LICENSE file. |
| 11950 | 11956 |
| 11951 // WARNING: Do not edit - generated code. | 11957 // WARNING: Do not edit - generated code. |
| 11952 | 11958 |
| 11953 interface Worker extends AbstractWorker default _WorkerFactoryProvider { | 11959 interface Worker extends AbstractWorker default _WorkerFactoryProvider { |
| 11954 | 11960 |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12076 static final int LOADING = 3; | 12082 static final int LOADING = 3; |
| 12077 | 12083 |
| 12078 static final int OPENED = 1; | 12084 static final int OPENED = 1; |
| 12079 | 12085 |
| 12080 static final int UNSENT = 0; | 12086 static final int UNSENT = 0; |
| 12081 | 12087 |
| 12082 final int readyState; | 12088 final int readyState; |
| 12083 | 12089 |
| 12084 final Object response; | 12090 final Object response; |
| 12085 | 12091 |
| 12086 final Blob responseBlob; | |
| 12087 | |
| 12088 final String responseText; | 12092 final String responseText; |
| 12089 | 12093 |
| 12090 String responseType; | 12094 String responseType; |
| 12091 | 12095 |
| 12092 final Document responseXML; | 12096 final Document responseXML; |
| 12093 | 12097 |
| 12094 final int status; | 12098 final int status; |
| 12095 | 12099 |
| 12096 final String statusText; | 12100 final String statusText; |
| 12097 | 12101 |
| (...skipping 858 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12956 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 12960 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 12957 // for details. All rights reserved. Use of this source code is governed by a | 12961 // for details. All rights reserved. Use of this source code is governed by a |
| 12958 // BSD-style license that can be found in the LICENSE file. | 12962 // BSD-style license that can be found in the LICENSE file. |
| 12959 | 12963 |
| 12960 Window get window() => _dummy(); | 12964 Window get window() => _dummy(); |
| 12961 | 12965 |
| 12962 // TODO(vsm): Remove when prefixes are supported. | 12966 // TODO(vsm): Remove when prefixes are supported. |
| 12963 Window get dom_window() => _dummy(); | 12967 Window get dom_window() => _dummy(); |
| 12964 | 12968 |
| 12965 Document get document() => _dummy(); | 12969 Document get document() => _dummy(); |
| OLD | NEW |