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

Side by Side Diff: client/dom/frog/dom_frog.dart

Issue 9422008: Regenerate frog dom (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « client/dom/dom_frog.dart ('k') | client/dom/generated/src/frog/AudioPannerNode.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #library('dom'); 1 #library('dom');
2 2
3 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 3 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4 // for details. All rights reserved. Use of this source code is governed by a 4 // for details. All rights reserved. Use of this source code is governed by a
5 // BSD-style license that can be found in the LICENSE file. 5 // BSD-style license that can be found in the LICENSE file.
6 6
7 // DO NOT EDIT 7 // DO NOT EDIT
8 // Auto-generated Dart DOM library. 8 // Auto-generated Dart DOM library.
9 9
10 10
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 180
181 void connect(_AudioNodeJs destination, int output, int input) native; 181 void connect(_AudioNodeJs destination, int output, int input) native;
182 182
183 void disconnect(int output) native; 183 void disconnect(int output) native;
184 } 184 }
185 185
186 class _AudioPannerNodeJs extends _AudioNodeJs implements AudioPannerNode native "*AudioPannerNode" { 186 class _AudioPannerNodeJs extends _AudioNodeJs implements AudioPannerNode native "*AudioPannerNode" {
187 187
188 static final int EQUALPOWER = 0; 188 static final int EQUALPOWER = 0;
189 189
190 static final int EXPONENTIAL_DISTANCE = 2;
191
190 static final int HRTF = 1; 192 static final int HRTF = 1;
191 193
194 static final int INVERSE_DISTANCE = 1;
195
196 static final int LINEAR_DISTANCE = 0;
197
192 static final int SOUNDFIELD = 2; 198 static final int SOUNDFIELD = 2;
193 199
194 final _AudioGainJs coneGain; 200 final _AudioGainJs coneGain;
195 201
196 num coneInnerAngle; 202 num coneInnerAngle;
197 203
198 num coneOuterAngle; 204 num coneOuterAngle;
199 205
200 num coneOuterGain; 206 num coneOuterGain;
201 207
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 static final int IMPORT_RULE = 3; 429 static final int IMPORT_RULE = 3;
424 430
425 static final int MEDIA_RULE = 4; 431 static final int MEDIA_RULE = 4;
426 432
427 static final int PAGE_RULE = 6; 433 static final int PAGE_RULE = 6;
428 434
429 static final int STYLE_RULE = 1; 435 static final int STYLE_RULE = 1;
430 436
431 static final int UNKNOWN_RULE = 0; 437 static final int UNKNOWN_RULE = 0;
432 438
433 static final int WEBKIT_KEYFRAMES_RULE = 8; 439 static final int WEBKIT_KEYFRAMES_RULE = 7;
434 440
435 static final int WEBKIT_KEYFRAME_RULE = 9; 441 static final int WEBKIT_KEYFRAME_RULE = 8;
436 442
437 static final int WEBKIT_REGION_RULE = 10; 443 static final int WEBKIT_REGION_RULE = 10;
438 444
439 String cssText; 445 String cssText;
440 446
441 final _CSSRuleJs parentRule; 447 final _CSSRuleJs parentRule;
442 448
443 final _CSSStyleSheetJs parentStyleSheet; 449 final _CSSStyleSheetJs parentStyleSheet;
444 450
445 final int type; 451 final int type;
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
826 // Implement DOMType directly. Console is sometimes a singleton 832 // Implement DOMType directly. Console is sometimes a singleton
827 // bag-of-properties without a prototype, so it can't inherit from 833 // bag-of-properties without a prototype, so it can't inherit from
828 // DOMTypeJs. 834 // DOMTypeJs.
829 implements Console, DOMType 835 implements Console, DOMType
830 native "=(typeof console == 'undefined' ? {} : console)" { 836 native "=(typeof console == 'undefined' ? {} : console)" {
831 837
832 final _MemoryInfoJs memory; 838 final _MemoryInfoJs memory;
833 839
834 final List profiles; 840 final List profiles;
835 841
836 void assertCondition(bool condition) native; 842 void assertCondition(bool condition, Object arg) native;
837 843
838 void count() native; 844 void count() native;
839 845
840 void debug(Object arg) native; 846 void debug(Object arg) native;
841 847
842 void dir() native; 848 void dir() native;
843 849
844 void dirxml() native; 850 void dirxml() native;
845 851
846 void error(Object arg) native; 852 void error(Object arg) native;
847 853
848 void group() native; 854 void group(Object arg) native;
849 855
850 void groupCollapsed() native; 856 void groupCollapsed(Object arg) native;
851 857
852 void groupEnd() native; 858 void groupEnd() native;
853 859
854 void info(Object arg) native; 860 void info(Object arg) native;
855 861
856 void log(Object arg) native; 862 void log(Object arg) native;
857 863
858 void markTimeline() native; 864 void markTimeline() native;
859 865
860 void profile(String title) native; 866 void profile(String title) native;
861 867
862 void profileEnd(String title) native; 868 void profileEnd(String title) native;
863 869
864 void time(String title) native; 870 void time(String title) native;
865 871
866 void timeEnd(String title) native; 872 void timeEnd(String title, Object arg) native;
867 873
868 void timeStamp() native; 874 void timeStamp(Object arg) native;
869 875
870 void trace(Object arg) native; 876 void trace(Object arg) native;
871 877
872 void warn(Object arg) native; 878 void warn(Object arg) native;
873 879
874 880
875 // Keep these in sync with frog_DOMTypeJs.dart. 881 // Keep these in sync with frog_DOMTypeJs.dart.
876 var dartObjectLocalStorage; 882 var dartObjectLocalStorage;
877 String get typeName() native; 883 String get typeName() native;
878 } 884 }
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
1166 String item(int index) native; 1172 String item(int index) native;
1167 1173
1168 void remove(String token) native; 1174 void remove(String token) native;
1169 1175
1170 String toString() native; 1176 String toString() native;
1171 1177
1172 bool toggle(String token) native; 1178 bool toggle(String token) native;
1173 } 1179 }
1174 1180
1175 class _DOMURLJs extends _DOMTypeJs implements DOMURL native "*DOMURL" { 1181 class _DOMURLJs extends _DOMTypeJs implements DOMURL native "*DOMURL" {
1176
1177 String createObjectURL(var blob_OR_stream) native;
1178
1179 void revokeObjectURL(String url) native;
1180 } 1182 }
1181 1183
1182 class _DOMWindowJs extends _EventTargetJs implements DOMWindow native "@*DOMWind ow" { 1184 class _DOMWindowJs extends _EventTargetJs implements DOMWindow native "@*DOMWind ow" {
1183 1185
1184 static final int PERSISTENT = 1; 1186 static final int PERSISTENT = 1;
1185 1187
1186 static final int TEMPORARY = 0; 1188 static final int TEMPORARY = 0;
1187 1189
1188 final _DOMApplicationCacheJs applicationCache; 1190 final _DOMApplicationCacheJs applicationCache;
1189 1191
1190 _NavigatorJs clientInformation; 1192 final _NavigatorJs clientInformation;
1191 1193
1192 final bool closed; 1194 final bool closed;
1193 1195
1194 _ConsoleJs console; 1196 final _ConsoleJs console;
1195 1197
1196 final _CryptoJs crypto; 1198 final _CryptoJs crypto;
1197 1199
1198 String defaultStatus; 1200 String defaultStatus;
1199 1201
1200 String defaultstatus; 1202 String defaultstatus;
1201 1203
1202 num devicePixelRatio; 1204 final num devicePixelRatio;
1203 1205
1204 final _DocumentJs document; 1206 final _DocumentJs document;
1205 1207
1206 _EventJs event; 1208 final _EventJs event;
1207 1209
1208 final _ElementJs frameElement; 1210 final _ElementJs frameElement;
1209 1211
1210 _DOMWindowJs frames; 1212 final _DOMWindowJs frames;
1211 1213
1212 _HistoryJs history; 1214 final _HistoryJs history;
1213 1215
1214 int innerHeight; 1216 final int innerHeight;
1215 1217
1216 int innerWidth; 1218 final int innerWidth;
1217 1219
1218 int length; 1220 final int length;
1219 1221
1220 final _StorageJs localStorage; 1222 final _StorageJs localStorage;
1221 1223
1222 _LocationJs location; 1224 _LocationJs location;
1223 1225
1224 _BarInfoJs locationbar; 1226 final _BarInfoJs locationbar;
1225 1227
1226 _BarInfoJs menubar; 1228 final _BarInfoJs menubar;
1227 1229
1228 String name; 1230 String name;
1229 1231
1230 _NavigatorJs navigator; 1232 final _NavigatorJs navigator;
1231 1233
1232 bool offscreenBuffering; 1234 final bool offscreenBuffering;
1233 1235
1234 _DOMWindowJs opener; 1236 final _DOMWindowJs opener;
1235 1237
1236 int outerHeight; 1238 final int outerHeight;
1237 1239
1238 int outerWidth; 1240 final int outerWidth;
1239 1241
1240 final int pageXOffset; 1242 final int pageXOffset;
1241 1243
1242 final int pageYOffset; 1244 final int pageYOffset;
1243 1245
1244 _DOMWindowJs parent; 1246 final _DOMWindowJs parent;
1245 1247
1246 _PerformanceJs performance; 1248 final _PerformanceJs performance;
1247 1249
1248 _BarInfoJs personalbar; 1250 final _BarInfoJs personalbar;
1249 1251
1250 _ScreenJs screen; 1252 final _ScreenJs screen;
1251 1253
1252 int screenLeft; 1254 final int screenLeft;
1253 1255
1254 int screenTop; 1256 final int screenTop;
1255 1257
1256 int screenX; 1258 final int screenX;
1257 1259
1258 int screenY; 1260 final int screenY;
1259 1261
1260 int scrollX; 1262 final int scrollX;
1261 1263
1262 int scrollY; 1264 final int scrollY;
1263 1265
1264 _BarInfoJs scrollbars; 1266 final _BarInfoJs scrollbars;
1265 1267
1266 _DOMWindowJs self; 1268 final _DOMWindowJs self;
1267 1269
1268 final _StorageJs sessionStorage; 1270 final _StorageJs sessionStorage;
1269 1271
1270 String status; 1272 String status;
1271 1273
1272 _BarInfoJs statusbar; 1274 final _BarInfoJs statusbar;
1273 1275
1274 final _StyleMediaJs styleMedia; 1276 final _StyleMediaJs styleMedia;
1275 1277
1276 _BarInfoJs toolbar; 1278 final _BarInfoJs toolbar;
1277 1279
1278 _DOMWindowJs top; 1280 final _DOMWindowJs top;
1279 1281
1280 final _IDBFactoryJs webkitIndexedDB; 1282 final _IDBFactoryJs webkitIndexedDB;
1281 1283
1282 final _NotificationCenterJs webkitNotifications; 1284 final _NotificationCenterJs webkitNotifications;
1283 1285
1284 final _StorageInfoJs webkitStorageInfo; 1286 final _StorageInfoJs webkitStorageInfo;
1285 1287
1286 final _DOMURLJs webkitURL;
1287
1288 final _DOMWindowJs window; 1288 final _DOMWindowJs window;
1289 1289
1290 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 1290 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
1291 1291
1292 void alert(String message) native; 1292 void alert(String message) native;
1293 1293
1294 String atob(String string) native; 1294 String atob(String string) native;
1295 1295
1296 void blur() native; 1296 void blur() native;
1297 1297
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
1738 int scrollLeft; 1738 int scrollLeft;
1739 1739
1740 int scrollTop; 1740 int scrollTop;
1741 1741
1742 final int scrollWidth; 1742 final int scrollWidth;
1743 1743
1744 final _CSSStyleDeclarationJs style; 1744 final _CSSStyleDeclarationJs style;
1745 1745
1746 final String tagName; 1746 final String tagName;
1747 1747
1748 final String webkitRegionOverflow;
1749
1748 void blur() native; 1750 void blur() native;
1749 1751
1750 void focus() native; 1752 void focus() native;
1751 1753
1752 String getAttribute(String name) native; 1754 String getAttribute(String name) native;
1753 1755
1754 String getAttributeNS(String namespaceURI, String localName) native; 1756 String getAttributeNS(String namespaceURI, String localName) native;
1755 1757
1756 _AttrJs getAttributeNode(String name) native; 1758 _AttrJs getAttributeNode(String name) native;
1757 1759
(...skipping 851 matching lines...) Expand 10 before | Expand all | Expand 10 after
2609 final String validationMessage; 2611 final String validationMessage;
2610 2612
2611 final _ValidityStateJs validity; 2613 final _ValidityStateJs validity;
2612 2614
2613 String value; 2615 String value;
2614 2616
2615 final bool willValidate; 2617 final bool willValidate;
2616 2618
2617 bool checkValidity() native; 2619 bool checkValidity() native;
2618 2620
2619 void click() native;
2620
2621 void setCustomValidity(String error) native; 2621 void setCustomValidity(String error) native;
2622 } 2622 }
2623 2623
2624 class _HTMLCanvasElementJs extends _HTMLElementJs implements HTMLCanvasElement n ative "*HTMLCanvasElement" { 2624 class _HTMLCanvasElementJs extends _HTMLElementJs implements HTMLCanvasElement n ative "*HTMLCanvasElement" {
2625 2625
2626 int height; 2626 int height;
2627 2627
2628 int width; 2628 int width;
2629 2629
2630 Object getContext(String contextId) native; 2630 Object getContext(String contextId) native;
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
2818 String outerText; 2818 String outerText;
2819 2819
2820 bool spellcheck; 2820 bool spellcheck;
2821 2821
2822 int tabIndex; 2822 int tabIndex;
2823 2823
2824 String title; 2824 String title;
2825 2825
2826 String webkitdropzone; 2826 String webkitdropzone;
2827 2827
2828 void click() native;
2829
2828 _ElementJs insertAdjacentElement(String where, _ElementJs element) native; 2830 _ElementJs insertAdjacentElement(String where, _ElementJs element) native;
2829 2831
2830 void insertAdjacentHTML(String where, String html) native; 2832 void insertAdjacentHTML(String where, String html) native;
2831 2833
2832 void insertAdjacentText(String where, String text) native; 2834 void insertAdjacentText(String where, String text) native;
2833 } 2835 }
2834 2836
2835 class _HTMLEmbedElementJs extends _HTMLElementJs implements HTMLEmbedElement nat ive "*HTMLEmbedElement" { 2837 class _HTMLEmbedElementJs extends _HTMLElementJs implements HTMLEmbedElement nat ive "*HTMLEmbedElement" {
2836 2838
2837 String align; 2839 String align;
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
3131 bool webkitGrammar; 3133 bool webkitGrammar;
3132 3134
3133 bool webkitSpeech; 3135 bool webkitSpeech;
3134 3136
3135 bool webkitdirectory; 3137 bool webkitdirectory;
3136 3138
3137 final bool willValidate; 3139 final bool willValidate;
3138 3140
3139 bool checkValidity() native; 3141 bool checkValidity() native;
3140 3142
3141 void click() native;
3142
3143 void select() native; 3143 void select() native;
3144 3144
3145 void setCustomValidity(String error) native; 3145 void setCustomValidity(String error) native;
3146 3146
3147 void setSelectionRange(int start, int end, [String direction = null]) native; 3147 void setSelectionRange(int start, int end, [String direction = null]) native;
3148 3148
3149 void stepDown([int n = null]) native; 3149 void stepDown([int n = null]) native;
3150 3150
3151 void stepUp([int n = null]) native; 3151 void stepUp([int n = null]) native;
3152 } 3152 }
3153 3153
3154 class _HTMLIsIndexElementJs extends _HTMLInputElementJs implements HTMLIsIndexEl ement native "*HTMLIsIndexElement" {
3155
3156 // Use implementation from HTMLInputElement.
3157 // final _HTMLFormElementJs form;
3158
3159 String prompt;
3160 }
3161
3162 class _HTMLKeygenElementJs extends _HTMLElementJs implements HTMLKeygenElement n ative "*HTMLKeygenElement" { 3154 class _HTMLKeygenElementJs extends _HTMLElementJs implements HTMLKeygenElement n ative "*HTMLKeygenElement" {
3163 3155
3164 bool autofocus; 3156 bool autofocus;
3165 3157
3166 String challenge; 3158 String challenge;
3167 3159
3168 bool disabled; 3160 bool disabled;
3169 3161
3170 final _HTMLFormElementJs form; 3162 final _HTMLFormElementJs form;
3171 3163
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
3365 final bool webkitHasClosedCaptions; 3357 final bool webkitHasClosedCaptions;
3366 3358
3367 final String webkitMediaSourceURL; 3359 final String webkitMediaSourceURL;
3368 3360
3369 bool webkitPreservesPitch; 3361 bool webkitPreservesPitch;
3370 3362
3371 final int webkitSourceState; 3363 final int webkitSourceState;
3372 3364
3373 final int webkitVideoDecodedByteCount; 3365 final int webkitVideoDecodedByteCount;
3374 3366
3375 _TextTrackJs addTrack(String kind, [String label = null, String language = nul l]) native; 3367 _TextTrackJs addTextTrack(String kind, [String label = null, String language = null]) native;
3376 3368
3377 String canPlayType(String type) native; 3369 String canPlayType(String type) native;
3378 3370
3379 void load() native; 3371 void load() native;
3380 3372
3381 void pause() native; 3373 void pause() native;
3382 3374
3383 void play() native; 3375 void play() native;
3384 3376
3385 void webkitSourceAppend(_Uint8ArrayJs data) native; 3377 void webkitSourceAppend(_Uint8ArrayJs data) native;
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
3655 3647
3656 _NodeJs item(int index) native; 3648 _NodeJs item(int index) native;
3657 3649
3658 _NodeJs namedItem(String name) native; 3650 _NodeJs namedItem(String name) native;
3659 3651
3660 void remove(var index_OR_option) native; 3652 void remove(var index_OR_option) native;
3661 3653
3662 void setCustomValidity(String error) native; 3654 void setCustomValidity(String error) native;
3663 } 3655 }
3664 3656
3657 class _HTMLShadowElementJs extends _HTMLElementJs implements HTMLShadowElement n ative "*HTMLShadowElement" {
3658 }
3659
3665 class _HTMLSourceElementJs extends _HTMLElementJs implements HTMLSourceElement n ative "*HTMLSourceElement" { 3660 class _HTMLSourceElementJs extends _HTMLElementJs implements HTMLSourceElement n ative "*HTMLSourceElement" {
3666 3661
3667 String media; 3662 String media;
3668 3663
3669 String src; 3664 String src;
3670 3665
3671 String type; 3666 String type;
3672 } 3667 }
3673 3668
3674 class _HTMLSpanElementJs extends _HTMLElementJs implements HTMLSpanElement nativ e "*HTMLSpanElement" { 3669 class _HTMLSpanElementJs extends _HTMLElementJs implements HTMLSpanElement nativ e "*HTMLSpanElement" {
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
3964 3959
3965 final _AudioParamJs cutoff; 3960 final _AudioParamJs cutoff;
3966 3961
3967 final _AudioParamJs resonance; 3962 final _AudioParamJs resonance;
3968 } 3963 }
3969 3964
3970 class _HistoryJs extends _DOMTypeJs implements History native "*History" { 3965 class _HistoryJs extends _DOMTypeJs implements History native "*History" {
3971 3966
3972 final int length; 3967 final int length;
3973 3968
3969 final Dynamic state;
3970
3974 void back() native; 3971 void back() native;
3975 3972
3976 void forward() native; 3973 void forward() native;
3977 3974
3978 void go(int distance) native; 3975 void go(int distance) native;
3979 3976
3980 void pushState(Object data, String title, [String url = null]) native; 3977 void pushState(Object data, String title, [String url = null]) native;
3981 3978
3982 void replaceState(Object data, String title, [String url = null]) native; 3979 void replaceState(Object data, String title, [String url = null]) native;
3983 } 3980 }
(...skipping 1460 matching lines...) Expand 10 before | Expand all | Expand 10 after
5444 EventListener onaddstream; 5441 EventListener onaddstream;
5445 5442
5446 EventListener onconnecting; 5443 EventListener onconnecting;
5447 5444
5448 EventListener onmessage; 5445 EventListener onmessage;
5449 5446
5450 EventListener onopen; 5447 EventListener onopen;
5451 5448
5452 EventListener onremovestream; 5449 EventListener onremovestream;
5453 5450
5451 EventListener onstatechange;
5452
5454 final int readyState; 5453 final int readyState;
5455 5454
5456 final _MediaStreamListJs remoteStreams; 5455 final _MediaStreamListJs remoteStreams;
5457 5456
5458 void addEventListener(String type, EventListener listener, bool useCapture) na tive; 5457 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
5459 5458
5460 void addStream(_MediaStreamJs stream) native; 5459 void addStream(_MediaStreamJs stream) native;
5461 5460
5462 void close() native; 5461 void close() native;
5463 5462
5464 bool dispatchEvent(_EventJs event) native; 5463 bool dispatchEvent(_EventJs event) native;
5465 5464
5466 void processSignalingMessage(String message) native; 5465 void processSignalingMessage(String message) native;
5467 5466
5468 void removeEventListener(String type, EventListener listener, bool useCapture) native; 5467 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
5469 5468
5470 void removeStream(_MediaStreamJs stream) native; 5469 void removeStream(_MediaStreamJs stream) native;
5471 5470
5472 void send(String text) native; 5471 void send(String text) native;
5473 } 5472 }
5474 5473
5475 class _PerformanceJs extends _DOMTypeJs implements Performance native "*Performa nce" { 5474 class _PerformanceJs extends _DOMTypeJs implements Performance native "*Performa nce" {
5476 5475
5477 final _MemoryInfoJs memory; 5476 final _MemoryInfoJs memory;
5478 5477
(...skipping 3123 matching lines...) Expand 10 before | Expand all | Expand 10 after
8602 8601
8603 final _SVGAnimatedStringJs className; 8602 final _SVGAnimatedStringJs className;
8604 8603
8605 final _CSSStyleDeclarationJs style; 8604 final _CSSStyleDeclarationJs style;
8606 8605
8607 _CSSValueJs getPresentationAttribute(String name) native; 8606 _CSSValueJs getPresentationAttribute(String name) native;
8608 } 8607 }
8609 8608
8610 class _SVGStyleElementJs extends _SVGElementJs implements SVGStyleElement native "*SVGStyleElement" { 8609 class _SVGStyleElementJs extends _SVGElementJs implements SVGStyleElement native "*SVGStyleElement" {
8611 8610
8611 bool disabled;
8612
8612 String media; 8613 String media;
8613 8614
8614 String title; 8615 String title;
8615 8616
8616 String type; 8617 String type;
8617 8618
8618 // From SVGLangSpace 8619 // From SVGLangSpace
8619 8620
8620 String xmllang; 8621 String xmllang;
8621 8622
(...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after
9110 9111
9111 final num selfTime; 9112 final num selfTime;
9112 9113
9113 final num totalTime; 9114 final num totalTime;
9114 9115
9115 final String url; 9116 final String url;
9116 9117
9117 final bool visible; 9118 final bool visible;
9118 } 9119 }
9119 9120
9120 class _ShadowRootJs extends _NodeJs implements ShadowRoot native "*ShadowRoot" { 9121 class _ShadowRootJs extends _DocumentFragmentJs implements ShadowRoot native "*S hadowRoot" {
9121 9122
9122 final _ElementJs host; 9123 final _ElementJs host;
9124
9125 _ElementJs getElementById(String elementId) native;
9126
9127 _NodeListJs getElementsByClassName(String className) native;
9128
9129 _NodeListJs getElementsByTagName(String tagName) native;
9130
9131 _NodeListJs getElementsByTagNameNS(String namespaceURI, String localName) nati ve;
9123 } 9132 }
9124 9133
9125 class _SharedWorkerJs extends _AbstractWorkerJs implements SharedWorker native " *SharedWorker" { 9134 class _SharedWorkerJs extends _AbstractWorkerJs implements SharedWorker native " *SharedWorker" {
9126 9135
9127 final _MessagePortJs port; 9136 final _MessagePortJs port;
9128 } 9137 }
9129 9138
9130 class _SharedWorkerContextJs extends _WorkerContextJs implements SharedWorkerCon text native "*SharedWorkerContext" { 9139 class _SharedWorkerContextJs extends _WorkerContextJs implements SharedWorkerCon text native "*SharedWorkerContext" {
9131 9140
9132 final String name; 9141 final String name;
(...skipping 815 matching lines...) Expand 10 before | Expand all | Expand 10 after
9948 final String name; 9957 final String name;
9949 9958
9950 final int size; 9959 final int size;
9951 9960
9952 final int type; 9961 final int type;
9953 } 9962 }
9954 9963
9955 class _WebGLBufferJs extends _DOMTypeJs implements WebGLBuffer native "*WebGLBuf fer" { 9964 class _WebGLBufferJs extends _DOMTypeJs implements WebGLBuffer native "*WebGLBuf fer" {
9956 } 9965 }
9957 9966
9958 class _WebGLCompressedTexturesJs extends _DOMTypeJs implements WebGLCompressedTe xtures native "*WebGLCompressedTextures" { 9967 class _WebGLCompressedTextureS3TCJs extends _DOMTypeJs implements WebGLCompresse dTextureS3TC native "*WebGLCompressedTextureS3TC" {
9959
9960 static final int COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02;
9961 9968
9962 static final int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1; 9969 static final int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1;
9963 9970
9971 static final int COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2;
9972
9964 static final int COMPRESSED_RGBA_S3TC_DXT5_EXT = 0x83F3; 9973 static final int COMPRESSED_RGBA_S3TC_DXT5_EXT = 0x83F3;
9965 9974
9966 static final int COMPRESSED_RGB_PVRTC_4BPPV1_IMG = 0x8C00;
9967
9968 static final int COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0; 9975 static final int COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0;
9969
9970 static final int ETC1_RGB8_OES = 0x8D64;
9971
9972 void compressedTexImage2D(int target, int level, int internalformat, int width , int height, int border, _ArrayBufferViewJs data) native;
9973
9974 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, _ArrayBufferViewJs data) native;
9975 } 9976 }
9976 9977
9977 class _WebGLContextAttributesJs extends _DOMTypeJs implements WebGLContextAttrib utes native "*WebGLContextAttributes" { 9978 class _WebGLContextAttributesJs extends _DOMTypeJs implements WebGLContextAttrib utes native "*WebGLContextAttributes" {
9978 9979
9979 bool alpha; 9980 bool alpha;
9980 9981
9981 bool antialias; 9982 bool antialias;
9982 9983
9983 bool depth; 9984 bool depth;
9984 9985
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
10315 static final int NEVER = 0x0200; 10316 static final int NEVER = 0x0200;
10316 10317
10317 static final int NICEST = 0x1102; 10318 static final int NICEST = 0x1102;
10318 10319
10319 static final int NONE = 0; 10320 static final int NONE = 0;
10320 10321
10321 static final int NOTEQUAL = 0x0205; 10322 static final int NOTEQUAL = 0x0205;
10322 10323
10323 static final int NO_ERROR = 0; 10324 static final int NO_ERROR = 0;
10324 10325
10325 static final int NUM_COMPRESSED_TEXTURE_FORMATS = 0x86A2;
10326
10327 static final int ONE = 1; 10326 static final int ONE = 1;
10328 10327
10329 static final int ONE_MINUS_CONSTANT_ALPHA = 0x8004; 10328 static final int ONE_MINUS_CONSTANT_ALPHA = 0x8004;
10330 10329
10331 static final int ONE_MINUS_CONSTANT_COLOR = 0x8002; 10330 static final int ONE_MINUS_CONSTANT_COLOR = 0x8002;
10332 10331
10333 static final int ONE_MINUS_DST_ALPHA = 0x0305; 10332 static final int ONE_MINUS_DST_ALPHA = 0x0305;
10334 10333
10335 static final int ONE_MINUS_DST_COLOR = 0x0307; 10334 static final int ONE_MINUS_DST_COLOR = 0x0307;
10336 10335
(...skipping 862 matching lines...) Expand 10 before | Expand all | Expand 10 after
11199 11198
11200 void webkitPostMessage(Dynamic message, [List messagePorts = null]) native; 11199 void webkitPostMessage(Dynamic message, [List messagePorts = null]) native;
11201 } 11200 }
11202 11201
11203 class _WorkerContextJs extends _DOMTypeJs implements WorkerContext native "*Work erContext" { 11202 class _WorkerContextJs extends _DOMTypeJs implements WorkerContext native "*Work erContext" {
11204 11203
11205 static final int PERSISTENT = 1; 11204 static final int PERSISTENT = 1;
11206 11205
11207 static final int TEMPORARY = 0; 11206 static final int TEMPORARY = 0;
11208 11207
11209 _WorkerLocationJs location; 11208 final _WorkerLocationJs location;
11210 11209
11211 _WorkerNavigatorJs navigator; 11210 final _WorkerNavigatorJs navigator;
11212 11211
11213 EventListener onerror; 11212 EventListener onerror;
11214 11213
11215 _WorkerContextJs self; 11214 final _WorkerContextJs self;
11216 11215
11217 final _IDBFactoryJs webkitIndexedDB; 11216 final _IDBFactoryJs webkitIndexedDB;
11218 11217
11219 final _NotificationCenterJs webkitNotifications; 11218 final _NotificationCenterJs webkitNotifications;
11220 11219
11221 final _DOMURLJs webkitURL;
11222
11223 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 11220 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
11224 11221
11225 void clearInterval(int handle) native; 11222 void clearInterval(int handle) native;
11226 11223
11227 void clearTimeout(int handle) native; 11224 void clearTimeout(int handle) native;
11228 11225
11229 void close() native; 11226 void close() native;
11230 11227
11231 bool dispatchEvent(_EventJs evt) native; 11228 bool dispatchEvent(_EventJs evt) native;
11232 11229
(...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after
11717 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 11714 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11718 // for details. All rights reserved. Use of this source code is governed by a 11715 // for details. All rights reserved. Use of this source code is governed by a
11719 // BSD-style license that can be found in the LICENSE file. 11716 // BSD-style license that can be found in the LICENSE file.
11720 11717
11721 // WARNING: Do not edit - generated code. 11718 // WARNING: Do not edit - generated code.
11722 11719
11723 interface AudioPannerNode extends AudioNode { 11720 interface AudioPannerNode extends AudioNode {
11724 11721
11725 static final int EQUALPOWER = 0; 11722 static final int EQUALPOWER = 0;
11726 11723
11724 static final int EXPONENTIAL_DISTANCE = 2;
11725
11727 static final int HRTF = 1; 11726 static final int HRTF = 1;
11728 11727
11728 static final int INVERSE_DISTANCE = 1;
11729
11730 static final int LINEAR_DISTANCE = 0;
11731
11729 static final int SOUNDFIELD = 2; 11732 static final int SOUNDFIELD = 2;
11730 11733
11731 final AudioGain coneGain; 11734 final AudioGain coneGain;
11732 11735
11733 num coneInnerAngle; 11736 num coneInnerAngle;
11734 11737
11735 num coneOuterAngle; 11738 num coneOuterAngle;
11736 11739
11737 num coneOuterGain; 11740 num coneOuterGain;
11738 11741
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
12038 static final int IMPORT_RULE = 3; 12041 static final int IMPORT_RULE = 3;
12039 12042
12040 static final int MEDIA_RULE = 4; 12043 static final int MEDIA_RULE = 4;
12041 12044
12042 static final int PAGE_RULE = 6; 12045 static final int PAGE_RULE = 6;
12043 12046
12044 static final int STYLE_RULE = 1; 12047 static final int STYLE_RULE = 1;
12045 12048
12046 static final int UNKNOWN_RULE = 0; 12049 static final int UNKNOWN_RULE = 0;
12047 12050
12048 static final int WEBKIT_KEYFRAMES_RULE = 8; 12051 static final int WEBKIT_KEYFRAMES_RULE = 7;
12049 12052
12050 static final int WEBKIT_KEYFRAME_RULE = 9; 12053 static final int WEBKIT_KEYFRAME_RULE = 8;
12051 12054
12052 static final int WEBKIT_REGION_RULE = 10; 12055 static final int WEBKIT_REGION_RULE = 10;
12053 12056
12054 String cssText; 12057 String cssText;
12055 12058
12056 final CSSRule parentRule; 12059 final CSSRule parentRule;
12057 12060
12058 final CSSStyleSheet parentStyleSheet; 12061 final CSSStyleSheet parentStyleSheet;
12059 12062
12060 final int type; 12063 final int type;
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
12462 // BSD-style license that can be found in the LICENSE file. 12465 // BSD-style license that can be found in the LICENSE file.
12463 12466
12464 // WARNING: Do not edit - generated code. 12467 // WARNING: Do not edit - generated code.
12465 12468
12466 interface Console { 12469 interface Console {
12467 12470
12468 final MemoryInfo memory; 12471 final MemoryInfo memory;
12469 12472
12470 final List profiles; 12473 final List profiles;
12471 12474
12472 void assertCondition(bool condition); 12475 void assertCondition(bool condition, Object arg);
12473 12476
12474 void count(); 12477 void count();
12475 12478
12476 void debug(Object arg); 12479 void debug(Object arg);
12477 12480
12478 void dir(); 12481 void dir();
12479 12482
12480 void dirxml(); 12483 void dirxml();
12481 12484
12482 void error(Object arg); 12485 void error(Object arg);
12483 12486
12484 void group(); 12487 void group(Object arg);
12485 12488
12486 void groupCollapsed(); 12489 void groupCollapsed(Object arg);
12487 12490
12488 void groupEnd(); 12491 void groupEnd();
12489 12492
12490 void info(Object arg); 12493 void info(Object arg);
12491 12494
12492 void log(Object arg); 12495 void log(Object arg);
12493 12496
12494 void markTimeline(); 12497 void markTimeline();
12495 12498
12496 void profile(String title); 12499 void profile(String title);
12497 12500
12498 void profileEnd(String title); 12501 void profileEnd(String title);
12499 12502
12500 void time(String title); 12503 void time(String title);
12501 12504
12502 void timeEnd(String title); 12505 void timeEnd(String title, Object arg);
12503 12506
12504 void timeStamp(); 12507 void timeStamp(Object arg);
12505 12508
12506 void trace(Object arg); 12509 void trace(Object arg);
12507 12510
12508 void warn(Object arg); 12511 void warn(Object arg);
12509 } 12512 }
12510 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 12513 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12511 // for details. All rights reserved. Use of this source code is governed by a 12514 // for details. All rights reserved. Use of this source code is governed by a
12512 // BSD-style license that can be found in the LICENSE file. 12515 // BSD-style license that can be found in the LICENSE file.
12513 12516
12514 // WARNING: Do not edit - generated code. 12517 // WARNING: Do not edit - generated code.
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
12908 12911
12909 bool toggle(String token); 12912 bool toggle(String token);
12910 } 12913 }
12911 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 12914 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12912 // for details. All rights reserved. Use of this source code is governed by a 12915 // for details. All rights reserved. Use of this source code is governed by a
12913 // BSD-style license that can be found in the LICENSE file. 12916 // BSD-style license that can be found in the LICENSE file.
12914 12917
12915 // WARNING: Do not edit - generated code. 12918 // WARNING: Do not edit - generated code.
12916 12919
12917 interface DOMURL { 12920 interface DOMURL {
12918
12919 String createObjectURL(var blob_OR_stream);
12920
12921 void revokeObjectURL(String url);
12922 } 12921 }
12923 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 12922 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12924 // for details. All rights reserved. Use of this source code is governed by a 12923 // for details. All rights reserved. Use of this source code is governed by a
12925 // BSD-style license that can be found in the LICENSE file. 12924 // BSD-style license that can be found in the LICENSE file.
12926 12925
12927 // WARNING: Do not edit - generated code. 12926 // WARNING: Do not edit - generated code.
12928 12927
12929 interface Window extends EventTarget { 12928 interface Window extends EventTarget {
12930 12929
12931 final DOMApplicationCache applicationCache; 12930 final DOMApplicationCache applicationCache;
12932 12931
12933 Navigator clientInformation; 12932 final Navigator clientInformation;
12934 12933
12935 final bool closed; 12934 final bool closed;
12936 12935
12937 Console console; 12936 final Console console;
12938 12937
12939 final Crypto crypto; 12938 final Crypto crypto;
12940 12939
12941 String defaultStatus; 12940 String defaultStatus;
12942 12941
12943 String defaultstatus; 12942 String defaultstatus;
12944 12943
12945 num devicePixelRatio; 12944 final num devicePixelRatio;
12946 12945
12947 final Document document; 12946 final Document document;
12948 12947
12949 Event event; 12948 final Event event;
12950 12949
12951 final Element frameElement; 12950 final Element frameElement;
12952 12951
12953 DOMWindow frames; 12952 final DOMWindow frames;
12954 12953
12955 History history; 12954 final History history;
12956 12955
12957 int innerHeight; 12956 final int innerHeight;
12958 12957
12959 int innerWidth; 12958 final int innerWidth;
12960 12959
12961 int length; 12960 final int length;
12962 12961
12963 final Storage localStorage; 12962 final Storage localStorage;
12964 12963
12965 Location location; 12964 Location location;
12966 12965
12967 BarInfo locationbar; 12966 final BarInfo locationbar;
12968 12967
12969 BarInfo menubar; 12968 final BarInfo menubar;
12970 12969
12971 String name; 12970 String name;
12972 12971
12973 Navigator navigator; 12972 final Navigator navigator;
12974 12973
12975 bool offscreenBuffering; 12974 final bool offscreenBuffering;
12976 12975
12977 DOMWindow opener; 12976 final DOMWindow opener;
12978 12977
12979 int outerHeight; 12978 final int outerHeight;
12980 12979
12981 int outerWidth; 12980 final int outerWidth;
12982 12981
12983 final int pageXOffset; 12982 final int pageXOffset;
12984 12983
12985 final int pageYOffset; 12984 final int pageYOffset;
12986 12985
12987 DOMWindow parent; 12986 final DOMWindow parent;
12988 12987
12989 Performance performance; 12988 final Performance performance;
12990 12989
12991 BarInfo personalbar; 12990 final BarInfo personalbar;
12992 12991
12993 Screen screen; 12992 final Screen screen;
12994 12993
12995 int screenLeft; 12994 final int screenLeft;
12996 12995
12997 int screenTop; 12996 final int screenTop;
12998 12997
12999 int screenX; 12998 final int screenX;
13000 12999
13001 int screenY; 13000 final int screenY;
13002 13001
13003 int scrollX; 13002 final int scrollX;
13004 13003
13005 int scrollY; 13004 final int scrollY;
13006 13005
13007 BarInfo scrollbars; 13006 final BarInfo scrollbars;
13008 13007
13009 DOMWindow self; 13008 final DOMWindow self;
13010 13009
13011 final Storage sessionStorage; 13010 final Storage sessionStorage;
13012 13011
13013 String status; 13012 String status;
13014 13013
13015 BarInfo statusbar; 13014 final BarInfo statusbar;
13016 13015
13017 final StyleMedia styleMedia; 13016 final StyleMedia styleMedia;
13018 13017
13019 BarInfo toolbar; 13018 final BarInfo toolbar;
13020 13019
13021 DOMWindow top; 13020 final DOMWindow top;
13022 13021
13023 final IDBFactory webkitIndexedDB; 13022 final IDBFactory webkitIndexedDB;
13024 13023
13025 final NotificationCenter webkitNotifications; 13024 final NotificationCenter webkitNotifications;
13026 13025
13027 final StorageInfo webkitStorageInfo; 13026 final StorageInfo webkitStorageInfo;
13028 13027
13029 final DOMURL webkitURL;
13030
13031 final DOMWindow window; 13028 final DOMWindow window;
13032 13029
13033 void addEventListener(String type, EventListener listener, [bool useCapture]); 13030 void addEventListener(String type, EventListener listener, [bool useCapture]);
13034 13031
13035 void alert(String message); 13032 void alert(String message);
13036 13033
13037 String atob(String string); 13034 String atob(String string);
13038 13035
13039 void blur(); 13036 void blur();
13040 13037
(...skipping 547 matching lines...) Expand 10 before | Expand all | Expand 10 after
13588 int scrollLeft; 13585 int scrollLeft;
13589 13586
13590 int scrollTop; 13587 int scrollTop;
13591 13588
13592 final int scrollWidth; 13589 final int scrollWidth;
13593 13590
13594 final CSSStyleDeclaration style; 13591 final CSSStyleDeclaration style;
13595 13592
13596 final String tagName; 13593 final String tagName;
13597 13594
13595 final String webkitRegionOverflow;
13596
13598 void blur(); 13597 void blur();
13599 13598
13600 void focus(); 13599 void focus();
13601 13600
13602 String getAttribute(String name); 13601 String getAttribute(String name);
13603 13602
13604 String getAttributeNS(String namespaceURI, String localName); 13603 String getAttributeNS(String namespaceURI, String localName);
13605 13604
13606 Attr getAttributeNode(String name); 13605 Attr getAttributeNode(String name);
13607 13606
(...skipping 934 matching lines...) Expand 10 before | Expand all | Expand 10 after
14542 final String validationMessage; 14541 final String validationMessage;
14543 14542
14544 final ValidityState validity; 14543 final ValidityState validity;
14545 14544
14546 String value; 14545 String value;
14547 14546
14548 final bool willValidate; 14547 final bool willValidate;
14549 14548
14550 bool checkValidity(); 14549 bool checkValidity();
14551 14550
14552 void click();
14553
14554 void setCustomValidity(String error); 14551 void setCustomValidity(String error);
14555 } 14552 }
14556 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14553 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14557 // for details. All rights reserved. Use of this source code is governed by a 14554 // for details. All rights reserved. Use of this source code is governed by a
14558 // BSD-style license that can be found in the LICENSE file. 14555 // BSD-style license that can be found in the LICENSE file.
14559 14556
14560 // WARNING: Do not edit - generated code. 14557 // WARNING: Do not edit - generated code.
14561 14558
14562 interface HTMLCanvasElement extends HTMLElement { 14559 interface HTMLCanvasElement extends HTMLElement {
14563 14560
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
14722 String outerText; 14719 String outerText;
14723 14720
14724 bool spellcheck; 14721 bool spellcheck;
14725 14722
14726 int tabIndex; 14723 int tabIndex;
14727 14724
14728 String title; 14725 String title;
14729 14726
14730 String webkitdropzone; 14727 String webkitdropzone;
14731 14728
14729 void click();
14730
14732 Element insertAdjacentElement(String where, Element element); 14731 Element insertAdjacentElement(String where, Element element);
14733 14732
14734 void insertAdjacentHTML(String where, String html); 14733 void insertAdjacentHTML(String where, String html);
14735 14734
14736 void insertAdjacentText(String where, String text); 14735 void insertAdjacentText(String where, String text);
14737 } 14736 }
14738 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14737 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14739 // for details. All rights reserved. Use of this source code is governed by a 14738 // for details. All rights reserved. Use of this source code is governed by a
14740 // BSD-style license that can be found in the LICENSE file. 14739 // BSD-style license that can be found in the LICENSE file.
14741 14740
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
15100 bool webkitGrammar; 15099 bool webkitGrammar;
15101 15100
15102 bool webkitSpeech; 15101 bool webkitSpeech;
15103 15102
15104 bool webkitdirectory; 15103 bool webkitdirectory;
15105 15104
15106 final bool willValidate; 15105 final bool willValidate;
15107 15106
15108 bool checkValidity(); 15107 bool checkValidity();
15109 15108
15110 void click();
15111
15112 void select(); 15109 void select();
15113 15110
15114 void setCustomValidity(String error); 15111 void setCustomValidity(String error);
15115 15112
15116 void setSelectionRange(int start, int end, [String direction]); 15113 void setSelectionRange(int start, int end, [String direction]);
15117 15114
15118 void stepDown([int n]); 15115 void stepDown([int n]);
15119 15116
15120 void stepUp([int n]); 15117 void stepUp([int n]);
15121 } 15118 }
15122 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 15119 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15123 // for details. All rights reserved. Use of this source code is governed by a 15120 // for details. All rights reserved. Use of this source code is governed by a
15124 // BSD-style license that can be found in the LICENSE file. 15121 // BSD-style license that can be found in the LICENSE file.
15125 15122
15126 // WARNING: Do not edit - generated code. 15123 // WARNING: Do not edit - generated code.
15127 15124
15128 interface HTMLIsIndexElement extends HTMLInputElement {
15129
15130 final HTMLFormElement form;
15131
15132 String prompt;
15133 }
15134 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15135 // for details. All rights reserved. Use of this source code is governed by a
15136 // BSD-style license that can be found in the LICENSE file.
15137
15138 // WARNING: Do not edit - generated code.
15139
15140 interface HTMLKeygenElement extends HTMLElement { 15125 interface HTMLKeygenElement extends HTMLElement {
15141 15126
15142 bool autofocus; 15127 bool autofocus;
15143 15128
15144 String challenge; 15129 String challenge;
15145 15130
15146 bool disabled; 15131 bool disabled;
15147 15132
15148 final HTMLFormElement form; 15133 final HTMLFormElement form;
15149 15134
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
15378 final bool webkitHasClosedCaptions; 15363 final bool webkitHasClosedCaptions;
15379 15364
15380 final String webkitMediaSourceURL; 15365 final String webkitMediaSourceURL;
15381 15366
15382 bool webkitPreservesPitch; 15367 bool webkitPreservesPitch;
15383 15368
15384 final int webkitSourceState; 15369 final int webkitSourceState;
15385 15370
15386 final int webkitVideoDecodedByteCount; 15371 final int webkitVideoDecodedByteCount;
15387 15372
15388 TextTrack addTrack(String kind, [String label, String language]); 15373 TextTrack addTextTrack(String kind, [String label, String language]);
15389 15374
15390 String canPlayType(String type); 15375 String canPlayType(String type);
15391 15376
15392 void load(); 15377 void load();
15393 15378
15394 void pause(); 15379 void pause();
15395 15380
15396 void play(); 15381 void play();
15397 15382
15398 void webkitSourceAppend(Uint8Array data); 15383 void webkitSourceAppend(Uint8Array data);
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
15756 void remove(var index_OR_option); 15741 void remove(var index_OR_option);
15757 15742
15758 void setCustomValidity(String error); 15743 void setCustomValidity(String error);
15759 } 15744 }
15760 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 15745 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15761 // for details. All rights reserved. Use of this source code is governed by a 15746 // for details. All rights reserved. Use of this source code is governed by a
15762 // BSD-style license that can be found in the LICENSE file. 15747 // BSD-style license that can be found in the LICENSE file.
15763 15748
15764 // WARNING: Do not edit - generated code. 15749 // WARNING: Do not edit - generated code.
15765 15750
15751 interface HTMLShadowElement extends HTMLElement {
15752 }
15753 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15754 // for details. All rights reserved. Use of this source code is governed by a
15755 // BSD-style license that can be found in the LICENSE file.
15756
15757 // WARNING: Do not edit - generated code.
15758
15766 interface HTMLSourceElement extends HTMLElement { 15759 interface HTMLSourceElement extends HTMLElement {
15767 15760
15768 String media; 15761 String media;
15769 15762
15770 String src; 15763 String src;
15771 15764
15772 String type; 15765 String type;
15773 } 15766 }
15774 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 15767 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15775 // for details. All rights reserved. Use of this source code is governed by a 15768 // for details. All rights reserved. Use of this source code is governed by a
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
16150 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 16143 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16151 // for details. All rights reserved. Use of this source code is governed by a 16144 // for details. All rights reserved. Use of this source code is governed by a
16152 // BSD-style license that can be found in the LICENSE file. 16145 // BSD-style license that can be found in the LICENSE file.
16153 16146
16154 // WARNING: Do not edit - generated code. 16147 // WARNING: Do not edit - generated code.
16155 16148
16156 interface History { 16149 interface History {
16157 16150
16158 final int length; 16151 final int length;
16159 16152
16153 final Dynamic state;
16154
16160 void back(); 16155 void back();
16161 16156
16162 void forward(); 16157 void forward();
16163 16158
16164 void go(int distance); 16159 void go(int distance);
16165 16160
16166 void pushState(Object data, String title, [String url]); 16161 void pushState(Object data, String title, [String url]);
16167 16162
16168 void replaceState(Object data, String title, [String url]); 16163 void replaceState(Object data, String title, [String url]);
16169 } 16164 }
(...skipping 1353 matching lines...) Expand 10 before | Expand all | Expand 10 after
17523 EventListener onaddstream; 17518 EventListener onaddstream;
17524 17519
17525 EventListener onconnecting; 17520 EventListener onconnecting;
17526 17521
17527 EventListener onmessage; 17522 EventListener onmessage;
17528 17523
17529 EventListener onopen; 17524 EventListener onopen;
17530 17525
17531 EventListener onremovestream; 17526 EventListener onremovestream;
17532 17527
17528 EventListener onstatechange;
17529
17533 final int readyState; 17530 final int readyState;
17534 17531
17535 final MediaStreamList remoteStreams; 17532 final MediaStreamList remoteStreams;
17536 17533
17537 void addEventListener(String type, EventListener listener, bool useCapture); 17534 void addEventListener(String type, EventListener listener, [bool useCapture]);
17538 17535
17539 void addStream(MediaStream stream); 17536 void addStream(MediaStream stream);
17540 17537
17541 void close(); 17538 void close();
17542 17539
17543 bool dispatchEvent(Event event); 17540 bool dispatchEvent(Event event);
17544 17541
17545 void processSignalingMessage(String message); 17542 void processSignalingMessage(String message);
17546 17543
17547 void removeEventListener(String type, EventListener listener, bool useCapture) ; 17544 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
17548 17545
17549 void removeStream(MediaStream stream); 17546 void removeStream(MediaStream stream);
17550 17547
17551 void send(String text); 17548 void send(String text);
17552 } 17549 }
17553 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17550 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17554 // for details. All rights reserved. Use of this source code is governed by a 17551 // for details. All rights reserved. Use of this source code is governed by a
17555 // BSD-style license that can be found in the LICENSE file. 17552 // BSD-style license that can be found in the LICENSE file.
17556 17553
17557 // WARNING: Do not edit - generated code. 17554 // WARNING: Do not edit - generated code.
(...skipping 2649 matching lines...) Expand 10 before | Expand all | Expand 10 after
20207 CSSValue getPresentationAttribute(String name); 20204 CSSValue getPresentationAttribute(String name);
20208 } 20205 }
20209 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 20206 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20210 // for details. All rights reserved. Use of this source code is governed by a 20207 // for details. All rights reserved. Use of this source code is governed by a
20211 // BSD-style license that can be found in the LICENSE file. 20208 // BSD-style license that can be found in the LICENSE file.
20212 20209
20213 // WARNING: Do not edit - generated code. 20210 // WARNING: Do not edit - generated code.
20214 20211
20215 interface SVGStyleElement extends SVGElement, SVGLangSpace { 20212 interface SVGStyleElement extends SVGElement, SVGLangSpace {
20216 20213
20214 bool disabled;
20215
20217 String media; 20216 String media;
20218 20217
20219 String title; 20218 String title;
20220 20219
20221 String type; 20220 String type;
20222 } 20221 }
20223 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 20222 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20224 // for details. All rights reserved. Use of this source code is governed by a 20223 // for details. All rights reserved. Use of this source code is governed by a
20225 // BSD-style license that can be found in the LICENSE file. 20224 // BSD-style license that can be found in the LICENSE file.
20226 20225
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
20621 final String url; 20620 final String url;
20622 20621
20623 final bool visible; 20622 final bool visible;
20624 } 20623 }
20625 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 20624 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20626 // for details. All rights reserved. Use of this source code is governed by a 20625 // for details. All rights reserved. Use of this source code is governed by a
20627 // BSD-style license that can be found in the LICENSE file. 20626 // BSD-style license that can be found in the LICENSE file.
20628 20627
20629 // WARNING: Do not edit - generated code. 20628 // WARNING: Do not edit - generated code.
20630 20629
20631 interface ShadowRoot extends Node { 20630 interface ShadowRoot extends DocumentFragment {
20632 20631
20633 final Element host; 20632 final Element host;
20633
20634 Element getElementById(String elementId);
20635
20636 NodeList getElementsByClassName(String className);
20637
20638 NodeList getElementsByTagName(String tagName);
20639
20640 NodeList getElementsByTagNameNS(String namespaceURI, String localName);
20634 } 20641 }
20635 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 20642 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20636 // for details. All rights reserved. Use of this source code is governed by a 20643 // for details. All rights reserved. Use of this source code is governed by a
20637 // BSD-style license that can be found in the LICENSE file. 20644 // BSD-style license that can be found in the LICENSE file.
20638 20645
20639 // WARNING: Do not edit - generated code. 20646 // WARNING: Do not edit - generated code.
20640 20647
20641 interface SharedWorker extends AbstractWorker { 20648 interface SharedWorker extends AbstractWorker {
20642 20649
20643 final MessagePort port; 20650 final MessagePort port;
(...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after
21280 // WARNING: Do not edit - generated code. 21287 // WARNING: Do not edit - generated code.
21281 21288
21282 interface WebGLBuffer { 21289 interface WebGLBuffer {
21283 } 21290 }
21284 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 21291 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21285 // for details. All rights reserved. Use of this source code is governed by a 21292 // for details. All rights reserved. Use of this source code is governed by a
21286 // BSD-style license that can be found in the LICENSE file. 21293 // BSD-style license that can be found in the LICENSE file.
21287 21294
21288 // WARNING: Do not edit - generated code. 21295 // WARNING: Do not edit - generated code.
21289 21296
21290 interface WebGLCompressedTextures { 21297 interface WebGLCompressedTextureS3TC {
21291
21292 static final int COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02;
21293 21298
21294 static final int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1; 21299 static final int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1;
21295 21300
21301 static final int COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2;
21302
21296 static final int COMPRESSED_RGBA_S3TC_DXT5_EXT = 0x83F3; 21303 static final int COMPRESSED_RGBA_S3TC_DXT5_EXT = 0x83F3;
21297 21304
21298 static final int COMPRESSED_RGB_PVRTC_4BPPV1_IMG = 0x8C00;
21299
21300 static final int COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0; 21305 static final int COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0;
21301
21302 static final int ETC1_RGB8_OES = 0x8D64;
21303
21304 void compressedTexImage2D(int target, int level, int internalformat, int width , int height, int border, ArrayBufferView data);
21305
21306 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, ArrayBufferView data);
21307 } 21306 }
21308 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 21307 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21309 // for details. All rights reserved. Use of this source code is governed by a 21308 // for details. All rights reserved. Use of this source code is governed by a
21310 // BSD-style license that can be found in the LICENSE file. 21309 // BSD-style license that can be found in the LICENSE file.
21311 21310
21312 // WARNING: Do not edit - generated code. 21311 // WARNING: Do not edit - generated code.
21313 21312
21314 interface WebGLContextAttributes { 21313 interface WebGLContextAttributes {
21315 21314
21316 bool alpha; 21315 bool alpha;
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
21692 static final int NEVER = 0x0200; 21691 static final int NEVER = 0x0200;
21693 21692
21694 static final int NICEST = 0x1102; 21693 static final int NICEST = 0x1102;
21695 21694
21696 static final int NONE = 0; 21695 static final int NONE = 0;
21697 21696
21698 static final int NOTEQUAL = 0x0205; 21697 static final int NOTEQUAL = 0x0205;
21699 21698
21700 static final int NO_ERROR = 0; 21699 static final int NO_ERROR = 0;
21701 21700
21702 static final int NUM_COMPRESSED_TEXTURE_FORMATS = 0x86A2;
21703
21704 static final int ONE = 1; 21701 static final int ONE = 1;
21705 21702
21706 static final int ONE_MINUS_CONSTANT_ALPHA = 0x8004; 21703 static final int ONE_MINUS_CONSTANT_ALPHA = 0x8004;
21707 21704
21708 static final int ONE_MINUS_CONSTANT_COLOR = 0x8002; 21705 static final int ONE_MINUS_CONSTANT_COLOR = 0x8002;
21709 21706
21710 static final int ONE_MINUS_DST_ALPHA = 0x0305; 21707 static final int ONE_MINUS_DST_ALPHA = 0x0305;
21711 21708
21712 static final int ONE_MINUS_DST_COLOR = 0x0307; 21709 static final int ONE_MINUS_DST_COLOR = 0x0307;
21713 21710
(...skipping 964 matching lines...) Expand 10 before | Expand all | Expand 10 after
22678 void webkitPostMessage(Dynamic message, [List messagePorts]); 22675 void webkitPostMessage(Dynamic message, [List messagePorts]);
22679 } 22676 }
22680 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 22677 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22681 // for details. All rights reserved. Use of this source code is governed by a 22678 // for details. All rights reserved. Use of this source code is governed by a
22682 // BSD-style license that can be found in the LICENSE file. 22679 // BSD-style license that can be found in the LICENSE file.
22683 22680
22684 // WARNING: Do not edit - generated code. 22681 // WARNING: Do not edit - generated code.
22685 22682
22686 interface WorkerGlobalScope { 22683 interface WorkerGlobalScope {
22687 22684
22688 WorkerLocation location; 22685 final WorkerLocation location;
22689 22686
22690 WorkerNavigator navigator; 22687 final WorkerNavigator navigator;
22691 22688
22692 EventListener onerror; 22689 EventListener onerror;
22693 22690
22694 WorkerContext self; 22691 final WorkerContext self;
22695 22692
22696 final IDBFactory webkitIndexedDB; 22693 final IDBFactory webkitIndexedDB;
22697 22694
22698 final NotificationCenter webkitNotifications; 22695 final NotificationCenter webkitNotifications;
22699 22696
22700 final DOMURL webkitURL;
22701
22702 void addEventListener(String type, EventListener listener, [bool useCapture]); 22697 void addEventListener(String type, EventListener listener, [bool useCapture]);
22703 22698
22704 void clearInterval(int handle); 22699 void clearInterval(int handle);
22705 22700
22706 void clearTimeout(int handle); 22701 void clearTimeout(int handle);
22707 22702
22708 void close(); 22703 void close();
22709 22704
22710 bool dispatchEvent(Event evt); 22705 bool dispatchEvent(Event evt);
22711 22706
(...skipping 1149 matching lines...) Expand 10 before | Expand all | Expand 10 after
23861 if (length < 0) throw new IllegalArgumentException('length'); 23856 if (length < 0) throw new IllegalArgumentException('length');
23862 if (start < 0) throw new IndexOutOfRangeException(start); 23857 if (start < 0) throw new IndexOutOfRangeException(start);
23863 int end = start + length; 23858 int end = start + length;
23864 if (end > a.length) throw new IndexOutOfRangeException(end); 23859 if (end > a.length) throw new IndexOutOfRangeException(end);
23865 for (int i = start; i < end; i++) { 23860 for (int i = start; i < end; i++) {
23866 accumulator.add(a[i]); 23861 accumulator.add(a[i]);
23867 } 23862 }
23868 return accumulator; 23863 return accumulator;
23869 } 23864 }
23870 } 23865 }
OLDNEW
« no previous file with comments | « client/dom/dom_frog.dart ('k') | client/dom/generated/src/frog/AudioPannerNode.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698