| 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 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 396 static final int CSS_RGBCOLOR = 25; | 396 static final int CSS_RGBCOLOR = 25; |
| 397 | 397 |
| 398 static final int CSS_S = 15; | 398 static final int CSS_S = 15; |
| 399 | 399 |
| 400 static final int CSS_STRING = 19; | 400 static final int CSS_STRING = 19; |
| 401 | 401 |
| 402 static final int CSS_UNKNOWN = 0; | 402 static final int CSS_UNKNOWN = 0; |
| 403 | 403 |
| 404 static final int CSS_URI = 20; | 404 static final int CSS_URI = 20; |
| 405 | 405 |
| 406 static final int CSS_VH = 27; | |
| 407 | |
| 408 static final int CSS_VMIN = 28; | |
| 409 | |
| 410 static final int CSS_VW = 26; | |
| 411 | |
| 412 final int primitiveType; | 406 final int primitiveType; |
| 413 | 407 |
| 414 _CounterJs getCounterValue() native; | 408 _CounterJs getCounterValue() native; |
| 415 | 409 |
| 416 num getFloatValue(int unitType) native; | 410 num getFloatValue(int unitType) native; |
| 417 | 411 |
| 418 _RGBColorJs getRGBColorValue() native; | 412 _RGBColorJs getRGBColorValue() native; |
| 419 | 413 |
| 420 _RectJs getRectValue() native; | 414 _RectJs getRectValue() native; |
| 421 | 415 |
| (...skipping 1295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1717 | 1711 |
| 1718 final _AudioParamJs knee; | 1712 final _AudioParamJs knee; |
| 1719 | 1713 |
| 1720 final _AudioParamJs ratio; | 1714 final _AudioParamJs ratio; |
| 1721 | 1715 |
| 1722 final _AudioParamJs reduction; | 1716 final _AudioParamJs reduction; |
| 1723 | 1717 |
| 1724 final _AudioParamJs threshold; | 1718 final _AudioParamJs threshold; |
| 1725 } | 1719 } |
| 1726 | 1720 |
| 1721 class _EXTTextureFilterAnisotropicJs extends _DOMTypeJs implements EXTTextureFil
terAnisotropic native "*EXTTextureFilterAnisotropic" { |
| 1722 |
| 1723 static final int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF; |
| 1724 |
| 1725 static final int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE; |
| 1726 } |
| 1727 |
| 1727 class _ElementJs extends _NodeJs implements Element native "*Element" { | 1728 class _ElementJs extends _NodeJs implements Element native "*Element" { |
| 1728 | 1729 |
| 1729 static final int ALLOW_KEYBOARD_INPUT = 1; | 1730 static final int ALLOW_KEYBOARD_INPUT = 1; |
| 1730 | 1731 |
| 1731 final int childElementCount; | 1732 final int childElementCount; |
| 1732 | 1733 |
| 1733 final int clientHeight; | 1734 final int clientHeight; |
| 1734 | 1735 |
| 1735 final int clientLeft; | 1736 final int clientLeft; |
| 1736 | 1737 |
| (...skipping 1043 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2780 // final String compatMode; | 2781 // final String compatMode; |
| 2781 | 2782 |
| 2782 String designMode; | 2783 String designMode; |
| 2783 | 2784 |
| 2784 String dir; | 2785 String dir; |
| 2785 | 2786 |
| 2786 final _HTMLCollectionJs embeds; | 2787 final _HTMLCollectionJs embeds; |
| 2787 | 2788 |
| 2788 String fgColor; | 2789 String fgColor; |
| 2789 | 2790 |
| 2791 final int height; |
| 2792 |
| 2790 String linkColor; | 2793 String linkColor; |
| 2791 | 2794 |
| 2792 final _HTMLCollectionJs plugins; | 2795 final _HTMLCollectionJs plugins; |
| 2793 | 2796 |
| 2794 final _HTMLCollectionJs scripts; | 2797 final _HTMLCollectionJs scripts; |
| 2795 | 2798 |
| 2796 String vlinkColor; | 2799 String vlinkColor; |
| 2797 | 2800 |
| 2801 final int width; |
| 2802 |
| 2798 void captureEvents() native; | 2803 void captureEvents() native; |
| 2799 | 2804 |
| 2800 void clear() native; | 2805 void clear() native; |
| 2801 | 2806 |
| 2802 void close() native; | 2807 void close() native; |
| 2803 | 2808 |
| 2804 bool hasFocus() native; | 2809 bool hasFocus() native; |
| 2805 | 2810 |
| 2806 void open() native; | 2811 void open() native; |
| 2807 | 2812 |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2877 | 2882 |
| 2878 String width; | 2883 String width; |
| 2879 | 2884 |
| 2880 _SVGDocumentJs getSVGDocument() native; | 2885 _SVGDocumentJs getSVGDocument() native; |
| 2881 } | 2886 } |
| 2882 | 2887 |
| 2883 class _HTMLFieldSetElementJs extends _HTMLElementJs implements HTMLFieldSetEleme
nt native "*HTMLFieldSetElement" { | 2888 class _HTMLFieldSetElementJs extends _HTMLElementJs implements HTMLFieldSetEleme
nt native "*HTMLFieldSetElement" { |
| 2884 | 2889 |
| 2885 final _HTMLFormElementJs form; | 2890 final _HTMLFormElementJs form; |
| 2886 | 2891 |
| 2892 String name; |
| 2893 |
| 2894 final String type; |
| 2895 |
| 2887 final String validationMessage; | 2896 final String validationMessage; |
| 2888 | 2897 |
| 2889 final _ValidityStateJs validity; | 2898 final _ValidityStateJs validity; |
| 2890 | 2899 |
| 2891 final bool willValidate; | 2900 final bool willValidate; |
| 2892 | 2901 |
| 2893 bool checkValidity() native; | 2902 bool checkValidity() native; |
| 2894 | 2903 |
| 2895 void setCustomValidity(String error) native; | 2904 void setCustomValidity(String error) native; |
| 2896 } | 2905 } |
| (...skipping 761 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3658 bool multiple; | 3667 bool multiple; |
| 3659 | 3668 |
| 3660 String name; | 3669 String name; |
| 3661 | 3670 |
| 3662 final _HTMLOptionsCollectionJs options; | 3671 final _HTMLOptionsCollectionJs options; |
| 3663 | 3672 |
| 3664 bool required; | 3673 bool required; |
| 3665 | 3674 |
| 3666 int selectedIndex; | 3675 int selectedIndex; |
| 3667 | 3676 |
| 3677 final _HTMLCollectionJs selectedOptions; |
| 3678 |
| 3668 int size; | 3679 int size; |
| 3669 | 3680 |
| 3670 final String type; | 3681 final String type; |
| 3671 | 3682 |
| 3672 final String validationMessage; | 3683 final String validationMessage; |
| 3673 | 3684 |
| 3674 final _ValidityStateJs validity; | 3685 final _ValidityStateJs validity; |
| 3675 | 3686 |
| 3676 String value; | 3687 String value; |
| 3677 | 3688 |
| (...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3921 class _HTMLTrackElementJs extends _HTMLElementJs implements HTMLTrackElement nat
ive "*HTMLTrackElement" { | 3932 class _HTMLTrackElementJs extends _HTMLElementJs implements HTMLTrackElement nat
ive "*HTMLTrackElement" { |
| 3922 | 3933 |
| 3923 static final int ERROR = 3; | 3934 static final int ERROR = 3; |
| 3924 | 3935 |
| 3925 static final int LOADED = 2; | 3936 static final int LOADED = 2; |
| 3926 | 3937 |
| 3927 static final int LOADING = 1; | 3938 static final int LOADING = 1; |
| 3928 | 3939 |
| 3929 static final int NONE = 0; | 3940 static final int NONE = 0; |
| 3930 | 3941 |
| 3931 bool isDefault; | |
| 3932 | |
| 3933 String kind; | 3942 String kind; |
| 3934 | 3943 |
| 3935 String label; | 3944 String label; |
| 3936 | 3945 |
| 3937 final int readyState; | 3946 final int readyState; |
| 3938 | 3947 |
| 3939 String src; | 3948 String src; |
| 3940 | 3949 |
| 3941 String srclang; | 3950 String srclang; |
| 3942 | 3951 |
| (...skipping 5221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9164 | 9173 |
| 9165 final num totalTime; | 9174 final num totalTime; |
| 9166 | 9175 |
| 9167 final String url; | 9176 final String url; |
| 9168 | 9177 |
| 9169 final bool visible; | 9178 final bool visible; |
| 9170 } | 9179 } |
| 9171 | 9180 |
| 9172 class _ShadowRootJs extends _DocumentFragmentJs implements ShadowRoot native "*S
hadowRoot" { | 9181 class _ShadowRootJs extends _DocumentFragmentJs implements ShadowRoot native "*S
hadowRoot" { |
| 9173 | 9182 |
| 9183 final _ElementJs activeElement; |
| 9184 |
| 9174 final _ElementJs host; | 9185 final _ElementJs host; |
| 9175 | 9186 |
| 9176 String innerHTML; | 9187 String innerHTML; |
| 9177 | 9188 |
| 9178 _ElementJs getElementById(String elementId) native; | 9189 _ElementJs getElementById(String elementId) native; |
| 9179 | 9190 |
| 9180 _NodeListJs getElementsByClassName(String className) native; | 9191 _NodeListJs getElementsByClassName(String className) native; |
| 9181 | 9192 |
| 9182 _NodeListJs getElementsByTagName(String tagName) native; | 9193 _NodeListJs getElementsByTagName(String tagName) native; |
| 9183 | 9194 |
| (...skipping 3078 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12262 static final int CSS_RGBCOLOR = 25; | 12273 static final int CSS_RGBCOLOR = 25; |
| 12263 | 12274 |
| 12264 static final int CSS_S = 15; | 12275 static final int CSS_S = 15; |
| 12265 | 12276 |
| 12266 static final int CSS_STRING = 19; | 12277 static final int CSS_STRING = 19; |
| 12267 | 12278 |
| 12268 static final int CSS_UNKNOWN = 0; | 12279 static final int CSS_UNKNOWN = 0; |
| 12269 | 12280 |
| 12270 static final int CSS_URI = 20; | 12281 static final int CSS_URI = 20; |
| 12271 | 12282 |
| 12272 static final int CSS_VH = 27; | |
| 12273 | |
| 12274 static final int CSS_VMIN = 28; | |
| 12275 | |
| 12276 static final int CSS_VW = 26; | |
| 12277 | |
| 12278 final int primitiveType; | 12283 final int primitiveType; |
| 12279 | 12284 |
| 12280 Counter getCounterValue(); | 12285 Counter getCounterValue(); |
| 12281 | 12286 |
| 12282 num getFloatValue(int unitType); | 12287 num getFloatValue(int unitType); |
| 12283 | 12288 |
| 12284 RGBColor getRGBColorValue(); | 12289 RGBColor getRGBColorValue(); |
| 12285 | 12290 |
| 12286 Rect getRectValue(); | 12291 Rect getRectValue(); |
| 12287 | 12292 |
| (...skipping 1532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13820 final AudioParam reduction; | 13825 final AudioParam reduction; |
| 13821 | 13826 |
| 13822 final AudioParam threshold; | 13827 final AudioParam threshold; |
| 13823 } | 13828 } |
| 13824 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13829 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13825 // for details. All rights reserved. Use of this source code is governed by a | 13830 // for details. All rights reserved. Use of this source code is governed by a |
| 13826 // BSD-style license that can be found in the LICENSE file. | 13831 // BSD-style license that can be found in the LICENSE file. |
| 13827 | 13832 |
| 13828 // WARNING: Do not edit - generated code. | 13833 // WARNING: Do not edit - generated code. |
| 13829 | 13834 |
| 13835 interface EXTTextureFilterAnisotropic { |
| 13836 |
| 13837 static final int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF; |
| 13838 |
| 13839 static final int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE; |
| 13840 } |
| 13841 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13842 // for details. All rights reserved. Use of this source code is governed by a |
| 13843 // BSD-style license that can be found in the LICENSE file. |
| 13844 |
| 13845 // WARNING: Do not edit - generated code. |
| 13846 |
| 13830 interface Element extends Node, NodeSelector, ElementTraversal { | 13847 interface Element extends Node, NodeSelector, ElementTraversal { |
| 13831 | 13848 |
| 13832 static final int ALLOW_KEYBOARD_INPUT = 1; | 13849 static final int ALLOW_KEYBOARD_INPUT = 1; |
| 13833 | 13850 |
| 13834 final int childElementCount; | 13851 final int childElementCount; |
| 13835 | 13852 |
| 13836 final int clientHeight; | 13853 final int clientHeight; |
| 13837 | 13854 |
| 13838 final int clientLeft; | 13855 final int clientLeft; |
| 13839 | 13856 |
| (...skipping 1094 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14934 final String compatMode; | 14951 final String compatMode; |
| 14935 | 14952 |
| 14936 String designMode; | 14953 String designMode; |
| 14937 | 14954 |
| 14938 String dir; | 14955 String dir; |
| 14939 | 14956 |
| 14940 final HTMLCollection embeds; | 14957 final HTMLCollection embeds; |
| 14941 | 14958 |
| 14942 String fgColor; | 14959 String fgColor; |
| 14943 | 14960 |
| 14961 final int height; |
| 14962 |
| 14944 String linkColor; | 14963 String linkColor; |
| 14945 | 14964 |
| 14946 final HTMLCollection plugins; | 14965 final HTMLCollection plugins; |
| 14947 | 14966 |
| 14948 final HTMLCollection scripts; | 14967 final HTMLCollection scripts; |
| 14949 | 14968 |
| 14950 String vlinkColor; | 14969 String vlinkColor; |
| 14951 | 14970 |
| 14971 final int width; |
| 14972 |
| 14952 void captureEvents(); | 14973 void captureEvents(); |
| 14953 | 14974 |
| 14954 void clear(); | 14975 void clear(); |
| 14955 | 14976 |
| 14956 void close(); | 14977 void close(); |
| 14957 | 14978 |
| 14958 bool hasFocus(); | 14979 bool hasFocus(); |
| 14959 | 14980 |
| 14960 void open(); | 14981 void open(); |
| 14961 | 14982 |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15046 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15067 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15047 // for details. All rights reserved. Use of this source code is governed by a | 15068 // for details. All rights reserved. Use of this source code is governed by a |
| 15048 // BSD-style license that can be found in the LICENSE file. | 15069 // BSD-style license that can be found in the LICENSE file. |
| 15049 | 15070 |
| 15050 // WARNING: Do not edit - generated code. | 15071 // WARNING: Do not edit - generated code. |
| 15051 | 15072 |
| 15052 interface HTMLFieldSetElement extends HTMLElement { | 15073 interface HTMLFieldSetElement extends HTMLElement { |
| 15053 | 15074 |
| 15054 final HTMLFormElement form; | 15075 final HTMLFormElement form; |
| 15055 | 15076 |
| 15077 String name; |
| 15078 |
| 15079 final String type; |
| 15080 |
| 15056 final String validationMessage; | 15081 final String validationMessage; |
| 15057 | 15082 |
| 15058 final ValidityState validity; | 15083 final ValidityState validity; |
| 15059 | 15084 |
| 15060 final bool willValidate; | 15085 final bool willValidate; |
| 15061 | 15086 |
| 15062 bool checkValidity(); | 15087 bool checkValidity(); |
| 15063 | 15088 |
| 15064 void setCustomValidity(String error); | 15089 void setCustomValidity(String error); |
| 15065 } | 15090 } |
| (...skipping 934 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16000 bool multiple; | 16025 bool multiple; |
| 16001 | 16026 |
| 16002 String name; | 16027 String name; |
| 16003 | 16028 |
| 16004 final HTMLOptionsCollection options; | 16029 final HTMLOptionsCollection options; |
| 16005 | 16030 |
| 16006 bool required; | 16031 bool required; |
| 16007 | 16032 |
| 16008 int selectedIndex; | 16033 int selectedIndex; |
| 16009 | 16034 |
| 16035 final HTMLCollection selectedOptions; |
| 16036 |
| 16010 int size; | 16037 int size; |
| 16011 | 16038 |
| 16012 final String type; | 16039 final String type; |
| 16013 | 16040 |
| 16014 final String validationMessage; | 16041 final String validationMessage; |
| 16015 | 16042 |
| 16016 final ValidityState validity; | 16043 final ValidityState validity; |
| 16017 | 16044 |
| 16018 String value; | 16045 String value; |
| 16019 | 16046 |
| (...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16328 interface HTMLTrackElement extends HTMLElement { | 16355 interface HTMLTrackElement extends HTMLElement { |
| 16329 | 16356 |
| 16330 static final int ERROR = 3; | 16357 static final int ERROR = 3; |
| 16331 | 16358 |
| 16332 static final int LOADED = 2; | 16359 static final int LOADED = 2; |
| 16333 | 16360 |
| 16334 static final int LOADING = 1; | 16361 static final int LOADING = 1; |
| 16335 | 16362 |
| 16336 static final int NONE = 0; | 16363 static final int NONE = 0; |
| 16337 | 16364 |
| 16338 bool isDefault; | |
| 16339 | |
| 16340 String kind; | 16365 String kind; |
| 16341 | 16366 |
| 16342 String label; | 16367 String label; |
| 16343 | 16368 |
| 16344 final int readyState; | 16369 final int readyState; |
| 16345 | 16370 |
| 16346 String src; | 16371 String src; |
| 16347 | 16372 |
| 16348 String srclang; | 16373 String srclang; |
| 16349 | 16374 |
| (...skipping 4577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20927 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20952 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20928 // for details. All rights reserved. Use of this source code is governed by a | 20953 // for details. All rights reserved. Use of this source code is governed by a |
| 20929 // BSD-style license that can be found in the LICENSE file. | 20954 // BSD-style license that can be found in the LICENSE file. |
| 20930 | 20955 |
| 20931 // WARNING: Do not edit - generated code. | 20956 // WARNING: Do not edit - generated code. |
| 20932 | 20957 |
| 20933 interface ShadowRoot extends DocumentFragment default _ShadowRootFactoryProvider
{ | 20958 interface ShadowRoot extends DocumentFragment default _ShadowRootFactoryProvider
{ |
| 20934 | 20959 |
| 20935 ShadowRoot(Element host); | 20960 ShadowRoot(Element host); |
| 20936 | 20961 |
| 20962 final Element activeElement; |
| 20963 |
| 20937 final Element host; | 20964 final Element host; |
| 20938 | 20965 |
| 20939 String innerHTML; | 20966 String innerHTML; |
| 20940 | 20967 |
| 20941 Element getElementById(String elementId); | 20968 Element getElementById(String elementId); |
| 20942 | 20969 |
| 20943 NodeList getElementsByClassName(String className); | 20970 NodeList getElementsByClassName(String className); |
| 20944 | 20971 |
| 20945 NodeList getElementsByTagName(String tagName); | 20972 NodeList getElementsByTagName(String tagName); |
| 20946 | 20973 |
| (...skipping 3258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 24205 if (length < 0) throw new IllegalArgumentException('length'); | 24232 if (length < 0) throw new IllegalArgumentException('length'); |
| 24206 if (start < 0) throw new IndexOutOfRangeException(start); | 24233 if (start < 0) throw new IndexOutOfRangeException(start); |
| 24207 int end = start + length; | 24234 int end = start + length; |
| 24208 if (end > a.length) throw new IndexOutOfRangeException(end); | 24235 if (end > a.length) throw new IndexOutOfRangeException(end); |
| 24209 for (int i = start; i < end; i++) { | 24236 for (int i = start; i < end; i++) { |
| 24210 accumulator.add(a[i]); | 24237 accumulator.add(a[i]); |
| 24211 } | 24238 } |
| 24212 return accumulator; | 24239 return accumulator; |
| 24213 } | 24240 } |
| 24214 } | 24241 } |
| OLD | NEW |