| OLD | NEW |
| 1 /// The Dart HTML library. | 1 /// The Dart HTML library. |
| 2 library dart.dom.html; | 2 library dart.dom.html; |
| 3 | 3 |
| 4 import 'dart:async'; | 4 import 'dart:async'; |
| 5 import 'dart:collection'; | 5 import 'dart:collection'; |
| 6 import 'dart:_collection-dev' hide Symbol; | 6 import 'dart:_collection-dev' hide Symbol; |
| 7 import 'dart:html_common'; | 7 import 'dart:html_common'; |
| 8 import 'dart:indexed_db'; | 8 import 'dart:indexed_db'; |
| 9 import 'dart:isolate'; | 9 import 'dart:isolate'; |
| 10 import 'dart:json' as json; | 10 import 'dart:json' as json; |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 @SupportedBrowser(SupportedBrowser.SAFARI) | 199 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 200 @Experimental | 200 @Experimental |
| 201 class AnimationEvent extends Event native "WebKitAnimationEvent" { | 201 class AnimationEvent extends Event native "WebKitAnimationEvent" { |
| 202 | 202 |
| 203 @DomName('WebKitAnimationEvent.animationName') | 203 @DomName('WebKitAnimationEvent.animationName') |
| 204 @DocsEditable | 204 @DocsEditable |
| 205 final String animationName; | 205 final String animationName; |
| 206 | 206 |
| 207 @DomName('WebKitAnimationEvent.elapsedTime') | 207 @DomName('WebKitAnimationEvent.elapsedTime') |
| 208 @DocsEditable | 208 @DocsEditable |
| 209 final num elapsedTime; | 209 final double elapsedTime; |
| 210 } | 210 } |
| 211 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 211 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 212 // for details. All rights reserved. Use of this source code is governed by a | 212 // for details. All rights reserved. Use of this source code is governed by a |
| 213 // BSD-style license that can be found in the LICENSE file. | 213 // BSD-style license that can be found in the LICENSE file. |
| 214 | 214 |
| 215 | 215 |
| 216 @DocsEditable | 216 @DocsEditable |
| 217 @DomName('DOMApplicationCache') | 217 @DomName('DOMApplicationCache') |
| 218 @SupportedBrowser(SupportedBrowser.CHROME) | 218 @SupportedBrowser(SupportedBrowser.CHROME) |
| 219 @SupportedBrowser(SupportedBrowser.FIREFOX) | 219 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| (...skipping 648 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 868 * See also: | 868 * See also: |
| 869 * | 869 * |
| 870 * * [Data URI Scheme](http://en.wikipedia.org/wiki/Data_URI_scheme) from Wiki
pedia. | 870 * * [Data URI Scheme](http://en.wikipedia.org/wiki/Data_URI_scheme) from Wiki
pedia. |
| 871 * | 871 * |
| 872 * * [HTMLCanvasElement](https://developer.mozilla.org/en-US/docs/DOM/HTMLCanv
asElement) from MDN. | 872 * * [HTMLCanvasElement](https://developer.mozilla.org/en-US/docs/DOM/HTMLCanv
asElement) from MDN. |
| 873 * | 873 * |
| 874 * * [toDataUrl](http://dev.w3.org/html5/spec/the-canvas-element.html#dom-canv
as-todataurl) from W3C. | 874 * * [toDataUrl](http://dev.w3.org/html5/spec/the-canvas-element.html#dom-canv
as-todataurl) from W3C. |
| 875 */ | 875 */ |
| 876 @DomName('HTMLCanvasElement.toDataURL') | 876 @DomName('HTMLCanvasElement.toDataURL') |
| 877 @DocsEditable | 877 @DocsEditable |
| 878 String toDataUrl(String type, [num quality]) native; | 878 String toDataUrl(String type, [double quality]) native; |
| 879 | 879 |
| 880 /** An API for drawing on this canvas. */ | 880 /** An API for drawing on this canvas. */ |
| 881 CanvasRenderingContext2D get context2D => | 881 CanvasRenderingContext2D get context2D => |
| 882 JS('Null|CanvasRenderingContext2D', '#.getContext(#)', this, '2d'); | 882 JS('Null|CanvasRenderingContext2D', '#.getContext(#)', this, '2d'); |
| 883 | 883 |
| 884 @deprecated | 884 @deprecated |
| 885 CanvasRenderingContext2D get context2d => this.context2D; | 885 CanvasRenderingContext2D get context2d => this.context2D; |
| 886 | 886 |
| 887 @SupportedBrowser(SupportedBrowser.CHROME) | 887 @SupportedBrowser(SupportedBrowser.CHROME) |
| 888 @SupportedBrowser(SupportedBrowser.FIREFOX) | 888 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 947 * Adds a color stop to this gradient at the offset. | 947 * Adds a color stop to this gradient at the offset. |
| 948 * | 948 * |
| 949 * The [offset] can range between 0.0 and 1.0. | 949 * The [offset] can range between 0.0 and 1.0. |
| 950 * | 950 * |
| 951 * See also: | 951 * See also: |
| 952 * | 952 * |
| 953 * * [Multiple Color Stops](https://developer.mozilla.org/en-US/docs/CSS/linea
r-gradient#Gradient_with_multiple_color_stops) from MDN. | 953 * * [Multiple Color Stops](https://developer.mozilla.org/en-US/docs/CSS/linea
r-gradient#Gradient_with_multiple_color_stops) from MDN. |
| 954 */ | 954 */ |
| 955 @DomName('CanvasGradient.addColorStop') | 955 @DomName('CanvasGradient.addColorStop') |
| 956 @DocsEditable | 956 @DocsEditable |
| 957 void addColorStop(num offset, String color) native; | 957 void addColorStop(double offset, String color) native; |
| 958 } | 958 } |
| 959 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 959 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 960 // for details. All rights reserved. Use of this source code is governed by a | 960 // for details. All rights reserved. Use of this source code is governed by a |
| 961 // BSD-style license that can be found in the LICENSE file. | 961 // BSD-style license that can be found in the LICENSE file. |
| 962 | 962 |
| 963 | 963 |
| 964 @DocsEditable | 964 @DocsEditable |
| 965 /** | 965 /** |
| 966 * An opaque object representing a pattern of image, canvas, or video. | 966 * An opaque object representing a pattern of image, canvas, or video. |
| 967 * | 967 * |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1031 @Creates('String|CanvasGradient|CanvasPattern') | 1031 @Creates('String|CanvasGradient|CanvasPattern') |
| 1032 @Returns('String|CanvasGradient|CanvasPattern') | 1032 @Returns('String|CanvasGradient|CanvasPattern') |
| 1033 dynamic fillStyle; | 1033 dynamic fillStyle; |
| 1034 | 1034 |
| 1035 @DomName('CanvasRenderingContext2D.font') | 1035 @DomName('CanvasRenderingContext2D.font') |
| 1036 @DocsEditable | 1036 @DocsEditable |
| 1037 String font; | 1037 String font; |
| 1038 | 1038 |
| 1039 @DomName('CanvasRenderingContext2D.globalAlpha') | 1039 @DomName('CanvasRenderingContext2D.globalAlpha') |
| 1040 @DocsEditable | 1040 @DocsEditable |
| 1041 num globalAlpha; | 1041 double globalAlpha; |
| 1042 | 1042 |
| 1043 @DomName('CanvasRenderingContext2D.globalCompositeOperation') | 1043 @DomName('CanvasRenderingContext2D.globalCompositeOperation') |
| 1044 @DocsEditable | 1044 @DocsEditable |
| 1045 String globalCompositeOperation; | 1045 String globalCompositeOperation; |
| 1046 | 1046 |
| 1047 @DomName('CanvasRenderingContext2D.lineCap') | 1047 @DomName('CanvasRenderingContext2D.lineCap') |
| 1048 @DocsEditable | 1048 @DocsEditable |
| 1049 String lineCap; | 1049 String lineCap; |
| 1050 | 1050 |
| 1051 @DomName('CanvasRenderingContext2D.lineJoin') | 1051 @DomName('CanvasRenderingContext2D.lineJoin') |
| 1052 @DocsEditable | 1052 @DocsEditable |
| 1053 String lineJoin; | 1053 String lineJoin; |
| 1054 | 1054 |
| 1055 @DomName('CanvasRenderingContext2D.lineWidth') | 1055 @DomName('CanvasRenderingContext2D.lineWidth') |
| 1056 @DocsEditable | 1056 @DocsEditable |
| 1057 num lineWidth; | 1057 double lineWidth; |
| 1058 | 1058 |
| 1059 @DomName('CanvasRenderingContext2D.miterLimit') | 1059 @DomName('CanvasRenderingContext2D.miterLimit') |
| 1060 @DocsEditable | 1060 @DocsEditable |
| 1061 num miterLimit; | 1061 double miterLimit; |
| 1062 | 1062 |
| 1063 @DomName('CanvasRenderingContext2D.shadowBlur') | 1063 @DomName('CanvasRenderingContext2D.shadowBlur') |
| 1064 @DocsEditable | 1064 @DocsEditable |
| 1065 num shadowBlur; | 1065 double shadowBlur; |
| 1066 | 1066 |
| 1067 @DomName('CanvasRenderingContext2D.shadowColor') | 1067 @DomName('CanvasRenderingContext2D.shadowColor') |
| 1068 @DocsEditable | 1068 @DocsEditable |
| 1069 String shadowColor; | 1069 String shadowColor; |
| 1070 | 1070 |
| 1071 @DomName('CanvasRenderingContext2D.shadowOffsetX') | 1071 @DomName('CanvasRenderingContext2D.shadowOffsetX') |
| 1072 @DocsEditable | 1072 @DocsEditable |
| 1073 num shadowOffsetX; | 1073 double shadowOffsetX; |
| 1074 | 1074 |
| 1075 @DomName('CanvasRenderingContext2D.shadowOffsetY') | 1075 @DomName('CanvasRenderingContext2D.shadowOffsetY') |
| 1076 @DocsEditable | 1076 @DocsEditable |
| 1077 num shadowOffsetY; | 1077 double shadowOffsetY; |
| 1078 | 1078 |
| 1079 @DomName('CanvasRenderingContext2D.strokeStyle') | 1079 @DomName('CanvasRenderingContext2D.strokeStyle') |
| 1080 @DocsEditable | 1080 @DocsEditable |
| 1081 @Creates('String|CanvasGradient|CanvasPattern') | 1081 @Creates('String|CanvasGradient|CanvasPattern') |
| 1082 @Returns('String|CanvasGradient|CanvasPattern') | 1082 @Returns('String|CanvasGradient|CanvasPattern') |
| 1083 dynamic strokeStyle; | 1083 dynamic strokeStyle; |
| 1084 | 1084 |
| 1085 @DomName('CanvasRenderingContext2D.textAlign') | 1085 @DomName('CanvasRenderingContext2D.textAlign') |
| 1086 @DocsEditable | 1086 @DocsEditable |
| 1087 String textAlign; | 1087 String textAlign; |
| 1088 | 1088 |
| 1089 @DomName('CanvasRenderingContext2D.textBaseline') | 1089 @DomName('CanvasRenderingContext2D.textBaseline') |
| 1090 @DocsEditable | 1090 @DocsEditable |
| 1091 String textBaseline; | 1091 String textBaseline; |
| 1092 | 1092 |
| 1093 @JSName('webkitBackingStorePixelRatio') | 1093 @JSName('webkitBackingStorePixelRatio') |
| 1094 @DomName('CanvasRenderingContext2D.webkitBackingStorePixelRatio') | 1094 @DomName('CanvasRenderingContext2D.webkitBackingStorePixelRatio') |
| 1095 @DocsEditable | 1095 @DocsEditable |
| 1096 @SupportedBrowser(SupportedBrowser.CHROME) | 1096 @SupportedBrowser(SupportedBrowser.CHROME) |
| 1097 @SupportedBrowser(SupportedBrowser.SAFARI) | 1097 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 1098 @Experimental | 1098 @Experimental |
| 1099 final num backingStorePixelRatio; | 1099 final double backingStorePixelRatio; |
| 1100 | 1100 |
| 1101 @JSName('webkitImageSmoothingEnabled') | 1101 @JSName('webkitImageSmoothingEnabled') |
| 1102 @DomName('CanvasRenderingContext2D.webkitImageSmoothingEnabled') | 1102 @DomName('CanvasRenderingContext2D.webkitImageSmoothingEnabled') |
| 1103 @DocsEditable | 1103 @DocsEditable |
| 1104 @SupportedBrowser(SupportedBrowser.CHROME) | 1104 @SupportedBrowser(SupportedBrowser.CHROME) |
| 1105 @SupportedBrowser(SupportedBrowser.SAFARI) | 1105 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 1106 @Experimental | 1106 @Experimental |
| 1107 bool imageSmoothingEnabled; | 1107 bool imageSmoothingEnabled; |
| 1108 | 1108 |
| 1109 @JSName('arc') | 1109 @JSName('arc') |
| 1110 @DomName('CanvasRenderingContext2D.arc') | 1110 @DomName('CanvasRenderingContext2D.arc') |
| 1111 @DocsEditable | 1111 @DocsEditable |
| 1112 void $dom_arc(num x, num y, num radius, num startAngle, num endAngle, bool ant
iclockwise) native; | 1112 void $dom_arc(double x, double y, double radius, double startAngle, double end
Angle, bool anticlockwise) native; |
| 1113 | 1113 |
| 1114 @DomName('CanvasRenderingContext2D.arcTo') | 1114 @DomName('CanvasRenderingContext2D.arcTo') |
| 1115 @DocsEditable | 1115 @DocsEditable |
| 1116 void arcTo(num x1, num y1, num x2, num y2, num radius) native; | 1116 void arcTo(double x1, double y1, double x2, double y2, double radius) native; |
| 1117 | 1117 |
| 1118 @DomName('CanvasRenderingContext2D.beginPath') | 1118 @DomName('CanvasRenderingContext2D.beginPath') |
| 1119 @DocsEditable | 1119 @DocsEditable |
| 1120 void beginPath() native; | 1120 void beginPath() native; |
| 1121 | 1121 |
| 1122 @DomName('CanvasRenderingContext2D.bezierCurveTo') | 1122 @DomName('CanvasRenderingContext2D.bezierCurveTo') |
| 1123 @DocsEditable | 1123 @DocsEditable |
| 1124 void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y) nativ
e; | 1124 void bezierCurveTo(double cp1x, double cp1y, double cp2x, double cp2y, double
x, double y) native; |
| 1125 | 1125 |
| 1126 @DomName('CanvasRenderingContext2D.clearRect') | 1126 @DomName('CanvasRenderingContext2D.clearRect') |
| 1127 @DocsEditable | 1127 @DocsEditable |
| 1128 void clearRect(num x, num y, num width, num height) native; | 1128 void clearRect(double x, double y, double width, double height) native; |
| 1129 | 1129 |
| 1130 @DomName('CanvasRenderingContext2D.clip') | 1130 @DomName('CanvasRenderingContext2D.clip') |
| 1131 @DocsEditable | 1131 @DocsEditable |
| 1132 void clip([String winding]) native; | 1132 void clip([String winding]) native; |
| 1133 | 1133 |
| 1134 @DomName('CanvasRenderingContext2D.closePath') | 1134 @DomName('CanvasRenderingContext2D.closePath') |
| 1135 @DocsEditable | 1135 @DocsEditable |
| 1136 void closePath() native; | 1136 void closePath() native; |
| 1137 | 1137 |
| 1138 @DomName('CanvasRenderingContext2D.createImageData') | 1138 @DomName('CanvasRenderingContext2D.createImageData') |
| 1139 @DocsEditable | 1139 @DocsEditable |
| 1140 @Creates('ImageData|=Object') | 1140 @Creates('ImageData|=Object') |
| 1141 ImageData createImageData(num sw, num sh) { | 1141 ImageData createImageData(double sw, double sh) { |
| 1142 return _convertNativeToDart_ImageData(_createImageData_1(sw, sh)); | 1142 return _convertNativeToDart_ImageData(_createImageData_1(sw, sh)); |
| 1143 } | 1143 } |
| 1144 @JSName('createImageData') | 1144 @JSName('createImageData') |
| 1145 @DomName('CanvasRenderingContext2D.createImageData') | 1145 @DomName('CanvasRenderingContext2D.createImageData') |
| 1146 @DocsEditable | 1146 @DocsEditable |
| 1147 @Creates('ImageData|=Object') | 1147 @Creates('ImageData|=Object') |
| 1148 _createImageData_1(sw, sh) native; | 1148 _createImageData_1(sw, sh) native; |
| 1149 | 1149 |
| 1150 @DomName('CanvasRenderingContext2D.createImageData') | 1150 @DomName('CanvasRenderingContext2D.createImageData') |
| 1151 @DocsEditable | 1151 @DocsEditable |
| 1152 @Creates('ImageData|=Object') | 1152 @Creates('ImageData|=Object') |
| 1153 ImageData createImageDataFromImageData(ImageData imagedata) { | 1153 ImageData createImageDataFromImageData(ImageData imagedata) { |
| 1154 var imagedata_1 = _convertDartToNative_ImageData(imagedata); | 1154 var imagedata_1 = _convertDartToNative_ImageData(imagedata); |
| 1155 return _convertNativeToDart_ImageData(_createImageDataFromImageData_1(imaged
ata_1)); | 1155 return _convertNativeToDart_ImageData(_createImageDataFromImageData_1(imaged
ata_1)); |
| 1156 } | 1156 } |
| 1157 @JSName('createImageData') | 1157 @JSName('createImageData') |
| 1158 @DomName('CanvasRenderingContext2D.createImageData') | 1158 @DomName('CanvasRenderingContext2D.createImageData') |
| 1159 @DocsEditable | 1159 @DocsEditable |
| 1160 @Creates('ImageData|=Object') | 1160 @Creates('ImageData|=Object') |
| 1161 _createImageDataFromImageData_1(imagedata) native; | 1161 _createImageDataFromImageData_1(imagedata) native; |
| 1162 | 1162 |
| 1163 @DomName('CanvasRenderingContext2D.createLinearGradient') | 1163 @DomName('CanvasRenderingContext2D.createLinearGradient') |
| 1164 @DocsEditable | 1164 @DocsEditable |
| 1165 CanvasGradient createLinearGradient(num x0, num y0, num x1, num y1) native; | 1165 CanvasGradient createLinearGradient(double x0, double y0, double x1, double y1
) native; |
| 1166 | 1166 |
| 1167 @DomName('CanvasRenderingContext2D.createPattern') | 1167 @DomName('CanvasRenderingContext2D.createPattern') |
| 1168 @DocsEditable | 1168 @DocsEditable |
| 1169 CanvasPattern createPattern(canvas_OR_image, String repetitionType) native; | 1169 CanvasPattern createPattern(canvas_OR_image, String repetitionType) native; |
| 1170 | 1170 |
| 1171 @DomName('CanvasRenderingContext2D.createRadialGradient') | 1171 @DomName('CanvasRenderingContext2D.createRadialGradient') |
| 1172 @DocsEditable | 1172 @DocsEditable |
| 1173 CanvasGradient createRadialGradient(num x0, num y0, num r0, num x1, num y1, nu
m r1) native; | 1173 CanvasGradient createRadialGradient(double x0, double y0, double r0, double x1
, double y1, double r1) native; |
| 1174 | 1174 |
| 1175 @DomName('CanvasRenderingContext2D.fill') | 1175 @DomName('CanvasRenderingContext2D.fill') |
| 1176 @DocsEditable | 1176 @DocsEditable |
| 1177 void fill([String winding]) native; | 1177 void fill([String winding]) native; |
| 1178 | 1178 |
| 1179 @DomName('CanvasRenderingContext2D.fillRect') | 1179 @DomName('CanvasRenderingContext2D.fillRect') |
| 1180 @DocsEditable | 1180 @DocsEditable |
| 1181 void fillRect(num x, num y, num width, num height) native; | 1181 void fillRect(double x, double y, double width, double height) native; |
| 1182 | 1182 |
| 1183 @DomName('CanvasRenderingContext2D.fillText') | 1183 @DomName('CanvasRenderingContext2D.fillText') |
| 1184 @DocsEditable | 1184 @DocsEditable |
| 1185 void fillText(String text, num x, num y, [num maxWidth]) native; | 1185 void fillText(String text, double x, double y, [double maxWidth]) native; |
| 1186 | 1186 |
| 1187 @DomName('CanvasRenderingContext2D.getContextAttributes') | 1187 @DomName('CanvasRenderingContext2D.getContextAttributes') |
| 1188 @DocsEditable | 1188 @DocsEditable |
| 1189 @Experimental // untriaged | 1189 @Experimental // untriaged |
| 1190 Canvas2DContextAttributes getContextAttributes() native; | 1190 Canvas2DContextAttributes getContextAttributes() native; |
| 1191 | 1191 |
| 1192 @DomName('CanvasRenderingContext2D.getImageData') | 1192 @DomName('CanvasRenderingContext2D.getImageData') |
| 1193 @DocsEditable | 1193 @DocsEditable |
| 1194 @Creates('ImageData|=Object') | 1194 @Creates('ImageData|=Object') |
| 1195 ImageData getImageData(num sx, num sy, num sw, num sh) { | 1195 ImageData getImageData(double sx, double sy, double sw, double sh) { |
| 1196 return _convertNativeToDart_ImageData(_getImageData_1(sx, sy, sw, sh)); | 1196 return _convertNativeToDart_ImageData(_getImageData_1(sx, sy, sw, sh)); |
| 1197 } | 1197 } |
| 1198 @JSName('getImageData') | 1198 @JSName('getImageData') |
| 1199 @DomName('CanvasRenderingContext2D.getImageData') | 1199 @DomName('CanvasRenderingContext2D.getImageData') |
| 1200 @DocsEditable | 1200 @DocsEditable |
| 1201 @Creates('ImageData|=Object') | 1201 @Creates('ImageData|=Object') |
| 1202 _getImageData_1(sx, sy, sw, sh) native; | 1202 _getImageData_1(sx, sy, sw, sh) native; |
| 1203 | 1203 |
| 1204 @DomName('CanvasRenderingContext2D.getLineDash') | 1204 @DomName('CanvasRenderingContext2D.getLineDash') |
| 1205 @DocsEditable | 1205 @DocsEditable |
| 1206 List<num> getLineDash() native; | 1206 List<double> getLineDash() native; |
| 1207 | 1207 |
| 1208 @DomName('CanvasRenderingContext2D.isPointInPath') | 1208 @DomName('CanvasRenderingContext2D.isPointInPath') |
| 1209 @DocsEditable | 1209 @DocsEditable |
| 1210 bool isPointInPath(num x, num y, [String winding]) native; | 1210 bool isPointInPath(double x, double y, [String winding]) native; |
| 1211 | 1211 |
| 1212 @DomName('CanvasRenderingContext2D.isPointInStroke') | 1212 @DomName('CanvasRenderingContext2D.isPointInStroke') |
| 1213 @DocsEditable | 1213 @DocsEditable |
| 1214 bool isPointInStroke(num x, num y) native; | 1214 bool isPointInStroke(double x, double y) native; |
| 1215 | 1215 |
| 1216 @DomName('CanvasRenderingContext2D.lineTo') | 1216 @DomName('CanvasRenderingContext2D.lineTo') |
| 1217 @DocsEditable | 1217 @DocsEditable |
| 1218 void lineTo(num x, num y) native; | 1218 void lineTo(double x, double y) native; |
| 1219 | 1219 |
| 1220 @DomName('CanvasRenderingContext2D.measureText') | 1220 @DomName('CanvasRenderingContext2D.measureText') |
| 1221 @DocsEditable | 1221 @DocsEditable |
| 1222 TextMetrics measureText(String text) native; | 1222 TextMetrics measureText(String text) native; |
| 1223 | 1223 |
| 1224 @DomName('CanvasRenderingContext2D.moveTo') | 1224 @DomName('CanvasRenderingContext2D.moveTo') |
| 1225 @DocsEditable | 1225 @DocsEditable |
| 1226 void moveTo(num x, num y) native; | 1226 void moveTo(double x, double y) native; |
| 1227 | 1227 |
| 1228 @DomName('CanvasRenderingContext2D.putImageData') | 1228 @DomName('CanvasRenderingContext2D.putImageData') |
| 1229 @DocsEditable | 1229 @DocsEditable |
| 1230 void putImageData(ImageData imagedata, num dx, num dy, [num dirtyX, num dirtyY
, num dirtyWidth, num dirtyHeight]) { | 1230 void putImageData(ImageData imagedata, double dx, double dy, [double dirtyX, d
ouble dirtyY, double dirtyWidth, double dirtyHeight]) { |
| 1231 if (!?dirtyX && !?dirtyY && !?dirtyWidth && !?dirtyHeight) { | 1231 if (!?dirtyX && !?dirtyY && !?dirtyWidth && !?dirtyHeight) { |
| 1232 var imagedata_1 = _convertDartToNative_ImageData(imagedata); | 1232 var imagedata_1 = _convertDartToNative_ImageData(imagedata); |
| 1233 _putImageData_1(imagedata_1, dx, dy); | 1233 _putImageData_1(imagedata_1, dx, dy); |
| 1234 return; | 1234 return; |
| 1235 } | 1235 } |
| 1236 if (?dirtyX && ?dirtyY && ?dirtyWidth && ?dirtyHeight) { | 1236 if (?dirtyX && ?dirtyY && ?dirtyWidth && ?dirtyHeight) { |
| 1237 var imagedata_2 = _convertDartToNative_ImageData(imagedata); | 1237 var imagedata_2 = _convertDartToNative_ImageData(imagedata); |
| 1238 _putImageData_2(imagedata_2, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeig
ht); | 1238 _putImageData_2(imagedata_2, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeig
ht); |
| 1239 return; | 1239 return; |
| 1240 } | 1240 } |
| 1241 throw new ArgumentError("Incorrect number or type of arguments"); | 1241 throw new ArgumentError("Incorrect number or type of arguments"); |
| 1242 } | 1242 } |
| 1243 @JSName('putImageData') | 1243 @JSName('putImageData') |
| 1244 @DomName('CanvasRenderingContext2D.putImageData') | 1244 @DomName('CanvasRenderingContext2D.putImageData') |
| 1245 @DocsEditable | 1245 @DocsEditable |
| 1246 void _putImageData_1(imagedata, dx, dy) native; | 1246 void _putImageData_1(imagedata, dx, dy) native; |
| 1247 @JSName('putImageData') | 1247 @JSName('putImageData') |
| 1248 @DomName('CanvasRenderingContext2D.putImageData') | 1248 @DomName('CanvasRenderingContext2D.putImageData') |
| 1249 @DocsEditable | 1249 @DocsEditable |
| 1250 void _putImageData_2(imagedata, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeigh
t) native; | 1250 void _putImageData_2(imagedata, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeigh
t) native; |
| 1251 | 1251 |
| 1252 @DomName('CanvasRenderingContext2D.quadraticCurveTo') | 1252 @DomName('CanvasRenderingContext2D.quadraticCurveTo') |
| 1253 @DocsEditable | 1253 @DocsEditable |
| 1254 void quadraticCurveTo(num cpx, num cpy, num x, num y) native; | 1254 void quadraticCurveTo(double cpx, double cpy, double x, double y) native; |
| 1255 | 1255 |
| 1256 @DomName('CanvasRenderingContext2D.rect') | 1256 @DomName('CanvasRenderingContext2D.rect') |
| 1257 @DocsEditable | 1257 @DocsEditable |
| 1258 void rect(num x, num y, num width, num height) native; | 1258 void rect(double x, double y, double width, double height) native; |
| 1259 | 1259 |
| 1260 @DomName('CanvasRenderingContext2D.restore') | 1260 @DomName('CanvasRenderingContext2D.restore') |
| 1261 @DocsEditable | 1261 @DocsEditable |
| 1262 void restore() native; | 1262 void restore() native; |
| 1263 | 1263 |
| 1264 @DomName('CanvasRenderingContext2D.rotate') | 1264 @DomName('CanvasRenderingContext2D.rotate') |
| 1265 @DocsEditable | 1265 @DocsEditable |
| 1266 void rotate(num angle) native; | 1266 void rotate(double angle) native; |
| 1267 | 1267 |
| 1268 @DomName('CanvasRenderingContext2D.save') | 1268 @DomName('CanvasRenderingContext2D.save') |
| 1269 @DocsEditable | 1269 @DocsEditable |
| 1270 void save() native; | 1270 void save() native; |
| 1271 | 1271 |
| 1272 @DomName('CanvasRenderingContext2D.scale') | 1272 @DomName('CanvasRenderingContext2D.scale') |
| 1273 @DocsEditable | 1273 @DocsEditable |
| 1274 void scale(num sx, num sy) native; | 1274 void scale(double sx, double sy) native; |
| 1275 | 1275 |
| 1276 @DomName('CanvasRenderingContext2D.setLineDash') | 1276 @DomName('CanvasRenderingContext2D.setLineDash') |
| 1277 @DocsEditable | 1277 @DocsEditable |
| 1278 void setLineDash(List<num> dash) native; | 1278 void setLineDash(List<double> dash) native; |
| 1279 | 1279 |
| 1280 @DomName('CanvasRenderingContext2D.setTransform') | 1280 @DomName('CanvasRenderingContext2D.setTransform') |
| 1281 @DocsEditable | 1281 @DocsEditable |
| 1282 void setTransform(num m11, num m12, num m21, num m22, num dx, num dy) native; | 1282 void setTransform(double m11, double m12, double m21, double m22, double dx, d
ouble dy) native; |
| 1283 | 1283 |
| 1284 @DomName('CanvasRenderingContext2D.stroke') | 1284 @DomName('CanvasRenderingContext2D.stroke') |
| 1285 @DocsEditable | 1285 @DocsEditable |
| 1286 void stroke() native; | 1286 void stroke() native; |
| 1287 | 1287 |
| 1288 @DomName('CanvasRenderingContext2D.strokeRect') | 1288 @DomName('CanvasRenderingContext2D.strokeRect') |
| 1289 @DocsEditable | 1289 @DocsEditable |
| 1290 void strokeRect(num x, num y, num width, num height, [num lineWidth]) native; | 1290 void strokeRect(double x, double y, double width, double height, [double lineW
idth]) native; |
| 1291 | 1291 |
| 1292 @DomName('CanvasRenderingContext2D.strokeText') | 1292 @DomName('CanvasRenderingContext2D.strokeText') |
| 1293 @DocsEditable | 1293 @DocsEditable |
| 1294 void strokeText(String text, num x, num y, [num maxWidth]) native; | 1294 void strokeText(String text, double x, double y, [double maxWidth]) native; |
| 1295 | 1295 |
| 1296 @DomName('CanvasRenderingContext2D.transform') | 1296 @DomName('CanvasRenderingContext2D.transform') |
| 1297 @DocsEditable | 1297 @DocsEditable |
| 1298 void transform(num m11, num m12, num m21, num m22, num dx, num dy) native; | 1298 void transform(double m11, double m12, double m21, double m22, double dx, doub
le dy) native; |
| 1299 | 1299 |
| 1300 @DomName('CanvasRenderingContext2D.translate') | 1300 @DomName('CanvasRenderingContext2D.translate') |
| 1301 @DocsEditable | 1301 @DocsEditable |
| 1302 void translate(num tx, num ty) native; | 1302 void translate(double tx, double ty) native; |
| 1303 | 1303 |
| 1304 @DomName('CanvasRenderingContext2D.webkitGetImageDataHD') | 1304 @DomName('CanvasRenderingContext2D.webkitGetImageDataHD') |
| 1305 @DocsEditable | 1305 @DocsEditable |
| 1306 @SupportedBrowser(SupportedBrowser.CHROME) | 1306 @SupportedBrowser(SupportedBrowser.CHROME) |
| 1307 @SupportedBrowser(SupportedBrowser.SAFARI) | 1307 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 1308 @Experimental | 1308 @Experimental |
| 1309 @Creates('ImageData|=Object') | 1309 @Creates('ImageData|=Object') |
| 1310 ImageData getImageDataHD(num sx, num sy, num sw, num sh) { | 1310 ImageData getImageDataHD(double sx, double sy, double sw, double sh) { |
| 1311 return _convertNativeToDart_ImageData(_getImageDataHD_1(sx, sy, sw, sh)); | 1311 return _convertNativeToDart_ImageData(_getImageDataHD_1(sx, sy, sw, sh)); |
| 1312 } | 1312 } |
| 1313 @JSName('webkitGetImageDataHD') | 1313 @JSName('webkitGetImageDataHD') |
| 1314 @DomName('CanvasRenderingContext2D.webkitGetImageDataHD') | 1314 @DomName('CanvasRenderingContext2D.webkitGetImageDataHD') |
| 1315 @DocsEditable | 1315 @DocsEditable |
| 1316 @SupportedBrowser(SupportedBrowser.CHROME) | 1316 @SupportedBrowser(SupportedBrowser.CHROME) |
| 1317 @SupportedBrowser(SupportedBrowser.SAFARI) | 1317 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 1318 @Experimental | 1318 @Experimental |
| 1319 @Creates('ImageData|=Object') | 1319 @Creates('ImageData|=Object') |
| 1320 _getImageDataHD_1(sx, sy, sw, sh) native; | 1320 _getImageDataHD_1(sx, sy, sw, sh) native; |
| 1321 | 1321 |
| 1322 @DomName('CanvasRenderingContext2D.webkitPutImageDataHD') | 1322 @DomName('CanvasRenderingContext2D.webkitPutImageDataHD') |
| 1323 @DocsEditable | 1323 @DocsEditable |
| 1324 @SupportedBrowser(SupportedBrowser.CHROME) | 1324 @SupportedBrowser(SupportedBrowser.CHROME) |
| 1325 @SupportedBrowser(SupportedBrowser.SAFARI) | 1325 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 1326 @Experimental | 1326 @Experimental |
| 1327 void putImageDataHD(ImageData imagedata, num dx, num dy, [num dirtyX, num dirt
yY, num dirtyWidth, num dirtyHeight]) { | 1327 void putImageDataHD(ImageData imagedata, double dx, double dy, [double dirtyX,
double dirtyY, double dirtyWidth, double dirtyHeight]) { |
| 1328 if (!?dirtyX && !?dirtyY && !?dirtyWidth && !?dirtyHeight) { | 1328 if (!?dirtyX && !?dirtyY && !?dirtyWidth && !?dirtyHeight) { |
| 1329 var imagedata_1 = _convertDartToNative_ImageData(imagedata); | 1329 var imagedata_1 = _convertDartToNative_ImageData(imagedata); |
| 1330 _putImageDataHD_1(imagedata_1, dx, dy); | 1330 _putImageDataHD_1(imagedata_1, dx, dy); |
| 1331 return; | 1331 return; |
| 1332 } | 1332 } |
| 1333 if (?dirtyX && ?dirtyY && ?dirtyWidth && ?dirtyHeight) { | 1333 if (?dirtyX && ?dirtyY && ?dirtyWidth && ?dirtyHeight) { |
| 1334 var imagedata_2 = _convertDartToNative_ImageData(imagedata); | 1334 var imagedata_2 = _convertDartToNative_ImageData(imagedata); |
| 1335 _putImageDataHD_2(imagedata_2, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHe
ight); | 1335 _putImageDataHD_2(imagedata_2, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHe
ight); |
| 1336 return; | 1336 return; |
| 1337 } | 1337 } |
| (...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1827 // for details. All rights reserved. Use of this source code is governed by a | 1827 // for details. All rights reserved. Use of this source code is governed by a |
| 1828 // BSD-style license that can be found in the LICENSE file. | 1828 // BSD-style license that can be found in the LICENSE file. |
| 1829 | 1829 |
| 1830 | 1830 |
| 1831 @DocsEditable | 1831 @DocsEditable |
| 1832 @DomName('Coordinates') | 1832 @DomName('Coordinates') |
| 1833 class Coordinates native "Coordinates" { | 1833 class Coordinates native "Coordinates" { |
| 1834 | 1834 |
| 1835 @DomName('Coordinates.accuracy') | 1835 @DomName('Coordinates.accuracy') |
| 1836 @DocsEditable | 1836 @DocsEditable |
| 1837 final num accuracy; | 1837 final double accuracy; |
| 1838 | 1838 |
| 1839 @DomName('Coordinates.altitude') | 1839 @DomName('Coordinates.altitude') |
| 1840 @DocsEditable | 1840 @DocsEditable |
| 1841 final num altitude; | 1841 final double altitude; |
| 1842 | 1842 |
| 1843 @DomName('Coordinates.altitudeAccuracy') | 1843 @DomName('Coordinates.altitudeAccuracy') |
| 1844 @DocsEditable | 1844 @DocsEditable |
| 1845 final num altitudeAccuracy; | 1845 final double altitudeAccuracy; |
| 1846 | 1846 |
| 1847 @DomName('Coordinates.heading') | 1847 @DomName('Coordinates.heading') |
| 1848 @DocsEditable | 1848 @DocsEditable |
| 1849 final num heading; | 1849 final double heading; |
| 1850 | 1850 |
| 1851 @DomName('Coordinates.latitude') | 1851 @DomName('Coordinates.latitude') |
| 1852 @DocsEditable | 1852 @DocsEditable |
| 1853 final num latitude; | 1853 final double latitude; |
| 1854 | 1854 |
| 1855 @DomName('Coordinates.longitude') | 1855 @DomName('Coordinates.longitude') |
| 1856 @DocsEditable | 1856 @DocsEditable |
| 1857 final num longitude; | 1857 final double longitude; |
| 1858 | 1858 |
| 1859 @DomName('Coordinates.speed') | 1859 @DomName('Coordinates.speed') |
| 1860 @DocsEditable | 1860 @DocsEditable |
| 1861 final num speed; | 1861 final double speed; |
| 1862 } | 1862 } |
| 1863 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1863 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1864 // for details. All rights reserved. Use of this source code is governed by a | 1864 // for details. All rights reserved. Use of this source code is governed by a |
| 1865 // BSD-style license that can be found in the LICENSE file. | 1865 // BSD-style license that can be found in the LICENSE file. |
| 1866 | 1866 |
| 1867 | 1867 |
| 1868 @DocsEditable | 1868 @DocsEditable |
| 1869 @DomName('Crypto') | 1869 @DomName('Crypto') |
| 1870 @SupportedBrowser(SupportedBrowser.CHROME) | 1870 @SupportedBrowser(SupportedBrowser.CHROME) |
| 1871 @SupportedBrowser(SupportedBrowser.SAFARI) | 1871 @SupportedBrowser(SupportedBrowser.SAFARI) |
| (...skipping 3945 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5817 | 5817 |
| 5818 | 5818 |
| 5819 @DocsEditable | 5819 @DocsEditable |
| 5820 @DomName('DeviceAcceleration') | 5820 @DomName('DeviceAcceleration') |
| 5821 // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion | 5821 // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion |
| 5822 @Experimental | 5822 @Experimental |
| 5823 class DeviceAcceleration native "DeviceAcceleration" { | 5823 class DeviceAcceleration native "DeviceAcceleration" { |
| 5824 | 5824 |
| 5825 @DomName('DeviceAcceleration.x') | 5825 @DomName('DeviceAcceleration.x') |
| 5826 @DocsEditable | 5826 @DocsEditable |
| 5827 final num x; | 5827 final double x; |
| 5828 | 5828 |
| 5829 @DomName('DeviceAcceleration.y') | 5829 @DomName('DeviceAcceleration.y') |
| 5830 @DocsEditable | 5830 @DocsEditable |
| 5831 final num y; | 5831 final double y; |
| 5832 | 5832 |
| 5833 @DomName('DeviceAcceleration.z') | 5833 @DomName('DeviceAcceleration.z') |
| 5834 @DocsEditable | 5834 @DocsEditable |
| 5835 final num z; | 5835 final double z; |
| 5836 } | 5836 } |
| 5837 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5837 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5838 // for details. All rights reserved. Use of this source code is governed by a | 5838 // for details. All rights reserved. Use of this source code is governed by a |
| 5839 // BSD-style license that can be found in the LICENSE file. | 5839 // BSD-style license that can be found in the LICENSE file. |
| 5840 | 5840 |
| 5841 | 5841 |
| 5842 @DocsEditable | 5842 @DocsEditable |
| 5843 @DomName('DeviceMotionEvent') | 5843 @DomName('DeviceMotionEvent') |
| 5844 // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion | 5844 // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion |
| 5845 @Experimental | 5845 @Experimental |
| 5846 class DeviceMotionEvent extends Event native "DeviceMotionEvent" { | 5846 class DeviceMotionEvent extends Event native "DeviceMotionEvent" { |
| 5847 | 5847 |
| 5848 @DomName('DeviceMotionEvent.acceleration') | 5848 @DomName('DeviceMotionEvent.acceleration') |
| 5849 @DocsEditable | 5849 @DocsEditable |
| 5850 final DeviceAcceleration acceleration; | 5850 final DeviceAcceleration acceleration; |
| 5851 | 5851 |
| 5852 @DomName('DeviceMotionEvent.accelerationIncludingGravity') | 5852 @DomName('DeviceMotionEvent.accelerationIncludingGravity') |
| 5853 @DocsEditable | 5853 @DocsEditable |
| 5854 final DeviceAcceleration accelerationIncludingGravity; | 5854 final DeviceAcceleration accelerationIncludingGravity; |
| 5855 | 5855 |
| 5856 @DomName('DeviceMotionEvent.interval') | 5856 @DomName('DeviceMotionEvent.interval') |
| 5857 @DocsEditable | 5857 @DocsEditable |
| 5858 final num interval; | 5858 final double interval; |
| 5859 | 5859 |
| 5860 @DomName('DeviceMotionEvent.rotationRate') | 5860 @DomName('DeviceMotionEvent.rotationRate') |
| 5861 @DocsEditable | 5861 @DocsEditable |
| 5862 final DeviceRotationRate rotationRate; | 5862 final DeviceRotationRate rotationRate; |
| 5863 } | 5863 } |
| 5864 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 5864 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 5865 // for details. All rights reserved. Use of this source code is governed by a | 5865 // for details. All rights reserved. Use of this source code is governed by a |
| 5866 // BSD-style license that can be found in the LICENSE file. | 5866 // BSD-style license that can be found in the LICENSE file. |
| 5867 | 5867 |
| 5868 // WARNING: Do not edit - generated code. | 5868 // WARNING: Do not edit - generated code. |
| (...skipping 11 matching lines...) Expand all Loading... |
| 5880 gamma, absolute); | 5880 gamma, absolute); |
| 5881 return e; | 5881 return e; |
| 5882 } | 5882 } |
| 5883 | 5883 |
| 5884 @DomName('DeviceOrientationEvent.absolute') | 5884 @DomName('DeviceOrientationEvent.absolute') |
| 5885 @DocsEditable | 5885 @DocsEditable |
| 5886 final bool absolute; | 5886 final bool absolute; |
| 5887 | 5887 |
| 5888 @DomName('DeviceOrientationEvent.alpha') | 5888 @DomName('DeviceOrientationEvent.alpha') |
| 5889 @DocsEditable | 5889 @DocsEditable |
| 5890 final num alpha; | 5890 final double alpha; |
| 5891 | 5891 |
| 5892 @DomName('DeviceOrientationEvent.beta') | 5892 @DomName('DeviceOrientationEvent.beta') |
| 5893 @DocsEditable | 5893 @DocsEditable |
| 5894 final num beta; | 5894 final double beta; |
| 5895 | 5895 |
| 5896 @DomName('DeviceOrientationEvent.gamma') | 5896 @DomName('DeviceOrientationEvent.gamma') |
| 5897 @DocsEditable | 5897 @DocsEditable |
| 5898 final num gamma; | 5898 final double gamma; |
| 5899 | 5899 |
| 5900 @JSName('initDeviceOrientationEvent') | 5900 @JSName('initDeviceOrientationEvent') |
| 5901 @DomName('DeviceOrientationEvent.initDeviceOrientationEvent') | 5901 @DomName('DeviceOrientationEvent.initDeviceOrientationEvent') |
| 5902 @DocsEditable | 5902 @DocsEditable |
| 5903 void $dom_initDeviceOrientationEvent(String type, bool bubbles, bool cancelabl
e, num alpha, num beta, num gamma, bool absolute) native; | 5903 void $dom_initDeviceOrientationEvent(String type, bool bubbles, bool cancelabl
e, double alpha, double beta, double gamma, bool absolute) native; |
| 5904 | 5904 |
| 5905 } | 5905 } |
| 5906 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5906 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5907 // for details. All rights reserved. Use of this source code is governed by a | 5907 // for details. All rights reserved. Use of this source code is governed by a |
| 5908 // BSD-style license that can be found in the LICENSE file. | 5908 // BSD-style license that can be found in the LICENSE file. |
| 5909 | 5909 |
| 5910 | 5910 |
| 5911 @DocsEditable | 5911 @DocsEditable |
| 5912 @DomName('DeviceRotationRate') | 5912 @DomName('DeviceRotationRate') |
| 5913 // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion | 5913 // http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion |
| 5914 @Experimental | 5914 @Experimental |
| 5915 class DeviceRotationRate native "DeviceRotationRate" { | 5915 class DeviceRotationRate native "DeviceRotationRate" { |
| 5916 | 5916 |
| 5917 @DomName('DeviceRotationRate.alpha') | 5917 @DomName('DeviceRotationRate.alpha') |
| 5918 @DocsEditable | 5918 @DocsEditable |
| 5919 final num alpha; | 5919 final double alpha; |
| 5920 | 5920 |
| 5921 @DomName('DeviceRotationRate.beta') | 5921 @DomName('DeviceRotationRate.beta') |
| 5922 @DocsEditable | 5922 @DocsEditable |
| 5923 final num beta; | 5923 final double beta; |
| 5924 | 5924 |
| 5925 @DomName('DeviceRotationRate.gamma') | 5925 @DomName('DeviceRotationRate.gamma') |
| 5926 @DocsEditable | 5926 @DocsEditable |
| 5927 final num gamma; | 5927 final double gamma; |
| 5928 } | 5928 } |
| 5929 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5929 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5930 // for details. All rights reserved. Use of this source code is governed by a | 5930 // for details. All rights reserved. Use of this source code is governed by a |
| 5931 // BSD-style license that can be found in the LICENSE file. | 5931 // BSD-style license that can be found in the LICENSE file. |
| 5932 | 5932 |
| 5933 | 5933 |
| 5934 @DocsEditable | 5934 @DocsEditable |
| 5935 @DomName('HTMLDialogElement') | 5935 @DomName('HTMLDialogElement') |
| 5936 @Unstable | 5936 @Unstable |
| 5937 class DialogElement extends Element native "HTMLDialogElement" { | 5937 class DialogElement extends Element native "HTMLDialogElement" { |
| (...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6433 | 6433 |
| 6434 @JSName('createTextNode') | 6434 @JSName('createTextNode') |
| 6435 @DomName('Document.createTextNode') | 6435 @DomName('Document.createTextNode') |
| 6436 @DocsEditable | 6436 @DocsEditable |
| 6437 Text $dom_createTextNode(String data) native; | 6437 Text $dom_createTextNode(String data) native; |
| 6438 | 6438 |
| 6439 @DomName('Document.createTouch') | 6439 @DomName('Document.createTouch') |
| 6440 @DocsEditable | 6440 @DocsEditable |
| 6441 // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features | 6441 // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features |
| 6442 @Experimental | 6442 @Experimental |
| 6443 Touch $dom_createTouch(Window window, EventTarget target, int identifier, int
pageX, int pageY, int screenX, int screenY, int webkitRadiusX, int webkitRadiusY
, num webkitRotationAngle, num webkitForce) { | 6443 Touch $dom_createTouch(Window window, EventTarget target, int identifier, int
pageX, int pageY, int screenX, int screenY, int webkitRadiusX, int webkitRadiusY
, double webkitRotationAngle, double webkitForce) { |
| 6444 var target_1 = _convertDartToNative_EventTarget(target); | 6444 var target_1 = _convertDartToNative_EventTarget(target); |
| 6445 return _$dom_createTouch_1(window, target_1, identifier, pageX, pageY, scree
nX, screenY, webkitRadiusX, webkitRadiusY, webkitRotationAngle, webkitForce); | 6445 return _$dom_createTouch_1(window, target_1, identifier, pageX, pageY, scree
nX, screenY, webkitRadiusX, webkitRadiusY, webkitRotationAngle, webkitForce); |
| 6446 } | 6446 } |
| 6447 @JSName('createTouch') | 6447 @JSName('createTouch') |
| 6448 @DomName('Document.createTouch') | 6448 @DomName('Document.createTouch') |
| 6449 @DocsEditable | 6449 @DocsEditable |
| 6450 // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features | 6450 // http://www.w3.org/TR/touch-events/, http://www.chromestatus.com/features |
| 6451 @Experimental | 6451 @Experimental |
| 6452 Touch _$dom_createTouch_1(Window window, target, identifier, pageX, pageY, scr
eenX, screenY, webkitRadiusX, webkitRadiusY, webkitRotationAngle, webkitForce) n
ative; | 6452 Touch _$dom_createTouch_1(Window window, target, identifier, pageX, pageY, scr
eenX, screenY, webkitRadiusX, webkitRadiusY, webkitRotationAngle, webkitForce) n
ative; |
| 6453 | 6453 |
| (...skipping 4095 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10549 | 10549 |
| 10550 | 10550 |
| 10551 @DocsEditable | 10551 @DocsEditable |
| 10552 @DomName('Gamepad') | 10552 @DomName('Gamepad') |
| 10553 // https://dvcs.w3.org/hg/gamepad/raw-file/default/gamepad.html#gamepad-interfac
e | 10553 // https://dvcs.w3.org/hg/gamepad/raw-file/default/gamepad.html#gamepad-interfac
e |
| 10554 @Experimental | 10554 @Experimental |
| 10555 class Gamepad native "Gamepad" { | 10555 class Gamepad native "Gamepad" { |
| 10556 | 10556 |
| 10557 @DomName('Gamepad.axes') | 10557 @DomName('Gamepad.axes') |
| 10558 @DocsEditable | 10558 @DocsEditable |
| 10559 final List<num> axes; | 10559 final List<double> axes; |
| 10560 | 10560 |
| 10561 @DomName('Gamepad.buttons') | 10561 @DomName('Gamepad.buttons') |
| 10562 @DocsEditable | 10562 @DocsEditable |
| 10563 final List<num> buttons; | 10563 final List<double> buttons; |
| 10564 | 10564 |
| 10565 @DomName('Gamepad.id') | 10565 @DomName('Gamepad.id') |
| 10566 @DocsEditable | 10566 @DocsEditable |
| 10567 final String id; | 10567 final String id; |
| 10568 | 10568 |
| 10569 @DomName('Gamepad.index') | 10569 @DomName('Gamepad.index') |
| 10570 @DocsEditable | 10570 @DocsEditable |
| 10571 final int index; | 10571 final int index; |
| 10572 | 10572 |
| 10573 @DomName('Gamepad.timestamp') | 10573 @DomName('Gamepad.timestamp') |
| (...skipping 1690 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12264 | 12264 |
| 12265 void set valueAsDate(DateTime value) { | 12265 void set valueAsDate(DateTime value) { |
| 12266 this._set_valueAsDate = _convertDartToNative_DateTime(value); | 12266 this._set_valueAsDate = _convertDartToNative_DateTime(value); |
| 12267 } | 12267 } |
| 12268 void set _set_valueAsDate(/*dynamic*/ value) { | 12268 void set _set_valueAsDate(/*dynamic*/ value) { |
| 12269 JS("void", "#.valueAsDate = #", this, value); | 12269 JS("void", "#.valueAsDate = #", this, value); |
| 12270 } | 12270 } |
| 12271 | 12271 |
| 12272 @DomName('HTMLInputElement.valueAsNumber') | 12272 @DomName('HTMLInputElement.valueAsNumber') |
| 12273 @DocsEditable | 12273 @DocsEditable |
| 12274 num valueAsNumber; | 12274 double valueAsNumber; |
| 12275 | 12275 |
| 12276 @JSName('webkitEntries') | 12276 @JSName('webkitEntries') |
| 12277 @DomName('HTMLInputElement.webkitEntries') | 12277 @DomName('HTMLInputElement.webkitEntries') |
| 12278 @DocsEditable | 12278 @DocsEditable |
| 12279 @SupportedBrowser(SupportedBrowser.CHROME) | 12279 @SupportedBrowser(SupportedBrowser.CHROME) |
| 12280 @SupportedBrowser(SupportedBrowser.SAFARI) | 12280 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 12281 @Experimental | 12281 @Experimental |
| 12282 // http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-t
ype-attribute.html#concept-input-type-file-selected | 12282 // http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-t
ype-attribute.html#concept-input-type-file-selected |
| 12283 @Returns('_EntryArray') | 12283 @Returns('_EntryArray') |
| 12284 @Creates('_EntryArray') | 12284 @Creates('_EntryArray') |
| (...skipping 1064 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13349 return MediaController._create_1(); | 13349 return MediaController._create_1(); |
| 13350 } | 13350 } |
| 13351 static MediaController _create_1() => JS('MediaController', 'new MediaControll
er()'); | 13351 static MediaController _create_1() => JS('MediaController', 'new MediaControll
er()'); |
| 13352 | 13352 |
| 13353 @DomName('MediaController.buffered') | 13353 @DomName('MediaController.buffered') |
| 13354 @DocsEditable | 13354 @DocsEditable |
| 13355 final TimeRanges buffered; | 13355 final TimeRanges buffered; |
| 13356 | 13356 |
| 13357 @DomName('MediaController.currentTime') | 13357 @DomName('MediaController.currentTime') |
| 13358 @DocsEditable | 13358 @DocsEditable |
| 13359 num currentTime; | 13359 double currentTime; |
| 13360 | 13360 |
| 13361 @DomName('MediaController.defaultPlaybackRate') | 13361 @DomName('MediaController.defaultPlaybackRate') |
| 13362 @DocsEditable | 13362 @DocsEditable |
| 13363 num defaultPlaybackRate; | 13363 double defaultPlaybackRate; |
| 13364 | 13364 |
| 13365 @DomName('MediaController.duration') | 13365 @DomName('MediaController.duration') |
| 13366 @DocsEditable | 13366 @DocsEditable |
| 13367 final num duration; | 13367 final double duration; |
| 13368 | 13368 |
| 13369 @DomName('MediaController.muted') | 13369 @DomName('MediaController.muted') |
| 13370 @DocsEditable | 13370 @DocsEditable |
| 13371 bool muted; | 13371 bool muted; |
| 13372 | 13372 |
| 13373 @DomName('MediaController.paused') | 13373 @DomName('MediaController.paused') |
| 13374 @DocsEditable | 13374 @DocsEditable |
| 13375 final bool paused; | 13375 final bool paused; |
| 13376 | 13376 |
| 13377 @DomName('MediaController.playbackRate') | 13377 @DomName('MediaController.playbackRate') |
| 13378 @DocsEditable | 13378 @DocsEditable |
| 13379 num playbackRate; | 13379 double playbackRate; |
| 13380 | 13380 |
| 13381 @DomName('MediaController.playbackState') | 13381 @DomName('MediaController.playbackState') |
| 13382 @DocsEditable | 13382 @DocsEditable |
| 13383 final String playbackState; | 13383 final String playbackState; |
| 13384 | 13384 |
| 13385 @DomName('MediaController.played') | 13385 @DomName('MediaController.played') |
| 13386 @DocsEditable | 13386 @DocsEditable |
| 13387 final TimeRanges played; | 13387 final TimeRanges played; |
| 13388 | 13388 |
| 13389 @DomName('MediaController.seekable') | 13389 @DomName('MediaController.seekable') |
| 13390 @DocsEditable | 13390 @DocsEditable |
| 13391 final TimeRanges seekable; | 13391 final TimeRanges seekable; |
| 13392 | 13392 |
| 13393 @DomName('MediaController.volume') | 13393 @DomName('MediaController.volume') |
| 13394 @DocsEditable | 13394 @DocsEditable |
| 13395 num volume; | 13395 double volume; |
| 13396 | 13396 |
| 13397 @JSName('addEventListener') | 13397 @JSName('addEventListener') |
| 13398 @DomName('MediaController.addEventListener') | 13398 @DomName('MediaController.addEventListener') |
| 13399 @DocsEditable | 13399 @DocsEditable |
| 13400 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; | 13400 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; |
| 13401 | 13401 |
| 13402 @DomName('MediaController.dispatchEvent') | 13402 @DomName('MediaController.dispatchEvent') |
| 13403 @DocsEditable | 13403 @DocsEditable |
| 13404 bool dispatchEvent(Event evt) native; | 13404 bool dispatchEvent(Event evt) native; |
| 13405 | 13405 |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13599 @DomName('HTMLMediaElement.controls') | 13599 @DomName('HTMLMediaElement.controls') |
| 13600 @DocsEditable | 13600 @DocsEditable |
| 13601 bool controls; | 13601 bool controls; |
| 13602 | 13602 |
| 13603 @DomName('HTMLMediaElement.currentSrc') | 13603 @DomName('HTMLMediaElement.currentSrc') |
| 13604 @DocsEditable | 13604 @DocsEditable |
| 13605 final String currentSrc; | 13605 final String currentSrc; |
| 13606 | 13606 |
| 13607 @DomName('HTMLMediaElement.currentTime') | 13607 @DomName('HTMLMediaElement.currentTime') |
| 13608 @DocsEditable | 13608 @DocsEditable |
| 13609 num currentTime; | 13609 double currentTime; |
| 13610 | 13610 |
| 13611 @DomName('HTMLMediaElement.defaultMuted') | 13611 @DomName('HTMLMediaElement.defaultMuted') |
| 13612 @DocsEditable | 13612 @DocsEditable |
| 13613 bool defaultMuted; | 13613 bool defaultMuted; |
| 13614 | 13614 |
| 13615 @DomName('HTMLMediaElement.defaultPlaybackRate') | 13615 @DomName('HTMLMediaElement.defaultPlaybackRate') |
| 13616 @DocsEditable | 13616 @DocsEditable |
| 13617 num defaultPlaybackRate; | 13617 double defaultPlaybackRate; |
| 13618 | 13618 |
| 13619 @DomName('HTMLMediaElement.duration') | 13619 @DomName('HTMLMediaElement.duration') |
| 13620 @DocsEditable | 13620 @DocsEditable |
| 13621 final num duration; | 13621 final double duration; |
| 13622 | 13622 |
| 13623 @DomName('HTMLMediaElement.ended') | 13623 @DomName('HTMLMediaElement.ended') |
| 13624 @DocsEditable | 13624 @DocsEditable |
| 13625 final bool ended; | 13625 final bool ended; |
| 13626 | 13626 |
| 13627 @DomName('HTMLMediaElement.error') | 13627 @DomName('HTMLMediaElement.error') |
| 13628 @DocsEditable | 13628 @DocsEditable |
| 13629 final MediaError error; | 13629 final MediaError error; |
| 13630 | 13630 |
| 13631 @DomName('HTMLMediaElement.initialTime') | 13631 @DomName('HTMLMediaElement.initialTime') |
| 13632 @DocsEditable | 13632 @DocsEditable |
| 13633 // http://www.w3.org/TR/2011/WD-html5-20110113/video.html#dom-media-initialtim
e | 13633 // http://www.w3.org/TR/2011/WD-html5-20110113/video.html#dom-media-initialtim
e |
| 13634 @Experimental | 13634 @Experimental |
| 13635 final num initialTime; | 13635 final double initialTime; |
| 13636 | 13636 |
| 13637 @DomName('HTMLMediaElement.loop') | 13637 @DomName('HTMLMediaElement.loop') |
| 13638 @DocsEditable | 13638 @DocsEditable |
| 13639 bool loop; | 13639 bool loop; |
| 13640 | 13640 |
| 13641 @DomName('HTMLMediaElement.mediaGroup') | 13641 @DomName('HTMLMediaElement.mediaGroup') |
| 13642 @DocsEditable | 13642 @DocsEditable |
| 13643 String mediaGroup; | 13643 String mediaGroup; |
| 13644 | 13644 |
| 13645 @DomName('HTMLMediaElement.muted') | 13645 @DomName('HTMLMediaElement.muted') |
| 13646 @DocsEditable | 13646 @DocsEditable |
| 13647 bool muted; | 13647 bool muted; |
| 13648 | 13648 |
| 13649 @DomName('HTMLMediaElement.networkState') | 13649 @DomName('HTMLMediaElement.networkState') |
| 13650 @DocsEditable | 13650 @DocsEditable |
| 13651 final int networkState; | 13651 final int networkState; |
| 13652 | 13652 |
| 13653 @DomName('HTMLMediaElement.paused') | 13653 @DomName('HTMLMediaElement.paused') |
| 13654 @DocsEditable | 13654 @DocsEditable |
| 13655 final bool paused; | 13655 final bool paused; |
| 13656 | 13656 |
| 13657 @DomName('HTMLMediaElement.playbackRate') | 13657 @DomName('HTMLMediaElement.playbackRate') |
| 13658 @DocsEditable | 13658 @DocsEditable |
| 13659 num playbackRate; | 13659 double playbackRate; |
| 13660 | 13660 |
| 13661 @DomName('HTMLMediaElement.played') | 13661 @DomName('HTMLMediaElement.played') |
| 13662 @DocsEditable | 13662 @DocsEditable |
| 13663 final TimeRanges played; | 13663 final TimeRanges played; |
| 13664 | 13664 |
| 13665 @DomName('HTMLMediaElement.preload') | 13665 @DomName('HTMLMediaElement.preload') |
| 13666 @DocsEditable | 13666 @DocsEditable |
| 13667 String preload; | 13667 String preload; |
| 13668 | 13668 |
| 13669 @DomName('HTMLMediaElement.readyState') | 13669 @DomName('HTMLMediaElement.readyState') |
| 13670 @DocsEditable | 13670 @DocsEditable |
| 13671 final int readyState; | 13671 final int readyState; |
| 13672 | 13672 |
| 13673 @DomName('HTMLMediaElement.seekable') | 13673 @DomName('HTMLMediaElement.seekable') |
| 13674 @DocsEditable | 13674 @DocsEditable |
| 13675 final TimeRanges seekable; | 13675 final TimeRanges seekable; |
| 13676 | 13676 |
| 13677 @DomName('HTMLMediaElement.seeking') | 13677 @DomName('HTMLMediaElement.seeking') |
| 13678 @DocsEditable | 13678 @DocsEditable |
| 13679 final bool seeking; | 13679 final bool seeking; |
| 13680 | 13680 |
| 13681 @DomName('HTMLMediaElement.src') | 13681 @DomName('HTMLMediaElement.src') |
| 13682 @DocsEditable | 13682 @DocsEditable |
| 13683 String src; | 13683 String src; |
| 13684 | 13684 |
| 13685 @DomName('HTMLMediaElement.startTime') | 13685 @DomName('HTMLMediaElement.startTime') |
| 13686 @DocsEditable | 13686 @DocsEditable |
| 13687 @Experimental // non-standard | 13687 @Experimental // non-standard |
| 13688 final num startTime; | 13688 final double startTime; |
| 13689 | 13689 |
| 13690 @DomName('HTMLMediaElement.textTracks') | 13690 @DomName('HTMLMediaElement.textTracks') |
| 13691 @DocsEditable | 13691 @DocsEditable |
| 13692 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-eleme
nt.html#dom-media-texttracks | 13692 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-eleme
nt.html#dom-media-texttracks |
| 13693 @Experimental | 13693 @Experimental |
| 13694 final TextTrackList textTracks; | 13694 final TextTrackList textTracks; |
| 13695 | 13695 |
| 13696 @DomName('HTMLMediaElement.volume') | 13696 @DomName('HTMLMediaElement.volume') |
| 13697 @DocsEditable | 13697 @DocsEditable |
| 13698 num volume; | 13698 double volume; |
| 13699 | 13699 |
| 13700 @JSName('webkitAudioDecodedByteCount') | 13700 @JSName('webkitAudioDecodedByteCount') |
| 13701 @DomName('HTMLMediaElement.webkitAudioDecodedByteCount') | 13701 @DomName('HTMLMediaElement.webkitAudioDecodedByteCount') |
| 13702 @DocsEditable | 13702 @DocsEditable |
| 13703 @SupportedBrowser(SupportedBrowser.CHROME) | 13703 @SupportedBrowser(SupportedBrowser.CHROME) |
| 13704 @SupportedBrowser(SupportedBrowser.SAFARI) | 13704 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 13705 @Experimental | 13705 @Experimental |
| 13706 @Experimental // nonstandard | 13706 @Experimental // nonstandard |
| 13707 final int audioDecodedByteCount; | 13707 final int audioDecodedByteCount; |
| 13708 | 13708 |
| (...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14100 return MediaSource._create_1(); | 14100 return MediaSource._create_1(); |
| 14101 } | 14101 } |
| 14102 static MediaSource _create_1() => JS('MediaSource', 'new MediaSource()'); | 14102 static MediaSource _create_1() => JS('MediaSource', 'new MediaSource()'); |
| 14103 | 14103 |
| 14104 @DomName('MediaSource.activeSourceBuffers') | 14104 @DomName('MediaSource.activeSourceBuffers') |
| 14105 @DocsEditable | 14105 @DocsEditable |
| 14106 final SourceBufferList activeSourceBuffers; | 14106 final SourceBufferList activeSourceBuffers; |
| 14107 | 14107 |
| 14108 @DomName('MediaSource.duration') | 14108 @DomName('MediaSource.duration') |
| 14109 @DocsEditable | 14109 @DocsEditable |
| 14110 num duration; | 14110 double duration; |
| 14111 | 14111 |
| 14112 @DomName('MediaSource.readyState') | 14112 @DomName('MediaSource.readyState') |
| 14113 @DocsEditable | 14113 @DocsEditable |
| 14114 final String readyState; | 14114 final String readyState; |
| 14115 | 14115 |
| 14116 @DomName('MediaSource.sourceBuffers') | 14116 @DomName('MediaSource.sourceBuffers') |
| 14117 @DocsEditable | 14117 @DocsEditable |
| 14118 final SourceBufferList sourceBuffers; | 14118 final SourceBufferList sourceBuffers; |
| 14119 | 14119 |
| 14120 @JSName('addEventListener') | 14120 @JSName('addEventListener') |
| (...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14634 | 14634 |
| 14635 @DomName('HTMLMeterElement.HTMLMeterElement') | 14635 @DomName('HTMLMeterElement.HTMLMeterElement') |
| 14636 @DocsEditable | 14636 @DocsEditable |
| 14637 factory MeterElement() => document.$dom_createElement("meter"); | 14637 factory MeterElement() => document.$dom_createElement("meter"); |
| 14638 | 14638 |
| 14639 /// Checks if this type is supported on the current platform. | 14639 /// Checks if this type is supported on the current platform. |
| 14640 static bool get supported => Element.isTagSupported('meter'); | 14640 static bool get supported => Element.isTagSupported('meter'); |
| 14641 | 14641 |
| 14642 @DomName('HTMLMeterElement.high') | 14642 @DomName('HTMLMeterElement.high') |
| 14643 @DocsEditable | 14643 @DocsEditable |
| 14644 num high; | 14644 double high; |
| 14645 | 14645 |
| 14646 @DomName('HTMLMeterElement.labels') | 14646 @DomName('HTMLMeterElement.labels') |
| 14647 @DocsEditable | 14647 @DocsEditable |
| 14648 @Unstable | 14648 @Unstable |
| 14649 @Returns('NodeList') | 14649 @Returns('NodeList') |
| 14650 @Creates('NodeList') | 14650 @Creates('NodeList') |
| 14651 final List<Node> labels; | 14651 final List<Node> labels; |
| 14652 | 14652 |
| 14653 @DomName('HTMLMeterElement.low') | 14653 @DomName('HTMLMeterElement.low') |
| 14654 @DocsEditable | 14654 @DocsEditable |
| 14655 num low; | 14655 double low; |
| 14656 | 14656 |
| 14657 @DomName('HTMLMeterElement.max') | 14657 @DomName('HTMLMeterElement.max') |
| 14658 @DocsEditable | 14658 @DocsEditable |
| 14659 num max; | 14659 double max; |
| 14660 | 14660 |
| 14661 @DomName('HTMLMeterElement.min') | 14661 @DomName('HTMLMeterElement.min') |
| 14662 @DocsEditable | 14662 @DocsEditable |
| 14663 num min; | 14663 double min; |
| 14664 | 14664 |
| 14665 @DomName('HTMLMeterElement.optimum') | 14665 @DomName('HTMLMeterElement.optimum') |
| 14666 @DocsEditable | 14666 @DocsEditable |
| 14667 num optimum; | 14667 double optimum; |
| 14668 | 14668 |
| 14669 @DomName('HTMLMeterElement.value') | 14669 @DomName('HTMLMeterElement.value') |
| 14670 @DocsEditable | 14670 @DocsEditable |
| 14671 num value; | 14671 double value; |
| 14672 } | 14672 } |
| 14673 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14673 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14674 // for details. All rights reserved. Use of this source code is governed by a | 14674 // for details. All rights reserved. Use of this source code is governed by a |
| 14675 // BSD-style license that can be found in the LICENSE file. | 14675 // BSD-style license that can be found in the LICENSE file. |
| 14676 | 14676 |
| 14677 | 14677 |
| 14678 @DocsEditable | 14678 @DocsEditable |
| 14679 @DomName('MIDIConnectionEvent') | 14679 @DomName('MIDIConnectionEvent') |
| 14680 @Experimental // untriaged | 14680 @Experimental // untriaged |
| 14681 class MidiConnectionEvent extends Event native "MIDIConnectionEvent" { | 14681 class MidiConnectionEvent extends Event native "MIDIConnectionEvent" { |
| (...skipping 24 matching lines...) Expand all Loading... |
| 14706 class MidiMessageEvent extends Event native "MIDIMessageEvent" { | 14706 class MidiMessageEvent extends Event native "MIDIMessageEvent" { |
| 14707 | 14707 |
| 14708 @DomName('MIDIMessageEvent.data') | 14708 @DomName('MIDIMessageEvent.data') |
| 14709 @DocsEditable | 14709 @DocsEditable |
| 14710 @Experimental // untriaged | 14710 @Experimental // untriaged |
| 14711 final Uint8List data; | 14711 final Uint8List data; |
| 14712 | 14712 |
| 14713 @DomName('MIDIMessageEvent.receivedTime') | 14713 @DomName('MIDIMessageEvent.receivedTime') |
| 14714 @DocsEditable | 14714 @DocsEditable |
| 14715 @Experimental // untriaged | 14715 @Experimental // untriaged |
| 14716 final num receivedTime; | 14716 final double receivedTime; |
| 14717 } | 14717 } |
| 14718 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14718 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14719 // for details. All rights reserved. Use of this source code is governed by a | 14719 // for details. All rights reserved. Use of this source code is governed by a |
| 14720 // BSD-style license that can be found in the LICENSE file. | 14720 // BSD-style license that can be found in the LICENSE file. |
| 14721 | 14721 |
| 14722 | 14722 |
| 14723 @DocsEditable | 14723 @DocsEditable |
| 14724 @DomName('MIDIPort') | 14724 @DomName('MIDIPort') |
| 14725 @Experimental // untriaged | 14725 @Experimental // untriaged |
| 14726 class MidiPort extends EventTarget native "MIDIPort" { | 14726 class MidiPort extends EventTarget native "MIDIPort" { |
| (...skipping 2058 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16785 return Path._create_3(path_OR_text); | 16785 return Path._create_3(path_OR_text); |
| 16786 } | 16786 } |
| 16787 throw new ArgumentError("Incorrect number or type of arguments"); | 16787 throw new ArgumentError("Incorrect number or type of arguments"); |
| 16788 } | 16788 } |
| 16789 static Path _create_1() => JS('Path', 'new Path()'); | 16789 static Path _create_1() => JS('Path', 'new Path()'); |
| 16790 static Path _create_2(path_OR_text) => JS('Path', 'new Path(#)', path_OR_text)
; | 16790 static Path _create_2(path_OR_text) => JS('Path', 'new Path(#)', path_OR_text)
; |
| 16791 static Path _create_3(path_OR_text) => JS('Path', 'new Path(#)', path_OR_text)
; | 16791 static Path _create_3(path_OR_text) => JS('Path', 'new Path(#)', path_OR_text)
; |
| 16792 | 16792 |
| 16793 @DomName('Path.arc') | 16793 @DomName('Path.arc') |
| 16794 @DocsEditable | 16794 @DocsEditable |
| 16795 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc
kwise) native; | 16795 void arc(double x, double y, double radius, double startAngle, double endAngle
, bool anticlockwise) native; |
| 16796 | 16796 |
| 16797 @DomName('Path.arcTo') | 16797 @DomName('Path.arcTo') |
| 16798 @DocsEditable | 16798 @DocsEditable |
| 16799 void arcTo(num x1, num y1, num x2, num y2, num radius) native; | 16799 void arcTo(double x1, double y1, double x2, double y2, double radius) native; |
| 16800 | 16800 |
| 16801 @DomName('Path.bezierCurveTo') | 16801 @DomName('Path.bezierCurveTo') |
| 16802 @DocsEditable | 16802 @DocsEditable |
| 16803 void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y) nativ
e; | 16803 void bezierCurveTo(double cp1x, double cp1y, double cp2x, double cp2y, double
x, double y) native; |
| 16804 | 16804 |
| 16805 @DomName('Path.closePath') | 16805 @DomName('Path.closePath') |
| 16806 @DocsEditable | 16806 @DocsEditable |
| 16807 void closePath() native; | 16807 void closePath() native; |
| 16808 | 16808 |
| 16809 @DomName('Path.lineTo') | 16809 @DomName('Path.lineTo') |
| 16810 @DocsEditable | 16810 @DocsEditable |
| 16811 void lineTo(num x, num y) native; | 16811 void lineTo(double x, double y) native; |
| 16812 | 16812 |
| 16813 @DomName('Path.moveTo') | 16813 @DomName('Path.moveTo') |
| 16814 @DocsEditable | 16814 @DocsEditable |
| 16815 void moveTo(num x, num y) native; | 16815 void moveTo(double x, double y) native; |
| 16816 | 16816 |
| 16817 @DomName('Path.quadraticCurveTo') | 16817 @DomName('Path.quadraticCurveTo') |
| 16818 @DocsEditable | 16818 @DocsEditable |
| 16819 void quadraticCurveTo(num cpx, num cpy, num x, num y) native; | 16819 void quadraticCurveTo(double cpx, double cpy, double x, double y) native; |
| 16820 | 16820 |
| 16821 @DomName('Path.rect') | 16821 @DomName('Path.rect') |
| 16822 @DocsEditable | 16822 @DocsEditable |
| 16823 void rect(num x, num y, num width, num height) native; | 16823 void rect(double x, double y, double width, double height) native; |
| 16824 } | 16824 } |
| 16825 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16825 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16826 // for details. All rights reserved. Use of this source code is governed by a | 16826 // for details. All rights reserved. Use of this source code is governed by a |
| 16827 // BSD-style license that can be found in the LICENSE file. | 16827 // BSD-style license that can be found in the LICENSE file. |
| 16828 | 16828 |
| 16829 | 16829 |
| 16830 @DocsEditable | 16830 @DocsEditable |
| 16831 @DomName('Performance') | 16831 @DomName('Performance') |
| 16832 @SupportedBrowser(SupportedBrowser.CHROME) | 16832 @SupportedBrowser(SupportedBrowser.CHROME) |
| 16833 @SupportedBrowser(SupportedBrowser.FIREFOX) | 16833 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16888 @Experimental // untriaged | 16888 @Experimental // untriaged |
| 16889 void mark(String markName) native; | 16889 void mark(String markName) native; |
| 16890 | 16890 |
| 16891 @DomName('Performance.measure') | 16891 @DomName('Performance.measure') |
| 16892 @DocsEditable | 16892 @DocsEditable |
| 16893 @Experimental // untriaged | 16893 @Experimental // untriaged |
| 16894 void measure(String measureName, String startMark, String endMark) native; | 16894 void measure(String measureName, String startMark, String endMark) native; |
| 16895 | 16895 |
| 16896 @DomName('Performance.now') | 16896 @DomName('Performance.now') |
| 16897 @DocsEditable | 16897 @DocsEditable |
| 16898 num now() native; | 16898 double now() native; |
| 16899 | 16899 |
| 16900 @JSName('webkitClearResourceTimings') | 16900 @JSName('webkitClearResourceTimings') |
| 16901 @DomName('Performance.webkitClearResourceTimings') | 16901 @DomName('Performance.webkitClearResourceTimings') |
| 16902 @DocsEditable | 16902 @DocsEditable |
| 16903 @SupportedBrowser(SupportedBrowser.CHROME) | 16903 @SupportedBrowser(SupportedBrowser.CHROME) |
| 16904 @SupportedBrowser(SupportedBrowser.SAFARI) | 16904 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 16905 @Experimental | 16905 @Experimental |
| 16906 // http://www.w3c-test.org/webperf/specs/ResourceTiming/#performanceresourceti
ming-methods | 16906 // http://www.w3c-test.org/webperf/specs/ResourceTiming/#performanceresourceti
ming-methods |
| 16907 void clearResourceTimings() native; | 16907 void clearResourceTimings() native; |
| 16908 | 16908 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 16927 | 16927 |
| 16928 | 16928 |
| 16929 @DocsEditable | 16929 @DocsEditable |
| 16930 @DomName('PerformanceEntry') | 16930 @DomName('PerformanceEntry') |
| 16931 // http://www.w3.org/TR/performance-timeline/#sec-PerformanceEntry-interface | 16931 // http://www.w3.org/TR/performance-timeline/#sec-PerformanceEntry-interface |
| 16932 @Experimental | 16932 @Experimental |
| 16933 class PerformanceEntry native "PerformanceEntry" { | 16933 class PerformanceEntry native "PerformanceEntry" { |
| 16934 | 16934 |
| 16935 @DomName('PerformanceEntry.duration') | 16935 @DomName('PerformanceEntry.duration') |
| 16936 @DocsEditable | 16936 @DocsEditable |
| 16937 final num duration; | 16937 final double duration; |
| 16938 | 16938 |
| 16939 @DomName('PerformanceEntry.entryType') | 16939 @DomName('PerformanceEntry.entryType') |
| 16940 @DocsEditable | 16940 @DocsEditable |
| 16941 final String entryType; | 16941 final String entryType; |
| 16942 | 16942 |
| 16943 @DomName('PerformanceEntry.name') | 16943 @DomName('PerformanceEntry.name') |
| 16944 @DocsEditable | 16944 @DocsEditable |
| 16945 final String name; | 16945 final String name; |
| 16946 | 16946 |
| 16947 @DomName('PerformanceEntry.startTime') | 16947 @DomName('PerformanceEntry.startTime') |
| 16948 @DocsEditable | 16948 @DocsEditable |
| 16949 final num startTime; | 16949 final double startTime; |
| 16950 } | 16950 } |
| 16951 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16951 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16952 // for details. All rights reserved. Use of this source code is governed by a | 16952 // for details. All rights reserved. Use of this source code is governed by a |
| 16953 // BSD-style license that can be found in the LICENSE file. | 16953 // BSD-style license that can be found in the LICENSE file. |
| 16954 | 16954 |
| 16955 | 16955 |
| 16956 @DocsEditable | 16956 @DocsEditable |
| 16957 @DomName('PerformanceMark') | 16957 @DomName('PerformanceMark') |
| 16958 // http://www.w3.org/TR/user-timing/#performancemark | 16958 // http://www.w3.org/TR/user-timing/#performancemark |
| 16959 @Experimental | 16959 @Experimental |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17010 | 17010 |
| 17011 | 17011 |
| 17012 @DocsEditable | 17012 @DocsEditable |
| 17013 @DomName('PerformanceResourceTiming') | 17013 @DomName('PerformanceResourceTiming') |
| 17014 // http://www.w3c-test.org/webperf/specs/ResourceTiming/#performanceresourcetimi
ng | 17014 // http://www.w3c-test.org/webperf/specs/ResourceTiming/#performanceresourcetimi
ng |
| 17015 @Experimental | 17015 @Experimental |
| 17016 class PerformanceResourceTiming extends PerformanceEntry native "PerformanceReso
urceTiming" { | 17016 class PerformanceResourceTiming extends PerformanceEntry native "PerformanceReso
urceTiming" { |
| 17017 | 17017 |
| 17018 @DomName('PerformanceResourceTiming.connectEnd') | 17018 @DomName('PerformanceResourceTiming.connectEnd') |
| 17019 @DocsEditable | 17019 @DocsEditable |
| 17020 final num connectEnd; | 17020 final double connectEnd; |
| 17021 | 17021 |
| 17022 @DomName('PerformanceResourceTiming.connectStart') | 17022 @DomName('PerformanceResourceTiming.connectStart') |
| 17023 @DocsEditable | 17023 @DocsEditable |
| 17024 final num connectStart; | 17024 final double connectStart; |
| 17025 | 17025 |
| 17026 @DomName('PerformanceResourceTiming.domainLookupEnd') | 17026 @DomName('PerformanceResourceTiming.domainLookupEnd') |
| 17027 @DocsEditable | 17027 @DocsEditable |
| 17028 final num domainLookupEnd; | 17028 final double domainLookupEnd; |
| 17029 | 17029 |
| 17030 @DomName('PerformanceResourceTiming.domainLookupStart') | 17030 @DomName('PerformanceResourceTiming.domainLookupStart') |
| 17031 @DocsEditable | 17031 @DocsEditable |
| 17032 final num domainLookupStart; | 17032 final double domainLookupStart; |
| 17033 | 17033 |
| 17034 @DomName('PerformanceResourceTiming.fetchStart') | 17034 @DomName('PerformanceResourceTiming.fetchStart') |
| 17035 @DocsEditable | 17035 @DocsEditable |
| 17036 final num fetchStart; | 17036 final double fetchStart; |
| 17037 | 17037 |
| 17038 @DomName('PerformanceResourceTiming.initiatorType') | 17038 @DomName('PerformanceResourceTiming.initiatorType') |
| 17039 @DocsEditable | 17039 @DocsEditable |
| 17040 final String initiatorType; | 17040 final String initiatorType; |
| 17041 | 17041 |
| 17042 @DomName('PerformanceResourceTiming.redirectEnd') | 17042 @DomName('PerformanceResourceTiming.redirectEnd') |
| 17043 @DocsEditable | 17043 @DocsEditable |
| 17044 final num redirectEnd; | 17044 final double redirectEnd; |
| 17045 | 17045 |
| 17046 @DomName('PerformanceResourceTiming.redirectStart') | 17046 @DomName('PerformanceResourceTiming.redirectStart') |
| 17047 @DocsEditable | 17047 @DocsEditable |
| 17048 final num redirectStart; | 17048 final double redirectStart; |
| 17049 | 17049 |
| 17050 @DomName('PerformanceResourceTiming.requestStart') | 17050 @DomName('PerformanceResourceTiming.requestStart') |
| 17051 @DocsEditable | 17051 @DocsEditable |
| 17052 @Experimental // nonstandard | 17052 @Experimental // nonstandard |
| 17053 final num requestStart; | 17053 final double requestStart; |
| 17054 | 17054 |
| 17055 @DomName('PerformanceResourceTiming.responseEnd') | 17055 @DomName('PerformanceResourceTiming.responseEnd') |
| 17056 @DocsEditable | 17056 @DocsEditable |
| 17057 @Experimental // nonstandard | 17057 @Experimental // nonstandard |
| 17058 final num responseEnd; | 17058 final double responseEnd; |
| 17059 | 17059 |
| 17060 @DomName('PerformanceResourceTiming.responseStart') | 17060 @DomName('PerformanceResourceTiming.responseStart') |
| 17061 @DocsEditable | 17061 @DocsEditable |
| 17062 @Experimental // nonstandard | 17062 @Experimental // nonstandard |
| 17063 final num responseStart; | 17063 final double responseStart; |
| 17064 | 17064 |
| 17065 @DomName('PerformanceResourceTiming.secureConnectionStart') | 17065 @DomName('PerformanceResourceTiming.secureConnectionStart') |
| 17066 @DocsEditable | 17066 @DocsEditable |
| 17067 final num secureConnectionStart; | 17067 final double secureConnectionStart; |
| 17068 } | 17068 } |
| 17069 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17069 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17070 // for details. All rights reserved. Use of this source code is governed by a | 17070 // for details. All rights reserved. Use of this source code is governed by a |
| 17071 // BSD-style license that can be found in the LICENSE file. | 17071 // BSD-style license that can be found in the LICENSE file. |
| 17072 | 17072 |
| 17073 | 17073 |
| 17074 @DocsEditable | 17074 @DocsEditable |
| 17075 @DomName('PerformanceTiming') | 17075 @DomName('PerformanceTiming') |
| 17076 @Unstable | 17076 @Unstable |
| 17077 class PerformanceTiming native "PerformanceTiming" { | 17077 class PerformanceTiming native "PerformanceTiming" { |
| (...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17399 | 17399 |
| 17400 @DomName('HTMLProgressElement.labels') | 17400 @DomName('HTMLProgressElement.labels') |
| 17401 @DocsEditable | 17401 @DocsEditable |
| 17402 @Unstable | 17402 @Unstable |
| 17403 @Returns('NodeList') | 17403 @Returns('NodeList') |
| 17404 @Creates('NodeList') | 17404 @Creates('NodeList') |
| 17405 final List<Node> labels; | 17405 final List<Node> labels; |
| 17406 | 17406 |
| 17407 @DomName('HTMLProgressElement.max') | 17407 @DomName('HTMLProgressElement.max') |
| 17408 @DocsEditable | 17408 @DocsEditable |
| 17409 num max; | 17409 double max; |
| 17410 | 17410 |
| 17411 @DomName('HTMLProgressElement.position') | 17411 @DomName('HTMLProgressElement.position') |
| 17412 @DocsEditable | 17412 @DocsEditable |
| 17413 final num position; | 17413 final double position; |
| 17414 | 17414 |
| 17415 @DomName('HTMLProgressElement.value') | 17415 @DomName('HTMLProgressElement.value') |
| 17416 @DocsEditable | 17416 @DocsEditable |
| 17417 num value; | 17417 double value; |
| 17418 } | 17418 } |
| 17419 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17419 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17420 // for details. All rights reserved. Use of this source code is governed by a | 17420 // for details. All rights reserved. Use of this source code is governed by a |
| 17421 // BSD-style license that can be found in the LICENSE file. | 17421 // BSD-style license that can be found in the LICENSE file. |
| 17422 | 17422 |
| 17423 | 17423 |
| 17424 @DocsEditable | 17424 @DocsEditable |
| 17425 @DomName('ProgressEvent') | 17425 @DomName('ProgressEvent') |
| 17426 class ProgressEvent extends Event native "ProgressEvent" { | 17426 class ProgressEvent extends Event native "ProgressEvent" { |
| 17427 | 17427 |
| (...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17673 JS('bool', '("createContextualFragment" in window.Range.prototype)'); | 17673 JS('bool', '("createContextualFragment" in window.Range.prototype)'); |
| 17674 } | 17674 } |
| 17675 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17675 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17676 // for details. All rights reserved. Use of this source code is governed by a | 17676 // for details. All rights reserved. Use of this source code is governed by a |
| 17677 // BSD-style license that can be found in the LICENSE file. | 17677 // BSD-style license that can be found in the LICENSE file. |
| 17678 | 17678 |
| 17679 // WARNING: Do not edit - generated code. | 17679 // WARNING: Do not edit - generated code. |
| 17680 | 17680 |
| 17681 | 17681 |
| 17682 @DomName('RequestAnimationFrameCallback') | 17682 @DomName('RequestAnimationFrameCallback') |
| 17683 typedef void RequestAnimationFrameCallback(num highResTime); | 17683 typedef void RequestAnimationFrameCallback(double highResTime); |
| 17684 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17684 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17685 // for details. All rights reserved. Use of this source code is governed by a | 17685 // for details. All rights reserved. Use of this source code is governed by a |
| 17686 // BSD-style license that can be found in the LICENSE file. | 17686 // BSD-style license that can be found in the LICENSE file. |
| 17687 | 17687 |
| 17688 | 17688 |
| 17689 @DocsEditable | 17689 @DocsEditable |
| 17690 @DomName('RTCDataChannel') | 17690 @DomName('RTCDataChannel') |
| 17691 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCDataChannel | 17691 // http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCDataChannel |
| 17692 @Experimental | 17692 @Experimental |
| 17693 class RtcDataChannel extends EventTarget native "RTCDataChannel" { | 17693 class RtcDataChannel extends EventTarget native "RTCDataChannel" { |
| (...skipping 740 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18434 @DomName('ScriptProfile') | 18434 @DomName('ScriptProfile') |
| 18435 @deprecated // nonstandard | 18435 @deprecated // nonstandard |
| 18436 class ScriptProfile native "ScriptProfile" { | 18436 class ScriptProfile native "ScriptProfile" { |
| 18437 | 18437 |
| 18438 @DomName('ScriptProfile.head') | 18438 @DomName('ScriptProfile.head') |
| 18439 @DocsEditable | 18439 @DocsEditable |
| 18440 final ScriptProfileNode head; | 18440 final ScriptProfileNode head; |
| 18441 | 18441 |
| 18442 @DomName('ScriptProfile.idleTime') | 18442 @DomName('ScriptProfile.idleTime') |
| 18443 @DocsEditable | 18443 @DocsEditable |
| 18444 final num idleTime; | 18444 final double idleTime; |
| 18445 | 18445 |
| 18446 @DomName('ScriptProfile.title') | 18446 @DomName('ScriptProfile.title') |
| 18447 @DocsEditable | 18447 @DocsEditable |
| 18448 final String title; | 18448 final String title; |
| 18449 | 18449 |
| 18450 @DomName('ScriptProfile.uid') | 18450 @DomName('ScriptProfile.uid') |
| 18451 @DocsEditable | 18451 @DocsEditable |
| 18452 final int uid; | 18452 final int uid; |
| 18453 } | 18453 } |
| 18454 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18454 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| (...skipping 18 matching lines...) Expand all Loading... |
| 18473 @DomName('ScriptProfileNode.lineNumber') | 18473 @DomName('ScriptProfileNode.lineNumber') |
| 18474 @DocsEditable | 18474 @DocsEditable |
| 18475 final int lineNumber; | 18475 final int lineNumber; |
| 18476 | 18476 |
| 18477 @DomName('ScriptProfileNode.numberOfCalls') | 18477 @DomName('ScriptProfileNode.numberOfCalls') |
| 18478 @DocsEditable | 18478 @DocsEditable |
| 18479 final int numberOfCalls; | 18479 final int numberOfCalls; |
| 18480 | 18480 |
| 18481 @DomName('ScriptProfileNode.selfTime') | 18481 @DomName('ScriptProfileNode.selfTime') |
| 18482 @DocsEditable | 18482 @DocsEditable |
| 18483 final num selfTime; | 18483 final double selfTime; |
| 18484 | 18484 |
| 18485 @DomName('ScriptProfileNode.totalTime') | 18485 @DomName('ScriptProfileNode.totalTime') |
| 18486 @DocsEditable | 18486 @DocsEditable |
| 18487 final num totalTime; | 18487 final double totalTime; |
| 18488 | 18488 |
| 18489 @DomName('ScriptProfileNode.url') | 18489 @DomName('ScriptProfileNode.url') |
| 18490 @DocsEditable | 18490 @DocsEditable |
| 18491 final String url; | 18491 final String url; |
| 18492 | 18492 |
| 18493 @DomName('ScriptProfileNode.visible') | 18493 @DomName('ScriptProfileNode.visible') |
| 18494 @DocsEditable | 18494 @DocsEditable |
| 18495 final bool visible; | 18495 final bool visible; |
| 18496 | 18496 |
| 18497 @DomName('ScriptProfileNode.children') | 18497 @DomName('ScriptProfileNode.children') |
| (...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18948 // https://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html
#sourcebuffer | 18948 // https://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html
#sourcebuffer |
| 18949 @Experimental | 18949 @Experimental |
| 18950 class SourceBuffer native "SourceBuffer" { | 18950 class SourceBuffer native "SourceBuffer" { |
| 18951 | 18951 |
| 18952 @DomName('SourceBuffer.buffered') | 18952 @DomName('SourceBuffer.buffered') |
| 18953 @DocsEditable | 18953 @DocsEditable |
| 18954 final TimeRanges buffered; | 18954 final TimeRanges buffered; |
| 18955 | 18955 |
| 18956 @DomName('SourceBuffer.timestampOffset') | 18956 @DomName('SourceBuffer.timestampOffset') |
| 18957 @DocsEditable | 18957 @DocsEditable |
| 18958 num timestampOffset; | 18958 double timestampOffset; |
| 18959 | 18959 |
| 18960 @DomName('SourceBuffer.abort') | 18960 @DomName('SourceBuffer.abort') |
| 18961 @DocsEditable | 18961 @DocsEditable |
| 18962 void abort() native; | 18962 void abort() native; |
| 18963 | 18963 |
| 18964 @DomName('SourceBuffer.append') | 18964 @DomName('SourceBuffer.append') |
| 18965 @DocsEditable | 18965 @DocsEditable |
| 18966 @Experimental // non-standard | 18966 @Experimental // non-standard |
| 18967 void append(Uint8List data) native; | 18967 void append(Uint8List data) native; |
| 18968 } | 18968 } |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19098 return SpeechGrammar._create_1(); | 19098 return SpeechGrammar._create_1(); |
| 19099 } | 19099 } |
| 19100 static SpeechGrammar _create_1() => JS('SpeechGrammar', 'new SpeechGrammar()')
; | 19100 static SpeechGrammar _create_1() => JS('SpeechGrammar', 'new SpeechGrammar()')
; |
| 19101 | 19101 |
| 19102 @DomName('SpeechGrammar.src') | 19102 @DomName('SpeechGrammar.src') |
| 19103 @DocsEditable | 19103 @DocsEditable |
| 19104 String src; | 19104 String src; |
| 19105 | 19105 |
| 19106 @DomName('SpeechGrammar.weight') | 19106 @DomName('SpeechGrammar.weight') |
| 19107 @DocsEditable | 19107 @DocsEditable |
| 19108 num weight; | 19108 double weight; |
| 19109 } | 19109 } |
| 19110 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19110 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19111 // for details. All rights reserved. Use of this source code is governed by a | 19111 // for details. All rights reserved. Use of this source code is governed by a |
| 19112 // BSD-style license that can be found in the LICENSE file. | 19112 // BSD-style license that can be found in the LICENSE file. |
| 19113 | 19113 |
| 19114 | 19114 |
| 19115 @DocsEditable | 19115 @DocsEditable |
| 19116 @DomName('SpeechGrammarList') | 19116 @DomName('SpeechGrammarList') |
| 19117 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#dfn-speechgramm
arlist | 19117 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#dfn-speechgramm
arlist |
| 19118 @Experimental | 19118 @Experimental |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19168 } | 19168 } |
| 19169 if (len == 0) throw new StateError("No elements"); | 19169 if (len == 0) throw new StateError("No elements"); |
| 19170 throw new StateError("More than one element"); | 19170 throw new StateError("More than one element"); |
| 19171 } | 19171 } |
| 19172 | 19172 |
| 19173 SpeechGrammar elementAt(int index) => this[index]; | 19173 SpeechGrammar elementAt(int index) => this[index]; |
| 19174 // -- end List<SpeechGrammar> mixins. | 19174 // -- end List<SpeechGrammar> mixins. |
| 19175 | 19175 |
| 19176 @DomName('SpeechGrammarList.addFromString') | 19176 @DomName('SpeechGrammarList.addFromString') |
| 19177 @DocsEditable | 19177 @DocsEditable |
| 19178 void addFromString(String string, [num weight]) native; | 19178 void addFromString(String string, [double weight]) native; |
| 19179 | 19179 |
| 19180 @DomName('SpeechGrammarList.addFromUri') | 19180 @DomName('SpeechGrammarList.addFromUri') |
| 19181 @DocsEditable | 19181 @DocsEditable |
| 19182 void addFromUri(String src, [num weight]) native; | 19182 void addFromUri(String src, [double weight]) native; |
| 19183 | 19183 |
| 19184 @DomName('SpeechGrammarList.item') | 19184 @DomName('SpeechGrammarList.item') |
| 19185 @DocsEditable | 19185 @DocsEditable |
| 19186 SpeechGrammar item(int index) native; | 19186 SpeechGrammar item(int index) native; |
| 19187 } | 19187 } |
| 19188 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19188 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19189 // for details. All rights reserved. Use of this source code is governed by a | 19189 // for details. All rights reserved. Use of this source code is governed by a |
| 19190 // BSD-style license that can be found in the LICENSE file. | 19190 // BSD-style license that can be found in the LICENSE file. |
| 19191 | 19191 |
| 19192 | 19192 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 19208 | 19208 |
| 19209 | 19209 |
| 19210 @DocsEditable | 19210 @DocsEditable |
| 19211 @DomName('SpeechInputResult') | 19211 @DomName('SpeechInputResult') |
| 19212 // http://lists.w3.org/Archives/Public/public-xg-htmlspeech/2011Feb/att-0020/api
-draft.html#speech_input_result_interface | 19212 // http://lists.w3.org/Archives/Public/public-xg-htmlspeech/2011Feb/att-0020/api
-draft.html#speech_input_result_interface |
| 19213 @Experimental | 19213 @Experimental |
| 19214 class SpeechInputResult native "SpeechInputResult" { | 19214 class SpeechInputResult native "SpeechInputResult" { |
| 19215 | 19215 |
| 19216 @DomName('SpeechInputResult.confidence') | 19216 @DomName('SpeechInputResult.confidence') |
| 19217 @DocsEditable | 19217 @DocsEditable |
| 19218 final num confidence; | 19218 final double confidence; |
| 19219 | 19219 |
| 19220 @DomName('SpeechInputResult.utterance') | 19220 @DomName('SpeechInputResult.utterance') |
| 19221 @DocsEditable | 19221 @DocsEditable |
| 19222 final String utterance; | 19222 final String utterance; |
| 19223 } | 19223 } |
| 19224 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 19224 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 19225 // for details. All rights reserved. Use of this source code is governed by a | 19225 // for details. All rights reserved. Use of this source code is governed by a |
| 19226 // BSD-style license that can be found in the LICENSE file. | 19226 // BSD-style license that can be found in the LICENSE file. |
| 19227 | 19227 |
| 19228 | 19228 |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19381 | 19381 |
| 19382 @DocsEditable | 19382 @DocsEditable |
| 19383 @DomName('SpeechRecognitionAlternative') | 19383 @DomName('SpeechRecognitionAlternative') |
| 19384 @SupportedBrowser(SupportedBrowser.CHROME, '25') | 19384 @SupportedBrowser(SupportedBrowser.CHROME, '25') |
| 19385 @Experimental | 19385 @Experimental |
| 19386 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechrecogniti
onalternative | 19386 // https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechrecogniti
onalternative |
| 19387 class SpeechRecognitionAlternative native "SpeechRecognitionAlternative" { | 19387 class SpeechRecognitionAlternative native "SpeechRecognitionAlternative" { |
| 19388 | 19388 |
| 19389 @DomName('SpeechRecognitionAlternative.confidence') | 19389 @DomName('SpeechRecognitionAlternative.confidence') |
| 19390 @DocsEditable | 19390 @DocsEditable |
| 19391 final num confidence; | 19391 final double confidence; |
| 19392 | 19392 |
| 19393 @DomName('SpeechRecognitionAlternative.transcript') | 19393 @DomName('SpeechRecognitionAlternative.transcript') |
| 19394 @DocsEditable | 19394 @DocsEditable |
| 19395 final String transcript; | 19395 final String transcript; |
| 19396 } | 19396 } |
| 19397 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19397 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19398 // for details. All rights reserved. Use of this source code is governed by a | 19398 // for details. All rights reserved. Use of this source code is governed by a |
| 19399 // BSD-style license that can be found in the LICENSE file. | 19399 // BSD-style license that can be found in the LICENSE file. |
| 19400 | 19400 |
| 19401 | 19401 |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19529 class SpeechSynthesisEvent extends Event native "SpeechSynthesisEvent" { | 19529 class SpeechSynthesisEvent extends Event native "SpeechSynthesisEvent" { |
| 19530 | 19530 |
| 19531 @DomName('SpeechSynthesisEvent.charIndex') | 19531 @DomName('SpeechSynthesisEvent.charIndex') |
| 19532 @DocsEditable | 19532 @DocsEditable |
| 19533 @Experimental // untriaged | 19533 @Experimental // untriaged |
| 19534 final int charIndex; | 19534 final int charIndex; |
| 19535 | 19535 |
| 19536 @DomName('SpeechSynthesisEvent.elapsedTime') | 19536 @DomName('SpeechSynthesisEvent.elapsedTime') |
| 19537 @DocsEditable | 19537 @DocsEditable |
| 19538 @Experimental // untriaged | 19538 @Experimental // untriaged |
| 19539 final num elapsedTime; | 19539 final double elapsedTime; |
| 19540 | 19540 |
| 19541 @DomName('SpeechSynthesisEvent.name') | 19541 @DomName('SpeechSynthesisEvent.name') |
| 19542 @DocsEditable | 19542 @DocsEditable |
| 19543 @Experimental // untriaged | 19543 @Experimental // untriaged |
| 19544 final String name; | 19544 final String name; |
| 19545 } | 19545 } |
| 19546 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19546 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19547 // for details. All rights reserved. Use of this source code is governed by a | 19547 // for details. All rights reserved. Use of this source code is governed by a |
| 19548 // BSD-style license that can be found in the LICENSE file. | 19548 // BSD-style license that can be found in the LICENSE file. |
| 19549 | 19549 |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19600 static SpeechSynthesisUtterance _create_2() => JS('SpeechSynthesisUtterance',
'new SpeechSynthesisUtterance()'); | 19600 static SpeechSynthesisUtterance _create_2() => JS('SpeechSynthesisUtterance',
'new SpeechSynthesisUtterance()'); |
| 19601 | 19601 |
| 19602 @DomName('SpeechSynthesisUtterance.lang') | 19602 @DomName('SpeechSynthesisUtterance.lang') |
| 19603 @DocsEditable | 19603 @DocsEditable |
| 19604 @Experimental // untriaged | 19604 @Experimental // untriaged |
| 19605 String lang; | 19605 String lang; |
| 19606 | 19606 |
| 19607 @DomName('SpeechSynthesisUtterance.pitch') | 19607 @DomName('SpeechSynthesisUtterance.pitch') |
| 19608 @DocsEditable | 19608 @DocsEditable |
| 19609 @Experimental // untriaged | 19609 @Experimental // untriaged |
| 19610 num pitch; | 19610 double pitch; |
| 19611 | 19611 |
| 19612 @DomName('SpeechSynthesisUtterance.rate') | 19612 @DomName('SpeechSynthesisUtterance.rate') |
| 19613 @DocsEditable | 19613 @DocsEditable |
| 19614 @Experimental // untriaged | 19614 @Experimental // untriaged |
| 19615 num rate; | 19615 double rate; |
| 19616 | 19616 |
| 19617 @DomName('SpeechSynthesisUtterance.text') | 19617 @DomName('SpeechSynthesisUtterance.text') |
| 19618 @DocsEditable | 19618 @DocsEditable |
| 19619 @Experimental // untriaged | 19619 @Experimental // untriaged |
| 19620 String text; | 19620 String text; |
| 19621 | 19621 |
| 19622 @DomName('SpeechSynthesisUtterance.voice') | 19622 @DomName('SpeechSynthesisUtterance.voice') |
| 19623 @DocsEditable | 19623 @DocsEditable |
| 19624 @Experimental // untriaged | 19624 @Experimental // untriaged |
| 19625 SpeechSynthesisVoice voice; | 19625 SpeechSynthesisVoice voice; |
| 19626 | 19626 |
| 19627 @DomName('SpeechSynthesisUtterance.volume') | 19627 @DomName('SpeechSynthesisUtterance.volume') |
| 19628 @DocsEditable | 19628 @DocsEditable |
| 19629 @Experimental // untriaged | 19629 @Experimental // untriaged |
| 19630 num volume; | 19630 double volume; |
| 19631 | 19631 |
| 19632 @DomName('SpeechSynthesisUtterance.onboundary') | 19632 @DomName('SpeechSynthesisUtterance.onboundary') |
| 19633 @DocsEditable | 19633 @DocsEditable |
| 19634 @Experimental // untriaged | 19634 @Experimental // untriaged |
| 19635 Stream<SpeechSynthesisEvent> get onBoundary => boundaryEvent.forTarget(this); | 19635 Stream<SpeechSynthesisEvent> get onBoundary => boundaryEvent.forTarget(this); |
| 19636 | 19636 |
| 19637 @DomName('SpeechSynthesisUtterance.onend') | 19637 @DomName('SpeechSynthesisUtterance.onend') |
| 19638 @DocsEditable | 19638 @DocsEditable |
| 19639 @Experimental // untriaged | 19639 @Experimental // untriaged |
| 19640 Stream<SpeechSynthesisEvent> get onEnd => endEvent.forTarget(this); | 19640 Stream<SpeechSynthesisEvent> get onEnd => endEvent.forTarget(this); |
| (...skipping 1067 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20708 // for details. All rights reserved. Use of this source code is governed by a | 20708 // for details. All rights reserved. Use of this source code is governed by a |
| 20709 // BSD-style license that can be found in the LICENSE file. | 20709 // BSD-style license that can be found in the LICENSE file. |
| 20710 | 20710 |
| 20711 | 20711 |
| 20712 @DocsEditable | 20712 @DocsEditable |
| 20713 @DomName('TextMetrics') | 20713 @DomName('TextMetrics') |
| 20714 class TextMetrics native "TextMetrics" { | 20714 class TextMetrics native "TextMetrics" { |
| 20715 | 20715 |
| 20716 @DomName('TextMetrics.width') | 20716 @DomName('TextMetrics.width') |
| 20717 @DocsEditable | 20717 @DocsEditable |
| 20718 final num width; | 20718 final double width; |
| 20719 } | 20719 } |
| 20720 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20720 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20721 // for details. All rights reserved. Use of this source code is governed by a | 20721 // for details. All rights reserved. Use of this source code is governed by a |
| 20722 // BSD-style license that can be found in the LICENSE file. | 20722 // BSD-style license that can be found in the LICENSE file. |
| 20723 | 20723 |
| 20724 | 20724 |
| 20725 @DocsEditable | 20725 @DocsEditable |
| 20726 @DomName('TextTrack') | 20726 @DomName('TextTrack') |
| 20727 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element
.html#texttrack | 20727 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element
.html#texttrack |
| 20728 @Experimental | 20728 @Experimental |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20796 @DomName('TextTrackCue.enterEvent') | 20796 @DomName('TextTrackCue.enterEvent') |
| 20797 @DocsEditable | 20797 @DocsEditable |
| 20798 static const EventStreamProvider<Event> enterEvent = const EventStreamProvider
<Event>('enter'); | 20798 static const EventStreamProvider<Event> enterEvent = const EventStreamProvider
<Event>('enter'); |
| 20799 | 20799 |
| 20800 @DomName('TextTrackCue.exitEvent') | 20800 @DomName('TextTrackCue.exitEvent') |
| 20801 @DocsEditable | 20801 @DocsEditable |
| 20802 static const EventStreamProvider<Event> exitEvent = const EventStreamProvider<
Event>('exit'); | 20802 static const EventStreamProvider<Event> exitEvent = const EventStreamProvider<
Event>('exit'); |
| 20803 | 20803 |
| 20804 @DomName('TextTrackCue.TextTrackCue') | 20804 @DomName('TextTrackCue.TextTrackCue') |
| 20805 @DocsEditable | 20805 @DocsEditable |
| 20806 factory TextTrackCue(num startTime, num endTime, String text) { | 20806 factory TextTrackCue(double startTime, double endTime, String text) { |
| 20807 return TextTrackCue._create_1(startTime, endTime, text); | 20807 return TextTrackCue._create_1(startTime, endTime, text); |
| 20808 } | 20808 } |
| 20809 static TextTrackCue _create_1(startTime, endTime, text) => JS('TextTrackCue',
'new TextTrackCue(#,#,#)', startTime, endTime, text); | 20809 static TextTrackCue _create_1(startTime, endTime, text) => JS('TextTrackCue',
'new TextTrackCue(#,#,#)', startTime, endTime, text); |
| 20810 | 20810 |
| 20811 @DomName('TextTrackCue.align') | 20811 @DomName('TextTrackCue.align') |
| 20812 @DocsEditable | 20812 @DocsEditable |
| 20813 @Experimental // nonstandard | 20813 @Experimental // nonstandard |
| 20814 String align; | 20814 String align; |
| 20815 | 20815 |
| 20816 @DomName('TextTrackCue.endTime') | 20816 @DomName('TextTrackCue.endTime') |
| 20817 @DocsEditable | 20817 @DocsEditable |
| 20818 num endTime; | 20818 double endTime; |
| 20819 | 20819 |
| 20820 @DomName('TextTrackCue.id') | 20820 @DomName('TextTrackCue.id') |
| 20821 @DocsEditable | 20821 @DocsEditable |
| 20822 String id; | 20822 String id; |
| 20823 | 20823 |
| 20824 @DomName('TextTrackCue.line') | 20824 @DomName('TextTrackCue.line') |
| 20825 @DocsEditable | 20825 @DocsEditable |
| 20826 @Experimental // nonstandard | 20826 @Experimental // nonstandard |
| 20827 int line; | 20827 int line; |
| 20828 | 20828 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 20840 @Experimental // nonstandard | 20840 @Experimental // nonstandard |
| 20841 int size; | 20841 int size; |
| 20842 | 20842 |
| 20843 @DomName('TextTrackCue.snapToLines') | 20843 @DomName('TextTrackCue.snapToLines') |
| 20844 @DocsEditable | 20844 @DocsEditable |
| 20845 @Experimental // nonstandard | 20845 @Experimental // nonstandard |
| 20846 bool snapToLines; | 20846 bool snapToLines; |
| 20847 | 20847 |
| 20848 @DomName('TextTrackCue.startTime') | 20848 @DomName('TextTrackCue.startTime') |
| 20849 @DocsEditable | 20849 @DocsEditable |
| 20850 num startTime; | 20850 double startTime; |
| 20851 | 20851 |
| 20852 @DomName('TextTrackCue.text') | 20852 @DomName('TextTrackCue.text') |
| 20853 @DocsEditable | 20853 @DocsEditable |
| 20854 @Experimental // nonstandard | 20854 @Experimental // nonstandard |
| 20855 String text; | 20855 String text; |
| 20856 | 20856 |
| 20857 @DomName('TextTrackCue.track') | 20857 @DomName('TextTrackCue.track') |
| 20858 @DocsEditable | 20858 @DocsEditable |
| 20859 final TextTrack track; | 20859 final TextTrack track; |
| 20860 | 20860 |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21052 @DomName('TimeRanges') | 21052 @DomName('TimeRanges') |
| 21053 @Unstable | 21053 @Unstable |
| 21054 class TimeRanges native "TimeRanges" { | 21054 class TimeRanges native "TimeRanges" { |
| 21055 | 21055 |
| 21056 @DomName('TimeRanges.length') | 21056 @DomName('TimeRanges.length') |
| 21057 @DocsEditable | 21057 @DocsEditable |
| 21058 final int length; | 21058 final int length; |
| 21059 | 21059 |
| 21060 @DomName('TimeRanges.end') | 21060 @DomName('TimeRanges.end') |
| 21061 @DocsEditable | 21061 @DocsEditable |
| 21062 num end(int index) native; | 21062 double end(int index) native; |
| 21063 | 21063 |
| 21064 @DomName('TimeRanges.start') | 21064 @DomName('TimeRanges.start') |
| 21065 @DocsEditable | 21065 @DocsEditable |
| 21066 num start(int index) native; | 21066 double start(int index) native; |
| 21067 } | 21067 } |
| 21068 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21068 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21069 // for details. All rights reserved. Use of this source code is governed by a | 21069 // for details. All rights reserved. Use of this source code is governed by a |
| 21070 // BSD-style license that can be found in the LICENSE file. | 21070 // BSD-style license that can be found in the LICENSE file. |
| 21071 | 21071 |
| 21072 // WARNING: Do not edit - generated code. | 21072 // WARNING: Do not edit - generated code. |
| 21073 | 21073 |
| 21074 | 21074 |
| 21075 @DomName('TimeoutHandler') | 21075 @DomName('TimeoutHandler') |
| 21076 typedef void TimeoutHandler(); | 21076 typedef void TimeoutHandler(); |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21139 @Creates('Element|Document') | 21139 @Creates('Element|Document') |
| 21140 @Returns('Element|Document') | 21140 @Returns('Element|Document') |
| 21141 final dynamic _get_target; | 21141 final dynamic _get_target; |
| 21142 | 21142 |
| 21143 @JSName('webkitForce') | 21143 @JSName('webkitForce') |
| 21144 @DomName('Touch.webkitForce') | 21144 @DomName('Touch.webkitForce') |
| 21145 @DocsEditable | 21145 @DocsEditable |
| 21146 @SupportedBrowser(SupportedBrowser.CHROME) | 21146 @SupportedBrowser(SupportedBrowser.CHROME) |
| 21147 @SupportedBrowser(SupportedBrowser.SAFARI) | 21147 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 21148 @Experimental | 21148 @Experimental |
| 21149 final num force; | 21149 final double force; |
| 21150 | 21150 |
| 21151 @JSName('webkitRadiusX') | 21151 @JSName('webkitRadiusX') |
| 21152 @DomName('Touch.webkitRadiusX') | 21152 @DomName('Touch.webkitRadiusX') |
| 21153 @DocsEditable | 21153 @DocsEditable |
| 21154 @SupportedBrowser(SupportedBrowser.CHROME) | 21154 @SupportedBrowser(SupportedBrowser.CHROME) |
| 21155 @SupportedBrowser(SupportedBrowser.SAFARI) | 21155 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 21156 @Experimental | 21156 @Experimental |
| 21157 final int radiusX; | 21157 final int radiusX; |
| 21158 | 21158 |
| 21159 @JSName('webkitRadiusY') | 21159 @JSName('webkitRadiusY') |
| 21160 @DomName('Touch.webkitRadiusY') | 21160 @DomName('Touch.webkitRadiusY') |
| 21161 @DocsEditable | 21161 @DocsEditable |
| 21162 @SupportedBrowser(SupportedBrowser.CHROME) | 21162 @SupportedBrowser(SupportedBrowser.CHROME) |
| 21163 @SupportedBrowser(SupportedBrowser.SAFARI) | 21163 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 21164 @Experimental | 21164 @Experimental |
| 21165 final int radiusY; | 21165 final int radiusY; |
| 21166 | 21166 |
| 21167 @JSName('webkitRotationAngle') | 21167 @JSName('webkitRotationAngle') |
| 21168 @DomName('Touch.webkitRotationAngle') | 21168 @DomName('Touch.webkitRotationAngle') |
| 21169 @DocsEditable | 21169 @DocsEditable |
| 21170 @SupportedBrowser(SupportedBrowser.CHROME) | 21170 @SupportedBrowser(SupportedBrowser.CHROME) |
| 21171 @SupportedBrowser(SupportedBrowser.SAFARI) | 21171 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 21172 @Experimental | 21172 @Experimental |
| 21173 final num rotationAngle; | 21173 final double rotationAngle; |
| 21174 | 21174 |
| 21175 | 21175 |
| 21176 @DomName('Touch.clientX') | 21176 @DomName('Touch.clientX') |
| 21177 @DomName('Touch.clientY') | 21177 @DomName('Touch.clientY') |
| 21178 Point get client => new Point($dom_clientX, $dom_clientY); | 21178 Point get client => new Point($dom_clientX, $dom_clientY); |
| 21179 | 21179 |
| 21180 @DomName('Touch.pageX') | 21180 @DomName('Touch.pageX') |
| 21181 @DomName('Touch.pageY') | 21181 @DomName('Touch.pageY') |
| 21182 Point get page => new Point($dom_pageX, $dom_pageY); | 21182 Point get page => new Point($dom_pageX, $dom_pageY); |
| 21183 | 21183 |
| (...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21413 // for details. All rights reserved. Use of this source code is governed by a | 21413 // for details. All rights reserved. Use of this source code is governed by a |
| 21414 // BSD-style license that can be found in the LICENSE file. | 21414 // BSD-style license that can be found in the LICENSE file. |
| 21415 | 21415 |
| 21416 | 21416 |
| 21417 @DocsEditable | 21417 @DocsEditable |
| 21418 @DomName('TransitionEvent') | 21418 @DomName('TransitionEvent') |
| 21419 class TransitionEvent extends Event native "TransitionEvent,WebKitTransitionEven
t" { | 21419 class TransitionEvent extends Event native "TransitionEvent,WebKitTransitionEven
t" { |
| 21420 | 21420 |
| 21421 @DomName('TransitionEvent.elapsedTime') | 21421 @DomName('TransitionEvent.elapsedTime') |
| 21422 @DocsEditable | 21422 @DocsEditable |
| 21423 final num elapsedTime; | 21423 final double elapsedTime; |
| 21424 | 21424 |
| 21425 @DomName('TransitionEvent.propertyName') | 21425 @DomName('TransitionEvent.propertyName') |
| 21426 @DocsEditable | 21426 @DocsEditable |
| 21427 final String propertyName; | 21427 final String propertyName; |
| 21428 | 21428 |
| 21429 @DomName('TransitionEvent.pseudoElement') | 21429 @DomName('TransitionEvent.pseudoElement') |
| 21430 @DocsEditable | 21430 @DocsEditable |
| 21431 final String pseudoElement; | 21431 final String pseudoElement; |
| 21432 } | 21432 } |
| 21433 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 21433 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| (...skipping 1151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22585 | 22585 |
| 22586 @DomName('Window.defaultstatus') | 22586 @DomName('Window.defaultstatus') |
| 22587 @DocsEditable | 22587 @DocsEditable |
| 22588 @Experimental // non-standard | 22588 @Experimental // non-standard |
| 22589 String defaultstatus; | 22589 String defaultstatus; |
| 22590 | 22590 |
| 22591 @DomName('Window.devicePixelRatio') | 22591 @DomName('Window.devicePixelRatio') |
| 22592 @DocsEditable | 22592 @DocsEditable |
| 22593 // http://www.quirksmode.org/blog/archives/2012/06/devicepixelrati.html | 22593 // http://www.quirksmode.org/blog/archives/2012/06/devicepixelrati.html |
| 22594 @Experimental // non-standard | 22594 @Experimental // non-standard |
| 22595 final num devicePixelRatio; | 22595 final double devicePixelRatio; |
| 22596 | 22596 |
| 22597 @DomName('Window.event') | 22597 @DomName('Window.event') |
| 22598 @DocsEditable | 22598 @DocsEditable |
| 22599 @deprecated // deprecated | 22599 @deprecated // deprecated |
| 22600 final Event event; | 22600 final Event event; |
| 22601 | 22601 |
| 22602 @DomName('Window.history') | 22602 @DomName('Window.history') |
| 22603 @DocsEditable | 22603 @DocsEditable |
| 22604 final History history; | 22604 final History history; |
| 22605 | 22605 |
| (...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22850 @DomName('Window.getSelection') | 22850 @DomName('Window.getSelection') |
| 22851 @DocsEditable | 22851 @DocsEditable |
| 22852 Selection getSelection() native; | 22852 Selection getSelection() native; |
| 22853 | 22853 |
| 22854 @DomName('Window.matchMedia') | 22854 @DomName('Window.matchMedia') |
| 22855 @DocsEditable | 22855 @DocsEditable |
| 22856 MediaQueryList matchMedia(String query) native; | 22856 MediaQueryList matchMedia(String query) native; |
| 22857 | 22857 |
| 22858 @DomName('Window.moveBy') | 22858 @DomName('Window.moveBy') |
| 22859 @DocsEditable | 22859 @DocsEditable |
| 22860 void moveBy(num x, num y) native; | 22860 void moveBy(double x, double y) native; |
| 22861 | 22861 |
| 22862 @DomName('Window.moveTo') | 22862 @DomName('Window.moveTo') |
| 22863 @DocsEditable | 22863 @DocsEditable |
| 22864 void moveTo(num x, num y) native; | 22864 void moveTo(double x, double y) native; |
| 22865 | 22865 |
| 22866 @DomName('Window.openDatabase') | 22866 @DomName('Window.openDatabase') |
| 22867 @DocsEditable | 22867 @DocsEditable |
| 22868 @SupportedBrowser(SupportedBrowser.CHROME) | 22868 @SupportedBrowser(SupportedBrowser.CHROME) |
| 22869 @SupportedBrowser(SupportedBrowser.SAFARI) | 22869 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 22870 @Experimental | 22870 @Experimental |
| 22871 // http://www.w3.org/TR/webdatabase/ | 22871 // http://www.w3.org/TR/webdatabase/ |
| 22872 @Experimental // deprecated | 22872 @Experimental // deprecated |
| 22873 @Creates('SqlDatabase') | 22873 @Creates('SqlDatabase') |
| 22874 SqlDatabase openDatabase(String name, String version, String displayName, int
estimatedSize, [DatabaseCallback creationCallback]) native; | 22874 SqlDatabase openDatabase(String name, String version, String displayName, int
estimatedSize, [DatabaseCallback creationCallback]) native; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 22904 @deprecated // deprecated | 22904 @deprecated // deprecated |
| 22905 void releaseEvents() native; | 22905 void releaseEvents() native; |
| 22906 | 22906 |
| 22907 @JSName('removeEventListener') | 22907 @JSName('removeEventListener') |
| 22908 @DomName('Window.removeEventListener') | 22908 @DomName('Window.removeEventListener') |
| 22909 @DocsEditable | 22909 @DocsEditable |
| 22910 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; | 22910 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; |
| 22911 | 22911 |
| 22912 @DomName('Window.resizeBy') | 22912 @DomName('Window.resizeBy') |
| 22913 @DocsEditable | 22913 @DocsEditable |
| 22914 void resizeBy(num x, num y) native; | 22914 void resizeBy(double x, double y) native; |
| 22915 | 22915 |
| 22916 @DomName('Window.resizeTo') | 22916 @DomName('Window.resizeTo') |
| 22917 @DocsEditable | 22917 @DocsEditable |
| 22918 void resizeTo(num width, num height) native; | 22918 void resizeTo(double width, double height) native; |
| 22919 | 22919 |
| 22920 @DomName('Window.scroll') | 22920 @DomName('Window.scroll') |
| 22921 @DocsEditable | 22921 @DocsEditable |
| 22922 void scroll(int x, int y) native; | 22922 void scroll(int x, int y) native; |
| 22923 | 22923 |
| 22924 @DomName('Window.scrollBy') | 22924 @DomName('Window.scrollBy') |
| 22925 @DocsEditable | 22925 @DocsEditable |
| 22926 void scrollBy(int x, int y) native; | 22926 void scrollBy(int x, int y) native; |
| 22927 | 22927 |
| 22928 @DomName('Window.scrollTo') | 22928 @DomName('Window.scrollTo') |
| (...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 23502 @DomName('XPathResult.booleanValue') | 23502 @DomName('XPathResult.booleanValue') |
| 23503 @DocsEditable | 23503 @DocsEditable |
| 23504 final bool booleanValue; | 23504 final bool booleanValue; |
| 23505 | 23505 |
| 23506 @DomName('XPathResult.invalidIteratorState') | 23506 @DomName('XPathResult.invalidIteratorState') |
| 23507 @DocsEditable | 23507 @DocsEditable |
| 23508 final bool invalidIteratorState; | 23508 final bool invalidIteratorState; |
| 23509 | 23509 |
| 23510 @DomName('XPathResult.numberValue') | 23510 @DomName('XPathResult.numberValue') |
| 23511 @DocsEditable | 23511 @DocsEditable |
| 23512 final num numberValue; | 23512 final double numberValue; |
| 23513 | 23513 |
| 23514 @DomName('XPathResult.resultType') | 23514 @DomName('XPathResult.resultType') |
| 23515 @DocsEditable | 23515 @DocsEditable |
| 23516 final int resultType; | 23516 final int resultType; |
| 23517 | 23517 |
| 23518 @DomName('XPathResult.singleNodeValue') | 23518 @DomName('XPathResult.singleNodeValue') |
| 23519 @DocsEditable | 23519 @DocsEditable |
| 23520 final Node singleNodeValue; | 23520 final Node singleNodeValue; |
| 23521 | 23521 |
| 23522 @DomName('XPathResult.snapshotLength') | 23522 @DomName('XPathResult.snapshotLength') |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 23730 */ | 23730 */ |
| 23731 Rect toInt() => new Rect(left.toInt(), top.toInt(), width.toInt(), | 23731 Rect toInt() => new Rect(left.toInt(), top.toInt(), width.toInt(), |
| 23732 height.toInt()); | 23732 height.toInt()); |
| 23733 | 23733 |
| 23734 Point get topLeft => new Point(this.left, this.top); | 23734 Point get topLeft => new Point(this.left, this.top); |
| 23735 Point get bottomRight => new Point(this.left + this.width, | 23735 Point get bottomRight => new Point(this.left + this.width, |
| 23736 this.top + this.height); | 23736 this.top + this.height); |
| 23737 | 23737 |
| 23738 @DomName('ClientRect.bottom') | 23738 @DomName('ClientRect.bottom') |
| 23739 @DocsEditable | 23739 @DocsEditable |
| 23740 final num bottom; | 23740 final double bottom; |
| 23741 | 23741 |
| 23742 @DomName('ClientRect.height') | 23742 @DomName('ClientRect.height') |
| 23743 @DocsEditable | 23743 @DocsEditable |
| 23744 final num height; | 23744 final double height; |
| 23745 | 23745 |
| 23746 @DomName('ClientRect.left') | 23746 @DomName('ClientRect.left') |
| 23747 @DocsEditable | 23747 @DocsEditable |
| 23748 final num left; | 23748 final double left; |
| 23749 | 23749 |
| 23750 @DomName('ClientRect.right') | 23750 @DomName('ClientRect.right') |
| 23751 @DocsEditable | 23751 @DocsEditable |
| 23752 final num right; | 23752 final double right; |
| 23753 | 23753 |
| 23754 @DomName('ClientRect.top') | 23754 @DomName('ClientRect.top') |
| 23755 @DocsEditable | 23755 @DocsEditable |
| 23756 final num top; | 23756 final double top; |
| 23757 | 23757 |
| 23758 @DomName('ClientRect.width') | 23758 @DomName('ClientRect.width') |
| 23759 @DocsEditable | 23759 @DocsEditable |
| 23760 final num width; | 23760 final double width; |
| 23761 } | 23761 } |
| 23762 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23762 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23763 // for details. All rights reserved. Use of this source code is governed by a | 23763 // for details. All rights reserved. Use of this source code is governed by a |
| 23764 // BSD-style license that can be found in the LICENSE file. | 23764 // BSD-style license that can be found in the LICENSE file. |
| 23765 | 23765 |
| 23766 | 23766 |
| 23767 @DocsEditable | 23767 @DocsEditable |
| 23768 @DomName('ClientRectList') | 23768 @DomName('ClientRectList') |
| 23769 class _ClientRectList extends Interceptor with ListMixin<Rect>, ImmutableListMix
in<Rect> implements JavaScriptIndexingBehavior, List<Rect> native "ClientRectLis
t" { | 23769 class _ClientRectList extends Interceptor with ListMixin<Rect>, ImmutableListMix
in<Rect> implements JavaScriptIndexingBehavior, List<Rect> native "ClientRectLis
t" { |
| 23770 | 23770 |
| (...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 24023 @DomName('WebKitPoint') | 24023 @DomName('WebKitPoint') |
| 24024 @SupportedBrowser(SupportedBrowser.CHROME) | 24024 @SupportedBrowser(SupportedBrowser.CHROME) |
| 24025 @SupportedBrowser(SupportedBrowser.SAFARI) | 24025 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 24026 @Experimental | 24026 @Experimental |
| 24027 // http://developer.apple.com/library/safari/#documentation/DataManagement/Refer
ence/DOMWindowAdditionsReference/DOMWindowAdditions/DOMWindowAdditions.html | 24027 // http://developer.apple.com/library/safari/#documentation/DataManagement/Refer
ence/DOMWindowAdditionsReference/DOMWindowAdditions/DOMWindowAdditions.html |
| 24028 @Experimental // non-standard | 24028 @Experimental // non-standard |
| 24029 class _DomPoint native "WebKitPoint" { | 24029 class _DomPoint native "WebKitPoint" { |
| 24030 | 24030 |
| 24031 @DomName('WebKitPoint.DOMPoint') | 24031 @DomName('WebKitPoint.DOMPoint') |
| 24032 @DocsEditable | 24032 @DocsEditable |
| 24033 factory _DomPoint(num x, num y) { | 24033 factory _DomPoint(double x, double y) { |
| 24034 return _DomPoint._create_1(x, y); | 24034 return _DomPoint._create_1(x, y); |
| 24035 } | 24035 } |
| 24036 static _DomPoint _create_1(x, y) => JS('_DomPoint', 'new WebKitPoint(#,#)', x,
y); | 24036 static _DomPoint _create_1(x, y) => JS('_DomPoint', 'new WebKitPoint(#,#)', x,
y); |
| 24037 | 24037 |
| 24038 /// Checks if this type is supported on the current platform. | 24038 /// Checks if this type is supported on the current platform. |
| 24039 static bool get supported => JS('bool', '!!(window.WebKitPoint)'); | 24039 static bool get supported => JS('bool', '!!(window.WebKitPoint)'); |
| 24040 | 24040 |
| 24041 @DomName('WebKitPoint.x') | 24041 @DomName('WebKitPoint.x') |
| 24042 @DocsEditable | 24042 @DocsEditable |
| 24043 num x; | 24043 double x; |
| 24044 | 24044 |
| 24045 @DomName('WebKitPoint.y') | 24045 @DomName('WebKitPoint.y') |
| 24046 @DocsEditable | 24046 @DocsEditable |
| 24047 num y; | 24047 double y; |
| 24048 } | 24048 } |
| 24049 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24049 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24050 // for details. All rights reserved. Use of this source code is governed by a | 24050 // for details. All rights reserved. Use of this source code is governed by a |
| 24051 // BSD-style license that can be found in the LICENSE file. | 24051 // BSD-style license that can be found in the LICENSE file. |
| 24052 | 24052 |
| 24053 | 24053 |
| 24054 @DocsEditable | 24054 @DocsEditable |
| 24055 @DomName('EntityReference') | 24055 @DomName('EntityReference') |
| 24056 @deprecated // deprecated | 24056 @deprecated // deprecated |
| 24057 abstract class _EntityReference extends Node native "EntityReference" { | 24057 abstract class _EntityReference extends Node native "EntityReference" { |
| (...skipping 5240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 29298 _position = nextPosition; | 29298 _position = nextPosition; |
| 29299 return true; | 29299 return true; |
| 29300 } | 29300 } |
| 29301 _current = null; | 29301 _current = null; |
| 29302 _position = _array.length; | 29302 _position = _array.length; |
| 29303 return false; | 29303 return false; |
| 29304 } | 29304 } |
| 29305 | 29305 |
| 29306 T get current => _current; | 29306 T get current => _current; |
| 29307 } | 29307 } |
| OLD | NEW |