OLD | NEW |
---|---|
1 /// The Dart HTML library. | 1 /// The Dart HTML library. |
2 library dart.dom.html; | 2 library dart.dom.html; |
3 | 3 |
4 import 'dart:async'; | 4 import 'dart:async'; |
5 import 'dart:collection'; | 5 import 'dart:collection'; |
6 import 'dart:_collection-dev' hide Symbol; | 6 import 'dart:_collection-dev' hide Symbol; |
7 import 'dart:html_common'; | 7 import 'dart:html_common'; |
8 import 'dart:indexed_db'; | 8 import 'dart:indexed_db'; |
9 import 'dart:isolate'; | 9 import 'dart:isolate'; |
10 import 'dart:json' as json; | 10 import 'dart:json' as json; |
(...skipping 1910 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1921 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1921 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1922 // for details. All rights reserved. Use of this source code is governed by a | 1922 // for details. All rights reserved. Use of this source code is governed by a |
1923 // BSD-style license that can be found in the LICENSE file. | 1923 // BSD-style license that can be found in the LICENSE file. |
1924 | 1924 |
1925 | 1925 |
1926 @DocsEditable | 1926 @DocsEditable |
1927 @DomName('WebKitCSSFilterRule') | 1927 @DomName('WebKitCSSFilterRule') |
1928 @SupportedBrowser(SupportedBrowser.CHROME) | 1928 @SupportedBrowser(SupportedBrowser.CHROME) |
1929 @SupportedBrowser(SupportedBrowser.SAFARI) | 1929 @SupportedBrowser(SupportedBrowser.SAFARI) |
1930 @Experimental | 1930 @Experimental |
1931 // http://www.w3.org/TR/filter-effects/ | 1931 @Experimental // untriaged |
1932 class CssFilterRule extends CssRule native "WebKitCSSFilterRule" { | 1932 class CssFilterRule extends CssRule native "WebKitCSSFilterRule" { |
1933 | 1933 |
1934 @DomName('WebKitCSSFilterRule.style') | 1934 @DomName('WebKitCSSFilterRule.style') |
1935 @DocsEditable | 1935 @DocsEditable |
1936 @Experimental // untriaged | |
1936 final CssStyleDeclaration style; | 1937 final CssStyleDeclaration style; |
1937 } | 1938 } |
1938 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1939 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1939 // for details. All rights reserved. Use of this source code is governed by a | 1940 // for details. All rights reserved. Use of this source code is governed by a |
1940 // BSD-style license that can be found in the LICENSE file. | 1941 // BSD-style license that can be found in the LICENSE file. |
1941 | 1942 |
1942 | 1943 |
1943 @DocsEditable | 1944 @DocsEditable |
1944 @DomName('CSSFontFaceLoadEvent') | 1945 @DomName('CSSFontFaceLoadEvent') |
1945 // http://www.w3.org/TR/css3-fonts/ | 1946 // http://www.w3.org/TR/css3-fonts/ |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2017 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2018 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2018 // for details. All rights reserved. Use of this source code is governed by a | 2019 // for details. All rights reserved. Use of this source code is governed by a |
2019 // BSD-style license that can be found in the LICENSE file. | 2020 // BSD-style license that can be found in the LICENSE file. |
2020 | 2021 |
2021 | 2022 |
2022 @DocsEditable | 2023 @DocsEditable |
2023 @DomName('WebKitCSSKeyframeRule') | 2024 @DomName('WebKitCSSKeyframeRule') |
2024 @SupportedBrowser(SupportedBrowser.CHROME) | 2025 @SupportedBrowser(SupportedBrowser.CHROME) |
2025 @SupportedBrowser(SupportedBrowser.SAFARI) | 2026 @SupportedBrowser(SupportedBrowser.SAFARI) |
2026 @Experimental | 2027 @Experimental |
2027 // http://www.w3.org/TR/css3-animations/#CSSKeyframeRule-interface | 2028 @Experimental // untriaged |
2028 class CssKeyframeRule extends CssRule native "WebKitCSSKeyframeRule" { | 2029 class CssKeyframeRule extends CssRule native "WebKitCSSKeyframeRule" { |
2029 | 2030 |
2030 @DomName('WebKitCSSKeyframeRule.keyText') | 2031 @DomName('WebKitCSSKeyframeRule.keyText') |
2031 @DocsEditable | 2032 @DocsEditable |
2033 @Experimental // untriaged | |
2032 String keyText; | 2034 String keyText; |
2033 | 2035 |
2034 @DomName('WebKitCSSKeyframeRule.style') | 2036 @DomName('WebKitCSSKeyframeRule.style') |
2035 @DocsEditable | 2037 @DocsEditable |
2038 @Experimental // untriaged | |
2036 final CssStyleDeclaration style; | 2039 final CssStyleDeclaration style; |
2037 } | 2040 } |
2038 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2041 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2039 // for details. All rights reserved. Use of this source code is governed by a | 2042 // for details. All rights reserved. Use of this source code is governed by a |
2040 // BSD-style license that can be found in the LICENSE file. | 2043 // BSD-style license that can be found in the LICENSE file. |
2041 | 2044 |
2042 | 2045 |
2043 @DocsEditable | 2046 @DocsEditable |
2044 @DomName('WebKitCSSKeyframesRule') | 2047 @DomName('WebKitCSSKeyframesRule') |
2045 @SupportedBrowser(SupportedBrowser.CHROME) | 2048 @SupportedBrowser(SupportedBrowser.CHROME) |
2046 @SupportedBrowser(SupportedBrowser.SAFARI) | 2049 @SupportedBrowser(SupportedBrowser.SAFARI) |
2047 @Experimental | 2050 @Experimental |
2048 // http://www.w3.org/TR/css3-animations/#csskeyframesrule | 2051 @Experimental // untriaged |
2049 class CssKeyframesRule extends CssRule native "WebKitCSSKeyframesRule" { | 2052 class CssKeyframesRule extends CssRule native "WebKitCSSKeyframesRule" { |
2050 | 2053 |
2051 @DomName('WebKitCSSKeyframesRule.cssRules') | 2054 @DomName('WebKitCSSKeyframesRule.cssRules') |
2052 @DocsEditable | 2055 @DocsEditable |
2056 @Experimental // untriaged | |
2053 @Returns('_CssRuleList') | 2057 @Returns('_CssRuleList') |
2054 @Creates('_CssRuleList') | 2058 @Creates('_CssRuleList') |
2055 final List<CssRule> cssRules; | 2059 final List<CssRule> cssRules; |
2056 | 2060 |
2057 @DomName('WebKitCSSKeyframesRule.name') | 2061 @DomName('WebKitCSSKeyframesRule.name') |
2058 @DocsEditable | 2062 @DocsEditable |
2063 @Experimental // untriaged | |
2059 String name; | 2064 String name; |
2060 | 2065 |
2061 @DomName('WebKitCSSKeyframesRule.__getter__') | 2066 @DomName('WebKitCSSKeyframesRule.__getter__') |
2062 @DocsEditable | 2067 @DocsEditable |
2063 @Experimental // untriaged | 2068 @Experimental // untriaged |
2064 CssKeyframeRule __getter__(int index) native; | 2069 CssKeyframeRule __getter__(int index) native; |
2065 | 2070 |
2066 @DomName('WebKitCSSKeyframesRule.deleteRule') | 2071 @DomName('WebKitCSSKeyframesRule.deleteRule') |
2067 @DocsEditable | 2072 @DocsEditable |
2073 @Experimental // untriaged | |
2068 void deleteRule(String key) native; | 2074 void deleteRule(String key) native; |
2069 | 2075 |
2070 @DomName('WebKitCSSKeyframesRule.findRule') | 2076 @DomName('WebKitCSSKeyframesRule.findRule') |
2071 @DocsEditable | 2077 @DocsEditable |
2078 @Experimental // untriaged | |
2072 CssKeyframeRule findRule(String key) native; | 2079 CssKeyframeRule findRule(String key) native; |
2073 | 2080 |
2074 @DomName('WebKitCSSKeyframesRule.insertRule') | 2081 @DomName('WebKitCSSKeyframesRule.insertRule') |
2075 @DocsEditable | 2082 @DocsEditable |
2083 @Experimental // untriaged | |
2076 void insertRule(String rule) native; | 2084 void insertRule(String rule) native; |
2077 } | 2085 } |
2078 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2086 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2079 // for details. All rights reserved. Use of this source code is governed by a | 2087 // for details. All rights reserved. Use of this source code is governed by a |
2080 // BSD-style license that can be found in the LICENSE file. | 2088 // BSD-style license that can be found in the LICENSE file. |
2081 | 2089 |
2082 | 2090 |
2083 @DocsEditable | 2091 @DocsEditable |
2084 @DomName('CSSMediaRule') | 2092 @DomName('CSSMediaRule') |
2085 class CssMediaRule extends CssRule native "CSSMediaRule" { | 2093 class CssMediaRule extends CssRule native "CSSMediaRule" { |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2122 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2130 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2123 // for details. All rights reserved. Use of this source code is governed by a | 2131 // for details. All rights reserved. Use of this source code is governed by a |
2124 // BSD-style license that can be found in the LICENSE file. | 2132 // BSD-style license that can be found in the LICENSE file. |
2125 | 2133 |
2126 | 2134 |
2127 @DocsEditable | 2135 @DocsEditable |
2128 @DomName('WebKitCSSRegionRule') | 2136 @DomName('WebKitCSSRegionRule') |
2129 @SupportedBrowser(SupportedBrowser.CHROME) | 2137 @SupportedBrowser(SupportedBrowser.CHROME) |
2130 @SupportedBrowser(SupportedBrowser.SAFARI) | 2138 @SupportedBrowser(SupportedBrowser.SAFARI) |
2131 @Experimental | 2139 @Experimental |
2132 // http://dev.w3.org/csswg/css-regions/#region-style-rule-interface | 2140 @Experimental // untriaged |
2133 class CssRegionRule extends CssRule native "WebKitCSSRegionRule" { | 2141 class CssRegionRule extends CssRule native "WebKitCSSRegionRule" { |
2134 | 2142 |
2135 @DomName('WebKitCSSRegionRule.cssRules') | 2143 @DomName('WebKitCSSRegionRule.cssRules') |
2136 @DocsEditable | 2144 @DocsEditable |
2145 @Experimental // untriaged | |
2137 @Returns('_CssRuleList') | 2146 @Returns('_CssRuleList') |
2138 @Creates('_CssRuleList') | 2147 @Creates('_CssRuleList') |
2139 final List<CssRule> cssRules; | 2148 final List<CssRule> cssRules; |
2140 } | 2149 } |
2141 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2150 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2142 // for details. All rights reserved. Use of this source code is governed by a | 2151 // for details. All rights reserved. Use of this source code is governed by a |
2143 // BSD-style license that can be found in the LICENSE file. | 2152 // BSD-style license that can be found in the LICENSE file. |
2144 | 2153 |
2145 | 2154 |
2146 @DocsEditable | 2155 @DocsEditable |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2248 String cssText; | 2257 String cssText; |
2249 | 2258 |
2250 @DomName('CSSStyleDeclaration.length') | 2259 @DomName('CSSStyleDeclaration.length') |
2251 @DocsEditable | 2260 @DocsEditable |
2252 final int length; | 2261 final int length; |
2253 | 2262 |
2254 @DomName('CSSStyleDeclaration.parentRule') | 2263 @DomName('CSSStyleDeclaration.parentRule') |
2255 @DocsEditable | 2264 @DocsEditable |
2256 final CssRule parentRule; | 2265 final CssRule parentRule; |
2257 | 2266 |
2267 @DomName('CSSStyleDeclaration.__setter__') | |
2268 @DocsEditable | |
2269 @Experimental // untriaged | |
2270 void __setter__(String propertyName, String propertyValue) native; | |
2271 | |
2258 @DomName('CSSStyleDeclaration.getPropertyPriority') | 2272 @DomName('CSSStyleDeclaration.getPropertyPriority') |
2259 @DocsEditable | 2273 @DocsEditable |
2260 String getPropertyPriority(String propertyName) native; | 2274 String getPropertyPriority(String propertyName) native; |
2261 | 2275 |
2262 @JSName('getPropertyValue') | 2276 @JSName('getPropertyValue') |
2263 @DomName('CSSStyleDeclaration.getPropertyValue') | 2277 @DomName('CSSStyleDeclaration.getPropertyValue') |
2264 @DocsEditable | 2278 @DocsEditable |
2265 String _getPropertyValue(String propertyName) native; | 2279 String _getPropertyValue(String propertyName) native; |
2266 | 2280 |
2267 @DomName('CSSStyleDeclaration.item') | 2281 @DomName('CSSStyleDeclaration.item') |
(...skipping 4929 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
7197 String item(int index) native; | 7211 String item(int index) native; |
7198 } | 7212 } |
7199 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7213 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
7200 // for details. All rights reserved. Use of this source code is governed by a | 7214 // for details. All rights reserved. Use of this source code is governed by a |
7201 // BSD-style license that can be found in the LICENSE file. | 7215 // BSD-style license that can be found in the LICENSE file. |
7202 | 7216 |
7203 | 7217 |
7204 @DomName('DOMStringMap') | 7218 @DomName('DOMStringMap') |
7205 abstract class DomStringMap { | 7219 abstract class DomStringMap { |
7206 | 7220 |
7221 bool __delete__(String name); | |
7222 | |
7207 String __getter__(String name); | 7223 String __getter__(String name); |
7224 | |
7225 void __setter__(String name, String value); | |
7208 } | 7226 } |
7209 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7227 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
7210 // for details. All rights reserved. Use of this source code is governed by a | 7228 // for details. All rights reserved. Use of this source code is governed by a |
7211 // BSD-style license that can be found in the LICENSE file. | 7229 // BSD-style license that can be found in the LICENSE file. |
7212 | 7230 |
7213 | 7231 |
7214 @DocsEditable | 7232 @DocsEditable |
7215 @DomName('DOMTokenList') | 7233 @DomName('DOMTokenList') |
7216 class DomTokenList native "DOMTokenList" { | 7234 class DomTokenList native "DOMTokenList" { |
7217 | 7235 |
(...skipping 1308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
8526 final int scrollWidth; | 8544 final int scrollWidth; |
8527 | 8545 |
8528 @DomName('Element.style') | 8546 @DomName('Element.style') |
8529 @DocsEditable | 8547 @DocsEditable |
8530 final CssStyleDeclaration style; | 8548 final CssStyleDeclaration style; |
8531 | 8549 |
8532 @DomName('Element.tagName') | 8550 @DomName('Element.tagName') |
8533 @DocsEditable | 8551 @DocsEditable |
8534 final String tagName; | 8552 final String tagName; |
8535 | 8553 |
8536 @JSName('webkitInsertionParent') | |
8537 @DomName('Element.webkitInsertionParent') | |
8538 @DocsEditable | |
8539 @SupportedBrowser(SupportedBrowser.CHROME) | |
8540 @SupportedBrowser(SupportedBrowser.SAFARI) | |
8541 @Experimental | |
8542 // https://www.w3.org/Bugs/Public/show_bug.cgi?id=21067 | |
8543 final Node insertionParent; | |
8544 | |
8545 @JSName('webkitPseudo') | 8554 @JSName('webkitPseudo') |
8546 @DomName('Element.webkitPseudo') | 8555 @DomName('Element.webkitPseudo') |
8547 @DocsEditable | 8556 @DocsEditable |
8548 @SupportedBrowser(SupportedBrowser.CHROME) | 8557 @SupportedBrowser(SupportedBrowser.CHROME) |
8549 @SupportedBrowser(SupportedBrowser.SAFARI) | 8558 @SupportedBrowser(SupportedBrowser.SAFARI) |
8550 @Experimental | 8559 @Experimental |
8551 @Experimental // nonstandard | 8560 @Experimental // nonstandard |
8552 String pseudo; | 8561 String pseudo; |
8553 | 8562 |
8554 @JSName('webkitRegionOverset') | 8563 @JSName('webkitRegionOverset') |
(...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
9166 @DocsEditable | 9175 @DocsEditable |
9167 String src; | 9176 String src; |
9168 | 9177 |
9169 @DomName('HTMLEmbedElement.type') | 9178 @DomName('HTMLEmbedElement.type') |
9170 @DocsEditable | 9179 @DocsEditable |
9171 String type; | 9180 String type; |
9172 | 9181 |
9173 @DomName('HTMLEmbedElement.width') | 9182 @DomName('HTMLEmbedElement.width') |
9174 @DocsEditable | 9183 @DocsEditable |
9175 String width; | 9184 String width; |
9185 | |
9186 @DomName('HTMLEmbedElement.__getter__') | |
9187 @DocsEditable | |
9188 @Experimental // untriaged | |
9189 bool __getter__(index_OR_name) native; | |
9190 | |
9191 @DomName('HTMLEmbedElement.__setter__') | |
9192 @DocsEditable | |
9193 @Experimental // untriaged | |
9194 void __setter__(index_OR_name, Node value) native; | |
9176 } | 9195 } |
9177 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9196 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
9178 // for details. All rights reserved. Use of this source code is governed by a | 9197 // for details. All rights reserved. Use of this source code is governed by a |
9179 // BSD-style license that can be found in the LICENSE file. | 9198 // BSD-style license that can be found in the LICENSE file. |
9180 | 9199 |
9181 // WARNING: Do not edit - generated code. | 9200 // WARNING: Do not edit - generated code. |
9182 | 9201 |
9183 | 9202 |
9184 @DomName('EntriesCallback') | 9203 @DomName('EntriesCallback') |
9185 // http://www.w3.org/TR/file-system-api/#the-entriescallback-interface | 9204 // http://www.w3.org/TR/file-system-api/#the-entriescallback-interface |
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
9527 final dynamic _get_currentTarget; | 9546 final dynamic _get_currentTarget; |
9528 | 9547 |
9529 @DomName('Event.defaultPrevented') | 9548 @DomName('Event.defaultPrevented') |
9530 @DocsEditable | 9549 @DocsEditable |
9531 final bool defaultPrevented; | 9550 final bool defaultPrevented; |
9532 | 9551 |
9533 @DomName('Event.eventPhase') | 9552 @DomName('Event.eventPhase') |
9534 @DocsEditable | 9553 @DocsEditable |
9535 final int eventPhase; | 9554 final int eventPhase; |
9536 | 9555 |
9556 @DomName('Event.path') | |
9557 @DocsEditable | |
9558 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#ex tensions-to-event | |
9559 @Experimental | |
9560 @Returns('NodeList') | |
9561 @Creates('NodeList') | |
9562 final List<Node> path; | |
9563 | |
9537 EventTarget get target => _convertNativeToDart_EventTarget(this._get_target); | 9564 EventTarget get target => _convertNativeToDart_EventTarget(this._get_target); |
9538 @JSName('target') | 9565 @JSName('target') |
9539 @DomName('Event.target') | 9566 @DomName('Event.target') |
9540 @DocsEditable | 9567 @DocsEditable |
9541 @Creates('Node') | 9568 @Creates('Node') |
9542 @Returns('EventTarget|=Object') | 9569 @Returns('EventTarget|=Object') |
9543 final dynamic _get_target; | 9570 final dynamic _get_target; |
9544 | 9571 |
9545 @DomName('Event.timeStamp') | 9572 @DomName('Event.timeStamp') |
9546 @DocsEditable | 9573 @DocsEditable |
9547 final int timeStamp; | 9574 final int timeStamp; |
9548 | 9575 |
9549 @DomName('Event.type') | 9576 @DomName('Event.type') |
9550 @DocsEditable | 9577 @DocsEditable |
9551 final String type; | 9578 final String type; |
9552 | 9579 |
9553 @JSName('initEvent') | 9580 @JSName('initEvent') |
9554 @DomName('Event.initEvent') | 9581 @DomName('Event.initEvent') |
9555 @DocsEditable | 9582 @DocsEditable |
9556 void $dom_initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg ) native; | 9583 void $dom_initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg ) native; |
9557 | 9584 |
9558 @DomName('Event.path') | |
9559 @DocsEditable | |
9560 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#ex tensions-to-event | |
9561 @Experimental | |
9562 @Returns('NodeList') | |
9563 @Creates('NodeList') | |
9564 List<Node> path() native; | |
9565 | |
9566 @DomName('Event.preventDefault') | 9585 @DomName('Event.preventDefault') |
9567 @DocsEditable | 9586 @DocsEditable |
9568 void preventDefault() native; | 9587 void preventDefault() native; |
9569 | 9588 |
9570 @DomName('Event.stopImmediatePropagation') | 9589 @DomName('Event.stopImmediatePropagation') |
9571 @DocsEditable | 9590 @DocsEditable |
9572 void stopImmediatePropagation() native; | 9591 void stopImmediatePropagation() native; |
9573 | 9592 |
9574 @DomName('Event.stopPropagation') | 9593 @DomName('Event.stopPropagation') |
9575 @DocsEditable | 9594 @DocsEditable |
(...skipping 1412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
10988 class HtmlAllCollection extends Interceptor with ListMixin<Node>, ImmutableListM ixin<Node> implements JavaScriptIndexingBehavior, List<Node> native "HTMLAllColl ection" { | 11007 class HtmlAllCollection extends Interceptor with ListMixin<Node>, ImmutableListM ixin<Node> implements JavaScriptIndexingBehavior, List<Node> native "HTMLAllColl ection" { |
10989 | 11008 |
10990 @DomName('HTMLAllCollection.length') | 11009 @DomName('HTMLAllCollection.length') |
10991 @DocsEditable | 11010 @DocsEditable |
10992 int get length => JS("int", "#.length", this); | 11011 int get length => JS("int", "#.length", this); |
10993 | 11012 |
10994 Node operator[](int index) { | 11013 Node operator[](int index) { |
10995 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 11014 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
10996 index, index, length)) | 11015 index, index, length)) |
10997 throw new RangeError.range(index, 0, length); | 11016 throw new RangeError.range(index, 0, length); |
10998 return JS("Node", "#[#]", this, index); | 11017 return this.item(index); |
10999 } | 11018 } |
11000 void operator[]=(int index, Node value) { | 11019 void operator[]=(int index, Node value) { |
11001 throw new UnsupportedError("Cannot assign element of immutable List."); | 11020 throw new UnsupportedError("Cannot assign element of immutable List."); |
11002 } | 11021 } |
11003 // -- start List<Node> mixins. | 11022 // -- start List<Node> mixins. |
11004 // Node is the element type. | 11023 // Node is the element type. |
11005 | 11024 |
11006 | 11025 |
11007 void set length(int value) { | 11026 void set length(int value) { |
11008 throw new UnsupportedError("Cannot resize immutable List."); | 11027 throw new UnsupportedError("Cannot resize immutable List."); |
(...skipping 19 matching lines...) Expand all Loading... | |
11028 if (len == 1) { | 11047 if (len == 1) { |
11029 return JS('Node', '#[0]', this); | 11048 return JS('Node', '#[0]', this); |
11030 } | 11049 } |
11031 if (len == 0) throw new StateError("No elements"); | 11050 if (len == 0) throw new StateError("No elements"); |
11032 throw new StateError("More than one element"); | 11051 throw new StateError("More than one element"); |
11033 } | 11052 } |
11034 | 11053 |
11035 Node elementAt(int index) => this[index]; | 11054 Node elementAt(int index) => this[index]; |
11036 // -- end List<Node> mixins. | 11055 // -- end List<Node> mixins. |
11037 | 11056 |
11057 @DomName('HTMLAllCollection.__getter__') | |
11058 @DocsEditable | |
11059 @Experimental // untriaged | |
11060 Node __getter__(int index) native; | |
11061 | |
11038 @DomName('HTMLAllCollection.item') | 11062 @DomName('HTMLAllCollection.item') |
11039 @DocsEditable | 11063 @DocsEditable |
11040 Node item(int index) native; | 11064 Node item(int index) native; |
11041 | 11065 |
11042 @DomName('HTMLAllCollection.namedItem') | 11066 @DomName('HTMLAllCollection.namedItem') |
11043 @DocsEditable | 11067 @DocsEditable |
11044 Node namedItem(String name) native; | 11068 Node namedItem(String name) native; |
11045 | 11069 |
11046 @DomName('HTMLAllCollection.tags') | 11070 @DomName('HTMLAllCollection.tags') |
11047 @DocsEditable | 11071 @DocsEditable |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
11099 if (len == 1) { | 11123 if (len == 1) { |
11100 return JS('Node', '#[0]', this); | 11124 return JS('Node', '#[0]', this); |
11101 } | 11125 } |
11102 if (len == 0) throw new StateError("No elements"); | 11126 if (len == 0) throw new StateError("No elements"); |
11103 throw new StateError("More than one element"); | 11127 throw new StateError("More than one element"); |
11104 } | 11128 } |
11105 | 11129 |
11106 Node elementAt(int index) => this[index]; | 11130 Node elementAt(int index) => this[index]; |
11107 // -- end List<Node> mixins. | 11131 // -- end List<Node> mixins. |
11108 | 11132 |
11133 @DomName('HTMLCollection.__getter__') | |
11134 @DocsEditable | |
11135 @Experimental // untriaged | |
11136 Node __getter__(String name) native; | |
11137 | |
11109 @DomName('HTMLCollection.item') | 11138 @DomName('HTMLCollection.item') |
11110 @DocsEditable | 11139 @DocsEditable |
11111 Node item(int index) native; | 11140 Node item(int index) native; |
11112 | 11141 |
11113 @DomName('HTMLCollection.namedItem') | 11142 @DomName('HTMLCollection.namedItem') |
11114 @DocsEditable | 11143 @DocsEditable |
11115 Node namedItem(String name) native; | 11144 Node namedItem(String name) native; |
11116 } | 11145 } |
11117 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11146 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
11118 // for details. All rights reserved. Use of this source code is governed by a | 11147 // for details. All rights reserved. Use of this source code is governed by a |
(...skipping 2182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
13301 bool disabled; | 13330 bool disabled; |
13302 | 13331 |
13303 @DomName('HTMLLinkElement.href') | 13332 @DomName('HTMLLinkElement.href') |
13304 @DocsEditable | 13333 @DocsEditable |
13305 String href; | 13334 String href; |
13306 | 13335 |
13307 @DomName('HTMLLinkElement.hreflang') | 13336 @DomName('HTMLLinkElement.hreflang') |
13308 @DocsEditable | 13337 @DocsEditable |
13309 String hreflang; | 13338 String hreflang; |
13310 | 13339 |
13340 @DomName('HTMLLinkElement.import') | |
13341 @DocsEditable | |
13342 @Experimental // untriaged | |
13343 final DocumentFragment import; | |
13344 | |
13311 @DomName('HTMLLinkElement.media') | 13345 @DomName('HTMLLinkElement.media') |
13312 @DocsEditable | 13346 @DocsEditable |
13313 String media; | 13347 String media; |
13314 | 13348 |
13315 @DomName('HTMLLinkElement.rel') | 13349 @DomName('HTMLLinkElement.rel') |
13316 @DocsEditable | 13350 @DocsEditable |
13317 String rel; | 13351 String rel; |
13318 | 13352 |
13319 @DomName('HTMLLinkElement.sheet') | 13353 @DomName('HTMLLinkElement.sheet') |
13320 @DocsEditable | 13354 @DocsEditable |
(...skipping 1572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
14893 @DomName('HTMLMeterElement.value') | 14927 @DomName('HTMLMeterElement.value') |
14894 @DocsEditable | 14928 @DocsEditable |
14895 num value; | 14929 num value; |
14896 } | 14930 } |
14897 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14931 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
14898 // for details. All rights reserved. Use of this source code is governed by a | 14932 // for details. All rights reserved. Use of this source code is governed by a |
14899 // BSD-style license that can be found in the LICENSE file. | 14933 // BSD-style license that can be found in the LICENSE file. |
14900 | 14934 |
14901 | 14935 |
14902 @DocsEditable | 14936 @DocsEditable |
14937 @DomName('MIDIAccess') | |
14938 @Experimental // untriaged | |
14939 class MidiAccess extends EventTarget native "MIDIAccess" { | |
14940 | |
14941 @JSName('addEventListener') | |
14942 @DomName('MIDIAccess.addEventListener') | |
14943 @DocsEditable | |
14944 @Experimental // untriaged | |
14945 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native; | |
14946 | |
14947 @DomName('MIDIAccess.dispatchEvent') | |
14948 @DocsEditable | |
14949 @Experimental // untriaged | |
14950 bool dispatchEvent(Event event) native; | |
14951 | |
14952 @DomName('MIDIAccess.inputs') | |
14953 @DocsEditable | |
14954 @Experimental // untriaged | |
14955 List<MidiInput> inputs() native; | |
14956 | |
14957 @DomName('MIDIAccess.outputs') | |
14958 @DocsEditable | |
14959 @Experimental // untriaged | |
14960 List<MidiOutput> outputs() native; | |
14961 | |
14962 @JSName('removeEventListener') | |
14963 @DomName('MIDIAccess.removeEventListener') | |
14964 @DocsEditable | |
14965 @Experimental // untriaged | |
14966 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native; | |
14967 } | |
14968 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
14969 // for details. All rights reserved. Use of this source code is governed by a | |
14970 // BSD-style license that can be found in the LICENSE file. | |
14971 | |
14972 | |
14973 @DocsEditable | |
14903 @DomName('MIDIConnectionEvent') | 14974 @DomName('MIDIConnectionEvent') |
14904 // http://webaudio.github.io/web-midi-api/#midiconnectionevent-interface | 14975 // http://webaudio.github.io/web-midi-api/#midiconnectionevent-interface |
14905 @Experimental | 14976 @Experimental |
14906 class MidiConnectionEvent extends Event native "MIDIConnectionEvent" { | 14977 class MidiConnectionEvent extends Event native "MIDIConnectionEvent" { |
14907 | 14978 |
14908 @DomName('MIDIConnectionEvent.port') | 14979 @DomName('MIDIConnectionEvent.port') |
14909 @DocsEditable | 14980 @DocsEditable |
14910 final MidiPort port; | 14981 final MidiPort port; |
14911 } | 14982 } |
14912 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14983 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
15084 if (len == 1) { | 15155 if (len == 1) { |
15085 return JS('MimeType', '#[0]', this); | 15156 return JS('MimeType', '#[0]', this); |
15086 } | 15157 } |
15087 if (len == 0) throw new StateError("No elements"); | 15158 if (len == 0) throw new StateError("No elements"); |
15088 throw new StateError("More than one element"); | 15159 throw new StateError("More than one element"); |
15089 } | 15160 } |
15090 | 15161 |
15091 MimeType elementAt(int index) => this[index]; | 15162 MimeType elementAt(int index) => this[index]; |
15092 // -- end List<MimeType> mixins. | 15163 // -- end List<MimeType> mixins. |
15093 | 15164 |
15165 @DomName('MimeTypeArray.__getter__') | |
15166 @DocsEditable | |
15167 @Experimental // untriaged | |
15168 MimeType __getter__(String name) native; | |
15169 | |
15094 @DomName('MimeTypeArray.item') | 15170 @DomName('MimeTypeArray.item') |
15095 @DocsEditable | 15171 @DocsEditable |
15096 MimeType item(int index) native; | 15172 MimeType item(int index) native; |
15097 | 15173 |
15098 @DomName('MimeTypeArray.namedItem') | 15174 @DomName('MimeTypeArray.namedItem') |
15099 @DocsEditable | 15175 @DocsEditable |
15100 MimeType namedItem(String name) native; | 15176 MimeType namedItem(String name) native; |
15101 } | 15177 } |
15102 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15178 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
15103 // for details. All rights reserved. Use of this source code is governed by a | 15179 // for details. All rights reserved. Use of this source code is governed by a |
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
15571 @SupportedBrowser(SupportedBrowser.CHROME) | 15647 @SupportedBrowser(SupportedBrowser.CHROME) |
15572 @SupportedBrowser(SupportedBrowser.SAFARI) | 15648 @SupportedBrowser(SupportedBrowser.SAFARI) |
15573 @Experimental | 15649 @Experimental |
15574 // http://dev.w3.org/csswg/css-regions/#dom-named-flow-collection | 15650 // http://dev.w3.org/csswg/css-regions/#dom-named-flow-collection |
15575 class NamedFlowCollection native "WebKitNamedFlowCollection" { | 15651 class NamedFlowCollection native "WebKitNamedFlowCollection" { |
15576 | 15652 |
15577 @DomName('WebKitNamedFlowCollection.length') | 15653 @DomName('WebKitNamedFlowCollection.length') |
15578 @DocsEditable | 15654 @DocsEditable |
15579 final int length; | 15655 final int length; |
15580 | 15656 |
15657 @DomName('WebKitNamedFlowCollection.__getter__') | |
15658 @DocsEditable | |
15659 @Experimental // untriaged | |
15660 NamedFlow __getter__(String name) native; | |
15661 | |
15581 @DomName('WebKitNamedFlowCollection.item') | 15662 @DomName('WebKitNamedFlowCollection.item') |
15582 @DocsEditable | 15663 @DocsEditable |
15583 NamedFlow item(int index) native; | 15664 NamedFlow item(int index) native; |
15584 | 15665 |
15585 @DomName('WebKitNamedFlowCollection.namedItem') | 15666 @DomName('WebKitNamedFlowCollection.namedItem') |
15586 @DocsEditable | 15667 @DocsEditable |
15587 NamedFlow namedItem(String name) native; | 15668 NamedFlow namedItem(String name) native; |
15588 } | 15669 } |
15589 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15670 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
15590 // for details. All rights reserved. Use of this source code is governed by a | 15671 // for details. All rights reserved. Use of this source code is governed by a |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
15788 // for details. All rights reserved. Use of this source code is governed by a | 15869 // for details. All rights reserved. Use of this source code is governed by a |
15789 // BSD-style license that can be found in the LICENSE file. | 15870 // BSD-style license that can be found in the LICENSE file. |
15790 | 15871 |
15791 | 15872 |
15792 @DocsEditable | 15873 @DocsEditable |
15793 @DomName('NavigatorUserMediaError') | 15874 @DomName('NavigatorUserMediaError') |
15794 // http://dev.w3.org/2011/webrtc/editor/getusermedia.html#idl-def-NavigatorUserM ediaError | 15875 // http://dev.w3.org/2011/webrtc/editor/getusermedia.html#idl-def-NavigatorUserM ediaError |
15795 @Experimental | 15876 @Experimental |
15796 class NavigatorUserMediaError native "NavigatorUserMediaError" { | 15877 class NavigatorUserMediaError native "NavigatorUserMediaError" { |
15797 | 15878 |
15798 @DomName('NavigatorUserMediaError.PERMISSION_DENIED') | 15879 @DomName('NavigatorUserMediaError.constraintName') |
15799 @DocsEditable | 15880 @DocsEditable |
15800 @Experimental // nonstandard | 15881 @Experimental // untriaged |
15801 static const int PERMISSION_DENIED = 1; | 15882 final String constraintName; |
15802 | 15883 |
15803 @DomName('NavigatorUserMediaError.code') | 15884 @DomName('NavigatorUserMediaError.message') |
15804 @DocsEditable | 15885 @DocsEditable |
15805 @Experimental // nonstandard | 15886 @Experimental // untriaged |
15806 final int code; | 15887 final String message; |
15888 | |
15889 @DomName('NavigatorUserMediaError.name') | |
15890 @DocsEditable | |
15891 @Experimental // untriaged | |
15892 final String name; | |
15807 } | 15893 } |
15808 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15894 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
15809 // for details. All rights reserved. Use of this source code is governed by a | 15895 // for details. All rights reserved. Use of this source code is governed by a |
15810 // BSD-style license that can be found in the LICENSE file. | 15896 // BSD-style license that can be found in the LICENSE file. |
15811 | 15897 |
15812 // WARNING: Do not edit - generated code. | 15898 // WARNING: Do not edit - generated code. |
15813 | 15899 |
15814 | 15900 |
15815 @DomName('NavigatorUserMediaErrorCallback') | 15901 @DomName('NavigatorUserMediaErrorCallback') |
15816 // http://dev.w3.org/2011/webrtc/editor/getusermedia.html#idl-def-NavigatorUserM ediaErrorCallback | 15902 // http://dev.w3.org/2011/webrtc/editor/getusermedia.html#idl-def-NavigatorUserM ediaErrorCallback |
(...skipping 925 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
16742 final ValidityState validity; | 16828 final ValidityState validity; |
16743 | 16829 |
16744 @DomName('HTMLObjectElement.width') | 16830 @DomName('HTMLObjectElement.width') |
16745 @DocsEditable | 16831 @DocsEditable |
16746 String width; | 16832 String width; |
16747 | 16833 |
16748 @DomName('HTMLObjectElement.willValidate') | 16834 @DomName('HTMLObjectElement.willValidate') |
16749 @DocsEditable | 16835 @DocsEditable |
16750 final bool willValidate; | 16836 final bool willValidate; |
16751 | 16837 |
16838 @DomName('HTMLObjectElement.__getter__') | |
16839 @DocsEditable | |
16840 @Experimental // untriaged | |
16841 bool __getter__(index_OR_name) native; | |
16842 | |
16843 @DomName('HTMLObjectElement.__setter__') | |
16844 @DocsEditable | |
16845 @Experimental // untriaged | |
16846 void __setter__(index_OR_name, Node value) native; | |
16847 | |
16752 @DomName('HTMLObjectElement.checkValidity') | 16848 @DomName('HTMLObjectElement.checkValidity') |
16753 @DocsEditable | 16849 @DocsEditable |
16754 bool checkValidity() native; | 16850 bool checkValidity() native; |
16755 | 16851 |
16756 @DomName('HTMLObjectElement.setCustomValidity') | 16852 @DomName('HTMLObjectElement.setCustomValidity') |
16757 @DocsEditable | 16853 @DocsEditable |
16758 void setCustomValidity(String error) native; | 16854 void setCustomValidity(String error) native; |
16759 } | 16855 } |
16760 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16856 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
16761 // for details. All rights reserved. Use of this source code is governed by a | 16857 // for details. All rights reserved. Use of this source code is governed by a |
(...skipping 655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
17417 final String filename; | 17513 final String filename; |
17418 | 17514 |
17419 @DomName('Plugin.length') | 17515 @DomName('Plugin.length') |
17420 @DocsEditable | 17516 @DocsEditable |
17421 final int length; | 17517 final int length; |
17422 | 17518 |
17423 @DomName('Plugin.name') | 17519 @DomName('Plugin.name') |
17424 @DocsEditable | 17520 @DocsEditable |
17425 final String name; | 17521 final String name; |
17426 | 17522 |
17523 @DomName('Plugin.__getter__') | |
17524 @DocsEditable | |
17525 @Experimental // untriaged | |
17526 MimeType __getter__(String name) native; | |
17527 | |
17427 @DomName('Plugin.item') | 17528 @DomName('Plugin.item') |
17428 @DocsEditable | 17529 @DocsEditable |
17429 MimeType item(int index) native; | 17530 MimeType item(int index) native; |
17430 | 17531 |
17431 @DomName('Plugin.namedItem') | 17532 @DomName('Plugin.namedItem') |
17432 @DocsEditable | 17533 @DocsEditable |
17433 MimeType namedItem(String name) native; | 17534 MimeType namedItem(String name) native; |
17434 } | 17535 } |
17435 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17536 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
17436 // for details. All rights reserved. Use of this source code is governed by a | 17537 // for details. All rights reserved. Use of this source code is governed by a |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
17483 if (len == 1) { | 17584 if (len == 1) { |
17484 return JS('Plugin', '#[0]', this); | 17585 return JS('Plugin', '#[0]', this); |
17485 } | 17586 } |
17486 if (len == 0) throw new StateError("No elements"); | 17587 if (len == 0) throw new StateError("No elements"); |
17487 throw new StateError("More than one element"); | 17588 throw new StateError("More than one element"); |
17488 } | 17589 } |
17489 | 17590 |
17490 Plugin elementAt(int index) => this[index]; | 17591 Plugin elementAt(int index) => this[index]; |
17491 // -- end List<Plugin> mixins. | 17592 // -- end List<Plugin> mixins. |
17492 | 17593 |
17594 @DomName('PluginArray.__getter__') | |
17595 @DocsEditable | |
17596 @Experimental // untriaged | |
17597 Plugin __getter__(String name) native; | |
17598 | |
17493 @DomName('PluginArray.item') | 17599 @DomName('PluginArray.item') |
17494 @DocsEditable | 17600 @DocsEditable |
17495 Plugin item(int index) native; | 17601 Plugin item(int index) native; |
17496 | 17602 |
17497 @DomName('PluginArray.namedItem') | 17603 @DomName('PluginArray.namedItem') |
17498 @DocsEditable | 17604 @DocsEditable |
17499 Plugin namedItem(String name) native; | 17605 Plugin namedItem(String name) native; |
17500 | 17606 |
17501 @DomName('PluginArray.refresh') | 17607 @DomName('PluginArray.refresh') |
17502 @DocsEditable | 17608 @DocsEditable |
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
17917 | 18023 |
17918 | 18024 |
17919 @DomName('RequestAnimationFrameCallback') | 18025 @DomName('RequestAnimationFrameCallback') |
17920 typedef void RequestAnimationFrameCallback(num highResTime); | 18026 typedef void RequestAnimationFrameCallback(num highResTime); |
17921 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18027 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
17922 // for details. All rights reserved. Use of this source code is governed by a | 18028 // for details. All rights reserved. Use of this source code is governed by a |
17923 // BSD-style license that can be found in the LICENSE file. | 18029 // BSD-style license that can be found in the LICENSE file. |
17924 | 18030 |
17925 | 18031 |
17926 @DocsEditable | 18032 @DocsEditable |
18033 @DomName('ResourceProgressEvent') | |
18034 @Experimental // untriaged | |
18035 class ResourceProgressEvent extends ProgressEvent native "ResourceProgressEvent" { | |
18036 | |
18037 @DomName('ResourceProgressEvent.url') | |
18038 @DocsEditable | |
18039 @Experimental // untriaged | |
18040 final String url; | |
18041 } | |
18042 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
18043 // for details. All rights reserved. Use of this source code is governed by a | |
18044 // BSD-style license that can be found in the LICENSE file. | |
18045 | |
18046 | |
18047 @DocsEditable | |
17927 @DomName('RTCDataChannel') | 18048 @DomName('RTCDataChannel') |
17928 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCDataChannel | 18049 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCDataChannel |
17929 @Experimental | 18050 @Experimental |
17930 class RtcDataChannel extends EventTarget native "RTCDataChannel" { | 18051 class RtcDataChannel extends EventTarget native "RTCDataChannel" { |
17931 | 18052 |
17932 @DomName('RTCDataChannel.closeEvent') | 18053 @DomName('RTCDataChannel.closeEvent') |
17933 @DocsEditable | 18054 @DocsEditable |
17934 static const EventStreamProvider<Event> closeEvent = const EventStreamProvider <Event>('close'); | 18055 static const EventStreamProvider<Event> closeEvent = const EventStreamProvider <Event>('close'); |
17935 | 18056 |
17936 @DomName('RTCDataChannel.errorEvent') | 18057 @DomName('RTCDataChannel.errorEvent') |
(...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
18536 // for details. All rights reserved. Use of this source code is governed by a | 18657 // for details. All rights reserved. Use of this source code is governed by a |
18537 // BSD-style license that can be found in the LICENSE file. | 18658 // BSD-style license that can be found in the LICENSE file. |
18538 | 18659 |
18539 | 18660 |
18540 @DocsEditable | 18661 @DocsEditable |
18541 @DomName('RTCStatsResponse') | 18662 @DomName('RTCStatsResponse') |
18542 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#widl-RTCStatsReport-RTCStats -getter-DOMString-id | 18663 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#widl-RTCStatsReport-RTCStats -getter-DOMString-id |
18543 @Experimental | 18664 @Experimental |
18544 class RtcStatsResponse native "RTCStatsResponse" { | 18665 class RtcStatsResponse native "RTCStatsResponse" { |
18545 | 18666 |
18667 @DomName('RTCStatsResponse.__getter__') | |
18668 @DocsEditable | |
18669 @Experimental // untriaged | |
18670 RtcStatsReport __getter__(String name) native; | |
18671 | |
18546 @DomName('RTCStatsResponse.namedItem') | 18672 @DomName('RTCStatsResponse.namedItem') |
18547 @DocsEditable | 18673 @DocsEditable |
18548 RtcStatsReport namedItem(String name) native; | 18674 RtcStatsReport namedItem(String name) native; |
18549 | 18675 |
18550 @DomName('RTCStatsResponse.result') | 18676 @DomName('RTCStatsResponse.result') |
18551 @DocsEditable | 18677 @DocsEditable |
18552 List<RtcStatsReport> result() native; | 18678 List<RtcStatsReport> result() native; |
18553 } | 18679 } |
18554 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 18680 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
18555 // for details. All rights reserved. Use of this source code is governed by a | 18681 // for details. All rights reserved. Use of this source code is governed by a |
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
18852 final ValidityState validity; | 18978 final ValidityState validity; |
18853 | 18979 |
18854 @DomName('HTMLSelectElement.value') | 18980 @DomName('HTMLSelectElement.value') |
18855 @DocsEditable | 18981 @DocsEditable |
18856 String value; | 18982 String value; |
18857 | 18983 |
18858 @DomName('HTMLSelectElement.willValidate') | 18984 @DomName('HTMLSelectElement.willValidate') |
18859 @DocsEditable | 18985 @DocsEditable |
18860 final bool willValidate; | 18986 final bool willValidate; |
18861 | 18987 |
18988 @DomName('HTMLSelectElement.__setter__') | |
18989 @DocsEditable | |
18990 @Experimental // untriaged | |
18991 void __setter__(int index, OptionElement value) native; | |
18992 | |
18862 @DomName('HTMLSelectElement.checkValidity') | 18993 @DomName('HTMLSelectElement.checkValidity') |
18863 @DocsEditable | 18994 @DocsEditable |
18864 bool checkValidity() native; | 18995 bool checkValidity() native; |
18865 | 18996 |
18866 @DomName('HTMLSelectElement.item') | 18997 @DomName('HTMLSelectElement.item') |
18867 @DocsEditable | 18998 @DocsEditable |
18868 Node item(int index) native; | 18999 Node item(int index) native; |
18869 | 19000 |
18870 @DomName('HTMLSelectElement.namedItem') | 19001 @DomName('HTMLSelectElement.namedItem') |
18871 @DocsEditable | 19002 @DocsEditable |
(...skipping 1047 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
19919 | 20050 |
19920 bool get isEmpty => $dom_key(0) == null; | 20051 bool get isEmpty => $dom_key(0) == null; |
19921 | 20052 |
19922 bool get isNotEmpty => !isEmpty; | 20053 bool get isNotEmpty => !isEmpty; |
19923 | 20054 |
19924 @JSName('length') | 20055 @JSName('length') |
19925 @DomName('Storage.length') | 20056 @DomName('Storage.length') |
19926 @DocsEditable | 20057 @DocsEditable |
19927 final int $dom_length; | 20058 final int $dom_length; |
19928 | 20059 |
20060 @DomName('Storage.__delete__') | |
20061 @DocsEditable | |
20062 @Experimental // untriaged | |
20063 bool __delete__(index_OR_name) native; | |
20064 | |
19929 @DomName('Storage.__getter__') | 20065 @DomName('Storage.__getter__') |
19930 @DocsEditable | 20066 @DocsEditable |
19931 @Experimental // untriaged | 20067 @Experimental // untriaged |
19932 String __getter__(index_OR_name) native; | 20068 String __getter__(index_OR_name) native; |
19933 | 20069 |
20070 @DomName('Storage.__setter__') | |
20071 @DocsEditable | |
20072 @Experimental // untriaged | |
20073 void __setter__(index_OR_name, String value) native; | |
20074 | |
19934 @JSName('clear') | 20075 @JSName('clear') |
19935 @DomName('Storage.clear') | 20076 @DomName('Storage.clear') |
19936 @DocsEditable | 20077 @DocsEditable |
19937 void $dom_clear() native; | 20078 void $dom_clear() native; |
19938 | 20079 |
19939 @JSName('getItem') | 20080 @JSName('getItem') |
19940 @DomName('Storage.getItem') | 20081 @DomName('Storage.getItem') |
19941 @DocsEditable | 20082 @DocsEditable |
19942 String $dom_getItem(String key) native; | 20083 String $dom_getItem(String key) native; |
19943 | 20084 |
(...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
20616 // for details. All rights reserved. Use of this source code is governed by a | 20757 // for details. All rights reserved. Use of this source code is governed by a |
20617 // BSD-style license that can be found in the LICENSE file. | 20758 // BSD-style license that can be found in the LICENSE file. |
20618 | 20759 |
20619 // WARNING: Do not edit - generated code. | 20760 // WARNING: Do not edit - generated code. |
20620 | 20761 |
20621 | 20762 |
20622 @DomName('Text') | 20763 @DomName('Text') |
20623 class Text extends CharacterData native "Text" { | 20764 class Text extends CharacterData native "Text" { |
20624 factory Text(String data) => document.$dom_createTextNode(data); | 20765 factory Text(String data) => document.$dom_createTextNode(data); |
20625 | 20766 |
20626 @JSName('webkitInsertionParent') | |
20627 @DomName('Text.webkitInsertionParent') | |
20628 @DocsEditable | |
20629 @SupportedBrowser(SupportedBrowser.CHROME) | |
20630 @SupportedBrowser(SupportedBrowser.SAFARI) | |
20631 @Experimental | |
20632 // https://www.w3.org/Bugs/Public/show_bug.cgi?id=21067 | |
20633 final Node insertionParent; | |
20634 | |
20635 @DomName('Text.wholeText') | 20767 @DomName('Text.wholeText') |
20636 @DocsEditable | 20768 @DocsEditable |
20637 final String wholeText; | 20769 final String wholeText; |
20638 | 20770 |
20639 @DomName('Text.replaceWholeText') | 20771 @DomName('Text.replaceWholeText') |
20640 @DocsEditable | 20772 @DocsEditable |
20641 // http://dom.spec.whatwg.org/#dom-text-replacewholetext | 20773 // http://dom.spec.whatwg.org/#dom-text-replacewholetext |
20642 @deprecated // deprecated | 20774 @deprecated // deprecated |
20643 Text replaceWholeText(String content) native; | 20775 Text replaceWholeText(String content) native; |
20644 | 20776 |
(...skipping 2274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
22919 @DocsEditable | 23051 @DocsEditable |
22920 @Creates('Window|=Object') | 23052 @Creates('Window|=Object') |
22921 @Returns('Window|=Object') | 23053 @Returns('Window|=Object') |
22922 final dynamic _get_window; | 23054 final dynamic _get_window; |
22923 | 23055 |
22924 @DomName('Window.__getter__') | 23056 @DomName('Window.__getter__') |
22925 @DocsEditable | 23057 @DocsEditable |
22926 @Experimental // untriaged | 23058 @Experimental // untriaged |
22927 @Creates('Window|=Object') | 23059 @Creates('Window|=Object') |
22928 @Returns('Window|=Object') | 23060 @Returns('Window|=Object') |
22929 WindowBase __getter__(int index) { | 23061 WindowBase __getter__(index_OR_name) { |
22930 return _convertNativeToDart_Window(___getter___1(index)); | 23062 if ((index_OR_name is int || index_OR_name == null)) { |
23063 return _convertNativeToDart_Window(___getter___1(index_OR_name)); | |
23064 } | |
23065 if ((index_OR_name is String || index_OR_name == null)) { | |
vsm
2013/06/07 15:44:31
We could clean this up ... 2nd clause can never be
Anton Muhin
2013/06/07 16:23:23
Sorry, what do you mean? It's a String argument o
| |
23066 return _convertNativeToDart_Window(___getter___2(index_OR_name)); | |
23067 } | |
23068 throw new ArgumentError("Incorrect number or type of arguments"); | |
22931 } | 23069 } |
22932 @JSName('__getter__') | 23070 @JSName('__getter__') |
22933 @DomName('Window.__getter__') | 23071 @DomName('Window.__getter__') |
22934 @DocsEditable | 23072 @DocsEditable |
22935 @Experimental // untriaged | 23073 @Experimental // untriaged |
22936 @Creates('Window|=Object') | 23074 @Creates('Window|=Object') |
22937 @Returns('Window|=Object') | 23075 @Returns('Window|=Object') |
22938 ___getter___1(index) native; | 23076 ___getter___1(int index) native; |
23077 @JSName('__getter__') | |
23078 @DomName('Window.__getter__') | |
23079 @DocsEditable | |
23080 @Experimental // untriaged | |
23081 @Creates('Window|=Object') | |
23082 @Returns('Window|=Object') | |
23083 ___getter___2(String name) native; | |
22939 | 23084 |
22940 @JSName('addEventListener') | 23085 @JSName('addEventListener') |
22941 @DomName('Window.addEventListener') | 23086 @DomName('Window.addEventListener') |
22942 @DocsEditable | 23087 @DocsEditable |
22943 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native; | 23088 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native; |
22944 | 23089 |
22945 @DomName('Window.alert') | 23090 @DomName('Window.alert') |
22946 @DocsEditable | 23091 @DocsEditable |
22947 void alert(String message) native; | 23092 void alert(String message) native; |
22948 | 23093 |
(...skipping 1658 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
24607 if (len == 1) { | 24752 if (len == 1) { |
24608 return JS('Node', '#[0]', this); | 24753 return JS('Node', '#[0]', this); |
24609 } | 24754 } |
24610 if (len == 0) throw new StateError("No elements"); | 24755 if (len == 0) throw new StateError("No elements"); |
24611 throw new StateError("More than one element"); | 24756 throw new StateError("More than one element"); |
24612 } | 24757 } |
24613 | 24758 |
24614 Node elementAt(int index) => this[index]; | 24759 Node elementAt(int index) => this[index]; |
24615 // -- end List<Node> mixins. | 24760 // -- end List<Node> mixins. |
24616 | 24761 |
24762 @DomName('NamedNodeMap.__getter__') | |
24763 @DocsEditable | |
24764 @Experimental // untriaged | |
24765 Node __getter__(String name) native; | |
24766 | |
24617 @DomName('NamedNodeMap.getNamedItem') | 24767 @DomName('NamedNodeMap.getNamedItem') |
24618 @DocsEditable | 24768 @DocsEditable |
24619 Node getNamedItem(String name) native; | 24769 Node getNamedItem(String name) native; |
24620 | 24770 |
24621 @DomName('NamedNodeMap.getNamedItemNS') | 24771 @DomName('NamedNodeMap.getNamedItemNS') |
24622 @DocsEditable | 24772 @DocsEditable |
24623 Node getNamedItemNS(String namespaceURI, String localName) native; | 24773 Node getNamedItemNS(String namespaceURI, String localName) native; |
24624 | 24774 |
24625 @DomName('NamedNodeMap.item') | 24775 @DomName('NamedNodeMap.item') |
24626 @DocsEditable | 24776 @DocsEditable |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
24892 if (len == 1) { | 25042 if (len == 1) { |
24893 return JS('StyleSheet', '#[0]', this); | 25043 return JS('StyleSheet', '#[0]', this); |
24894 } | 25044 } |
24895 if (len == 0) throw new StateError("No elements"); | 25045 if (len == 0) throw new StateError("No elements"); |
24896 throw new StateError("More than one element"); | 25046 throw new StateError("More than one element"); |
24897 } | 25047 } |
24898 | 25048 |
24899 StyleSheet elementAt(int index) => this[index]; | 25049 StyleSheet elementAt(int index) => this[index]; |
24900 // -- end List<StyleSheet> mixins. | 25050 // -- end List<StyleSheet> mixins. |
24901 | 25051 |
25052 @DomName('StyleSheetList.__getter__') | |
25053 @DocsEditable | |
25054 @Experimental // untriaged | |
25055 CssStyleSheet __getter__(String name) native; | |
25056 | |
24902 @DomName('StyleSheetList.item') | 25057 @DomName('StyleSheetList.item') |
24903 @DocsEditable | 25058 @DocsEditable |
24904 StyleSheet item(int index) native; | 25059 StyleSheet item(int index) native; |
24905 } | 25060 } |
24906 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25061 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
24907 // for details. All rights reserved. Use of this source code is governed by a | 25062 // for details. All rights reserved. Use of this source code is governed by a |
24908 // BSD-style license that can be found in the LICENSE file. | 25063 // BSD-style license that can be found in the LICENSE file. |
24909 | 25064 |
24910 | 25065 |
24911 @DocsEditable | 25066 @DocsEditable |
24912 @DomName('WebKitCSSFilterValue') | 25067 @DomName('WebKitCSSFilterValue') |
24913 // http://dev.w3.org/csswg/cssom/ | 25068 @SupportedBrowser(SupportedBrowser.CHROME) |
24914 @deprecated // deprecated | 25069 @SupportedBrowser(SupportedBrowser.SAFARI) |
24915 abstract class _WebKitCSSFilterValue extends _CssValueList native "WebKitCSSFilt erValue" { | 25070 @Experimental |
25071 @Experimental // untriaged | |
25072 class _WebKitCSSFilterValue extends _CssValueList native "WebKitCSSFilterValue" { | |
25073 | |
25074 @DomName('WebKitCSSFilterValue.CSS_FILTER_BLUR') | |
25075 @DocsEditable | |
25076 @Experimental // untriaged | |
25077 static const int CSS_FILTER_BLUR = 10; | |
25078 | |
25079 @DomName('WebKitCSSFilterValue.CSS_FILTER_BRIGHTNESS') | |
25080 @DocsEditable | |
25081 @Experimental // untriaged | |
25082 static const int CSS_FILTER_BRIGHTNESS = 8; | |
25083 | |
25084 @DomName('WebKitCSSFilterValue.CSS_FILTER_CONTRAST') | |
25085 @DocsEditable | |
25086 @Experimental // untriaged | |
25087 static const int CSS_FILTER_CONTRAST = 9; | |
25088 | |
25089 @DomName('WebKitCSSFilterValue.CSS_FILTER_CUSTOM') | |
25090 @DocsEditable | |
25091 @Experimental // untriaged | |
25092 static const int CSS_FILTER_CUSTOM = 12; | |
25093 | |
25094 @DomName('WebKitCSSFilterValue.CSS_FILTER_DROP_SHADOW') | |
25095 @DocsEditable | |
25096 @Experimental // untriaged | |
25097 static const int CSS_FILTER_DROP_SHADOW = 11; | |
25098 | |
25099 @DomName('WebKitCSSFilterValue.CSS_FILTER_GRAYSCALE') | |
25100 @DocsEditable | |
25101 @Experimental // untriaged | |
25102 static const int CSS_FILTER_GRAYSCALE = 2; | |
25103 | |
25104 @DomName('WebKitCSSFilterValue.CSS_FILTER_HUE_ROTATE') | |
25105 @DocsEditable | |
25106 @Experimental // untriaged | |
25107 static const int CSS_FILTER_HUE_ROTATE = 5; | |
25108 | |
25109 @DomName('WebKitCSSFilterValue.CSS_FILTER_INVERT') | |
25110 @DocsEditable | |
25111 @Experimental // untriaged | |
25112 static const int CSS_FILTER_INVERT = 6; | |
25113 | |
25114 @DomName('WebKitCSSFilterValue.CSS_FILTER_OPACITY') | |
25115 @DocsEditable | |
25116 @Experimental // untriaged | |
25117 static const int CSS_FILTER_OPACITY = 7; | |
25118 | |
25119 @DomName('WebKitCSSFilterValue.CSS_FILTER_REFERENCE') | |
25120 @DocsEditable | |
25121 @Experimental // untriaged | |
25122 static const int CSS_FILTER_REFERENCE = 1; | |
25123 | |
25124 @DomName('WebKitCSSFilterValue.CSS_FILTER_SATURATE') | |
25125 @DocsEditable | |
25126 @Experimental // untriaged | |
25127 static const int CSS_FILTER_SATURATE = 4; | |
25128 | |
25129 @DomName('WebKitCSSFilterValue.CSS_FILTER_SEPIA') | |
25130 @DocsEditable | |
25131 @Experimental // untriaged | |
25132 static const int CSS_FILTER_SEPIA = 3; | |
25133 | |
25134 @DomName('WebKitCSSFilterValue.operationType') | |
25135 @DocsEditable | |
25136 @Experimental // untriaged | |
25137 final int operationType; | |
25138 | |
25139 @DomName('WebKitCSSFilterValue.__getter__') | |
25140 @DocsEditable | |
25141 @Experimental // untriaged | |
25142 _CSSValue __getter__(int index) native; | |
24916 } | 25143 } |
24917 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25144 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
24918 // for details. All rights reserved. Use of this source code is governed by a | 25145 // for details. All rights reserved. Use of this source code is governed by a |
24919 // BSD-style license that can be found in the LICENSE file. | 25146 // BSD-style license that can be found in the LICENSE file. |
24920 | 25147 |
24921 | 25148 |
24922 @DocsEditable | 25149 @DocsEditable |
24923 @DomName('WebKitCSSMatrix') | 25150 @DomName('WebKitCSSMatrix') |
24924 @SupportedBrowser(SupportedBrowser.CHROME) | 25151 @SupportedBrowser(SupportedBrowser.CHROME) |
24925 @SupportedBrowser(SupportedBrowser.SAFARI) | 25152 @SupportedBrowser(SupportedBrowser.SAFARI) |
24926 @Experimental | 25153 @Experimental |
24927 // http://dev.w3.org/csswg/cssom/ | 25154 @SupportedBrowser(SupportedBrowser.CHROME) |
24928 @deprecated // deprecated | 25155 @SupportedBrowser(SupportedBrowser.SAFARI) |
24929 abstract class _WebKitCSSMatrix native "WebKitCSSMatrix" { | 25156 @Experimental |
25157 @Experimental // untriaged | |
25158 class _WebKitCSSMatrix native "WebKitCSSMatrix" { | |
24930 | 25159 |
24931 @DomName('WebKitCSSMatrix.WebKitCSSMatrix') | 25160 @DomName('WebKitCSSMatrix.CSSMatrix') |
24932 @DocsEditable | 25161 @DocsEditable |
24933 factory _WebKitCSSMatrix([String cssValue]) { | 25162 factory _WebKitCSSMatrix([String cssValue]) { |
24934 if (cssValue != null) { | 25163 if (cssValue != null) { |
24935 return _WebKitCSSMatrix._create_1(cssValue); | 25164 return _WebKitCSSMatrix._create_1(cssValue); |
24936 } | 25165 } |
24937 return _WebKitCSSMatrix._create_2(); | 25166 return _WebKitCSSMatrix._create_2(); |
24938 } | 25167 } |
24939 static _WebKitCSSMatrix _create_1(cssValue) => JS('_WebKitCSSMatrix', 'new Web KitCSSMatrix(#)', cssValue); | 25168 static _WebKitCSSMatrix _create_1(cssValue) => JS('_WebKitCSSMatrix', 'new Web KitCSSMatrix(#)', cssValue); |
24940 static _WebKitCSSMatrix _create_2() => JS('_WebKitCSSMatrix', 'new WebKitCSSMa trix()'); | 25169 static _WebKitCSSMatrix _create_2() => JS('_WebKitCSSMatrix', 'new WebKitCSSMa trix()'); |
25170 | |
25171 @DomName('WebKitCSSMatrix.a') | |
25172 @DocsEditable | |
25173 @Experimental // untriaged | |
25174 num a; | |
25175 | |
25176 @DomName('WebKitCSSMatrix.b') | |
25177 @DocsEditable | |
25178 @Experimental // untriaged | |
25179 num b; | |
25180 | |
25181 @DomName('WebKitCSSMatrix.c') | |
25182 @DocsEditable | |
25183 @Experimental // untriaged | |
25184 num c; | |
25185 | |
25186 @DomName('WebKitCSSMatrix.d') | |
25187 @DocsEditable | |
25188 @Experimental // untriaged | |
25189 num d; | |
25190 | |
25191 @DomName('WebKitCSSMatrix.e') | |
25192 @DocsEditable | |
25193 @Experimental // untriaged | |
25194 num e; | |
25195 | |
25196 @DomName('WebKitCSSMatrix.f') | |
25197 @DocsEditable | |
25198 @Experimental // untriaged | |
25199 num f; | |
25200 | |
25201 @DomName('WebKitCSSMatrix.m11') | |
25202 @DocsEditable | |
25203 @Experimental // untriaged | |
25204 num m11; | |
25205 | |
25206 @DomName('WebKitCSSMatrix.m12') | |
25207 @DocsEditable | |
25208 @Experimental // untriaged | |
25209 num m12; | |
25210 | |
25211 @DomName('WebKitCSSMatrix.m13') | |
25212 @DocsEditable | |
25213 @Experimental // untriaged | |
25214 num m13; | |
25215 | |
25216 @DomName('WebKitCSSMatrix.m14') | |
25217 @DocsEditable | |
25218 @Experimental // untriaged | |
25219 num m14; | |
25220 | |
25221 @DomName('WebKitCSSMatrix.m21') | |
25222 @DocsEditable | |
25223 @Experimental // untriaged | |
25224 num m21; | |
25225 | |
25226 @DomName('WebKitCSSMatrix.m22') | |
25227 @DocsEditable | |
25228 @Experimental // untriaged | |
25229 num m22; | |
25230 | |
25231 @DomName('WebKitCSSMatrix.m23') | |
25232 @DocsEditable | |
25233 @Experimental // untriaged | |
25234 num m23; | |
25235 | |
25236 @DomName('WebKitCSSMatrix.m24') | |
25237 @DocsEditable | |
25238 @Experimental // untriaged | |
25239 num m24; | |
25240 | |
25241 @DomName('WebKitCSSMatrix.m31') | |
25242 @DocsEditable | |
25243 @Experimental // untriaged | |
25244 num m31; | |
25245 | |
25246 @DomName('WebKitCSSMatrix.m32') | |
25247 @DocsEditable | |
25248 @Experimental // untriaged | |
25249 num m32; | |
25250 | |
25251 @DomName('WebKitCSSMatrix.m33') | |
25252 @DocsEditable | |
25253 @Experimental // untriaged | |
25254 num m33; | |
25255 | |
25256 @DomName('WebKitCSSMatrix.m34') | |
25257 @DocsEditable | |
25258 @Experimental // untriaged | |
25259 num m34; | |
25260 | |
25261 @DomName('WebKitCSSMatrix.m41') | |
25262 @DocsEditable | |
25263 @Experimental // untriaged | |
25264 num m41; | |
25265 | |
25266 @DomName('WebKitCSSMatrix.m42') | |
25267 @DocsEditable | |
25268 @Experimental // untriaged | |
25269 num m42; | |
25270 | |
25271 @DomName('WebKitCSSMatrix.m43') | |
25272 @DocsEditable | |
25273 @Experimental // untriaged | |
25274 num m43; | |
25275 | |
25276 @DomName('WebKitCSSMatrix.m44') | |
25277 @DocsEditable | |
25278 @Experimental // untriaged | |
25279 num m44; | |
25280 | |
25281 @DomName('WebKitCSSMatrix.inverse') | |
25282 @DocsEditable | |
25283 @Experimental // untriaged | |
25284 _WebKitCSSMatrix inverse() native; | |
25285 | |
25286 @DomName('WebKitCSSMatrix.multiply') | |
25287 @DocsEditable | |
25288 @Experimental // untriaged | |
25289 _WebKitCSSMatrix multiply(_WebKitCSSMatrix secondMatrix) native; | |
25290 | |
25291 @DomName('WebKitCSSMatrix.rotate') | |
25292 @DocsEditable | |
25293 @Experimental // untriaged | |
25294 _WebKitCSSMatrix rotate(num rotX, num rotY, num rotZ) native; | |
25295 | |
25296 @DomName('WebKitCSSMatrix.rotateAxisAngle') | |
25297 @DocsEditable | |
25298 @Experimental // untriaged | |
25299 _WebKitCSSMatrix rotateAxisAngle(num x, num y, num z, num angle) native; | |
25300 | |
25301 @DomName('WebKitCSSMatrix.scale') | |
25302 @DocsEditable | |
25303 @Experimental // untriaged | |
25304 _WebKitCSSMatrix scale(num scaleX, num scaleY, num scaleZ) native; | |
25305 | |
25306 @DomName('WebKitCSSMatrix.setMatrixValue') | |
25307 @DocsEditable | |
25308 @Experimental // untriaged | |
25309 void setMatrixValue(String string) native; | |
25310 | |
25311 @DomName('WebKitCSSMatrix.skewX') | |
25312 @DocsEditable | |
25313 @Experimental // untriaged | |
25314 _WebKitCSSMatrix skewX(num angle) native; | |
25315 | |
25316 @DomName('WebKitCSSMatrix.skewY') | |
25317 @DocsEditable | |
25318 @Experimental // untriaged | |
25319 _WebKitCSSMatrix skewY(num angle) native; | |
25320 | |
25321 @DomName('WebKitCSSMatrix.toString') | |
25322 @DocsEditable | |
25323 @Experimental // untriaged | |
25324 String toString() native; | |
25325 | |
25326 @DomName('WebKitCSSMatrix.translate') | |
25327 @DocsEditable | |
25328 @Experimental // untriaged | |
25329 _WebKitCSSMatrix translate(num x, num y, num z) native; | |
24941 } | 25330 } |
24942 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25331 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
24943 // for details. All rights reserved. Use of this source code is governed by a | 25332 // for details. All rights reserved. Use of this source code is governed by a |
24944 // BSD-style license that can be found in the LICENSE file. | 25333 // BSD-style license that can be found in the LICENSE file. |
24945 | 25334 |
24946 | 25335 |
24947 @DocsEditable | 25336 @DocsEditable |
24948 @DomName('WebKitCSSMixFunctionValue') | 25337 @DomName('WebKitCSSMixFunctionValue') |
24949 // http://dev.w3.org/csswg/cssom/ | 25338 @SupportedBrowser(SupportedBrowser.CHROME) |
24950 @deprecated // deprecated | 25339 @SupportedBrowser(SupportedBrowser.SAFARI) |
24951 abstract class _WebKitCSSMixFunctionValue extends _CssValueList native "WebKitCS SMixFunctionValue" { | 25340 @Experimental |
25341 @Experimental // untriaged | |
25342 class _WebKitCSSMixFunctionValue extends _CssValueList native "WebKitCSSMixFunct ionValue" { | |
24952 } | 25343 } |
24953 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25344 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
24954 // for details. All rights reserved. Use of this source code is governed by a | 25345 // for details. All rights reserved. Use of this source code is governed by a |
24955 // BSD-style license that can be found in the LICENSE file. | 25346 // BSD-style license that can be found in the LICENSE file. |
24956 | 25347 |
24957 | 25348 |
24958 @DocsEditable | 25349 @DocsEditable |
24959 @DomName('WebKitCSSTransformValue') | 25350 @DomName('WebKitCSSTransformValue') |
24960 // http://dev.w3.org/csswg/cssom/ | 25351 @SupportedBrowser(SupportedBrowser.CHROME) |
24961 @deprecated // deprecated | 25352 @SupportedBrowser(SupportedBrowser.SAFARI) |
24962 abstract class _WebKitCSSTransformValue extends _CssValueList native "WebKitCSST ransformValue" { | 25353 @Experimental |
25354 @Experimental // untriaged | |
25355 class _WebKitCSSTransformValue extends _CssValueList native "WebKitCSSTransformV alue" { | |
25356 | |
25357 @DomName('WebKitCSSTransformValue.CSS_MATRIX') | |
25358 @DocsEditable | |
25359 @Experimental // untriaged | |
25360 static const int CSS_MATRIX = 11; | |
25361 | |
25362 @DomName('WebKitCSSTransformValue.CSS_MATRIX3D') | |
25363 @DocsEditable | |
25364 @Experimental // untriaged | |
25365 static const int CSS_MATRIX3D = 21; | |
25366 | |
25367 @DomName('WebKitCSSTransformValue.CSS_PERSPECTIVE') | |
25368 @DocsEditable | |
25369 @Experimental // untriaged | |
25370 static const int CSS_PERSPECTIVE = 20; | |
25371 | |
25372 @DomName('WebKitCSSTransformValue.CSS_ROTATE') | |
25373 @DocsEditable | |
25374 @Experimental // untriaged | |
25375 static const int CSS_ROTATE = 4; | |
25376 | |
25377 @DomName('WebKitCSSTransformValue.CSS_ROTATE3D') | |
25378 @DocsEditable | |
25379 @Experimental // untriaged | |
25380 static const int CSS_ROTATE3D = 17; | |
25381 | |
25382 @DomName('WebKitCSSTransformValue.CSS_ROTATEX') | |
25383 @DocsEditable | |
25384 @Experimental // untriaged | |
25385 static const int CSS_ROTATEX = 14; | |
25386 | |
25387 @DomName('WebKitCSSTransformValue.CSS_ROTATEY') | |
25388 @DocsEditable | |
25389 @Experimental // untriaged | |
25390 static const int CSS_ROTATEY = 15; | |
25391 | |
25392 @DomName('WebKitCSSTransformValue.CSS_ROTATEZ') | |
25393 @DocsEditable | |
25394 @Experimental // untriaged | |
25395 static const int CSS_ROTATEZ = 16; | |
25396 | |
25397 @DomName('WebKitCSSTransformValue.CSS_SCALE') | |
25398 @DocsEditable | |
25399 @Experimental // untriaged | |
25400 static const int CSS_SCALE = 5; | |
25401 | |
25402 @DomName('WebKitCSSTransformValue.CSS_SCALE3D') | |
25403 @DocsEditable | |
25404 @Experimental // untriaged | |
25405 static const int CSS_SCALE3D = 19; | |
25406 | |
25407 @DomName('WebKitCSSTransformValue.CSS_SCALEX') | |
25408 @DocsEditable | |
25409 @Experimental // untriaged | |
25410 static const int CSS_SCALEX = 6; | |
25411 | |
25412 @DomName('WebKitCSSTransformValue.CSS_SCALEY') | |
25413 @DocsEditable | |
25414 @Experimental // untriaged | |
25415 static const int CSS_SCALEY = 7; | |
25416 | |
25417 @DomName('WebKitCSSTransformValue.CSS_SCALEZ') | |
25418 @DocsEditable | |
25419 @Experimental // untriaged | |
25420 static const int CSS_SCALEZ = 18; | |
25421 | |
25422 @DomName('WebKitCSSTransformValue.CSS_SKEW') | |
25423 @DocsEditable | |
25424 @Experimental // untriaged | |
25425 static const int CSS_SKEW = 8; | |
25426 | |
25427 @DomName('WebKitCSSTransformValue.CSS_SKEWX') | |
25428 @DocsEditable | |
25429 @Experimental // untriaged | |
25430 static const int CSS_SKEWX = 9; | |
25431 | |
25432 @DomName('WebKitCSSTransformValue.CSS_SKEWY') | |
25433 @DocsEditable | |
25434 @Experimental // untriaged | |
25435 static const int CSS_SKEWY = 10; | |
25436 | |
25437 @DomName('WebKitCSSTransformValue.CSS_TRANSLATE') | |
25438 @DocsEditable | |
25439 @Experimental // untriaged | |
25440 static const int CSS_TRANSLATE = 1; | |
25441 | |
25442 @DomName('WebKitCSSTransformValue.CSS_TRANSLATE3D') | |
25443 @DocsEditable | |
25444 @Experimental // untriaged | |
25445 static const int CSS_TRANSLATE3D = 13; | |
25446 | |
25447 @DomName('WebKitCSSTransformValue.CSS_TRANSLATEX') | |
25448 @DocsEditable | |
25449 @Experimental // untriaged | |
25450 static const int CSS_TRANSLATEX = 2; | |
25451 | |
25452 @DomName('WebKitCSSTransformValue.CSS_TRANSLATEY') | |
25453 @DocsEditable | |
25454 @Experimental // untriaged | |
25455 static const int CSS_TRANSLATEY = 3; | |
25456 | |
25457 @DomName('WebKitCSSTransformValue.CSS_TRANSLATEZ') | |
25458 @DocsEditable | |
25459 @Experimental // untriaged | |
25460 static const int CSS_TRANSLATEZ = 12; | |
25461 | |
25462 @DomName('WebKitCSSTransformValue.operationType') | |
25463 @DocsEditable | |
25464 @Experimental // untriaged | |
25465 final int operationType; | |
25466 | |
25467 @DomName('WebKitCSSTransformValue.__getter__') | |
25468 @DocsEditable | |
25469 @Experimental // untriaged | |
25470 _CSSValue __getter__(int index) native; | |
24963 } | 25471 } |
24964 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25472 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
24965 // for details. All rights reserved. Use of this source code is governed by a | 25473 // for details. All rights reserved. Use of this source code is governed by a |
24966 // BSD-style license that can be found in the LICENSE file. | 25474 // BSD-style license that can be found in the LICENSE file. |
24967 | 25475 |
24968 | 25476 |
24969 @DocsEditable | 25477 @DocsEditable |
24970 @DomName('WorkerContext') | 25478 @DomName('WorkerContext') |
24971 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#Work erGlobalScope-partial | 25479 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#Work erGlobalScope-partial |
24972 @Experimental // stable | 25480 @Experimental // stable |
(...skipping 4406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
29379 _position = nextPosition; | 29887 _position = nextPosition; |
29380 return true; | 29888 return true; |
29381 } | 29889 } |
29382 _current = null; | 29890 _current = null; |
29383 _position = _array.length; | 29891 _position = _array.length; |
29384 return false; | 29892 return false; |
29385 } | 29893 } |
29386 | 29894 |
29387 T get current => _current; | 29895 T get current => _current; |
29388 } | 29896 } |
OLD | NEW |