Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(137)

Unified Diff: sdk/lib/html/dartium/html_dartium.dart

Issue 12857006: Removing CssValue APIs (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
Index: sdk/lib/html/dartium/html_dartium.dart
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
index 1af8c2f25c82c80b7b8fa14e85a5de3a44d8378d..85fec30109e01ee5b10c1ad8b774e9e1a8e13631 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -2286,31 +2286,6 @@ class Coordinates extends NativeFieldWrapperClass1 {
@DocsEditable
-@DomName('Counter')
-class Counter extends NativeFieldWrapperClass1 {
- Counter.internal();
-
- @DomName('Counter.identifier')
- @DocsEditable
- String get identifier native "Counter_identifier_Getter";
-
- @DomName('Counter.listStyle')
- @DocsEditable
- String get listStyle native "Counter_listStyle_Getter";
-
- @DomName('Counter.separator')
- @DocsEditable
- String get separator native "Counter_separator_Getter";
-
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-// WARNING: Do not edit - generated code.
-
-
-@DocsEditable
@DomName('Crypto')
@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.SAFARI)
@@ -2486,586 +2461,179 @@ class CssKeyframesRule extends CssRule {
@DocsEditable
-@DomName('WebKitCSSMatrix')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.SAFARI)
-@Experimental
-class CssMatrix extends NativeFieldWrapperClass1 {
- CssMatrix.internal();
-
- @DomName('WebKitCSSMatrix.WebKitCSSMatrix')
- @DocsEditable
- factory CssMatrix([String cssValue]) {
- return CssMatrix._create_1(cssValue);
- }
+@DomName('CSSMediaRule')
+class CssMediaRule extends CssRule {
+ CssMediaRule.internal() : super.internal();
+ @DomName('CSSMediaRule.cssRules')
@DocsEditable
- static CssMatrix _create_1(cssValue) native "WebKitCSSMatrix__create_1constructorCallback";
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => true;
+ List<CssRule> get cssRules native "CSSMediaRule_cssRules_Getter";
- @DomName('WebKitCSSMatrix.a')
+ @DomName('CSSMediaRule.media')
@DocsEditable
- num get a native "WebKitCSSMatrix_a_Getter";
+ MediaList get media native "CSSMediaRule_media_Getter";
- @DomName('WebKitCSSMatrix.a')
+ @DomName('CSSMediaRule.deleteRule')
@DocsEditable
- void set a(num value) native "WebKitCSSMatrix_a_Setter";
+ void deleteRule(int index) native "CSSMediaRule_deleteRule_Callback";
- @DomName('WebKitCSSMatrix.b')
+ @DomName('CSSMediaRule.insertRule')
@DocsEditable
- num get b native "WebKitCSSMatrix_b_Getter";
+ int insertRule(String rule, int index) native "CSSMediaRule_insertRule_Callback";
- @DomName('WebKitCSSMatrix.b')
- @DocsEditable
- void set b(num value) native "WebKitCSSMatrix_b_Setter";
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
- @DomName('WebKitCSSMatrix.c')
- @DocsEditable
- num get c native "WebKitCSSMatrix_c_Getter";
+// WARNING: Do not edit - generated code.
- @DomName('WebKitCSSMatrix.c')
- @DocsEditable
- void set c(num value) native "WebKitCSSMatrix_c_Setter";
- @DomName('WebKitCSSMatrix.d')
- @DocsEditable
- num get d native "WebKitCSSMatrix_d_Getter";
+@DocsEditable
+@DomName('CSSPageRule')
+class CssPageRule extends CssRule {
+ CssPageRule.internal() : super.internal();
- @DomName('WebKitCSSMatrix.d')
+ @DomName('CSSPageRule.selectorText')
@DocsEditable
- void set d(num value) native "WebKitCSSMatrix_d_Setter";
+ String get selectorText native "CSSPageRule_selectorText_Getter";
- @DomName('WebKitCSSMatrix.e')
+ @DomName('CSSPageRule.selectorText')
@DocsEditable
- num get e native "WebKitCSSMatrix_e_Getter";
+ void set selectorText(String value) native "CSSPageRule_selectorText_Setter";
- @DomName('WebKitCSSMatrix.e')
+ @DomName('CSSPageRule.style')
@DocsEditable
- void set e(num value) native "WebKitCSSMatrix_e_Setter";
+ CssStyleDeclaration get style native "CSSPageRule_style_Getter";
- @DomName('WebKitCSSMatrix.f')
- @DocsEditable
- num get f native "WebKitCSSMatrix_f_Getter";
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
- @DomName('WebKitCSSMatrix.f')
- @DocsEditable
- void set f(num value) native "WebKitCSSMatrix_f_Setter";
+// WARNING: Do not edit - generated code.
- @DomName('WebKitCSSMatrix.m11')
- @DocsEditable
- num get m11 native "WebKitCSSMatrix_m11_Getter";
- @DomName('WebKitCSSMatrix.m11')
- @DocsEditable
- void set m11(num value) native "WebKitCSSMatrix_m11_Setter";
+@DocsEditable
+@DomName('CSSRule')
+class CssRule extends NativeFieldWrapperClass1 {
+ CssRule.internal();
- @DomName('WebKitCSSMatrix.m12')
- @DocsEditable
- num get m12 native "WebKitCSSMatrix_m12_Getter";
+ static const int CHARSET_RULE = 2;
- @DomName('WebKitCSSMatrix.m12')
- @DocsEditable
- void set m12(num value) native "WebKitCSSMatrix_m12_Setter";
+ static const int FONT_FACE_RULE = 5;
- @DomName('WebKitCSSMatrix.m13')
- @DocsEditable
- num get m13 native "WebKitCSSMatrix_m13_Getter";
+ static const int HOST_RULE = 1001;
- @DomName('WebKitCSSMatrix.m13')
- @DocsEditable
- void set m13(num value) native "WebKitCSSMatrix_m13_Setter";
+ static const int IMPORT_RULE = 3;
- @DomName('WebKitCSSMatrix.m14')
- @DocsEditable
- num get m14 native "WebKitCSSMatrix_m14_Getter";
+ static const int MEDIA_RULE = 4;
- @DomName('WebKitCSSMatrix.m14')
- @DocsEditable
- void set m14(num value) native "WebKitCSSMatrix_m14_Setter";
+ static const int PAGE_RULE = 6;
- @DomName('WebKitCSSMatrix.m21')
- @DocsEditable
- num get m21 native "WebKitCSSMatrix_m21_Getter";
+ static const int STYLE_RULE = 1;
- @DomName('WebKitCSSMatrix.m21')
- @DocsEditable
- void set m21(num value) native "WebKitCSSMatrix_m21_Setter";
+ static const int UNKNOWN_RULE = 0;
- @DomName('WebKitCSSMatrix.m22')
- @DocsEditable
- num get m22 native "WebKitCSSMatrix_m22_Getter";
+ static const int WEBKIT_FILTER_RULE = 17;
- @DomName('WebKitCSSMatrix.m22')
- @DocsEditable
- void set m22(num value) native "WebKitCSSMatrix_m22_Setter";
+ static const int WEBKIT_KEYFRAMES_RULE = 7;
- @DomName('WebKitCSSMatrix.m23')
- @DocsEditable
- num get m23 native "WebKitCSSMatrix_m23_Getter";
+ static const int WEBKIT_KEYFRAME_RULE = 8;
- @DomName('WebKitCSSMatrix.m23')
+ @DomName('CSSRule.cssText')
@DocsEditable
- void set m23(num value) native "WebKitCSSMatrix_m23_Setter";
+ String get cssText native "CSSRule_cssText_Getter";
- @DomName('WebKitCSSMatrix.m24')
+ @DomName('CSSRule.cssText')
@DocsEditable
- num get m24 native "WebKitCSSMatrix_m24_Getter";
+ void set cssText(String value) native "CSSRule_cssText_Setter";
- @DomName('WebKitCSSMatrix.m24')
+ @DomName('CSSRule.parentRule')
@DocsEditable
- void set m24(num value) native "WebKitCSSMatrix_m24_Setter";
+ CssRule get parentRule native "CSSRule_parentRule_Getter";
- @DomName('WebKitCSSMatrix.m31')
+ @DomName('CSSRule.parentStyleSheet')
@DocsEditable
- num get m31 native "WebKitCSSMatrix_m31_Getter";
+ CssStyleSheet get parentStyleSheet native "CSSRule_parentStyleSheet_Getter";
- @DomName('WebKitCSSMatrix.m31')
+ @DomName('CSSRule.type')
@DocsEditable
- void set m31(num value) native "WebKitCSSMatrix_m31_Setter";
+ int get type native "CSSRule_type_Getter";
- @DomName('WebKitCSSMatrix.m32')
- @DocsEditable
- num get m32 native "WebKitCSSMatrix_m32_Getter";
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
- @DomName('WebKitCSSMatrix.m32')
- @DocsEditable
- void set m32(num value) native "WebKitCSSMatrix_m32_Setter";
- @DomName('WebKitCSSMatrix.m33')
- @DocsEditable
- num get m33 native "WebKitCSSMatrix_m33_Getter";
+@DomName('CSSStyleDeclaration')
+class CssStyleDeclaration extends NativeFieldWrapperClass1 {
+ factory CssStyleDeclaration() => _CssStyleDeclarationFactoryProvider.createCssStyleDeclaration();
+ factory CssStyleDeclaration.css(String css) =>
+ _CssStyleDeclarationFactoryProvider.createCssStyleDeclaration_css(css);
- @DomName('WebKitCSSMatrix.m33')
- @DocsEditable
- void set m33(num value) native "WebKitCSSMatrix_m33_Setter";
+ CssStyleDeclaration.internal();
- @DomName('WebKitCSSMatrix.m34')
+ @DomName('CSSStyleDeclaration.cssText')
@DocsEditable
- num get m34 native "WebKitCSSMatrix_m34_Getter";
+ String get cssText native "CSSStyleDeclaration_cssText_Getter";
- @DomName('WebKitCSSMatrix.m34')
+ @DomName('CSSStyleDeclaration.cssText')
@DocsEditable
- void set m34(num value) native "WebKitCSSMatrix_m34_Setter";
+ void set cssText(String value) native "CSSStyleDeclaration_cssText_Setter";
- @DomName('WebKitCSSMatrix.m41')
+ @DomName('CSSStyleDeclaration.length')
@DocsEditable
- num get m41 native "WebKitCSSMatrix_m41_Getter";
+ int get length native "CSSStyleDeclaration_length_Getter";
- @DomName('WebKitCSSMatrix.m41')
+ @DomName('CSSStyleDeclaration.parentRule')
@DocsEditable
- void set m41(num value) native "WebKitCSSMatrix_m41_Setter";
+ CssRule get parentRule native "CSSStyleDeclaration_parentRule_Getter";
- @DomName('WebKitCSSMatrix.m42')
+ @DomName('CSSStyleDeclaration.getPropertyPriority')
@DocsEditable
- num get m42 native "WebKitCSSMatrix_m42_Getter";
+ String getPropertyPriority(String propertyName) native "CSSStyleDeclaration_getPropertyPriority_Callback";
- @DomName('WebKitCSSMatrix.m42')
+ @DomName('CSSStyleDeclaration.getPropertyShorthand')
@DocsEditable
- void set m42(num value) native "WebKitCSSMatrix_m42_Setter";
+ String getPropertyShorthand(String propertyName) native "CSSStyleDeclaration_getPropertyShorthand_Callback";
- @DomName('WebKitCSSMatrix.m43')
+ @DomName('CSSStyleDeclaration._getPropertyValue')
@DocsEditable
- num get m43 native "WebKitCSSMatrix_m43_Getter";
+ String _getPropertyValue(String propertyName) native "CSSStyleDeclaration__getPropertyValue_Callback";
- @DomName('WebKitCSSMatrix.m43')
+ @DomName('CSSStyleDeclaration.isPropertyImplicit')
@DocsEditable
- void set m43(num value) native "WebKitCSSMatrix_m43_Setter";
+ bool isPropertyImplicit(String propertyName) native "CSSStyleDeclaration_isPropertyImplicit_Callback";
- @DomName('WebKitCSSMatrix.m44')
+ @DomName('CSSStyleDeclaration.item')
@DocsEditable
- num get m44 native "WebKitCSSMatrix_m44_Getter";
+ String item(int index) native "CSSStyleDeclaration_item_Callback";
- @DomName('WebKitCSSMatrix.m44')
+ @DomName('CSSStyleDeclaration.removeProperty')
@DocsEditable
- void set m44(num value) native "WebKitCSSMatrix_m44_Setter";
+ String removeProperty(String propertyName) native "CSSStyleDeclaration_removeProperty_Callback";
- @DomName('WebKitCSSMatrix.inverse')
+ @DomName('CSSStyleDeclaration.setProperty')
@DocsEditable
- CssMatrix inverse() native "WebKitCSSMatrix_inverse_Callback";
+ void setProperty(String propertyName, String value, [String priority]) native "CSSStyleDeclaration_setProperty_Callback";
- @DomName('WebKitCSSMatrix.multiply')
- @DocsEditable
- CssMatrix multiply(CssMatrix secondMatrix) native "WebKitCSSMatrix_multiply_Callback";
- @DomName('WebKitCSSMatrix.rotate')
- @DocsEditable
- CssMatrix rotate(num rotX, num rotY, num rotZ) native "WebKitCSSMatrix_rotate_Callback";
+ String getPropertyValue(String propertyName) {
+ var propValue = _getPropertyValue(propertyName);
+ return propValue != null ? propValue : '';
+ }
- @DomName('WebKitCSSMatrix.rotateAxisAngle')
- @DocsEditable
- CssMatrix rotateAxisAngle(num x, num y, num z, num angle) native "WebKitCSSMatrix_rotateAxisAngle_Callback";
+ /**
+ * Checks to see if CSS Transitions are supported.
+ */
+ static bool get supportsTransitions => true;
- @DomName('WebKitCSSMatrix.scale')
- @DocsEditable
- CssMatrix scale(num scaleX, num scaleY, num scaleZ) native "WebKitCSSMatrix_scale_Callback";
-
- @DomName('WebKitCSSMatrix.setMatrixValue')
- @DocsEditable
- void setMatrixValue(String string) native "WebKitCSSMatrix_setMatrixValue_Callback";
-
- @DomName('WebKitCSSMatrix.skewX')
- @DocsEditable
- CssMatrix skewX(num angle) native "WebKitCSSMatrix_skewX_Callback";
-
- @DomName('WebKitCSSMatrix.skewY')
- @DocsEditable
- CssMatrix skewY(num angle) native "WebKitCSSMatrix_skewY_Callback";
-
- @DomName('WebKitCSSMatrix.toString')
- @DocsEditable
- String toString() native "WebKitCSSMatrix_toString_Callback";
-
- @DomName('WebKitCSSMatrix.translate')
- @DocsEditable
- CssMatrix translate(num x, num y, num z) native "WebKitCSSMatrix_translate_Callback";
-
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-// WARNING: Do not edit - generated code.
-
-
-@DocsEditable
-@DomName('CSSMediaRule')
-class CssMediaRule extends CssRule {
- CssMediaRule.internal() : super.internal();
-
- @DomName('CSSMediaRule.cssRules')
- @DocsEditable
- List<CssRule> get cssRules native "CSSMediaRule_cssRules_Getter";
-
- @DomName('CSSMediaRule.media')
- @DocsEditable
- MediaList get media native "CSSMediaRule_media_Getter";
-
- @DomName('CSSMediaRule.deleteRule')
- @DocsEditable
- void deleteRule(int index) native "CSSMediaRule_deleteRule_Callback";
-
- @DomName('CSSMediaRule.insertRule')
- @DocsEditable
- int insertRule(String rule, int index) native "CSSMediaRule_insertRule_Callback";
-
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-// WARNING: Do not edit - generated code.
-
-
-@DocsEditable
-@DomName('CSSPageRule')
-class CssPageRule extends CssRule {
- CssPageRule.internal() : super.internal();
-
- @DomName('CSSPageRule.selectorText')
- @DocsEditable
- String get selectorText native "CSSPageRule_selectorText_Getter";
-
- @DomName('CSSPageRule.selectorText')
- @DocsEditable
- void set selectorText(String value) native "CSSPageRule_selectorText_Setter";
-
- @DomName('CSSPageRule.style')
- @DocsEditable
- CssStyleDeclaration get style native "CSSPageRule_style_Getter";
-
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-// WARNING: Do not edit - generated code.
-
-
-@DocsEditable
-@DomName('CSSPrimitiveValue')
-class CssPrimitiveValue extends CssValue {
- CssPrimitiveValue.internal() : super.internal();
-
- static const int CSS_ATTR = 22;
-
- static const int CSS_CM = 6;
-
- static const int CSS_COUNTER = 23;
-
- static const int CSS_DEG = 11;
-
- static const int CSS_DIMENSION = 18;
-
- static const int CSS_EMS = 3;
-
- static const int CSS_EXS = 4;
-
- static const int CSS_GRAD = 13;
-
- static const int CSS_HZ = 16;
-
- static const int CSS_IDENT = 21;
-
- static const int CSS_IN = 8;
-
- static const int CSS_KHZ = 17;
-
- static const int CSS_MM = 7;
-
- static const int CSS_MS = 14;
-
- static const int CSS_NUMBER = 1;
-
- static const int CSS_PC = 10;
-
- static const int CSS_PERCENTAGE = 2;
-
- static const int CSS_PT = 9;
-
- static const int CSS_PX = 5;
-
- static const int CSS_RAD = 12;
-
- static const int CSS_RECT = 24;
-
- static const int CSS_RGBCOLOR = 25;
-
- static const int CSS_S = 15;
-
- static const int CSS_STRING = 19;
-
- static const int CSS_UNKNOWN = 0;
-
- static const int CSS_URI = 20;
-
- static const int CSS_VH = 27;
-
- static const int CSS_VMAX = 29;
-
- static const int CSS_VMIN = 28;
-
- static const int CSS_VW = 26;
-
- @DomName('CSSPrimitiveValue.primitiveType')
- @DocsEditable
- int get primitiveType native "CSSPrimitiveValue_primitiveType_Getter";
-
- @DomName('CSSPrimitiveValue.getCounterValue')
- @DocsEditable
- Counter getCounterValue() native "CSSPrimitiveValue_getCounterValue_Callback";
-
- @DomName('CSSPrimitiveValue.getFloatValue')
- @DocsEditable
- num getFloatValue(int unitType) native "CSSPrimitiveValue_getFloatValue_Callback";
-
- @DomName('CSSPrimitiveValue.getRGBColorValue')
- @DocsEditable
- CssRgbColor getRgbColorValue() native "CSSPrimitiveValue_getRGBColorValue_Callback";
-
- @DomName('CSSPrimitiveValue.getRectValue')
- @DocsEditable
- CssRect getRectValue() native "CSSPrimitiveValue_getRectValue_Callback";
-
- @DomName('CSSPrimitiveValue.getStringValue')
- @DocsEditable
- String getStringValue() native "CSSPrimitiveValue_getStringValue_Callback";
-
- @DomName('CSSPrimitiveValue.setFloatValue')
- @DocsEditable
- void setFloatValue(int unitType, num floatValue) native "CSSPrimitiveValue_setFloatValue_Callback";
-
- @DomName('CSSPrimitiveValue.setStringValue')
- @DocsEditable
- void setStringValue(int stringType, String stringValue) native "CSSPrimitiveValue_setStringValue_Callback";
-
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-// WARNING: Do not edit - generated code.
-
-
-@DocsEditable
-@DomName('Rect')
-class CssRect extends NativeFieldWrapperClass1 {
- CssRect.internal();
-
- @DomName('Rect.bottom')
- @DocsEditable
- CssPrimitiveValue get bottom native "Rect_bottom_Getter";
-
- @DomName('Rect.left')
- @DocsEditable
- CssPrimitiveValue get left native "Rect_left_Getter";
-
- @DomName('Rect.right')
- @DocsEditable
- CssPrimitiveValue get right native "Rect_right_Getter";
-
- @DomName('Rect.top')
- @DocsEditable
- CssPrimitiveValue get top native "Rect_top_Getter";
-
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-// WARNING: Do not edit - generated code.
-
-
-@DocsEditable
-@DomName('RGBColor')
-class CssRgbColor extends NativeFieldWrapperClass1 {
- CssRgbColor.internal();
-
- @DomName('RGBColor.blue')
- @DocsEditable
- CssPrimitiveValue get blue native "RGBColor_blue_Getter";
-
- @DomName('RGBColor.green')
- @DocsEditable
- CssPrimitiveValue get green native "RGBColor_green_Getter";
-
- @DomName('RGBColor.red')
- @DocsEditable
- CssPrimitiveValue get red native "RGBColor_red_Getter";
-
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-// WARNING: Do not edit - generated code.
-
-
-@DocsEditable
-@DomName('CSSRule')
-class CssRule extends NativeFieldWrapperClass1 {
- CssRule.internal();
-
- static const int CHARSET_RULE = 2;
-
- static const int FONT_FACE_RULE = 5;
-
- static const int HOST_RULE = 1001;
-
- static const int IMPORT_RULE = 3;
-
- static const int MEDIA_RULE = 4;
-
- static const int PAGE_RULE = 6;
-
- static const int STYLE_RULE = 1;
-
- static const int UNKNOWN_RULE = 0;
-
- static const int WEBKIT_FILTER_RULE = 17;
-
- static const int WEBKIT_KEYFRAMES_RULE = 7;
-
- static const int WEBKIT_KEYFRAME_RULE = 8;
-
- @DomName('CSSRule.cssText')
- @DocsEditable
- String get cssText native "CSSRule_cssText_Getter";
-
- @DomName('CSSRule.cssText')
- @DocsEditable
- void set cssText(String value) native "CSSRule_cssText_Setter";
-
- @DomName('CSSRule.parentRule')
- @DocsEditable
- CssRule get parentRule native "CSSRule_parentRule_Getter";
-
- @DomName('CSSRule.parentStyleSheet')
- @DocsEditable
- CssStyleSheet get parentStyleSheet native "CSSRule_parentStyleSheet_Getter";
-
- @DomName('CSSRule.type')
- @DocsEditable
- int get type native "CSSRule_type_Getter";
-
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-
-@DomName('CSSStyleDeclaration')
-class CssStyleDeclaration extends NativeFieldWrapperClass1 {
- factory CssStyleDeclaration() => _CssStyleDeclarationFactoryProvider.createCssStyleDeclaration();
- factory CssStyleDeclaration.css(String css) =>
- _CssStyleDeclarationFactoryProvider.createCssStyleDeclaration_css(css);
-
- CssStyleDeclaration.internal();
-
- @DomName('CSSStyleDeclaration.cssText')
- @DocsEditable
- String get cssText native "CSSStyleDeclaration_cssText_Getter";
-
- @DomName('CSSStyleDeclaration.cssText')
- @DocsEditable
- void set cssText(String value) native "CSSStyleDeclaration_cssText_Setter";
-
- @DomName('CSSStyleDeclaration.length')
- @DocsEditable
- int get length native "CSSStyleDeclaration_length_Getter";
-
- @DomName('CSSStyleDeclaration.parentRule')
- @DocsEditable
- CssRule get parentRule native "CSSStyleDeclaration_parentRule_Getter";
-
- @DomName('CSSStyleDeclaration.getPropertyCSSValue')
- @DocsEditable
- CssValue getPropertyCssValue(String propertyName) native "CSSStyleDeclaration_getPropertyCSSValue_Callback";
-
- @DomName('CSSStyleDeclaration.getPropertyPriority')
- @DocsEditable
- String getPropertyPriority(String propertyName) native "CSSStyleDeclaration_getPropertyPriority_Callback";
-
- @DomName('CSSStyleDeclaration.getPropertyShorthand')
- @DocsEditable
- String getPropertyShorthand(String propertyName) native "CSSStyleDeclaration_getPropertyShorthand_Callback";
-
- @DomName('CSSStyleDeclaration._getPropertyValue')
- @DocsEditable
- String _getPropertyValue(String propertyName) native "CSSStyleDeclaration__getPropertyValue_Callback";
-
- @DomName('CSSStyleDeclaration.isPropertyImplicit')
- @DocsEditable
- bool isPropertyImplicit(String propertyName) native "CSSStyleDeclaration_isPropertyImplicit_Callback";
-
- @DomName('CSSStyleDeclaration.item')
- @DocsEditable
- String item(int index) native "CSSStyleDeclaration_item_Callback";
-
- @DomName('CSSStyleDeclaration.removeProperty')
- @DocsEditable
- String removeProperty(String propertyName) native "CSSStyleDeclaration_removeProperty_Callback";
-
- @DomName('CSSStyleDeclaration.setProperty')
- @DocsEditable
- void setProperty(String propertyName, String value, [String priority]) native "CSSStyleDeclaration_setProperty_Callback";
-
-
- String getPropertyValue(String propertyName) {
- var propValue = _getPropertyValue(propertyName);
- return propValue != null ? propValue : '';
- }
-
- /**
- * Checks to see if CSS Transitions are supported.
- */
- static bool get supportsTransitions => true;
-
- // TODO(jacobr): generate this list of properties using the existing script.
- /** Gets the value of "align-content" */
- String get alignContent =>
- getPropertyValue('${Device.cssPrefix}align-content');
+ // TODO(jacobr): generate this list of properties using the existing script.
+ /** Gets the value of "align-content" */
+ String get alignContent =>
+ getPropertyValue('${Device.cssPrefix}align-content');
/** Sets the value of "align-content" */
void set alignContent(String value) {
@@ -6304,103 +5872,11 @@ class CssStyleSheet extends StyleSheet {
// WARNING: Do not edit - generated code.
-
-@DocsEditable
-@DomName('WebKitCSSTransformValue')
-class CssTransformValue extends _CssValueList {
- CssTransformValue.internal() : super.internal();
-
- static const int CSS_MATRIX = 11;
-
- static const int CSS_MATRIX3D = 21;
-
- static const int CSS_PERSPECTIVE = 20;
-
- static const int CSS_ROTATE = 4;
-
- static const int CSS_ROTATE3D = 17;
-
- static const int CSS_ROTATEX = 14;
-
- static const int CSS_ROTATEY = 15;
-
- static const int CSS_ROTATEZ = 16;
-
- static const int CSS_SCALE = 5;
-
- static const int CSS_SCALE3D = 19;
-
- static const int CSS_SCALEX = 6;
-
- static const int CSS_SCALEY = 7;
-
- static const int CSS_SCALEZ = 18;
-
- static const int CSS_SKEW = 8;
-
- static const int CSS_SKEWX = 9;
-
- static const int CSS_SKEWY = 10;
-
- static const int CSS_TRANSLATE = 1;
-
- static const int CSS_TRANSLATE3D = 13;
-
- static const int CSS_TRANSLATEX = 2;
-
- static const int CSS_TRANSLATEY = 3;
-
- static const int CSS_TRANSLATEZ = 12;
-
- @DomName('WebKitCSSTransformValue.operationType')
- @DocsEditable
- int get operationType native "WebKitCSSTransformValue_operationType_Getter";
-
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-// WARNING: Do not edit - generated code.
-
-
-@DocsEditable
-@DomName('CSSUnknownRule')
-class CssUnknownRule extends CssRule {
- CssUnknownRule.internal() : super.internal();
-
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-// WARNING: Do not edit - generated code.
-
-
-@DocsEditable
-@DomName('CSSValue')
-class CssValue extends NativeFieldWrapperClass1 {
- CssValue.internal();
-
- static const int CSS_CUSTOM = 3;
-
- static const int CSS_INHERIT = 0;
-
- static const int CSS_PRIMITIVE_VALUE = 1;
-
- static const int CSS_VALUE_LIST = 2;
-
- @DomName('CSSValue.cssText')
- @DocsEditable
- String get cssText native "CSSValue_cssText_Getter";
-
- @DomName('CSSValue.cssText')
- @DocsEditable
- void set cssText(String value) native "CSSValue_cssText_Setter";
-
- @DomName('CSSValue.cssValueType')
- @DocsEditable
- int get cssValueType native "CSSValue_cssValueType_Getter";
+
+@DocsEditable
+@DomName('CSSUnknownRule')
+class CssUnknownRule extends CssRule {
+ CssUnknownRule.internal() : super.internal();
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -8387,45 +7863,6 @@ class DomPluginArray extends NativeFieldWrapperClass1 implements List<DomPlugin>
@DocsEditable
-@DomName('WebKitPoint')
-@SupportedBrowser(SupportedBrowser.CHROME)
-@SupportedBrowser(SupportedBrowser.SAFARI)
-@Experimental
-class DomPoint extends NativeFieldWrapperClass1 {
- DomPoint.internal();
- factory DomPoint(num x, num y) => _create(x, y);
-
- @DocsEditable
- static DomPoint _create(x, y) native "WebKitPoint_constructorCallback";
-
- /// Checks if this type is supported on the current platform.
- static bool get supported => true;
-
- @DomName('WebKitPoint.x')
- @DocsEditable
- num get x native "WebKitPoint_x_Getter";
-
- @DomName('WebKitPoint.x')
- @DocsEditable
- void set x(num value) native "WebKitPoint_x_Setter";
-
- @DomName('WebKitPoint.y')
- @DocsEditable
- num get y native "WebKitPoint_y_Getter";
-
- @DomName('WebKitPoint.y')
- @DocsEditable
- void set y(num value) native "WebKitPoint_y_Setter";
-
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-// WARNING: Do not edit - generated code.
-
-
-@DocsEditable
@DomName('Selection')
class DomSelection extends NativeFieldWrapperClass1 {
DomSelection.internal();
@@ -28323,60 +27760,6 @@ class WebKitCssFilterRule extends CssRule {
@DocsEditable
-@DomName('WebKitCSSFilterValue')
-class WebKitCssFilterValue extends _CssValueList {
- WebKitCssFilterValue.internal() : super.internal();
-
- static const int CSS_FILTER_BLUR = 10;
-
- static const int CSS_FILTER_BRIGHTNESS = 8;
-
- static const int CSS_FILTER_CONTRAST = 9;
-
- static const int CSS_FILTER_CUSTOM = 12;
-
- static const int CSS_FILTER_DROP_SHADOW = 11;
-
- static const int CSS_FILTER_GRAYSCALE = 2;
-
- static const int CSS_FILTER_HUE_ROTATE = 5;
-
- static const int CSS_FILTER_INVERT = 6;
-
- static const int CSS_FILTER_OPACITY = 7;
-
- static const int CSS_FILTER_REFERENCE = 1;
-
- static const int CSS_FILTER_SATURATE = 4;
-
- static const int CSS_FILTER_SEPIA = 3;
-
- @DomName('WebKitCSSFilterValue.operationType')
- @DocsEditable
- int get operationType native "WebKitCSSFilterValue_operationType_Getter";
-
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-// WARNING: Do not edit - generated code.
-
-
-@DocsEditable
-@DomName('WebKitCSSMixFunctionValue')
-class WebKitCssMixFunctionValue extends _CssValueList {
- WebKitCssMixFunctionValue.internal() : super.internal();
-
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-// WARNING: Do not edit - generated code.
-
-
-@DocsEditable
@DomName('WebKitNamedFlow')
class WebKitNamedFlow extends EventTarget {
WebKitNamedFlow.internal() : super.internal();
@@ -28752,6 +28135,31 @@ class Window extends EventTarget implements WindowBase {
throw new UnsupportedError('setImmediate is not supported');
}
+ @DomName('DOMWindow.convertPointFromNodeToPage')
+ @SupportedBrowser(SupportedBrowser.CHROME)
+ @SupportedBrowser(SupportedBrowser.SAFARI)
+ @Experimental
+ Point convertPointFromNodeToPage(Node node, Point point) {
+ var result = _convertPointFromNodeToPage(node,
+ new _DomPoint(point.x, point.y));
+ return new Point(result.x, result.y);
+ }
+
+ @DomName('DOMWindow.convertPointFromPageToNode')
+ @SupportedBrowser(SupportedBrowser.CHROME)
+ @SupportedBrowser(SupportedBrowser.SAFARI)
+ @Experimental
+ Point convertPointFromPageToNode(Node node, Point point) {
+ var result = _convertPointFromPageToNode(node,
+ new _DomPoint(point.x, point.y));
+ return new Point(result.x, result.y);
+ }
+
+ /**
+ * Checks whether [convertPointFromNodeToPage] and
+ * [convertPointFromPageToNode] are supported on the current platform.
+ */
+ static bool get supportsPointConversions => _DomPoint.supported;
Window.internal() : super.internal();
@DomName('DOMWindow.DOMContentLoadedEvent')
@@ -29200,14 +28608,14 @@ class Window extends EventTarget implements WindowBase {
@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.SAFARI)
@Experimental
- DomPoint convertPointFromNodeToPage(Node node, DomPoint p) native "DOMWindow_webkitConvertPointFromNodeToPage_Callback";
+ _DomPoint _convertPointFromNodeToPage(Node node, _DomPoint p) native "DOMWindow_webkitConvertPointFromNodeToPage_Callback";
@DomName('DOMWindow.webkitConvertPointFromPageToNode')
@DocsEditable
@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.SAFARI)
@Experimental
- DomPoint convertPointFromPageToNode(Node node, DomPoint p) native "DOMWindow_webkitConvertPointFromPageToNode_Callback";
+ _DomPoint _convertPointFromPageToNode(Node node, _DomPoint p) native "DOMWindow_webkitConvertPointFromPageToNode_Callback";
@DomName('DOMWindow.webkitRequestFileSystem')
@DocsEditable
@@ -29972,6 +29380,144 @@ class XsltProcessor extends NativeFieldWrapperClass1 {
DocumentFragment transformToFragment(Node source, Document docVal) native "XSLTProcessor_transformToFragment_Callback";
}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+// WARNING: Do not edit - generated code.
+
+
+@DocsEditable
+@DomName('CSSPrimitiveValue')
+class _CSSPrimitiveValue extends _CSSValue {
+ _CSSPrimitiveValue.internal() : super.internal();
+
+ static const int CSS_ATTR = 22;
+
+ static const int CSS_CM = 6;
+
+ static const int CSS_COUNTER = 23;
+
+ static const int CSS_DEG = 11;
+
+ static const int CSS_DIMENSION = 18;
+
+ static const int CSS_EMS = 3;
+
+ static const int CSS_EXS = 4;
+
+ static const int CSS_GRAD = 13;
+
+ static const int CSS_HZ = 16;
+
+ static const int CSS_IDENT = 21;
+
+ static const int CSS_IN = 8;
+
+ static const int CSS_KHZ = 17;
+
+ static const int CSS_MM = 7;
+
+ static const int CSS_MS = 14;
+
+ static const int CSS_NUMBER = 1;
+
+ static const int CSS_PC = 10;
+
+ static const int CSS_PERCENTAGE = 2;
+
+ static const int CSS_PT = 9;
+
+ static const int CSS_PX = 5;
+
+ static const int CSS_RAD = 12;
+
+ static const int CSS_RECT = 24;
+
+ static const int CSS_RGBCOLOR = 25;
+
+ static const int CSS_S = 15;
+
+ static const int CSS_STRING = 19;
+
+ static const int CSS_UNKNOWN = 0;
+
+ static const int CSS_URI = 20;
+
+ static const int CSS_VH = 27;
+
+ static const int CSS_VMAX = 29;
+
+ static const int CSS_VMIN = 28;
+
+ static const int CSS_VW = 26;
+
+ @DomName('CSSPrimitiveValue.primitiveType')
+ @DocsEditable
+ int get primitiveType native "CSSPrimitiveValue_primitiveType_Getter";
+
+ @DomName('CSSPrimitiveValue.getCounterValue')
+ @DocsEditable
+ _Counter getCounterValue() native "CSSPrimitiveValue_getCounterValue_Callback";
+
+ @DomName('CSSPrimitiveValue.getFloatValue')
+ @DocsEditable
+ num getFloatValue(int unitType) native "CSSPrimitiveValue_getFloatValue_Callback";
+
+ @DomName('CSSPrimitiveValue.getRGBColorValue')
+ @DocsEditable
+ _RGBColor getRgbColorValue() native "CSSPrimitiveValue_getRGBColorValue_Callback";
+
+ @DomName('CSSPrimitiveValue.getRectValue')
+ @DocsEditable
+ _Rect getRectValue() native "CSSPrimitiveValue_getRectValue_Callback";
+
+ @DomName('CSSPrimitiveValue.getStringValue')
+ @DocsEditable
+ String getStringValue() native "CSSPrimitiveValue_getStringValue_Callback";
+
+ @DomName('CSSPrimitiveValue.setFloatValue')
+ @DocsEditable
+ void setFloatValue(int unitType, num floatValue) native "CSSPrimitiveValue_setFloatValue_Callback";
+
+ @DomName('CSSPrimitiveValue.setStringValue')
+ @DocsEditable
+ void setStringValue(int stringType, String stringValue) native "CSSPrimitiveValue_setStringValue_Callback";
+
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+// WARNING: Do not edit - generated code.
+
+
+@DocsEditable
+@DomName('CSSValue')
+class _CSSValue extends NativeFieldWrapperClass1 {
+ _CSSValue.internal();
+
+ static const int CSS_CUSTOM = 3;
+
+ static const int CSS_INHERIT = 0;
+
+ static const int CSS_PRIMITIVE_VALUE = 1;
+
+ static const int CSS_VALUE_LIST = 2;
+
+ @DomName('CSSValue.cssText')
+ @DocsEditable
+ String get cssText native "CSSValue_cssText_Getter";
+
+ @DomName('CSSValue.cssText')
+ @DocsEditable
+ void set cssText(String value) native "CSSValue_cssText_Setter";
+
+ @DomName('CSSValue.cssValueType')
+ @DocsEditable
+ int get cssValueType native "CSSValue_cssValueType_Getter";
+
+}
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
@@ -30308,9 +29854,34 @@ class _ClientRectList extends NativeFieldWrapperClass1 implements List<Rect> {
// -- end List<Rect> mixins.
- @DomName('ClientRectList.item')
+ @DomName('ClientRectList.item')
+ @DocsEditable
+ Rect item(int index) native "ClientRectList_item_Callback";
+
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+// WARNING: Do not edit - generated code.
+
+
+@DocsEditable
+@DomName('Counter')
+class _Counter extends NativeFieldWrapperClass1 {
+ _Counter.internal();
+
+ @DomName('Counter.identifier')
+ @DocsEditable
+ String get identifier native "Counter_identifier_Getter";
+
+ @DomName('Counter.listStyle')
+ @DocsEditable
+ String get listStyle native "Counter_listStyle_Getter";
+
+ @DomName('Counter.separator')
@DocsEditable
- Rect item(int index) native "ClientRectList_item_Callback";
+ String get separator native "Counter_separator_Getter";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -30537,104 +30108,104 @@ class _CssRuleList extends NativeFieldWrapperClass1 implements List<CssRule> {
@DocsEditable
@DomName('CSSValueList')
-class _CssValueList extends CssValue implements List<CssValue> {
+class _CssValueList extends _CSSValue implements List<_CSSValue> {
_CssValueList.internal() : super.internal();
@DomName('CSSValueList.length')
@DocsEditable
int get length native "CSSValueList_length_Getter";
- CssValue operator[](int index) native "CSSValueList_item_Callback";
+ _CSSValue operator[](int index) native "CSSValueList_item_Callback";
- void operator[]=(int index, CssValue value) {
+ void operator[]=(int index, _CSSValue value) {
throw new UnsupportedError("Cannot assign element of immutable List.");
}
- // -- start List<CssValue> mixins.
- // CssValue is the element type.
+ // -- start List<_CSSValue> mixins.
+ // _CSSValue is the element type.
- // From Iterable<CssValue>:
+ // From Iterable<_CSSValue>:
- Iterator<CssValue> get iterator {
+ Iterator<_CSSValue> get iterator {
// Note: NodeLists are not fixed size. And most probably length shouldn't
// be cached in both iterator _and_ forEach method. For now caching it
// for consistency.
- return new FixedSizeListIterator<CssValue>(this);
+ return new FixedSizeListIterator<_CSSValue>(this);
}
- dynamic reduce(dynamic initialValue, dynamic combine(dynamic, CssValue)) {
+ dynamic reduce(dynamic initialValue, dynamic combine(dynamic, _CSSValue)) {
return IterableMixinWorkaround.reduce(this, initialValue, combine);
}
- bool contains(CssValue element) => IterableMixinWorkaround.contains(this, element);
+ bool contains(_CSSValue element) => IterableMixinWorkaround.contains(this, element);
- void forEach(void f(CssValue element)) => IterableMixinWorkaround.forEach(this, f);
+ void forEach(void f(_CSSValue element)) => IterableMixinWorkaround.forEach(this, f);
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- Iterable map(f(CssValue element)) =>
+ Iterable map(f(_CSSValue element)) =>
IterableMixinWorkaround.mapList(this, f);
- Iterable<CssValue> where(bool f(CssValue element)) =>
+ Iterable<_CSSValue> where(bool f(_CSSValue element)) =>
IterableMixinWorkaround.where(this, f);
- Iterable expand(Iterable f(CssValue element)) =>
+ Iterable expand(Iterable f(_CSSValue element)) =>
IterableMixinWorkaround.expand(this, f);
- bool every(bool f(CssValue element)) => IterableMixinWorkaround.every(this, f);
+ bool every(bool f(_CSSValue element)) => IterableMixinWorkaround.every(this, f);
- bool any(bool f(CssValue element)) => IterableMixinWorkaround.any(this, f);
+ bool any(bool f(_CSSValue element)) => IterableMixinWorkaround.any(this, f);
- List<CssValue> toList({ bool growable: true }) =>
- new List<CssValue>.from(this, growable: growable);
+ List<_CSSValue> toList({ bool growable: true }) =>
+ new List<_CSSValue>.from(this, growable: growable);
- Set<CssValue> toSet() => new Set<CssValue>.from(this);
+ Set<_CSSValue> toSet() => new Set<_CSSValue>.from(this);
bool get isEmpty => this.length == 0;
- Iterable<CssValue> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<_CSSValue> take(int n) => IterableMixinWorkaround.takeList(this, n);
- Iterable<CssValue> takeWhile(bool test(CssValue value)) {
+ Iterable<_CSSValue> takeWhile(bool test(_CSSValue value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- Iterable<CssValue> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<_CSSValue> skip(int n) => IterableMixinWorkaround.skipList(this, n);
- Iterable<CssValue> skipWhile(bool test(CssValue value)) {
+ Iterable<_CSSValue> skipWhile(bool test(_CSSValue value)) {
return IterableMixinWorkaround.skipWhile(this, test);
}
- CssValue firstWhere(bool test(CssValue value), { CssValue orElse() }) {
+ _CSSValue firstWhere(bool test(_CSSValue value), { _CSSValue orElse() }) {
return IterableMixinWorkaround.firstWhere(this, test, orElse);
}
- CssValue lastWhere(bool test(CssValue value), {CssValue orElse()}) {
+ _CSSValue lastWhere(bool test(_CSSValue value), {_CSSValue orElse()}) {
return IterableMixinWorkaround.lastWhereList(this, test, orElse);
}
- CssValue singleWhere(bool test(CssValue value)) {
+ _CSSValue singleWhere(bool test(_CSSValue value)) {
return IterableMixinWorkaround.singleWhere(this, test);
}
- CssValue elementAt(int index) {
+ _CSSValue elementAt(int index) {
return this[index];
}
- // From Collection<CssValue>:
+ // From Collection<_CSSValue>:
- void add(CssValue value) {
+ void add(_CSSValue value) {
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(CssValue value) {
+ void addLast(_CSSValue value) {
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addAll(Iterable<CssValue> iterable) {
+ void addAll(Iterable<_CSSValue> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
- // From List<CssValue>:
+ // From List<_CSSValue>:
void set length(int value) {
throw new UnsupportedError("Cannot resize immutable List.");
}
@@ -30643,53 +30214,53 @@ class _CssValueList extends CssValue implements List<CssValue> {
throw new UnsupportedError("Cannot clear immutable List.");
}
- Iterable<CssValue> get reversed {
+ Iterable<_CSSValue> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
- void sort([int compare(CssValue a, CssValue b)]) {
+ void sort([int compare(_CSSValue a, _CSSValue b)]) {
throw new UnsupportedError("Cannot sort immutable List.");
}
- int indexOf(CssValue element, [int start = 0]) =>
+ int indexOf(_CSSValue element, [int start = 0]) =>
Lists.indexOf(this, element, start, this.length);
- int lastIndexOf(CssValue element, [int start]) {
+ int lastIndexOf(_CSSValue element, [int start]) {
if (start == null) start = length - 1;
return Lists.lastIndexOf(this, element, start);
}
- CssValue get first {
+ _CSSValue get first {
if (this.length > 0) return this[0];
throw new StateError("No elements");
}
- CssValue get last {
+ _CSSValue get last {
if (this.length > 0) return this[this.length - 1];
throw new StateError("No elements");
}
- CssValue get single {
+ _CSSValue get single {
if (length == 1) return this[0];
if (length == 0) throw new StateError("No elements");
throw new StateError("More than one element");
}
- CssValue min([int compare(CssValue a, CssValue b)]) =>
+ _CSSValue min([int compare(_CSSValue a, _CSSValue b)]) =>
IterableMixinWorkaround.min(this, compare);
- CssValue max([int compare(CssValue a, CssValue b)]) =>
+ _CSSValue max([int compare(_CSSValue a, _CSSValue b)]) =>
IterableMixinWorkaround.max(this, compare);
- void insert(int index, CssValue element) {
+ void insert(int index, _CSSValue element) {
throw new UnsupportedError("Cannot add to immutable List.");
}
- CssValue removeAt(int pos) {
+ _CSSValue removeAt(int pos) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
- CssValue removeLast() {
+ _CSSValue removeLast() {
throw new UnsupportedError("Cannot remove from immutable List.");
}
@@ -30705,15 +30276,15 @@ class _CssValueList extends CssValue implements List<CssValue> {
throw new UnsupportedError("Cannot remove from immutable List.");
}
- void removeWhere(bool test(CssValue element)) {
+ void removeWhere(bool test(_CSSValue element)) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
- void retainWhere(bool test(CssValue element)) {
+ void retainWhere(bool test(_CSSValue element)) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
- void setRange(int start, int rangeLength, List<CssValue> from, [int startFrom]) {
+ void setRange(int start, int rangeLength, List<_CSSValue> from, [int startFrom]) {
throw new UnsupportedError("Cannot setRange on immutable List.");
}
@@ -30721,26 +30292,65 @@ class _CssValueList extends CssValue implements List<CssValue> {
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
- void insertRange(int start, int rangeLength, [CssValue initialValue]) {
+ void insertRange(int start, int rangeLength, [_CSSValue initialValue]) {
throw new UnsupportedError("Cannot insertRange on immutable List.");
}
- List<CssValue> sublist(int start, [int end]) {
+ List<_CSSValue> sublist(int start, [int end]) {
if (end == null) end = length;
- return Lists.getRange(this, start, end, <CssValue>[]);
+ return Lists.getRange(this, start, end, <_CSSValue>[]);
}
- List<CssValue> getRange(int start, int rangeLength) =>
+ List<_CSSValue> getRange(int start, int rangeLength) =>
sublist(start, start + rangeLength);
- Map<int, CssValue> asMap() =>
+ Map<int, _CSSValue> asMap() =>
IterableMixinWorkaround.asMapList(this);
- // -- end List<CssValue> mixins.
+ // -- end List<_CSSValue> mixins.
@DomName('CSSValueList.item')
@DocsEditable
- CssValue item(int index) native "CSSValueList_item_Callback";
+ _CSSValue item(int index) native "CSSValueList_item_Callback";
+
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+// WARNING: Do not edit - generated code.
+
+
+@DocsEditable
+@DomName('WebKitPoint')
+@SupportedBrowser(SupportedBrowser.CHROME)
+@SupportedBrowser(SupportedBrowser.SAFARI)
+@Experimental
+class _DomPoint extends NativeFieldWrapperClass1 {
+ _DomPoint.internal();
+ factory _DomPoint(num x, num y) => _create(x, y);
+
+ @DocsEditable
+ static _DomPoint _create(x, y) native "WebKitPoint_constructorCallback";
+
+ /// Checks if this type is supported on the current platform.
+ static bool get supported => true;
+
+ @DomName('WebKitPoint.x')
+ @DocsEditable
+ num get x native "WebKitPoint_x_Getter";
+
+ @DomName('WebKitPoint.x')
+ @DocsEditable
+ void set x(num value) native "WebKitPoint_x_Setter";
+
+ @DomName('WebKitPoint.y')
+ @DocsEditable
+ num get y native "WebKitPoint_y_Getter";
+
+ @DomName('WebKitPoint.y')
+ @DocsEditable
+ void set y(num value) native "WebKitPoint_y_Setter";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -30966,33 +30576,248 @@ class _EntryArray extends NativeFieldWrapperClass1 implements List<Entry> {
return IterableMixinWorkaround.firstWhere(this, test, orElse);
}
- Entry lastWhere(bool test(Entry value), {Entry orElse()}) {
+ Entry lastWhere(bool test(Entry value), {Entry orElse()}) {
+ return IterableMixinWorkaround.lastWhereList(this, test, orElse);
+ }
+
+ Entry singleWhere(bool test(Entry value)) {
+ return IterableMixinWorkaround.singleWhere(this, test);
+ }
+
+ Entry elementAt(int index) {
+ return this[index];
+ }
+
+ // From Collection<Entry>:
+
+ void add(Entry value) {
+ throw new UnsupportedError("Cannot add to immutable List.");
+ }
+
+ void addLast(Entry value) {
+ throw new UnsupportedError("Cannot add to immutable List.");
+ }
+
+ void addAll(Iterable<Entry> iterable) {
+ throw new UnsupportedError("Cannot add to immutable List.");
+ }
+
+ // From List<Entry>:
+ void set length(int value) {
+ throw new UnsupportedError("Cannot resize immutable List.");
+ }
+
+ void clear() {
+ throw new UnsupportedError("Cannot clear immutable List.");
+ }
+
+ Iterable<Entry> get reversed {
+ return IterableMixinWorkaround.reversedList(this);
+ }
+
+ void sort([int compare(Entry a, Entry b)]) {
+ throw new UnsupportedError("Cannot sort immutable List.");
+ }
+
+ int indexOf(Entry element, [int start = 0]) =>
+ Lists.indexOf(this, element, start, this.length);
+
+ int lastIndexOf(Entry element, [int start]) {
+ if (start == null) start = length - 1;
+ return Lists.lastIndexOf(this, element, start);
+ }
+
+ Entry get first {
+ if (this.length > 0) return this[0];
+ throw new StateError("No elements");
+ }
+
+ Entry get last {
+ if (this.length > 0) return this[this.length - 1];
+ throw new StateError("No elements");
+ }
+
+ Entry get single {
+ if (length == 1) return this[0];
+ if (length == 0) throw new StateError("No elements");
+ throw new StateError("More than one element");
+ }
+
+ Entry min([int compare(Entry a, Entry b)]) =>
+ IterableMixinWorkaround.min(this, compare);
+
+ Entry max([int compare(Entry a, Entry b)]) =>
+ IterableMixinWorkaround.max(this, compare);
+
+ void insert(int index, Entry element) {
+ throw new UnsupportedError("Cannot add to immutable List.");
+ }
+
+ Entry removeAt(int pos) {
+ throw new UnsupportedError("Cannot remove from immutable List.");
+ }
+
+ Entry removeLast() {
+ throw new UnsupportedError("Cannot remove from immutable List.");
+ }
+
+ void remove(Object object) {
+ throw new UnsupportedError("Cannot remove from immutable List.");
+ }
+
+ void removeAll(Iterable elements) {
+ throw new UnsupportedError("Cannot remove from immutable List.");
+ }
+
+ void retainAll(Iterable elements) {
+ throw new UnsupportedError("Cannot remove from immutable List.");
+ }
+
+ void removeWhere(bool test(Entry element)) {
+ throw new UnsupportedError("Cannot remove from immutable List.");
+ }
+
+ void retainWhere(bool test(Entry element)) {
+ throw new UnsupportedError("Cannot remove from immutable List.");
+ }
+
+ void setRange(int start, int rangeLength, List<Entry> from, [int startFrom]) {
+ throw new UnsupportedError("Cannot setRange on immutable List.");
+ }
+
+ void removeRange(int start, int rangeLength) {
+ throw new UnsupportedError("Cannot removeRange on immutable List.");
+ }
+
+ void insertRange(int start, int rangeLength, [Entry initialValue]) {
+ throw new UnsupportedError("Cannot insertRange on immutable List.");
+ }
+
+ List<Entry> sublist(int start, [int end]) {
+ if (end == null) end = length;
+ return Lists.getRange(this, start, end, <Entry>[]);
+ }
+
+ List<Entry> getRange(int start, int rangeLength) =>
+ sublist(start, start + rangeLength);
+
+ Map<int, Entry> asMap() =>
+ IterableMixinWorkaround.asMapList(this);
+
+ // -- end List<Entry> mixins.
+
+ @DomName('EntryArray.item')
+ @DocsEditable
+ Entry item(int index) native "EntryArray_item_Callback";
+
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+// WARNING: Do not edit - generated code.
+
+
+@DocsEditable
+@DomName('EntryArraySync')
+class _EntryArraySync extends NativeFieldWrapperClass1 implements List<EntrySync> {
+ _EntryArraySync.internal();
+
+ @DomName('EntryArraySync.length')
+ @DocsEditable
+ int get length native "EntryArraySync_length_Getter";
+
+ EntrySync operator[](int index) native "EntryArraySync_item_Callback";
+
+ void operator[]=(int index, EntrySync value) {
+ throw new UnsupportedError("Cannot assign element of immutable List.");
+ }
+ // -- start List<EntrySync> mixins.
+ // EntrySync is the element type.
+
+ // From Iterable<EntrySync>:
+
+ Iterator<EntrySync> get iterator {
+ // Note: NodeLists are not fixed size. And most probably length shouldn't
+ // be cached in both iterator _and_ forEach method. For now caching it
+ // for consistency.
+ return new FixedSizeListIterator<EntrySync>(this);
+ }
+
+ dynamic reduce(dynamic initialValue, dynamic combine(dynamic, EntrySync)) {
+ return IterableMixinWorkaround.reduce(this, initialValue, combine);
+ }
+
+ bool contains(EntrySync element) => IterableMixinWorkaround.contains(this, element);
+
+ void forEach(void f(EntrySync element)) => IterableMixinWorkaround.forEach(this, f);
+
+ String join([String separator]) =>
+ IterableMixinWorkaround.joinList(this, separator);
+
+ Iterable map(f(EntrySync element)) =>
+ IterableMixinWorkaround.mapList(this, f);
+
+ Iterable<EntrySync> where(bool f(EntrySync element)) =>
+ IterableMixinWorkaround.where(this, f);
+
+ Iterable expand(Iterable f(EntrySync element)) =>
+ IterableMixinWorkaround.expand(this, f);
+
+ bool every(bool f(EntrySync element)) => IterableMixinWorkaround.every(this, f);
+
+ bool any(bool f(EntrySync element)) => IterableMixinWorkaround.any(this, f);
+
+ List<EntrySync> toList({ bool growable: true }) =>
+ new List<EntrySync>.from(this, growable: growable);
+
+ Set<EntrySync> toSet() => new Set<EntrySync>.from(this);
+
+ bool get isEmpty => this.length == 0;
+
+ Iterable<EntrySync> take(int n) => IterableMixinWorkaround.takeList(this, n);
+
+ Iterable<EntrySync> takeWhile(bool test(EntrySync value)) {
+ return IterableMixinWorkaround.takeWhile(this, test);
+ }
+
+ Iterable<EntrySync> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+
+ Iterable<EntrySync> skipWhile(bool test(EntrySync value)) {
+ return IterableMixinWorkaround.skipWhile(this, test);
+ }
+
+ EntrySync firstWhere(bool test(EntrySync value), { EntrySync orElse() }) {
+ return IterableMixinWorkaround.firstWhere(this, test, orElse);
+ }
+
+ EntrySync lastWhere(bool test(EntrySync value), {EntrySync orElse()}) {
return IterableMixinWorkaround.lastWhereList(this, test, orElse);
}
- Entry singleWhere(bool test(Entry value)) {
+ EntrySync singleWhere(bool test(EntrySync value)) {
return IterableMixinWorkaround.singleWhere(this, test);
}
- Entry elementAt(int index) {
+ EntrySync elementAt(int index) {
return this[index];
}
- // From Collection<Entry>:
+ // From Collection<EntrySync>:
- void add(Entry value) {
+ void add(EntrySync value) {
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(Entry value) {
+ void addLast(EntrySync value) {
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addAll(Iterable<Entry> iterable) {
+ void addAll(Iterable<EntrySync> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
- // From List<Entry>:
+ // From List<EntrySync>:
void set length(int value) {
throw new UnsupportedError("Cannot resize immutable List.");
}
@@ -31001,53 +30826,53 @@ class _EntryArray extends NativeFieldWrapperClass1 implements List<Entry> {
throw new UnsupportedError("Cannot clear immutable List.");
}
- Iterable<Entry> get reversed {
+ Iterable<EntrySync> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
- void sort([int compare(Entry a, Entry b)]) {
+ void sort([int compare(EntrySync a, EntrySync b)]) {
throw new UnsupportedError("Cannot sort immutable List.");
}
- int indexOf(Entry element, [int start = 0]) =>
+ int indexOf(EntrySync element, [int start = 0]) =>
Lists.indexOf(this, element, start, this.length);
- int lastIndexOf(Entry element, [int start]) {
+ int lastIndexOf(EntrySync element, [int start]) {
if (start == null) start = length - 1;
return Lists.lastIndexOf(this, element, start);
}
- Entry get first {
+ EntrySync get first {
if (this.length > 0) return this[0];
throw new StateError("No elements");
}
- Entry get last {
+ EntrySync get last {
if (this.length > 0) return this[this.length - 1];
throw new StateError("No elements");
}
- Entry get single {
+ EntrySync get single {
if (length == 1) return this[0];
if (length == 0) throw new StateError("No elements");
throw new StateError("More than one element");
}
- Entry min([int compare(Entry a, Entry b)]) =>
+ EntrySync min([int compare(EntrySync a, EntrySync b)]) =>
IterableMixinWorkaround.min(this, compare);
- Entry max([int compare(Entry a, Entry b)]) =>
+ EntrySync max([int compare(EntrySync a, EntrySync b)]) =>
IterableMixinWorkaround.max(this, compare);
- void insert(int index, Entry element) {
+ void insert(int index, EntrySync element) {
throw new UnsupportedError("Cannot add to immutable List.");
}
- Entry removeAt(int pos) {
+ EntrySync removeAt(int pos) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
- Entry removeLast() {
+ EntrySync removeLast() {
throw new UnsupportedError("Cannot remove from immutable List.");
}
@@ -31063,15 +30888,15 @@ class _EntryArray extends NativeFieldWrapperClass1 implements List<Entry> {
throw new UnsupportedError("Cannot remove from immutable List.");
}
- void removeWhere(bool test(Entry element)) {
+ void removeWhere(bool test(EntrySync element)) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
- void retainWhere(bool test(Entry element)) {
+ void retainWhere(bool test(EntrySync element)) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
- void setRange(int start, int rangeLength, List<Entry> from, [int startFrom]) {
+ void setRange(int start, int rangeLength, List<EntrySync> from, [int startFrom]) {
throw new UnsupportedError("Cannot setRange on immutable List.");
}
@@ -31079,26 +30904,26 @@ class _EntryArray extends NativeFieldWrapperClass1 implements List<Entry> {
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
- void insertRange(int start, int rangeLength, [Entry initialValue]) {
+ void insertRange(int start, int rangeLength, [EntrySync initialValue]) {
throw new UnsupportedError("Cannot insertRange on immutable List.");
}
- List<Entry> sublist(int start, [int end]) {
+ List<EntrySync> sublist(int start, [int end]) {
if (end == null) end = length;
- return Lists.getRange(this, start, end, <Entry>[]);
+ return Lists.getRange(this, start, end, <EntrySync>[]);
}
- List<Entry> getRange(int start, int rangeLength) =>
+ List<EntrySync> getRange(int start, int rangeLength) =>
sublist(start, start + rangeLength);
- Map<int, Entry> asMap() =>
+ Map<int, EntrySync> asMap() =>
IterableMixinWorkaround.asMapList(this);
- // -- end List<Entry> mixins.
+ // -- end List<EntrySync> mixins.
- @DomName('EntryArray.item')
+ @DomName('EntryArraySync.item')
@DocsEditable
- Entry item(int index) native "EntryArray_item_Callback";
+ EntrySync item(int index) native "EntryArraySync_item_Callback";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -31109,105 +30934,105 @@ class _EntryArray extends NativeFieldWrapperClass1 implements List<Entry> {
@DocsEditable
-@DomName('EntryArraySync')
-class _EntryArraySync extends NativeFieldWrapperClass1 implements List<EntrySync> {
- _EntryArraySync.internal();
+@DomName('GamepadList')
+class _GamepadList extends NativeFieldWrapperClass1 implements List<Gamepad> {
+ _GamepadList.internal();
- @DomName('EntryArraySync.length')
+ @DomName('GamepadList.length')
@DocsEditable
- int get length native "EntryArraySync_length_Getter";
+ int get length native "GamepadList_length_Getter";
- EntrySync operator[](int index) native "EntryArraySync_item_Callback";
+ Gamepad operator[](int index) native "GamepadList_item_Callback";
- void operator[]=(int index, EntrySync value) {
+ void operator[]=(int index, Gamepad value) {
throw new UnsupportedError("Cannot assign element of immutable List.");
}
- // -- start List<EntrySync> mixins.
- // EntrySync is the element type.
+ // -- start List<Gamepad> mixins.
+ // Gamepad is the element type.
- // From Iterable<EntrySync>:
+ // From Iterable<Gamepad>:
- Iterator<EntrySync> get iterator {
+ Iterator<Gamepad> get iterator {
// Note: NodeLists are not fixed size. And most probably length shouldn't
// be cached in both iterator _and_ forEach method. For now caching it
// for consistency.
- return new FixedSizeListIterator<EntrySync>(this);
+ return new FixedSizeListIterator<Gamepad>(this);
}
- dynamic reduce(dynamic initialValue, dynamic combine(dynamic, EntrySync)) {
+ dynamic reduce(dynamic initialValue, dynamic combine(dynamic, Gamepad)) {
return IterableMixinWorkaround.reduce(this, initialValue, combine);
}
- bool contains(EntrySync element) => IterableMixinWorkaround.contains(this, element);
+ bool contains(Gamepad element) => IterableMixinWorkaround.contains(this, element);
- void forEach(void f(EntrySync element)) => IterableMixinWorkaround.forEach(this, f);
+ void forEach(void f(Gamepad element)) => IterableMixinWorkaround.forEach(this, f);
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- Iterable map(f(EntrySync element)) =>
+ Iterable map(f(Gamepad element)) =>
IterableMixinWorkaround.mapList(this, f);
- Iterable<EntrySync> where(bool f(EntrySync element)) =>
+ Iterable<Gamepad> where(bool f(Gamepad element)) =>
IterableMixinWorkaround.where(this, f);
- Iterable expand(Iterable f(EntrySync element)) =>
+ Iterable expand(Iterable f(Gamepad element)) =>
IterableMixinWorkaround.expand(this, f);
- bool every(bool f(EntrySync element)) => IterableMixinWorkaround.every(this, f);
+ bool every(bool f(Gamepad element)) => IterableMixinWorkaround.every(this, f);
- bool any(bool f(EntrySync element)) => IterableMixinWorkaround.any(this, f);
+ bool any(bool f(Gamepad element)) => IterableMixinWorkaround.any(this, f);
- List<EntrySync> toList({ bool growable: true }) =>
- new List<EntrySync>.from(this, growable: growable);
+ List<Gamepad> toList({ bool growable: true }) =>
+ new List<Gamepad>.from(this, growable: growable);
- Set<EntrySync> toSet() => new Set<EntrySync>.from(this);
+ Set<Gamepad> toSet() => new Set<Gamepad>.from(this);
bool get isEmpty => this.length == 0;
- Iterable<EntrySync> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<Gamepad> take(int n) => IterableMixinWorkaround.takeList(this, n);
- Iterable<EntrySync> takeWhile(bool test(EntrySync value)) {
+ Iterable<Gamepad> takeWhile(bool test(Gamepad value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- Iterable<EntrySync> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<Gamepad> skip(int n) => IterableMixinWorkaround.skipList(this, n);
- Iterable<EntrySync> skipWhile(bool test(EntrySync value)) {
+ Iterable<Gamepad> skipWhile(bool test(Gamepad value)) {
return IterableMixinWorkaround.skipWhile(this, test);
}
- EntrySync firstWhere(bool test(EntrySync value), { EntrySync orElse() }) {
+ Gamepad firstWhere(bool test(Gamepad value), { Gamepad orElse() }) {
return IterableMixinWorkaround.firstWhere(this, test, orElse);
}
- EntrySync lastWhere(bool test(EntrySync value), {EntrySync orElse()}) {
+ Gamepad lastWhere(bool test(Gamepad value), {Gamepad orElse()}) {
return IterableMixinWorkaround.lastWhereList(this, test, orElse);
}
- EntrySync singleWhere(bool test(EntrySync value)) {
+ Gamepad singleWhere(bool test(Gamepad value)) {
return IterableMixinWorkaround.singleWhere(this, test);
}
- EntrySync elementAt(int index) {
+ Gamepad elementAt(int index) {
return this[index];
}
- // From Collection<EntrySync>:
+ // From Collection<Gamepad>:
- void add(EntrySync value) {
+ void add(Gamepad value) {
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(EntrySync value) {
+ void addLast(Gamepad value) {
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addAll(Iterable<EntrySync> iterable) {
+ void addAll(Iterable<Gamepad> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
- // From List<EntrySync>:
+ // From List<Gamepad>:
void set length(int value) {
throw new UnsupportedError("Cannot resize immutable List.");
}
@@ -31216,53 +31041,53 @@ class _EntryArraySync extends NativeFieldWrapperClass1 implements List<EntrySync
throw new UnsupportedError("Cannot clear immutable List.");
}
- Iterable<EntrySync> get reversed {
+ Iterable<Gamepad> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
- void sort([int compare(EntrySync a, EntrySync b)]) {
+ void sort([int compare(Gamepad a, Gamepad b)]) {
throw new UnsupportedError("Cannot sort immutable List.");
}
- int indexOf(EntrySync element, [int start = 0]) =>
+ int indexOf(Gamepad element, [int start = 0]) =>
Lists.indexOf(this, element, start, this.length);
- int lastIndexOf(EntrySync element, [int start]) {
+ int lastIndexOf(Gamepad element, [int start]) {
if (start == null) start = length - 1;
return Lists.lastIndexOf(this, element, start);
}
- EntrySync get first {
+ Gamepad get first {
if (this.length > 0) return this[0];
throw new StateError("No elements");
}
- EntrySync get last {
+ Gamepad get last {
if (this.length > 0) return this[this.length - 1];
throw new StateError("No elements");
}
- EntrySync get single {
+ Gamepad get single {
if (length == 1) return this[0];
if (length == 0) throw new StateError("No elements");
throw new StateError("More than one element");
}
- EntrySync min([int compare(EntrySync a, EntrySync b)]) =>
+ Gamepad min([int compare(Gamepad a, Gamepad b)]) =>
IterableMixinWorkaround.min(this, compare);
- EntrySync max([int compare(EntrySync a, EntrySync b)]) =>
+ Gamepad max([int compare(Gamepad a, Gamepad b)]) =>
IterableMixinWorkaround.max(this, compare);
- void insert(int index, EntrySync element) {
+ void insert(int index, Gamepad element) {
throw new UnsupportedError("Cannot add to immutable List.");
}
- EntrySync removeAt(int pos) {
+ Gamepad removeAt(int pos) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
- EntrySync removeLast() {
+ Gamepad removeLast() {
throw new UnsupportedError("Cannot remove from immutable List.");
}
@@ -31278,15 +31103,15 @@ class _EntryArraySync extends NativeFieldWrapperClass1 implements List<EntrySync
throw new UnsupportedError("Cannot remove from immutable List.");
}
- void removeWhere(bool test(EntrySync element)) {
+ void removeWhere(bool test(Gamepad element)) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
- void retainWhere(bool test(EntrySync element)) {
+ void retainWhere(bool test(Gamepad element)) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
- void setRange(int start, int rangeLength, List<EntrySync> from, [int startFrom]) {
+ void setRange(int start, int rangeLength, List<Gamepad> from, [int startFrom]) {
throw new UnsupportedError("Cannot setRange on immutable List.");
}
@@ -31294,26 +31119,117 @@ class _EntryArraySync extends NativeFieldWrapperClass1 implements List<EntrySync
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
- void insertRange(int start, int rangeLength, [EntrySync initialValue]) {
+ void insertRange(int start, int rangeLength, [Gamepad initialValue]) {
throw new UnsupportedError("Cannot insertRange on immutable List.");
}
- List<EntrySync> sublist(int start, [int end]) {
+ List<Gamepad> sublist(int start, [int end]) {
if (end == null) end = length;
- return Lists.getRange(this, start, end, <EntrySync>[]);
+ return Lists.getRange(this, start, end, <Gamepad>[]);
}
- List<EntrySync> getRange(int start, int rangeLength) =>
- sublist(start, start + rangeLength);
+ List<Gamepad> getRange(int start, int rangeLength) =>
+ sublist(start, start + rangeLength);
+
+ Map<int, Gamepad> asMap() =>
+ IterableMixinWorkaround.asMapList(this);
+
+ // -- end List<Gamepad> mixins.
+
+ @DomName('GamepadList.item')
+ @DocsEditable
+ Gamepad item(int index) native "GamepadList_item_Callback";
+
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+// WARNING: Do not edit - generated code.
+
+
+@DocsEditable
+@DomName('HTMLAppletElement')
+class _HTMLAppletElement extends _Element_Merged {
+ _HTMLAppletElement.internal() : super.internal();
+
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+// WARNING: Do not edit - generated code.
+
+
+@DocsEditable
+@DomName('HTMLBaseFontElement')
+class _HTMLBaseFontElement extends _Element_Merged {
+ _HTMLBaseFontElement.internal() : super.internal();
+
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+// WARNING: Do not edit - generated code.
+
+
+@DocsEditable
+@DomName('HTMLDirectoryElement')
+class _HTMLDirectoryElement extends _Element_Merged {
+ _HTMLDirectoryElement.internal() : super.internal();
+
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+// WARNING: Do not edit - generated code.
+
+
+@DocsEditable
+@DomName('HTMLFontElement')
+class _HTMLFontElement extends _Element_Merged {
+ _HTMLFontElement.internal() : super.internal();
+
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+// WARNING: Do not edit - generated code.
+
+
+@DocsEditable
+@DomName('HTMLFrameElement')
+class _HTMLFrameElement extends _Element_Merged {
+ _HTMLFrameElement.internal() : super.internal();
+
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+// WARNING: Do not edit - generated code.
+
+
+@DocsEditable
+@DomName('HTMLFrameSetElement')
+class _HTMLFrameSetElement extends _Element_Merged {
+ _HTMLFrameSetElement.internal() : super.internal();
- Map<int, EntrySync> asMap() =>
- IterableMixinWorkaround.asMapList(this);
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
- // -- end List<EntrySync> mixins.
+// WARNING: Do not edit - generated code.
- @DomName('EntryArraySync.item')
- @DocsEditable
- EntrySync item(int index) native "EntryArraySync_item_Callback";
+
+@DocsEditable
+@DomName('HTMLMarqueeElement')
+class _HTMLMarqueeElement extends _Element_Merged {
+ _HTMLMarqueeElement.internal() : super.internal();
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -31324,105 +31240,105 @@ class _EntryArraySync extends NativeFieldWrapperClass1 implements List<EntrySync
@DocsEditable
-@DomName('GamepadList')
-class _GamepadList extends NativeFieldWrapperClass1 implements List<Gamepad> {
- _GamepadList.internal();
+@DomName('NamedNodeMap')
+class _NamedNodeMap extends NativeFieldWrapperClass1 implements List<Node> {
+ _NamedNodeMap.internal();
- @DomName('GamepadList.length')
+ @DomName('NamedNodeMap.length')
@DocsEditable
- int get length native "GamepadList_length_Getter";
+ int get length native "NamedNodeMap_length_Getter";
- Gamepad operator[](int index) native "GamepadList_item_Callback";
+ Node operator[](int index) native "NamedNodeMap_item_Callback";
- void operator[]=(int index, Gamepad value) {
+ void operator[]=(int index, Node value) {
throw new UnsupportedError("Cannot assign element of immutable List.");
}
- // -- start List<Gamepad> mixins.
- // Gamepad is the element type.
+ // -- start List<Node> mixins.
+ // Node is the element type.
- // From Iterable<Gamepad>:
+ // From Iterable<Node>:
- Iterator<Gamepad> get iterator {
+ Iterator<Node> get iterator {
// Note: NodeLists are not fixed size. And most probably length shouldn't
// be cached in both iterator _and_ forEach method. For now caching it
// for consistency.
- return new FixedSizeListIterator<Gamepad>(this);
+ return new FixedSizeListIterator<Node>(this);
}
- dynamic reduce(dynamic initialValue, dynamic combine(dynamic, Gamepad)) {
+ dynamic reduce(dynamic initialValue, dynamic combine(dynamic, Node)) {
return IterableMixinWorkaround.reduce(this, initialValue, combine);
}
- bool contains(Gamepad element) => IterableMixinWorkaround.contains(this, element);
+ bool contains(Node element) => IterableMixinWorkaround.contains(this, element);
- void forEach(void f(Gamepad element)) => IterableMixinWorkaround.forEach(this, f);
+ void forEach(void f(Node element)) => IterableMixinWorkaround.forEach(this, f);
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- Iterable map(f(Gamepad element)) =>
+ Iterable map(f(Node element)) =>
IterableMixinWorkaround.mapList(this, f);
- Iterable<Gamepad> where(bool f(Gamepad element)) =>
+ Iterable<Node> where(bool f(Node element)) =>
IterableMixinWorkaround.where(this, f);
- Iterable expand(Iterable f(Gamepad element)) =>
+ Iterable expand(Iterable f(Node element)) =>
IterableMixinWorkaround.expand(this, f);
- bool every(bool f(Gamepad element)) => IterableMixinWorkaround.every(this, f);
+ bool every(bool f(Node element)) => IterableMixinWorkaround.every(this, f);
- bool any(bool f(Gamepad element)) => IterableMixinWorkaround.any(this, f);
+ bool any(bool f(Node element)) => IterableMixinWorkaround.any(this, f);
- List<Gamepad> toList({ bool growable: true }) =>
- new List<Gamepad>.from(this, growable: growable);
+ List<Node> toList({ bool growable: true }) =>
+ new List<Node>.from(this, growable: growable);
- Set<Gamepad> toSet() => new Set<Gamepad>.from(this);
+ Set<Node> toSet() => new Set<Node>.from(this);
bool get isEmpty => this.length == 0;
- Iterable<Gamepad> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<Node> take(int n) => IterableMixinWorkaround.takeList(this, n);
- Iterable<Gamepad> takeWhile(bool test(Gamepad value)) {
+ Iterable<Node> takeWhile(bool test(Node value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- Iterable<Gamepad> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<Node> skip(int n) => IterableMixinWorkaround.skipList(this, n);
- Iterable<Gamepad> skipWhile(bool test(Gamepad value)) {
+ Iterable<Node> skipWhile(bool test(Node value)) {
return IterableMixinWorkaround.skipWhile(this, test);
}
- Gamepad firstWhere(bool test(Gamepad value), { Gamepad orElse() }) {
+ Node firstWhere(bool test(Node value), { Node orElse() }) {
return IterableMixinWorkaround.firstWhere(this, test, orElse);
}
- Gamepad lastWhere(bool test(Gamepad value), {Gamepad orElse()}) {
+ Node lastWhere(bool test(Node value), {Node orElse()}) {
return IterableMixinWorkaround.lastWhereList(this, test, orElse);
}
- Gamepad singleWhere(bool test(Gamepad value)) {
+ Node singleWhere(bool test(Node value)) {
return IterableMixinWorkaround.singleWhere(this, test);
}
- Gamepad elementAt(int index) {
+ Node elementAt(int index) {
return this[index];
}
- // From Collection<Gamepad>:
+ // From Collection<Node>:
- void add(Gamepad value) {
+ void add(Node value) {
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(Gamepad value) {
+ void addLast(Node value) {
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addAll(Iterable<Gamepad> iterable) {
+ void addAll(Iterable<Node> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
- // From List<Gamepad>:
+ // From List<Node>:
void set length(int value) {
throw new UnsupportedError("Cannot resize immutable List.");
}
@@ -31431,53 +31347,53 @@ class _GamepadList extends NativeFieldWrapperClass1 implements List<Gamepad> {
throw new UnsupportedError("Cannot clear immutable List.");
}
- Iterable<Gamepad> get reversed {
+ Iterable<Node> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
- void sort([int compare(Gamepad a, Gamepad b)]) {
+ void sort([int compare(Node a, Node b)]) {
throw new UnsupportedError("Cannot sort immutable List.");
}
- int indexOf(Gamepad element, [int start = 0]) =>
+ int indexOf(Node element, [int start = 0]) =>
Lists.indexOf(this, element, start, this.length);
- int lastIndexOf(Gamepad element, [int start]) {
+ int lastIndexOf(Node element, [int start]) {
if (start == null) start = length - 1;
return Lists.lastIndexOf(this, element, start);
}
- Gamepad get first {
+ Node get first {
if (this.length > 0) return this[0];
throw new StateError("No elements");
}
- Gamepad get last {
+ Node get last {
if (this.length > 0) return this[this.length - 1];
throw new StateError("No elements");
}
- Gamepad get single {
+ Node get single {
if (length == 1) return this[0];
if (length == 0) throw new StateError("No elements");
throw new StateError("More than one element");
}
- Gamepad min([int compare(Gamepad a, Gamepad b)]) =>
+ Node min([int compare(Node a, Node b)]) =>
IterableMixinWorkaround.min(this, compare);
- Gamepad max([int compare(Gamepad a, Gamepad b)]) =>
+ Node max([int compare(Node a, Node b)]) =>
IterableMixinWorkaround.max(this, compare);
- void insert(int index, Gamepad element) {
+ void insert(int index, Node element) {
throw new UnsupportedError("Cannot add to immutable List.");
}
- Gamepad removeAt(int pos) {
+ Node removeAt(int pos) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
- Gamepad removeLast() {
+ Node removeLast() {
throw new UnsupportedError("Cannot remove from immutable List.");
}
@@ -31493,15 +31409,15 @@ class _GamepadList extends NativeFieldWrapperClass1 implements List<Gamepad> {
throw new UnsupportedError("Cannot remove from immutable List.");
}
- void removeWhere(bool test(Gamepad element)) {
+ void removeWhere(bool test(Node element)) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
- void retainWhere(bool test(Gamepad element)) {
+ void retainWhere(bool test(Node element)) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
- void setRange(int start, int rangeLength, List<Gamepad> from, [int startFrom]) {
+ void setRange(int start, int rangeLength, List<Node> from, [int startFrom]) {
throw new UnsupportedError("Cannot setRange on immutable List.");
}
@@ -31509,65 +31425,50 @@ class _GamepadList extends NativeFieldWrapperClass1 implements List<Gamepad> {
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
- void insertRange(int start, int rangeLength, [Gamepad initialValue]) {
+ void insertRange(int start, int rangeLength, [Node initialValue]) {
throw new UnsupportedError("Cannot insertRange on immutable List.");
}
- List<Gamepad> sublist(int start, [int end]) {
+ List<Node> sublist(int start, [int end]) {
if (end == null) end = length;
- return Lists.getRange(this, start, end, <Gamepad>[]);
+ return Lists.getRange(this, start, end, <Node>[]);
}
- List<Gamepad> getRange(int start, int rangeLength) =>
+ List<Node> getRange(int start, int rangeLength) =>
sublist(start, start + rangeLength);
- Map<int, Gamepad> asMap() =>
+ Map<int, Node> asMap() =>
IterableMixinWorkaround.asMapList(this);
- // -- end List<Gamepad> mixins.
+ // -- end List<Node> mixins.
- @DomName('GamepadList.item')
+ @DomName('NamedNodeMap.getNamedItem')
@DocsEditable
- Gamepad item(int index) native "GamepadList_item_Callback";
-
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-// WARNING: Do not edit - generated code.
-
-
-@DocsEditable
-@DomName('HTMLAppletElement')
-class _HTMLAppletElement extends _Element_Merged {
- _HTMLAppletElement.internal() : super.internal();
-
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-// WARNING: Do not edit - generated code.
+ Node getNamedItem(String name) native "NamedNodeMap_getNamedItem_Callback";
+ @DomName('NamedNodeMap.getNamedItemNS')
+ @DocsEditable
+ Node getNamedItemNS(String namespaceURI, String localName) native "NamedNodeMap_getNamedItemNS_Callback";
-@DocsEditable
-@DomName('HTMLBaseFontElement')
-class _HTMLBaseFontElement extends _Element_Merged {
- _HTMLBaseFontElement.internal() : super.internal();
+ @DomName('NamedNodeMap.item')
+ @DocsEditable
+ Node item(int index) native "NamedNodeMap_item_Callback";
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
+ @DomName('NamedNodeMap.removeNamedItem')
+ @DocsEditable
+ Node removeNamedItem(String name) native "NamedNodeMap_removeNamedItem_Callback";
-// WARNING: Do not edit - generated code.
+ @DomName('NamedNodeMap.removeNamedItemNS')
+ @DocsEditable
+ Node removeNamedItemNS(String namespaceURI, String localName) native "NamedNodeMap_removeNamedItemNS_Callback";
+ @DomName('NamedNodeMap.setNamedItem')
+ @DocsEditable
+ Node setNamedItem(Node node) native "NamedNodeMap_setNamedItem_Callback";
-@DocsEditable
-@DomName('HTMLDirectoryElement')
-class _HTMLDirectoryElement extends _Element_Merged {
- _HTMLDirectoryElement.internal() : super.internal();
+ @DomName('NamedNodeMap.setNamedItemNS')
+ @DocsEditable
+ Node setNamedItemNS(Node node) native "NamedNodeMap_setNamedItemNS_Callback";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -31578,22 +31479,21 @@ class _HTMLDirectoryElement extends _Element_Merged {
@DocsEditable
-@DomName('HTMLFontElement')
-class _HTMLFontElement extends _Element_Merged {
- _HTMLFontElement.internal() : super.internal();
-
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
+@DomName('RGBColor')
+class _RGBColor extends NativeFieldWrapperClass1 {
+ _RGBColor.internal();
-// WARNING: Do not edit - generated code.
+ @DomName('RGBColor.blue')
+ @DocsEditable
+ _CSSPrimitiveValue get blue native "RGBColor_blue_Getter";
+ @DomName('RGBColor.green')
+ @DocsEditable
+ _CSSPrimitiveValue get green native "RGBColor_green_Getter";
-@DocsEditable
-@DomName('HTMLFrameElement')
-class _HTMLFrameElement extends _Element_Merged {
- _HTMLFrameElement.internal() : super.internal();
+ @DomName('RGBColor.red')
+ @DocsEditable
+ _CSSPrimitiveValue get red native "RGBColor_red_Getter";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -31604,22 +31504,25 @@ class _HTMLFrameElement extends _Element_Merged {
@DocsEditable
-@DomName('HTMLFrameSetElement')
-class _HTMLFrameSetElement extends _Element_Merged {
- _HTMLFrameSetElement.internal() : super.internal();
+@DomName('Rect')
+class _Rect extends NativeFieldWrapperClass1 {
+ _Rect.internal();
-}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
+ @DomName('Rect.bottom')
+ @DocsEditable
+ _CSSPrimitiveValue get bottom native "Rect_bottom_Getter";
-// WARNING: Do not edit - generated code.
+ @DomName('Rect.left')
+ @DocsEditable
+ _CSSPrimitiveValue get left native "Rect_left_Getter";
+ @DomName('Rect.right')
+ @DocsEditable
+ _CSSPrimitiveValue get right native "Rect_right_Getter";
-@DocsEditable
-@DomName('HTMLMarqueeElement')
-class _HTMLMarqueeElement extends _Element_Merged {
- _HTMLMarqueeElement.internal() : super.internal();
+ @DomName('Rect.top')
+ @DocsEditable
+ _CSSPrimitiveValue get top native "Rect_top_Getter";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -31630,105 +31533,105 @@ class _HTMLMarqueeElement extends _Element_Merged {
@DocsEditable
-@DomName('NamedNodeMap')
-class _NamedNodeMap extends NativeFieldWrapperClass1 implements List<Node> {
- _NamedNodeMap.internal();
+@DomName('SpeechInputResultList')
+class _SpeechInputResultList extends NativeFieldWrapperClass1 implements List<SpeechInputResult> {
+ _SpeechInputResultList.internal();
- @DomName('NamedNodeMap.length')
+ @DomName('SpeechInputResultList.length')
@DocsEditable
- int get length native "NamedNodeMap_length_Getter";
+ int get length native "SpeechInputResultList_length_Getter";
- Node operator[](int index) native "NamedNodeMap_item_Callback";
+ SpeechInputResult operator[](int index) native "SpeechInputResultList_item_Callback";
- void operator[]=(int index, Node value) {
+ void operator[]=(int index, SpeechInputResult value) {
throw new UnsupportedError("Cannot assign element of immutable List.");
}
- // -- start List<Node> mixins.
- // Node is the element type.
+ // -- start List<SpeechInputResult> mixins.
+ // SpeechInputResult is the element type.
- // From Iterable<Node>:
+ // From Iterable<SpeechInputResult>:
- Iterator<Node> get iterator {
+ Iterator<SpeechInputResult> get iterator {
// Note: NodeLists are not fixed size. And most probably length shouldn't
// be cached in both iterator _and_ forEach method. For now caching it
// for consistency.
- return new FixedSizeListIterator<Node>(this);
+ return new FixedSizeListIterator<SpeechInputResult>(this);
}
- dynamic reduce(dynamic initialValue, dynamic combine(dynamic, Node)) {
+ dynamic reduce(dynamic initialValue, dynamic combine(dynamic, SpeechInputResult)) {
return IterableMixinWorkaround.reduce(this, initialValue, combine);
}
- bool contains(Node element) => IterableMixinWorkaround.contains(this, element);
+ bool contains(SpeechInputResult element) => IterableMixinWorkaround.contains(this, element);
- void forEach(void f(Node element)) => IterableMixinWorkaround.forEach(this, f);
+ void forEach(void f(SpeechInputResult element)) => IterableMixinWorkaround.forEach(this, f);
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- Iterable map(f(Node element)) =>
+ Iterable map(f(SpeechInputResult element)) =>
IterableMixinWorkaround.mapList(this, f);
- Iterable<Node> where(bool f(Node element)) =>
+ Iterable<SpeechInputResult> where(bool f(SpeechInputResult element)) =>
IterableMixinWorkaround.where(this, f);
- Iterable expand(Iterable f(Node element)) =>
+ Iterable expand(Iterable f(SpeechInputResult element)) =>
IterableMixinWorkaround.expand(this, f);
- bool every(bool f(Node element)) => IterableMixinWorkaround.every(this, f);
+ bool every(bool f(SpeechInputResult element)) => IterableMixinWorkaround.every(this, f);
- bool any(bool f(Node element)) => IterableMixinWorkaround.any(this, f);
+ bool any(bool f(SpeechInputResult element)) => IterableMixinWorkaround.any(this, f);
- List<Node> toList({ bool growable: true }) =>
- new List<Node>.from(this, growable: growable);
+ List<SpeechInputResult> toList({ bool growable: true }) =>
+ new List<SpeechInputResult>.from(this, growable: growable);
- Set<Node> toSet() => new Set<Node>.from(this);
+ Set<SpeechInputResult> toSet() => new Set<SpeechInputResult>.from(this);
bool get isEmpty => this.length == 0;
- Iterable<Node> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<SpeechInputResult> take(int n) => IterableMixinWorkaround.takeList(this, n);
- Iterable<Node> takeWhile(bool test(Node value)) {
+ Iterable<SpeechInputResult> takeWhile(bool test(SpeechInputResult value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- Iterable<Node> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<SpeechInputResult> skip(int n) => IterableMixinWorkaround.skipList(this, n);
- Iterable<Node> skipWhile(bool test(Node value)) {
+ Iterable<SpeechInputResult> skipWhile(bool test(SpeechInputResult value)) {
return IterableMixinWorkaround.skipWhile(this, test);
}
- Node firstWhere(bool test(Node value), { Node orElse() }) {
+ SpeechInputResult firstWhere(bool test(SpeechInputResult value), { SpeechInputResult orElse() }) {
return IterableMixinWorkaround.firstWhere(this, test, orElse);
}
- Node lastWhere(bool test(Node value), {Node orElse()}) {
+ SpeechInputResult lastWhere(bool test(SpeechInputResult value), {SpeechInputResult orElse()}) {
return IterableMixinWorkaround.lastWhereList(this, test, orElse);
}
- Node singleWhere(bool test(Node value)) {
+ SpeechInputResult singleWhere(bool test(SpeechInputResult value)) {
return IterableMixinWorkaround.singleWhere(this, test);
}
- Node elementAt(int index) {
+ SpeechInputResult elementAt(int index) {
return this[index];
}
- // From Collection<Node>:
+ // From Collection<SpeechInputResult>:
- void add(Node value) {
+ void add(SpeechInputResult value) {
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(Node value) {
+ void addLast(SpeechInputResult value) {
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addAll(Iterable<Node> iterable) {
+ void addAll(Iterable<SpeechInputResult> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
- // From List<Node>:
+ // From List<SpeechInputResult>:
void set length(int value) {
throw new UnsupportedError("Cannot resize immutable List.");
}
@@ -31737,53 +31640,53 @@ class _NamedNodeMap extends NativeFieldWrapperClass1 implements List<Node> {
throw new UnsupportedError("Cannot clear immutable List.");
}
- Iterable<Node> get reversed {
+ Iterable<SpeechInputResult> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
- void sort([int compare(Node a, Node b)]) {
+ void sort([int compare(SpeechInputResult a, SpeechInputResult b)]) {
throw new UnsupportedError("Cannot sort immutable List.");
}
- int indexOf(Node element, [int start = 0]) =>
+ int indexOf(SpeechInputResult element, [int start = 0]) =>
Lists.indexOf(this, element, start, this.length);
- int lastIndexOf(Node element, [int start]) {
+ int lastIndexOf(SpeechInputResult element, [int start]) {
if (start == null) start = length - 1;
return Lists.lastIndexOf(this, element, start);
}
- Node get first {
+ SpeechInputResult get first {
if (this.length > 0) return this[0];
throw new StateError("No elements");
}
- Node get last {
+ SpeechInputResult get last {
if (this.length > 0) return this[this.length - 1];
throw new StateError("No elements");
}
- Node get single {
+ SpeechInputResult get single {
if (length == 1) return this[0];
if (length == 0) throw new StateError("No elements");
throw new StateError("More than one element");
}
- Node min([int compare(Node a, Node b)]) =>
+ SpeechInputResult min([int compare(SpeechInputResult a, SpeechInputResult b)]) =>
IterableMixinWorkaround.min(this, compare);
- Node max([int compare(Node a, Node b)]) =>
+ SpeechInputResult max([int compare(SpeechInputResult a, SpeechInputResult b)]) =>
IterableMixinWorkaround.max(this, compare);
- void insert(int index, Node element) {
+ void insert(int index, SpeechInputResult element) {
throw new UnsupportedError("Cannot add to immutable List.");
}
- Node removeAt(int pos) {
+ SpeechInputResult removeAt(int pos) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
- Node removeLast() {
+ SpeechInputResult removeLast() {
throw new UnsupportedError("Cannot remove from immutable List.");
}
@@ -31799,15 +31702,15 @@ class _NamedNodeMap extends NativeFieldWrapperClass1 implements List<Node> {
throw new UnsupportedError("Cannot remove from immutable List.");
}
- void removeWhere(bool test(Node element)) {
+ void removeWhere(bool test(SpeechInputResult element)) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
- void retainWhere(bool test(Node element)) {
+ void retainWhere(bool test(SpeechInputResult element)) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
- void setRange(int start, int rangeLength, List<Node> from, [int startFrom]) {
+ void setRange(int start, int rangeLength, List<SpeechInputResult> from, [int startFrom]) {
throw new UnsupportedError("Cannot setRange on immutable List.");
}
@@ -31815,50 +31718,26 @@ class _NamedNodeMap extends NativeFieldWrapperClass1 implements List<Node> {
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
- void insertRange(int start, int rangeLength, [Node initialValue]) {
+ void insertRange(int start, int rangeLength, [SpeechInputResult initialValue]) {
throw new UnsupportedError("Cannot insertRange on immutable List.");
}
- List<Node> sublist(int start, [int end]) {
+ List<SpeechInputResult> sublist(int start, [int end]) {
if (end == null) end = length;
- return Lists.getRange(this, start, end, <Node>[]);
+ return Lists.getRange(this, start, end, <SpeechInputResult>[]);
}
- List<Node> getRange(int start, int rangeLength) =>
+ List<SpeechInputResult> getRange(int start, int rangeLength) =>
sublist(start, start + rangeLength);
- Map<int, Node> asMap() =>
+ Map<int, SpeechInputResult> asMap() =>
IterableMixinWorkaround.asMapList(this);
- // -- end List<Node> mixins.
-
- @DomName('NamedNodeMap.getNamedItem')
- @DocsEditable
- Node getNamedItem(String name) native "NamedNodeMap_getNamedItem_Callback";
-
- @DomName('NamedNodeMap.getNamedItemNS')
- @DocsEditable
- Node getNamedItemNS(String namespaceURI, String localName) native "NamedNodeMap_getNamedItemNS_Callback";
-
- @DomName('NamedNodeMap.item')
- @DocsEditable
- Node item(int index) native "NamedNodeMap_item_Callback";
-
- @DomName('NamedNodeMap.removeNamedItem')
- @DocsEditable
- Node removeNamedItem(String name) native "NamedNodeMap_removeNamedItem_Callback";
-
- @DomName('NamedNodeMap.removeNamedItemNS')
- @DocsEditable
- Node removeNamedItemNS(String namespaceURI, String localName) native "NamedNodeMap_removeNamedItemNS_Callback";
-
- @DomName('NamedNodeMap.setNamedItem')
- @DocsEditable
- Node setNamedItem(Node node) native "NamedNodeMap_setNamedItem_Callback";
+ // -- end List<SpeechInputResult> mixins.
- @DomName('NamedNodeMap.setNamedItemNS')
+ @DomName('SpeechInputResultList.item')
@DocsEditable
- Node setNamedItemNS(Node node) native "NamedNodeMap_setNamedItemNS_Callback";
+ SpeechInputResult item(int index) native "SpeechInputResultList_item_Callback";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -31869,105 +31748,105 @@ class _NamedNodeMap extends NativeFieldWrapperClass1 implements List<Node> {
@DocsEditable
-@DomName('SpeechInputResultList')
-class _SpeechInputResultList extends NativeFieldWrapperClass1 implements List<SpeechInputResult> {
- _SpeechInputResultList.internal();
+@DomName('SpeechRecognitionResultList')
+class _SpeechRecognitionResultList extends NativeFieldWrapperClass1 implements List<SpeechRecognitionResult> {
+ _SpeechRecognitionResultList.internal();
- @DomName('SpeechInputResultList.length')
+ @DomName('SpeechRecognitionResultList.length')
@DocsEditable
- int get length native "SpeechInputResultList_length_Getter";
+ int get length native "SpeechRecognitionResultList_length_Getter";
- SpeechInputResult operator[](int index) native "SpeechInputResultList_item_Callback";
+ SpeechRecognitionResult operator[](int index) native "SpeechRecognitionResultList_item_Callback";
- void operator[]=(int index, SpeechInputResult value) {
+ void operator[]=(int index, SpeechRecognitionResult value) {
throw new UnsupportedError("Cannot assign element of immutable List.");
}
- // -- start List<SpeechInputResult> mixins.
- // SpeechInputResult is the element type.
+ // -- start List<SpeechRecognitionResult> mixins.
+ // SpeechRecognitionResult is the element type.
- // From Iterable<SpeechInputResult>:
+ // From Iterable<SpeechRecognitionResult>:
- Iterator<SpeechInputResult> get iterator {
+ Iterator<SpeechRecognitionResult> get iterator {
// Note: NodeLists are not fixed size. And most probably length shouldn't
// be cached in both iterator _and_ forEach method. For now caching it
// for consistency.
- return new FixedSizeListIterator<SpeechInputResult>(this);
+ return new FixedSizeListIterator<SpeechRecognitionResult>(this);
}
- dynamic reduce(dynamic initialValue, dynamic combine(dynamic, SpeechInputResult)) {
+ dynamic reduce(dynamic initialValue, dynamic combine(dynamic, SpeechRecognitionResult)) {
return IterableMixinWorkaround.reduce(this, initialValue, combine);
}
- bool contains(SpeechInputResult element) => IterableMixinWorkaround.contains(this, element);
+ bool contains(SpeechRecognitionResult element) => IterableMixinWorkaround.contains(this, element);
- void forEach(void f(SpeechInputResult element)) => IterableMixinWorkaround.forEach(this, f);
+ void forEach(void f(SpeechRecognitionResult element)) => IterableMixinWorkaround.forEach(this, f);
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- Iterable map(f(SpeechInputResult element)) =>
+ Iterable map(f(SpeechRecognitionResult element)) =>
IterableMixinWorkaround.mapList(this, f);
- Iterable<SpeechInputResult> where(bool f(SpeechInputResult element)) =>
+ Iterable<SpeechRecognitionResult> where(bool f(SpeechRecognitionResult element)) =>
IterableMixinWorkaround.where(this, f);
- Iterable expand(Iterable f(SpeechInputResult element)) =>
+ Iterable expand(Iterable f(SpeechRecognitionResult element)) =>
IterableMixinWorkaround.expand(this, f);
- bool every(bool f(SpeechInputResult element)) => IterableMixinWorkaround.every(this, f);
+ bool every(bool f(SpeechRecognitionResult element)) => IterableMixinWorkaround.every(this, f);
- bool any(bool f(SpeechInputResult element)) => IterableMixinWorkaround.any(this, f);
+ bool any(bool f(SpeechRecognitionResult element)) => IterableMixinWorkaround.any(this, f);
- List<SpeechInputResult> toList({ bool growable: true }) =>
- new List<SpeechInputResult>.from(this, growable: growable);
+ List<SpeechRecognitionResult> toList({ bool growable: true }) =>
+ new List<SpeechRecognitionResult>.from(this, growable: growable);
- Set<SpeechInputResult> toSet() => new Set<SpeechInputResult>.from(this);
+ Set<SpeechRecognitionResult> toSet() => new Set<SpeechRecognitionResult>.from(this);
bool get isEmpty => this.length == 0;
- Iterable<SpeechInputResult> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<SpeechRecognitionResult> take(int n) => IterableMixinWorkaround.takeList(this, n);
- Iterable<SpeechInputResult> takeWhile(bool test(SpeechInputResult value)) {
+ Iterable<SpeechRecognitionResult> takeWhile(bool test(SpeechRecognitionResult value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- Iterable<SpeechInputResult> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<SpeechRecognitionResult> skip(int n) => IterableMixinWorkaround.skipList(this, n);
- Iterable<SpeechInputResult> skipWhile(bool test(SpeechInputResult value)) {
+ Iterable<SpeechRecognitionResult> skipWhile(bool test(SpeechRecognitionResult value)) {
return IterableMixinWorkaround.skipWhile(this, test);
}
- SpeechInputResult firstWhere(bool test(SpeechInputResult value), { SpeechInputResult orElse() }) {
+ SpeechRecognitionResult firstWhere(bool test(SpeechRecognitionResult value), { SpeechRecognitionResult orElse() }) {
return IterableMixinWorkaround.firstWhere(this, test, orElse);
}
- SpeechInputResult lastWhere(bool test(SpeechInputResult value), {SpeechInputResult orElse()}) {
+ SpeechRecognitionResult lastWhere(bool test(SpeechRecognitionResult value), {SpeechRecognitionResult orElse()}) {
return IterableMixinWorkaround.lastWhereList(this, test, orElse);
}
- SpeechInputResult singleWhere(bool test(SpeechInputResult value)) {
+ SpeechRecognitionResult singleWhere(bool test(SpeechRecognitionResult value)) {
return IterableMixinWorkaround.singleWhere(this, test);
}
- SpeechInputResult elementAt(int index) {
+ SpeechRecognitionResult elementAt(int index) {
return this[index];
}
- // From Collection<SpeechInputResult>:
+ // From Collection<SpeechRecognitionResult>:
- void add(SpeechInputResult value) {
+ void add(SpeechRecognitionResult value) {
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(SpeechInputResult value) {
+ void addLast(SpeechRecognitionResult value) {
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addAll(Iterable<SpeechInputResult> iterable) {
+ void addAll(Iterable<SpeechRecognitionResult> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
- // From List<SpeechInputResult>:
+ // From List<SpeechRecognitionResult>:
void set length(int value) {
throw new UnsupportedError("Cannot resize immutable List.");
}
@@ -31976,53 +31855,53 @@ class _SpeechInputResultList extends NativeFieldWrapperClass1 implements List<Sp
throw new UnsupportedError("Cannot clear immutable List.");
}
- Iterable<SpeechInputResult> get reversed {
+ Iterable<SpeechRecognitionResult> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
- void sort([int compare(SpeechInputResult a, SpeechInputResult b)]) {
+ void sort([int compare(SpeechRecognitionResult a, SpeechRecognitionResult b)]) {
throw new UnsupportedError("Cannot sort immutable List.");
}
- int indexOf(SpeechInputResult element, [int start = 0]) =>
+ int indexOf(SpeechRecognitionResult element, [int start = 0]) =>
Lists.indexOf(this, element, start, this.length);
- int lastIndexOf(SpeechInputResult element, [int start]) {
+ int lastIndexOf(SpeechRecognitionResult element, [int start]) {
if (start == null) start = length - 1;
return Lists.lastIndexOf(this, element, start);
}
- SpeechInputResult get first {
+ SpeechRecognitionResult get first {
if (this.length > 0) return this[0];
throw new StateError("No elements");
}
- SpeechInputResult get last {
+ SpeechRecognitionResult get last {
if (this.length > 0) return this[this.length - 1];
throw new StateError("No elements");
}
- SpeechInputResult get single {
+ SpeechRecognitionResult get single {
if (length == 1) return this[0];
if (length == 0) throw new StateError("No elements");
throw new StateError("More than one element");
}
- SpeechInputResult min([int compare(SpeechInputResult a, SpeechInputResult b)]) =>
+ SpeechRecognitionResult min([int compare(SpeechRecognitionResult a, SpeechRecognitionResult b)]) =>
IterableMixinWorkaround.min(this, compare);
- SpeechInputResult max([int compare(SpeechInputResult a, SpeechInputResult b)]) =>
+ SpeechRecognitionResult max([int compare(SpeechRecognitionResult a, SpeechRecognitionResult b)]) =>
IterableMixinWorkaround.max(this, compare);
- void insert(int index, SpeechInputResult element) {
+ void insert(int index, SpeechRecognitionResult element) {
throw new UnsupportedError("Cannot add to immutable List.");
}
- SpeechInputResult removeAt(int pos) {
+ SpeechRecognitionResult removeAt(int pos) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
- SpeechInputResult removeLast() {
+ SpeechRecognitionResult removeLast() {
throw new UnsupportedError("Cannot remove from immutable List.");
}
@@ -32038,15 +31917,15 @@ class _SpeechInputResultList extends NativeFieldWrapperClass1 implements List<Sp
throw new UnsupportedError("Cannot remove from immutable List.");
}
- void removeWhere(bool test(SpeechInputResult element)) {
+ void removeWhere(bool test(SpeechRecognitionResult element)) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
- void retainWhere(bool test(SpeechInputResult element)) {
+ void retainWhere(bool test(SpeechRecognitionResult element)) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
- void setRange(int start, int rangeLength, List<SpeechInputResult> from, [int startFrom]) {
+ void setRange(int start, int rangeLength, List<SpeechRecognitionResult> from, [int startFrom]) {
throw new UnsupportedError("Cannot setRange on immutable List.");
}
@@ -32054,26 +31933,26 @@ class _SpeechInputResultList extends NativeFieldWrapperClass1 implements List<Sp
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
- void insertRange(int start, int rangeLength, [SpeechInputResult initialValue]) {
+ void insertRange(int start, int rangeLength, [SpeechRecognitionResult initialValue]) {
throw new UnsupportedError("Cannot insertRange on immutable List.");
}
- List<SpeechInputResult> sublist(int start, [int end]) {
+ List<SpeechRecognitionResult> sublist(int start, [int end]) {
if (end == null) end = length;
- return Lists.getRange(this, start, end, <SpeechInputResult>[]);
+ return Lists.getRange(this, start, end, <SpeechRecognitionResult>[]);
}
- List<SpeechInputResult> getRange(int start, int rangeLength) =>
+ List<SpeechRecognitionResult> getRange(int start, int rangeLength) =>
sublist(start, start + rangeLength);
- Map<int, SpeechInputResult> asMap() =>
+ Map<int, SpeechRecognitionResult> asMap() =>
IterableMixinWorkaround.asMapList(this);
- // -- end List<SpeechInputResult> mixins.
+ // -- end List<SpeechRecognitionResult> mixins.
- @DomName('SpeechInputResultList.item')
+ @DomName('SpeechRecognitionResultList.item')
@DocsEditable
- SpeechInputResult item(int index) native "SpeechInputResultList_item_Callback";
+ SpeechRecognitionResult item(int index) native "SpeechRecognitionResultList_item_Callback";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -32084,105 +31963,105 @@ class _SpeechInputResultList extends NativeFieldWrapperClass1 implements List<Sp
@DocsEditable
-@DomName('SpeechRecognitionResultList')
-class _SpeechRecognitionResultList extends NativeFieldWrapperClass1 implements List<SpeechRecognitionResult> {
- _SpeechRecognitionResultList.internal();
+@DomName('StyleSheetList')
+class _StyleSheetList extends NativeFieldWrapperClass1 implements List<StyleSheet> {
+ _StyleSheetList.internal();
- @DomName('SpeechRecognitionResultList.length')
+ @DomName('StyleSheetList.length')
@DocsEditable
- int get length native "SpeechRecognitionResultList_length_Getter";
+ int get length native "StyleSheetList_length_Getter";
- SpeechRecognitionResult operator[](int index) native "SpeechRecognitionResultList_item_Callback";
+ StyleSheet operator[](int index) native "StyleSheetList_item_Callback";
- void operator[]=(int index, SpeechRecognitionResult value) {
+ void operator[]=(int index, StyleSheet value) {
throw new UnsupportedError("Cannot assign element of immutable List.");
}
- // -- start List<SpeechRecognitionResult> mixins.
- // SpeechRecognitionResult is the element type.
+ // -- start List<StyleSheet> mixins.
+ // StyleSheet is the element type.
- // From Iterable<SpeechRecognitionResult>:
+ // From Iterable<StyleSheet>:
- Iterator<SpeechRecognitionResult> get iterator {
+ Iterator<StyleSheet> get iterator {
// Note: NodeLists are not fixed size. And most probably length shouldn't
// be cached in both iterator _and_ forEach method. For now caching it
// for consistency.
- return new FixedSizeListIterator<SpeechRecognitionResult>(this);
+ return new FixedSizeListIterator<StyleSheet>(this);
}
- dynamic reduce(dynamic initialValue, dynamic combine(dynamic, SpeechRecognitionResult)) {
+ dynamic reduce(dynamic initialValue, dynamic combine(dynamic, StyleSheet)) {
return IterableMixinWorkaround.reduce(this, initialValue, combine);
}
- bool contains(SpeechRecognitionResult element) => IterableMixinWorkaround.contains(this, element);
+ bool contains(StyleSheet element) => IterableMixinWorkaround.contains(this, element);
- void forEach(void f(SpeechRecognitionResult element)) => IterableMixinWorkaround.forEach(this, f);
+ void forEach(void f(StyleSheet element)) => IterableMixinWorkaround.forEach(this, f);
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- Iterable map(f(SpeechRecognitionResult element)) =>
+ Iterable map(f(StyleSheet element)) =>
IterableMixinWorkaround.mapList(this, f);
- Iterable<SpeechRecognitionResult> where(bool f(SpeechRecognitionResult element)) =>
+ Iterable<StyleSheet> where(bool f(StyleSheet element)) =>
IterableMixinWorkaround.where(this, f);
- Iterable expand(Iterable f(SpeechRecognitionResult element)) =>
+ Iterable expand(Iterable f(StyleSheet element)) =>
IterableMixinWorkaround.expand(this, f);
- bool every(bool f(SpeechRecognitionResult element)) => IterableMixinWorkaround.every(this, f);
+ bool every(bool f(StyleSheet element)) => IterableMixinWorkaround.every(this, f);
- bool any(bool f(SpeechRecognitionResult element)) => IterableMixinWorkaround.any(this, f);
+ bool any(bool f(StyleSheet element)) => IterableMixinWorkaround.any(this, f);
- List<SpeechRecognitionResult> toList({ bool growable: true }) =>
- new List<SpeechRecognitionResult>.from(this, growable: growable);
+ List<StyleSheet> toList({ bool growable: true }) =>
+ new List<StyleSheet>.from(this, growable: growable);
- Set<SpeechRecognitionResult> toSet() => new Set<SpeechRecognitionResult>.from(this);
+ Set<StyleSheet> toSet() => new Set<StyleSheet>.from(this);
bool get isEmpty => this.length == 0;
- Iterable<SpeechRecognitionResult> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<StyleSheet> take(int n) => IterableMixinWorkaround.takeList(this, n);
- Iterable<SpeechRecognitionResult> takeWhile(bool test(SpeechRecognitionResult value)) {
+ Iterable<StyleSheet> takeWhile(bool test(StyleSheet value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- Iterable<SpeechRecognitionResult> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<StyleSheet> skip(int n) => IterableMixinWorkaround.skipList(this, n);
- Iterable<SpeechRecognitionResult> skipWhile(bool test(SpeechRecognitionResult value)) {
+ Iterable<StyleSheet> skipWhile(bool test(StyleSheet value)) {
return IterableMixinWorkaround.skipWhile(this, test);
}
- SpeechRecognitionResult firstWhere(bool test(SpeechRecognitionResult value), { SpeechRecognitionResult orElse() }) {
+ StyleSheet firstWhere(bool test(StyleSheet value), { StyleSheet orElse() }) {
return IterableMixinWorkaround.firstWhere(this, test, orElse);
}
- SpeechRecognitionResult lastWhere(bool test(SpeechRecognitionResult value), {SpeechRecognitionResult orElse()}) {
+ StyleSheet lastWhere(bool test(StyleSheet value), {StyleSheet orElse()}) {
return IterableMixinWorkaround.lastWhereList(this, test, orElse);
}
- SpeechRecognitionResult singleWhere(bool test(SpeechRecognitionResult value)) {
+ StyleSheet singleWhere(bool test(StyleSheet value)) {
return IterableMixinWorkaround.singleWhere(this, test);
}
- SpeechRecognitionResult elementAt(int index) {
+ StyleSheet elementAt(int index) {
return this[index];
}
- // From Collection<SpeechRecognitionResult>:
+ // From Collection<StyleSheet>:
- void add(SpeechRecognitionResult value) {
+ void add(StyleSheet value) {
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addLast(SpeechRecognitionResult value) {
+ void addLast(StyleSheet value) {
throw new UnsupportedError("Cannot add to immutable List.");
}
- void addAll(Iterable<SpeechRecognitionResult> iterable) {
+ void addAll(Iterable<StyleSheet> iterable) {
throw new UnsupportedError("Cannot add to immutable List.");
}
- // From List<SpeechRecognitionResult>:
+ // From List<StyleSheet>:
void set length(int value) {
throw new UnsupportedError("Cannot resize immutable List.");
}
@@ -32191,53 +32070,53 @@ class _SpeechRecognitionResultList extends NativeFieldWrapperClass1 implements L
throw new UnsupportedError("Cannot clear immutable List.");
}
- Iterable<SpeechRecognitionResult> get reversed {
+ Iterable<StyleSheet> get reversed {
return IterableMixinWorkaround.reversedList(this);
}
- void sort([int compare(SpeechRecognitionResult a, SpeechRecognitionResult b)]) {
+ void sort([int compare(StyleSheet a, StyleSheet b)]) {
throw new UnsupportedError("Cannot sort immutable List.");
}
- int indexOf(SpeechRecognitionResult element, [int start = 0]) =>
+ int indexOf(StyleSheet element, [int start = 0]) =>
Lists.indexOf(this, element, start, this.length);
- int lastIndexOf(SpeechRecognitionResult element, [int start]) {
+ int lastIndexOf(StyleSheet element, [int start]) {
if (start == null) start = length - 1;
return Lists.lastIndexOf(this, element, start);
}
- SpeechRecognitionResult get first {
+ StyleSheet get first {
if (this.length > 0) return this[0];
throw new StateError("No elements");
}
- SpeechRecognitionResult get last {
+ StyleSheet get last {
if (this.length > 0) return this[this.length - 1];
throw new StateError("No elements");
}
- SpeechRecognitionResult get single {
+ StyleSheet get single {
if (length == 1) return this[0];
if (length == 0) throw new StateError("No elements");
throw new StateError("More than one element");
}
- SpeechRecognitionResult min([int compare(SpeechRecognitionResult a, SpeechRecognitionResult b)]) =>
+ StyleSheet min([int compare(StyleSheet a, StyleSheet b)]) =>
IterableMixinWorkaround.min(this, compare);
- SpeechRecognitionResult max([int compare(SpeechRecognitionResult a, SpeechRecognitionResult b)]) =>
+ StyleSheet max([int compare(StyleSheet a, StyleSheet b)]) =>
IterableMixinWorkaround.max(this, compare);
- void insert(int index, SpeechRecognitionResult element) {
+ void insert(int index, StyleSheet element) {
throw new UnsupportedError("Cannot add to immutable List.");
}
- SpeechRecognitionResult removeAt(int pos) {
+ StyleSheet removeAt(int pos) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
- SpeechRecognitionResult removeLast() {
+ StyleSheet removeLast() {
throw new UnsupportedError("Cannot remove from immutable List.");
}
@@ -32253,15 +32132,15 @@ class _SpeechRecognitionResultList extends NativeFieldWrapperClass1 implements L
throw new UnsupportedError("Cannot remove from immutable List.");
}
- void removeWhere(bool test(SpeechRecognitionResult element)) {
+ void removeWhere(bool test(StyleSheet element)) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
- void retainWhere(bool test(SpeechRecognitionResult element)) {
+ void retainWhere(bool test(StyleSheet element)) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
- void setRange(int start, int rangeLength, List<SpeechRecognitionResult> from, [int startFrom]) {
+ void setRange(int start, int rangeLength, List<StyleSheet> from, [int startFrom]) {
throw new UnsupportedError("Cannot setRange on immutable List.");
}
@@ -32269,26 +32148,26 @@ class _SpeechRecognitionResultList extends NativeFieldWrapperClass1 implements L
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
- void insertRange(int start, int rangeLength, [SpeechRecognitionResult initialValue]) {
+ void insertRange(int start, int rangeLength, [StyleSheet initialValue]) {
throw new UnsupportedError("Cannot insertRange on immutable List.");
}
- List<SpeechRecognitionResult> sublist(int start, [int end]) {
+ List<StyleSheet> sublist(int start, [int end]) {
if (end == null) end = length;
- return Lists.getRange(this, start, end, <SpeechRecognitionResult>[]);
+ return Lists.getRange(this, start, end, <StyleSheet>[]);
}
- List<SpeechRecognitionResult> getRange(int start, int rangeLength) =>
+ List<StyleSheet> getRange(int start, int rangeLength) =>
sublist(start, start + rangeLength);
- Map<int, SpeechRecognitionResult> asMap() =>
+ Map<int, StyleSheet> asMap() =>
IterableMixinWorkaround.asMapList(this);
- // -- end List<SpeechRecognitionResult> mixins.
+ // -- end List<StyleSheet> mixins.
- @DomName('SpeechRecognitionResultList.item')
+ @DomName('StyleSheetList.item')
@DocsEditable
- SpeechRecognitionResult item(int index) native "SpeechRecognitionResultList_item_Callback";
+ StyleSheet item(int index) native "StyleSheetList_item_Callback";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -32299,211 +32178,350 @@ class _SpeechRecognitionResultList extends NativeFieldWrapperClass1 implements L
@DocsEditable
-@DomName('StyleSheetList')
-class _StyleSheetList extends NativeFieldWrapperClass1 implements List<StyleSheet> {
- _StyleSheetList.internal();
+@DomName('WebKitCSSFilterValue')
+class _WebKitCSSFilterValue extends _CssValueList {
+ _WebKitCSSFilterValue.internal() : super.internal();
+
+ static const int CSS_FILTER_BLUR = 10;
+
+ static const int CSS_FILTER_BRIGHTNESS = 8;
+
+ static const int CSS_FILTER_CONTRAST = 9;
+
+ static const int CSS_FILTER_CUSTOM = 12;
+
+ static const int CSS_FILTER_DROP_SHADOW = 11;
+
+ static const int CSS_FILTER_GRAYSCALE = 2;
+
+ static const int CSS_FILTER_HUE_ROTATE = 5;
+
+ static const int CSS_FILTER_INVERT = 6;
+
+ static const int CSS_FILTER_OPACITY = 7;
+
+ static const int CSS_FILTER_REFERENCE = 1;
+
+ static const int CSS_FILTER_SATURATE = 4;
+
+ static const int CSS_FILTER_SEPIA = 3;
+
+ @DomName('WebKitCSSFilterValue.operationType')
+ @DocsEditable
+ int get operationType native "WebKitCSSFilterValue_operationType_Getter";
+
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+// WARNING: Do not edit - generated code.
+
+
+@DocsEditable
+@DomName('WebKitCSSMatrix')
+@SupportedBrowser(SupportedBrowser.CHROME)
+@SupportedBrowser(SupportedBrowser.SAFARI)
+@Experimental
+class _WebKitCSSMatrix extends NativeFieldWrapperClass1 {
+ _WebKitCSSMatrix.internal();
+
+ @DomName('WebKitCSSMatrix.WebKitCSSMatrix')
+ @DocsEditable
+ factory _WebKitCSSMatrix([String cssValue]) {
+ return _WebKitCSSMatrix._create_1(cssValue);
+ }
+
+ @DocsEditable
+ static _WebKitCSSMatrix _create_1(cssValue) native "WebKitCSSMatrix__create_1constructorCallback";
+
+ @DomName('WebKitCSSMatrix.a')
+ @DocsEditable
+ num get a native "WebKitCSSMatrix_a_Getter";
+
+ @DomName('WebKitCSSMatrix.a')
+ @DocsEditable
+ void set a(num value) native "WebKitCSSMatrix_a_Setter";
+
+ @DomName('WebKitCSSMatrix.b')
+ @DocsEditable
+ num get b native "WebKitCSSMatrix_b_Getter";
+
+ @DomName('WebKitCSSMatrix.b')
+ @DocsEditable
+ void set b(num value) native "WebKitCSSMatrix_b_Setter";
+
+ @DomName('WebKitCSSMatrix.c')
+ @DocsEditable
+ num get c native "WebKitCSSMatrix_c_Getter";
+
+ @DomName('WebKitCSSMatrix.c')
+ @DocsEditable
+ void set c(num value) native "WebKitCSSMatrix_c_Setter";
+
+ @DomName('WebKitCSSMatrix.d')
+ @DocsEditable
+ num get d native "WebKitCSSMatrix_d_Getter";
+
+ @DomName('WebKitCSSMatrix.d')
+ @DocsEditable
+ void set d(num value) native "WebKitCSSMatrix_d_Setter";
+
+ @DomName('WebKitCSSMatrix.e')
+ @DocsEditable
+ num get e native "WebKitCSSMatrix_e_Getter";
+
+ @DomName('WebKitCSSMatrix.e')
+ @DocsEditable
+ void set e(num value) native "WebKitCSSMatrix_e_Setter";
+
+ @DomName('WebKitCSSMatrix.f')
+ @DocsEditable
+ num get f native "WebKitCSSMatrix_f_Getter";
+
+ @DomName('WebKitCSSMatrix.f')
+ @DocsEditable
+ void set f(num value) native "WebKitCSSMatrix_f_Setter";
+
+ @DomName('WebKitCSSMatrix.m11')
+ @DocsEditable
+ num get m11 native "WebKitCSSMatrix_m11_Getter";
+
+ @DomName('WebKitCSSMatrix.m11')
+ @DocsEditable
+ void set m11(num value) native "WebKitCSSMatrix_m11_Setter";
+
+ @DomName('WebKitCSSMatrix.m12')
+ @DocsEditable
+ num get m12 native "WebKitCSSMatrix_m12_Getter";
+
+ @DomName('WebKitCSSMatrix.m12')
+ @DocsEditable
+ void set m12(num value) native "WebKitCSSMatrix_m12_Setter";
+
+ @DomName('WebKitCSSMatrix.m13')
+ @DocsEditable
+ num get m13 native "WebKitCSSMatrix_m13_Getter";
+
+ @DomName('WebKitCSSMatrix.m13')
+ @DocsEditable
+ void set m13(num value) native "WebKitCSSMatrix_m13_Setter";
+
+ @DomName('WebKitCSSMatrix.m14')
+ @DocsEditable
+ num get m14 native "WebKitCSSMatrix_m14_Getter";
+
+ @DomName('WebKitCSSMatrix.m14')
+ @DocsEditable
+ void set m14(num value) native "WebKitCSSMatrix_m14_Setter";
+
+ @DomName('WebKitCSSMatrix.m21')
+ @DocsEditable
+ num get m21 native "WebKitCSSMatrix_m21_Getter";
+
+ @DomName('WebKitCSSMatrix.m21')
+ @DocsEditable
+ void set m21(num value) native "WebKitCSSMatrix_m21_Setter";
+
+ @DomName('WebKitCSSMatrix.m22')
+ @DocsEditable
+ num get m22 native "WebKitCSSMatrix_m22_Getter";
+
+ @DomName('WebKitCSSMatrix.m22')
+ @DocsEditable
+ void set m22(num value) native "WebKitCSSMatrix_m22_Setter";
+
+ @DomName('WebKitCSSMatrix.m23')
+ @DocsEditable
+ num get m23 native "WebKitCSSMatrix_m23_Getter";
+
+ @DomName('WebKitCSSMatrix.m23')
+ @DocsEditable
+ void set m23(num value) native "WebKitCSSMatrix_m23_Setter";
+
+ @DomName('WebKitCSSMatrix.m24')
+ @DocsEditable
+ num get m24 native "WebKitCSSMatrix_m24_Getter";
- @DomName('StyleSheetList.length')
+ @DomName('WebKitCSSMatrix.m24')
@DocsEditable
- int get length native "StyleSheetList_length_Getter";
+ void set m24(num value) native "WebKitCSSMatrix_m24_Setter";
- StyleSheet operator[](int index) native "StyleSheetList_item_Callback";
+ @DomName('WebKitCSSMatrix.m31')
+ @DocsEditable
+ num get m31 native "WebKitCSSMatrix_m31_Getter";
- void operator[]=(int index, StyleSheet value) {
- throw new UnsupportedError("Cannot assign element of immutable List.");
- }
- // -- start List<StyleSheet> mixins.
- // StyleSheet is the element type.
+ @DomName('WebKitCSSMatrix.m31')
+ @DocsEditable
+ void set m31(num value) native "WebKitCSSMatrix_m31_Setter";
- // From Iterable<StyleSheet>:
+ @DomName('WebKitCSSMatrix.m32')
+ @DocsEditable
+ num get m32 native "WebKitCSSMatrix_m32_Getter";
- Iterator<StyleSheet> get iterator {
- // Note: NodeLists are not fixed size. And most probably length shouldn't
- // be cached in both iterator _and_ forEach method. For now caching it
- // for consistency.
- return new FixedSizeListIterator<StyleSheet>(this);
- }
+ @DomName('WebKitCSSMatrix.m32')
+ @DocsEditable
+ void set m32(num value) native "WebKitCSSMatrix_m32_Setter";
- dynamic reduce(dynamic initialValue, dynamic combine(dynamic, StyleSheet)) {
- return IterableMixinWorkaround.reduce(this, initialValue, combine);
- }
+ @DomName('WebKitCSSMatrix.m33')
+ @DocsEditable
+ num get m33 native "WebKitCSSMatrix_m33_Getter";
- bool contains(StyleSheet element) => IterableMixinWorkaround.contains(this, element);
+ @DomName('WebKitCSSMatrix.m33')
+ @DocsEditable
+ void set m33(num value) native "WebKitCSSMatrix_m33_Setter";
- void forEach(void f(StyleSheet element)) => IterableMixinWorkaround.forEach(this, f);
+ @DomName('WebKitCSSMatrix.m34')
+ @DocsEditable
+ num get m34 native "WebKitCSSMatrix_m34_Getter";
- String join([String separator]) =>
- IterableMixinWorkaround.joinList(this, separator);
+ @DomName('WebKitCSSMatrix.m34')
+ @DocsEditable
+ void set m34(num value) native "WebKitCSSMatrix_m34_Setter";
- Iterable map(f(StyleSheet element)) =>
- IterableMixinWorkaround.mapList(this, f);
+ @DomName('WebKitCSSMatrix.m41')
+ @DocsEditable
+ num get m41 native "WebKitCSSMatrix_m41_Getter";
- Iterable<StyleSheet> where(bool f(StyleSheet element)) =>
- IterableMixinWorkaround.where(this, f);
+ @DomName('WebKitCSSMatrix.m41')
+ @DocsEditable
+ void set m41(num value) native "WebKitCSSMatrix_m41_Setter";
- Iterable expand(Iterable f(StyleSheet element)) =>
- IterableMixinWorkaround.expand(this, f);
+ @DomName('WebKitCSSMatrix.m42')
+ @DocsEditable
+ num get m42 native "WebKitCSSMatrix_m42_Getter";
- bool every(bool f(StyleSheet element)) => IterableMixinWorkaround.every(this, f);
+ @DomName('WebKitCSSMatrix.m42')
+ @DocsEditable
+ void set m42(num value) native "WebKitCSSMatrix_m42_Setter";
- bool any(bool f(StyleSheet element)) => IterableMixinWorkaround.any(this, f);
+ @DomName('WebKitCSSMatrix.m43')
+ @DocsEditable
+ num get m43 native "WebKitCSSMatrix_m43_Getter";
- List<StyleSheet> toList({ bool growable: true }) =>
- new List<StyleSheet>.from(this, growable: growable);
+ @DomName('WebKitCSSMatrix.m43')
+ @DocsEditable
+ void set m43(num value) native "WebKitCSSMatrix_m43_Setter";
- Set<StyleSheet> toSet() => new Set<StyleSheet>.from(this);
+ @DomName('WebKitCSSMatrix.m44')
+ @DocsEditable
+ num get m44 native "WebKitCSSMatrix_m44_Getter";
- bool get isEmpty => this.length == 0;
+ @DomName('WebKitCSSMatrix.m44')
+ @DocsEditable
+ void set m44(num value) native "WebKitCSSMatrix_m44_Setter";
- Iterable<StyleSheet> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ @DomName('WebKitCSSMatrix.inverse')
+ @DocsEditable
+ _WebKitCSSMatrix inverse() native "WebKitCSSMatrix_inverse_Callback";
- Iterable<StyleSheet> takeWhile(bool test(StyleSheet value)) {
- return IterableMixinWorkaround.takeWhile(this, test);
- }
+ @DomName('WebKitCSSMatrix.multiply')
+ @DocsEditable
+ _WebKitCSSMatrix multiply(_WebKitCSSMatrix secondMatrix) native "WebKitCSSMatrix_multiply_Callback";
- Iterable<StyleSheet> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ @DomName('WebKitCSSMatrix.rotate')
+ @DocsEditable
+ _WebKitCSSMatrix rotate(num rotX, num rotY, num rotZ) native "WebKitCSSMatrix_rotate_Callback";
- Iterable<StyleSheet> skipWhile(bool test(StyleSheet value)) {
- return IterableMixinWorkaround.skipWhile(this, test);
- }
+ @DomName('WebKitCSSMatrix.rotateAxisAngle')
+ @DocsEditable
+ _WebKitCSSMatrix rotateAxisAngle(num x, num y, num z, num angle) native "WebKitCSSMatrix_rotateAxisAngle_Callback";
- StyleSheet firstWhere(bool test(StyleSheet value), { StyleSheet orElse() }) {
- return IterableMixinWorkaround.firstWhere(this, test, orElse);
- }
+ @DomName('WebKitCSSMatrix.scale')
+ @DocsEditable
+ _WebKitCSSMatrix scale(num scaleX, num scaleY, num scaleZ) native "WebKitCSSMatrix_scale_Callback";
- StyleSheet lastWhere(bool test(StyleSheet value), {StyleSheet orElse()}) {
- return IterableMixinWorkaround.lastWhereList(this, test, orElse);
- }
+ @DomName('WebKitCSSMatrix.setMatrixValue')
+ @DocsEditable
+ void setMatrixValue(String string) native "WebKitCSSMatrix_setMatrixValue_Callback";
- StyleSheet singleWhere(bool test(StyleSheet value)) {
- return IterableMixinWorkaround.singleWhere(this, test);
- }
+ @DomName('WebKitCSSMatrix.skewX')
+ @DocsEditable
+ _WebKitCSSMatrix skewX(num angle) native "WebKitCSSMatrix_skewX_Callback";
- StyleSheet elementAt(int index) {
- return this[index];
- }
+ @DomName('WebKitCSSMatrix.skewY')
+ @DocsEditable
+ _WebKitCSSMatrix skewY(num angle) native "WebKitCSSMatrix_skewY_Callback";
- // From Collection<StyleSheet>:
+ @DomName('WebKitCSSMatrix.toString')
+ @DocsEditable
+ String toString() native "WebKitCSSMatrix_toString_Callback";
- void add(StyleSheet value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
+ @DomName('WebKitCSSMatrix.translate')
+ @DocsEditable
+ _WebKitCSSMatrix translate(num x, num y, num z) native "WebKitCSSMatrix_translate_Callback";
- void addLast(StyleSheet value) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
- void addAll(Iterable<StyleSheet> iterable) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
+// WARNING: Do not edit - generated code.
- // From List<StyleSheet>:
- void set length(int value) {
- throw new UnsupportedError("Cannot resize immutable List.");
- }
- void clear() {
- throw new UnsupportedError("Cannot clear immutable List.");
- }
+@DocsEditable
+@DomName('WebKitCSSMixFunctionValue')
+class _WebKitCSSMixFunctionValue extends _CssValueList {
+ _WebKitCSSMixFunctionValue.internal() : super.internal();
- Iterable<StyleSheet> get reversed {
- return IterableMixinWorkaround.reversedList(this);
- }
+}
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
- void sort([int compare(StyleSheet a, StyleSheet b)]) {
- throw new UnsupportedError("Cannot sort immutable List.");
- }
+// WARNING: Do not edit - generated code.
- int indexOf(StyleSheet element, [int start = 0]) =>
- Lists.indexOf(this, element, start, this.length);
- int lastIndexOf(StyleSheet element, [int start]) {
- if (start == null) start = length - 1;
- return Lists.lastIndexOf(this, element, start);
- }
+@DocsEditable
+@DomName('WebKitCSSTransformValue')
+class _WebKitCSSTransformValue extends _CssValueList {
+ _WebKitCSSTransformValue.internal() : super.internal();
- StyleSheet get first {
- if (this.length > 0) return this[0];
- throw new StateError("No elements");
- }
+ static const int CSS_MATRIX = 11;
- StyleSheet get last {
- if (this.length > 0) return this[this.length - 1];
- throw new StateError("No elements");
- }
+ static const int CSS_MATRIX3D = 21;
- StyleSheet get single {
- if (length == 1) return this[0];
- if (length == 0) throw new StateError("No elements");
- throw new StateError("More than one element");
- }
+ static const int CSS_PERSPECTIVE = 20;
- StyleSheet min([int compare(StyleSheet a, StyleSheet b)]) =>
- IterableMixinWorkaround.min(this, compare);
+ static const int CSS_ROTATE = 4;
- StyleSheet max([int compare(StyleSheet a, StyleSheet b)]) =>
- IterableMixinWorkaround.max(this, compare);
+ static const int CSS_ROTATE3D = 17;
- void insert(int index, StyleSheet element) {
- throw new UnsupportedError("Cannot add to immutable List.");
- }
+ static const int CSS_ROTATEX = 14;
- StyleSheet removeAt(int pos) {
- throw new UnsupportedError("Cannot remove from immutable List.");
- }
+ static const int CSS_ROTATEY = 15;
- StyleSheet removeLast() {
- throw new UnsupportedError("Cannot remove from immutable List.");
- }
+ static const int CSS_ROTATEZ = 16;
- void remove(Object object) {
- throw new UnsupportedError("Cannot remove from immutable List.");
- }
+ static const int CSS_SCALE = 5;
- void removeAll(Iterable elements) {
- throw new UnsupportedError("Cannot remove from immutable List.");
- }
+ static const int CSS_SCALE3D = 19;
- void retainAll(Iterable elements) {
- throw new UnsupportedError("Cannot remove from immutable List.");
- }
+ static const int CSS_SCALEX = 6;
- void removeWhere(bool test(StyleSheet element)) {
- throw new UnsupportedError("Cannot remove from immutable List.");
- }
+ static const int CSS_SCALEY = 7;
- void retainWhere(bool test(StyleSheet element)) {
- throw new UnsupportedError("Cannot remove from immutable List.");
- }
+ static const int CSS_SCALEZ = 18;
- void setRange(int start, int rangeLength, List<StyleSheet> from, [int startFrom]) {
- throw new UnsupportedError("Cannot setRange on immutable List.");
- }
+ static const int CSS_SKEW = 8;
- void removeRange(int start, int rangeLength) {
- throw new UnsupportedError("Cannot removeRange on immutable List.");
- }
+ static const int CSS_SKEWX = 9;
- void insertRange(int start, int rangeLength, [StyleSheet initialValue]) {
- throw new UnsupportedError("Cannot insertRange on immutable List.");
- }
+ static const int CSS_SKEWY = 10;
- List<StyleSheet> sublist(int start, [int end]) {
- if (end == null) end = length;
- return Lists.getRange(this, start, end, <StyleSheet>[]);
- }
+ static const int CSS_TRANSLATE = 1;
- List<StyleSheet> getRange(int start, int rangeLength) =>
- sublist(start, start + rangeLength);
+ static const int CSS_TRANSLATE3D = 13;
- Map<int, StyleSheet> asMap() =>
- IterableMixinWorkaround.asMapList(this);
+ static const int CSS_TRANSLATEX = 2;
- // -- end List<StyleSheet> mixins.
+ static const int CSS_TRANSLATEY = 3;
- @DomName('StyleSheetList.item')
+ static const int CSS_TRANSLATEZ = 12;
+
+ @DomName('WebKitCSSTransformValue.operationType')
@DocsEditable
- StyleSheet item(int index) native "StyleSheetList_item_Callback";
+ int get operationType native "WebKitCSSTransformValue_operationType_Getter";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file

Powered by Google App Engine
This is Rietveld 408576698