| OLD | NEW |
| 1 #library('dom'); | 1 #library('dom'); |
| 2 | 2 |
| 3 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3 // Copyright (c) 2012, 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 with no implementation. | 8 // Auto-generated Dart DOM library with no implementation. |
| 9 | 9 |
| 10 | 10 |
| (...skipping 631 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 642 // BSD-style license that can be found in the LICENSE file. | 642 // BSD-style license that can be found in the LICENSE file. |
| 643 | 643 |
| 644 // WARNING: Do not edit - generated code. | 644 // WARNING: Do not edit - generated code. |
| 645 | 645 |
| 646 interface Blob { | 646 interface Blob { |
| 647 | 647 |
| 648 final int size; | 648 final int size; |
| 649 | 649 |
| 650 final String type; | 650 final String type; |
| 651 | 651 |
| 652 Blob slice([int start, int end, String contentType]); |
| 653 |
| 652 Blob webkitSlice([int start, int end, String contentType]); | 654 Blob webkitSlice([int start, int end, String contentType]); |
| 653 } | 655 } |
| 654 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 656 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 655 // for details. All rights reserved. Use of this source code is governed by a | 657 // for details. All rights reserved. Use of this source code is governed by a |
| 656 // BSD-style license that can be found in the LICENSE file. | 658 // BSD-style license that can be found in the LICENSE file. |
| 657 | 659 |
| 658 // WARNING: Do not edit - generated code. | 660 // WARNING: Do not edit - generated code. |
| 659 | 661 |
| 660 interface CDATASection extends Text { | 662 interface CDATASection extends Text { |
| 661 } | 663 } |
| (...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1236 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1238 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1237 // for details. All rights reserved. Use of this source code is governed by a | 1239 // for details. All rights reserved. Use of this source code is governed by a |
| 1238 // BSD-style license that can be found in the LICENSE file. | 1240 // BSD-style license that can be found in the LICENSE file. |
| 1239 | 1241 |
| 1240 // WARNING: Do not edit - generated code. | 1242 // WARNING: Do not edit - generated code. |
| 1241 | 1243 |
| 1242 interface Console { | 1244 interface Console { |
| 1243 | 1245 |
| 1244 final MemoryInfo memory; | 1246 final MemoryInfo memory; |
| 1245 | 1247 |
| 1246 final List<ScriptProfile> profiles; | |
| 1247 | |
| 1248 void assertCondition(bool condition, Object arg); | 1248 void assertCondition(bool condition, Object arg); |
| 1249 | 1249 |
| 1250 void count(); | 1250 void count(); |
| 1251 | 1251 |
| 1252 void debug(Object arg); | 1252 void debug(Object arg); |
| 1253 | 1253 |
| 1254 void dir(); | 1254 void dir(); |
| 1255 | 1255 |
| 1256 void dirxml(); | 1256 void dirxml(); |
| 1257 | 1257 |
| (...skipping 956 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2214 String cookie; | 2214 String cookie; |
| 2215 | 2215 |
| 2216 final String defaultCharset; | 2216 final String defaultCharset; |
| 2217 | 2217 |
| 2218 final DOMWindow defaultView; | 2218 final DOMWindow defaultView; |
| 2219 | 2219 |
| 2220 final DocumentType doctype; | 2220 final DocumentType doctype; |
| 2221 | 2221 |
| 2222 final Element documentElement; | 2222 final Element documentElement; |
| 2223 | 2223 |
| 2224 String documentURI; | 2224 final String documentURI; |
| 2225 | 2225 |
| 2226 String domain; | 2226 String domain; |
| 2227 | 2227 |
| 2228 final HTMLCollection forms; | 2228 final HTMLCollection forms; |
| 2229 | 2229 |
| 2230 final HTMLHeadElement head; | 2230 final HTMLHeadElement head; |
| 2231 | 2231 |
| 2232 final HTMLCollection images; | 2232 final HTMLCollection images; |
| 2233 | 2233 |
| 2234 final DOMImplementation implementation; | 2234 final DOMImplementation implementation; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 2258 final bool webkitFullScreenKeyboardInputAllowed; | 2258 final bool webkitFullScreenKeyboardInputAllowed; |
| 2259 | 2259 |
| 2260 final Element webkitFullscreenElement; | 2260 final Element webkitFullscreenElement; |
| 2261 | 2261 |
| 2262 final bool webkitFullscreenEnabled; | 2262 final bool webkitFullscreenEnabled; |
| 2263 | 2263 |
| 2264 final bool webkitHidden; | 2264 final bool webkitHidden; |
| 2265 | 2265 |
| 2266 final bool webkitIsFullScreen; | 2266 final bool webkitIsFullScreen; |
| 2267 | 2267 |
| 2268 final Element webkitPointerLockElement; |
| 2269 |
| 2268 final String webkitVisibilityState; | 2270 final String webkitVisibilityState; |
| 2269 | 2271 |
| 2270 final String xmlEncoding; | 2272 final String xmlEncoding; |
| 2271 | 2273 |
| 2272 bool xmlStandalone; | 2274 bool xmlStandalone; |
| 2273 | 2275 |
| 2274 String xmlVersion; | 2276 String xmlVersion; |
| 2275 | 2277 |
| 2276 Node adoptNode(Node source); | 2278 Node adoptNode(Node source); |
| 2277 | 2279 |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2347 | 2349 |
| 2348 String queryCommandValue(String command); | 2350 String queryCommandValue(String command); |
| 2349 | 2351 |
| 2350 Element querySelector(String selectors); | 2352 Element querySelector(String selectors); |
| 2351 | 2353 |
| 2352 NodeList querySelectorAll(String selectors); | 2354 NodeList querySelectorAll(String selectors); |
| 2353 | 2355 |
| 2354 void webkitCancelFullScreen(); | 2356 void webkitCancelFullScreen(); |
| 2355 | 2357 |
| 2356 void webkitExitFullscreen(); | 2358 void webkitExitFullscreen(); |
| 2359 |
| 2360 void webkitExitPointerLock(); |
| 2357 } | 2361 } |
| 2358 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2362 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2359 // for details. All rights reserved. Use of this source code is governed by a | 2363 // for details. All rights reserved. Use of this source code is governed by a |
| 2360 // BSD-style license that can be found in the LICENSE file. | 2364 // BSD-style license that can be found in the LICENSE file. |
| 2361 | 2365 |
| 2362 // WARNING: Do not edit - generated code. | 2366 // WARNING: Do not edit - generated code. |
| 2363 | 2367 |
| 2364 interface DocumentFragment extends Node { | 2368 interface DocumentFragment extends Node { |
| 2365 | 2369 |
| 2366 Element querySelector(String selectors); | 2370 Element querySelector(String selectors); |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2523 | 2527 |
| 2524 Attr setAttributeNode(Attr newAttr); | 2528 Attr setAttributeNode(Attr newAttr); |
| 2525 | 2529 |
| 2526 Attr setAttributeNodeNS(Attr newAttr); | 2530 Attr setAttributeNodeNS(Attr newAttr); |
| 2527 | 2531 |
| 2528 bool webkitMatchesSelector(String selectors); | 2532 bool webkitMatchesSelector(String selectors); |
| 2529 | 2533 |
| 2530 void webkitRequestFullScreen(int flags); | 2534 void webkitRequestFullScreen(int flags); |
| 2531 | 2535 |
| 2532 void webkitRequestFullscreen(); | 2536 void webkitRequestFullscreen(); |
| 2537 |
| 2538 void webkitRequestPointerLock(); |
| 2533 } | 2539 } |
| 2534 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2540 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2535 // for details. All rights reserved. Use of this source code is governed by a | 2541 // for details. All rights reserved. Use of this source code is governed by a |
| 2536 // BSD-style license that can be found in the LICENSE file. | 2542 // BSD-style license that can be found in the LICENSE file. |
| 2537 | 2543 |
| 2538 // WARNING: Do not edit - generated code. | 2544 // WARNING: Do not edit - generated code. |
| 2539 | 2545 |
| 2540 interface ElementTimeControl { | 2546 interface ElementTimeControl { |
| 2541 | 2547 |
| 2542 void beginElement(); | 2548 void beginElement(); |
| (...skipping 853 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3396 String formMethod; | 3402 String formMethod; |
| 3397 | 3403 |
| 3398 bool formNoValidate; | 3404 bool formNoValidate; |
| 3399 | 3405 |
| 3400 String formTarget; | 3406 String formTarget; |
| 3401 | 3407 |
| 3402 final NodeList labels; | 3408 final NodeList labels; |
| 3403 | 3409 |
| 3404 String name; | 3410 String name; |
| 3405 | 3411 |
| 3406 final String type; | 3412 String type; |
| 3407 | 3413 |
| 3408 final String validationMessage; | 3414 final String validationMessage; |
| 3409 | 3415 |
| 3410 final ValidityState validity; | 3416 final ValidityState validity; |
| 3411 | 3417 |
| 3412 String value; | 3418 String value; |
| 3413 | 3419 |
| 3414 final bool willValidate; | 3420 final bool willValidate; |
| 3415 | 3421 |
| 3416 bool checkValidity(); | 3422 bool checkValidity(); |
| (...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3974 final String validationMessage; | 3980 final String validationMessage; |
| 3975 | 3981 |
| 3976 final ValidityState validity; | 3982 final ValidityState validity; |
| 3977 | 3983 |
| 3978 String value; | 3984 String value; |
| 3979 | 3985 |
| 3980 Date valueAsDate; | 3986 Date valueAsDate; |
| 3981 | 3987 |
| 3982 num valueAsNumber; | 3988 num valueAsNumber; |
| 3983 | 3989 |
| 3990 final EntryArray webkitEntries; |
| 3991 |
| 3984 bool webkitGrammar; | 3992 bool webkitGrammar; |
| 3985 | 3993 |
| 3986 bool webkitSpeech; | 3994 bool webkitSpeech; |
| 3987 | 3995 |
| 3988 bool webkitdirectory; | 3996 bool webkitdirectory; |
| 3989 | 3997 |
| 3990 int width; | 3998 int width; |
| 3991 | 3999 |
| 3992 final bool willValidate; | 4000 final bool willValidate; |
| 3993 | 4001 |
| (...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4612 bool multiple; | 4620 bool multiple; |
| 4613 | 4621 |
| 4614 String name; | 4622 String name; |
| 4615 | 4623 |
| 4616 final HTMLOptionsCollection options; | 4624 final HTMLOptionsCollection options; |
| 4617 | 4625 |
| 4618 bool required; | 4626 bool required; |
| 4619 | 4627 |
| 4620 int selectedIndex; | 4628 int selectedIndex; |
| 4621 | 4629 |
| 4622 final HTMLCollection selectedOptions; | |
| 4623 | |
| 4624 int size; | 4630 int size; |
| 4625 | 4631 |
| 4626 final String type; | 4632 final String type; |
| 4627 | 4633 |
| 4628 final String validationMessage; | 4634 final String validationMessage; |
| 4629 | 4635 |
| 4630 final ValidityState validity; | 4636 final ValidityState validity; |
| 4631 | 4637 |
| 4632 String value; | 4638 String value; |
| 4633 | 4639 |
| (...skipping 5035 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9669 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9675 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9670 // for details. All rights reserved. Use of this source code is governed by a | 9676 // for details. All rights reserved. Use of this source code is governed by a |
| 9671 // BSD-style license that can be found in the LICENSE file. | 9677 // BSD-style license that can be found in the LICENSE file. |
| 9672 | 9678 |
| 9673 // WARNING: Do not edit - generated code. | 9679 // WARNING: Do not edit - generated code. |
| 9674 | 9680 |
| 9675 interface ScriptProfileNode { | 9681 interface ScriptProfileNode { |
| 9676 | 9682 |
| 9677 final int callUID; | 9683 final int callUID; |
| 9678 | 9684 |
| 9679 final List<ScriptProfileNode> children; | |
| 9680 | |
| 9681 final String functionName; | 9685 final String functionName; |
| 9682 | 9686 |
| 9683 final int lineNumber; | 9687 final int lineNumber; |
| 9684 | 9688 |
| 9685 final int numberOfCalls; | 9689 final int numberOfCalls; |
| 9686 | 9690 |
| 9687 final num selfTime; | 9691 final num selfTime; |
| 9688 | 9692 |
| 9689 final num totalTime; | 9693 final num totalTime; |
| 9690 | 9694 |
| 9691 final String url; | 9695 final String url; |
| 9692 | 9696 |
| 9693 final bool visible; | 9697 final bool visible; |
| 9698 |
| 9699 List<ScriptProfileNode> children(); |
| 9694 } | 9700 } |
| 9695 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9701 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9696 // for details. All rights reserved. Use of this source code is governed by a | 9702 // for details. All rights reserved. Use of this source code is governed by a |
| 9697 // BSD-style license that can be found in the LICENSE file. | 9703 // BSD-style license that can be found in the LICENSE file. |
| 9698 | 9704 |
| 9699 // WARNING: Do not edit - generated code. | 9705 // WARNING: Do not edit - generated code. |
| 9700 | 9706 |
| 9701 interface SessionDescription default _SessionDescriptionFactoryProvider { | 9707 interface SessionDescription default _SessionDescriptionFactoryProvider { |
| 9702 | 9708 |
| 9703 SessionDescription(String sdp); | 9709 SessionDescription(String sdp); |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9873 final num confidence; | 9879 final num confidence; |
| 9874 | 9880 |
| 9875 final String transcript; | 9881 final String transcript; |
| 9876 } | 9882 } |
| 9877 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9883 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9878 // for details. All rights reserved. Use of this source code is governed by a | 9884 // for details. All rights reserved. Use of this source code is governed by a |
| 9879 // BSD-style license that can be found in the LICENSE file. | 9885 // BSD-style license that can be found in the LICENSE file. |
| 9880 | 9886 |
| 9881 // WARNING: Do not edit - generated code. | 9887 // WARNING: Do not edit - generated code. |
| 9882 | 9888 |
| 9883 interface SpeechRecognitionError { | 9889 interface SpeechRecognitionError extends Event { |
| 9884 | 9890 |
| 9885 static final int ABORTED = 2; | 9891 static final int ABORTED = 2; |
| 9886 | 9892 |
| 9887 static final int AUDIO_CAPTURE = 3; | 9893 static final int AUDIO_CAPTURE = 3; |
| 9888 | 9894 |
| 9889 static final int BAD_GRAMMAR = 7; | 9895 static final int BAD_GRAMMAR = 7; |
| 9890 | 9896 |
| 9891 static final int LANGUAGE_NOT_SUPPORTED = 8; | 9897 static final int LANGUAGE_NOT_SUPPORTED = 8; |
| 9892 | 9898 |
| 9893 static final int NETWORK = 4; | 9899 static final int NETWORK = 4; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 9905 final String message; | 9911 final String message; |
| 9906 } | 9912 } |
| 9907 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9913 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9908 // for details. All rights reserved. Use of this source code is governed by a | 9914 // for details. All rights reserved. Use of this source code is governed by a |
| 9909 // BSD-style license that can be found in the LICENSE file. | 9915 // BSD-style license that can be found in the LICENSE file. |
| 9910 | 9916 |
| 9911 // WARNING: Do not edit - generated code. | 9917 // WARNING: Do not edit - generated code. |
| 9912 | 9918 |
| 9913 interface SpeechRecognitionEvent extends Event { | 9919 interface SpeechRecognitionEvent extends Event { |
| 9914 | 9920 |
| 9915 final SpeechRecognitionError error; | |
| 9916 | |
| 9917 final SpeechRecognitionResult result; | 9921 final SpeechRecognitionResult result; |
| 9918 | 9922 |
| 9919 final SpeechRecognitionResultList resultHistory; | 9923 final SpeechRecognitionResultList resultHistory; |
| 9920 | 9924 |
| 9921 final int resultIndex; | 9925 final int resultIndex; |
| 9922 } | 9926 } |
| 9923 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9927 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9924 // for details. All rights reserved. Use of this source code is governed by a | 9928 // for details. All rights reserved. Use of this source code is governed by a |
| 9925 // BSD-style license that can be found in the LICENSE file. | 9929 // BSD-style license that can be found in the LICENSE file. |
| 9926 | 9930 |
| (...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10570 interface WebGLDebugShaders { | 10574 interface WebGLDebugShaders { |
| 10571 | 10575 |
| 10572 String getTranslatedShaderSource(WebGLShader shader); | 10576 String getTranslatedShaderSource(WebGLShader shader); |
| 10573 } | 10577 } |
| 10574 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10578 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10575 // for details. All rights reserved. Use of this source code is governed by a | 10579 // for details. All rights reserved. Use of this source code is governed by a |
| 10576 // BSD-style license that can be found in the LICENSE file. | 10580 // BSD-style license that can be found in the LICENSE file. |
| 10577 | 10581 |
| 10578 // WARNING: Do not edit - generated code. | 10582 // WARNING: Do not edit - generated code. |
| 10579 | 10583 |
| 10584 interface WebGLDepthTexture { |
| 10585 } |
| 10586 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10587 // for details. All rights reserved. Use of this source code is governed by a |
| 10588 // BSD-style license that can be found in the LICENSE file. |
| 10589 |
| 10590 // WARNING: Do not edit - generated code. |
| 10591 |
| 10580 interface WebGLFramebuffer { | 10592 interface WebGLFramebuffer { |
| 10581 } | 10593 } |
| 10582 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10594 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10583 // for details. All rights reserved. Use of this source code is governed by a | 10595 // for details. All rights reserved. Use of this source code is governed by a |
| 10584 // BSD-style license that can be found in the LICENSE file. | 10596 // BSD-style license that can be found in the LICENSE file. |
| 10585 | 10597 |
| 10586 // WARNING: Do not edit - generated code. | 10598 // WARNING: Do not edit - generated code. |
| 10587 | 10599 |
| 10588 interface WebGLLoseContext { | 10600 interface WebGLLoseContext { |
| 10589 | 10601 |
| (...skipping 1459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12049 static final int DONE = 4; | 12061 static final int DONE = 4; |
| 12050 | 12062 |
| 12051 static final int HEADERS_RECEIVED = 2; | 12063 static final int HEADERS_RECEIVED = 2; |
| 12052 | 12064 |
| 12053 static final int LOADING = 3; | 12065 static final int LOADING = 3; |
| 12054 | 12066 |
| 12055 static final int OPENED = 1; | 12067 static final int OPENED = 1; |
| 12056 | 12068 |
| 12057 static final int UNSENT = 0; | 12069 static final int UNSENT = 0; |
| 12058 | 12070 |
| 12059 bool asBlob; | |
| 12060 | |
| 12061 final int readyState; | 12071 final int readyState; |
| 12062 | 12072 |
| 12063 final Object response; | 12073 final Object response; |
| 12064 | 12074 |
| 12065 final Blob responseBlob; | 12075 final Blob responseBlob; |
| 12066 | 12076 |
| 12067 final String responseText; | 12077 final String responseText; |
| 12068 | 12078 |
| 12069 String responseType; | 12079 String responseType; |
| 12070 | 12080 |
| (...skipping 864 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12935 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 12945 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 12936 // for details. All rights reserved. Use of this source code is governed by a | 12946 // for details. All rights reserved. Use of this source code is governed by a |
| 12937 // BSD-style license that can be found in the LICENSE file. | 12947 // BSD-style license that can be found in the LICENSE file. |
| 12938 | 12948 |
| 12939 Window get window() => _dummy(); | 12949 Window get window() => _dummy(); |
| 12940 | 12950 |
| 12941 // TODO(vsm): Remove when prefixes are supported. | 12951 // TODO(vsm): Remove when prefixes are supported. |
| 12942 Window get dom_window() => _dummy(); | 12952 Window get dom_window() => _dummy(); |
| 12943 | 12953 |
| 12944 Document get document() => _dummy(); | 12954 Document get document() => _dummy(); |
| OLD | NEW |