| OLD | NEW |
| 1 #library('html'); | 1 #library('html'); |
| 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:html library. | 8 // Auto-generated dart:html library. |
| 9 | 9 |
| 10 | 10 |
| (...skipping 16796 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16807 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16807 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16808 // for details. All rights reserved. Use of this source code is governed by a | 16808 // for details. All rights reserved. Use of this source code is governed by a |
| 16809 // BSD-style license that can be found in the LICENSE file. | 16809 // BSD-style license that can be found in the LICENSE file. |
| 16810 | 16810 |
| 16811 // WARNING: Do not edit - generated code. | 16811 // WARNING: Do not edit - generated code. |
| 16812 | 16812 |
| 16813 interface AbstractWorker extends EventTarget { | 16813 interface AbstractWorker extends EventTarget { |
| 16814 | 16814 |
| 16815 AbstractWorkerEvents get on(); | 16815 AbstractWorkerEvents get on(); |
| 16816 | 16816 |
| 16817 /** @domName addEventListener */ |
| 16817 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); | 16818 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); |
| 16818 | 16819 |
| 16820 /** @domName dispatchEvent */ |
| 16819 bool $dom_dispatchEvent(Event evt); | 16821 bool $dom_dispatchEvent(Event evt); |
| 16820 | 16822 |
| 16823 /** @domName removeEventListener */ |
| 16821 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); | 16824 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); |
| 16822 } | 16825 } |
| 16823 | 16826 |
| 16824 interface AbstractWorkerEvents extends Events { | 16827 interface AbstractWorkerEvents extends Events { |
| 16825 | 16828 |
| 16826 EventListenerList get error(); | 16829 EventListenerList get error(); |
| 16827 } | 16830 } |
| 16828 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16831 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16829 // for details. All rights reserved. Use of this source code is governed by a | 16832 // for details. All rights reserved. Use of this source code is governed by a |
| 16830 // BSD-style license that can be found in the LICENSE file. | 16833 // BSD-style license that can be found in the LICENSE file. |
| (...skipping 3491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20322 static final int OBSOLETE = 5; | 20325 static final int OBSOLETE = 5; |
| 20323 | 20326 |
| 20324 static final int UNCACHED = 0; | 20327 static final int UNCACHED = 0; |
| 20325 | 20328 |
| 20326 static final int UPDATEREADY = 4; | 20329 static final int UPDATEREADY = 4; |
| 20327 | 20330 |
| 20328 final int status; | 20331 final int status; |
| 20329 | 20332 |
| 20330 void abort(); | 20333 void abort(); |
| 20331 | 20334 |
| 20335 /** @domName addEventListener */ |
| 20332 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); | 20336 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); |
| 20333 | 20337 |
| 20338 /** @domName dispatchEvent */ |
| 20334 bool $dom_dispatchEvent(Event evt); | 20339 bool $dom_dispatchEvent(Event evt); |
| 20335 | 20340 |
| 20341 /** @domName removeEventListener */ |
| 20336 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); | 20342 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); |
| 20337 | 20343 |
| 20338 void swapCache(); | 20344 void swapCache(); |
| 20339 | 20345 |
| 20340 void update(); | 20346 void update(); |
| 20341 } | 20347 } |
| 20342 | 20348 |
| 20343 interface DOMApplicationCacheEvents extends Events { | 20349 interface DOMApplicationCacheEvents extends Events { |
| 20344 | 20350 |
| 20345 EventListenerList get cached(); | 20351 EventListenerList get cached(); |
| (...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20969 DocumentEvents get on(); | 20975 DocumentEvents get on(); |
| 20970 | 20976 |
| 20971 final Element activeElement; | 20977 final Element activeElement; |
| 20972 | 20978 |
| 20973 Element body; | 20979 Element body; |
| 20974 | 20980 |
| 20975 String charset; | 20981 String charset; |
| 20976 | 20982 |
| 20977 String cookie; | 20983 String cookie; |
| 20978 | 20984 |
| 20985 /** @domName defaultView */ |
| 20979 final Window window; | 20986 final Window window; |
| 20980 | 20987 |
| 20981 final Element documentElement; | 20988 final Element documentElement; |
| 20982 | 20989 |
| 20983 final String domain; | 20990 final String domain; |
| 20984 | 20991 |
| 20985 final HeadElement head; | 20992 final HeadElement head; |
| 20986 | 20993 |
| 20987 final String lastModified; | 20994 final String lastModified; |
| 20988 | 20995 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 21011 final bool webkitIsFullScreen; | 21018 final bool webkitIsFullScreen; |
| 21012 | 21019 |
| 21013 final String webkitVisibilityState; | 21020 final String webkitVisibilityState; |
| 21014 | 21021 |
| 21015 Range caretRangeFromPoint(int x, int y); | 21022 Range caretRangeFromPoint(int x, int y); |
| 21016 | 21023 |
| 21017 CDATASection createCDATASection(String data); | 21024 CDATASection createCDATASection(String data); |
| 21018 | 21025 |
| 21019 DocumentFragment createDocumentFragment(); | 21026 DocumentFragment createDocumentFragment(); |
| 21020 | 21027 |
| 21028 /** @domName createElement */ |
| 21021 Element $dom_createElement(String tagName); | 21029 Element $dom_createElement(String tagName); |
| 21022 | 21030 |
| 21031 /** @domName createElementNS */ |
| 21023 Element $dom_createElementNS(String namespaceURI, String qualifiedName); | 21032 Element $dom_createElementNS(String namespaceURI, String qualifiedName); |
| 21024 | 21033 |
| 21034 /** @domName createEvent */ |
| 21025 Event $dom_createEvent(String eventType); | 21035 Event $dom_createEvent(String eventType); |
| 21026 | 21036 |
| 21027 Range createRange(); | 21037 Range createRange(); |
| 21028 | 21038 |
| 21039 /** @domName createTextNode */ |
| 21029 Text $dom_createTextNode(String data); | 21040 Text $dom_createTextNode(String data); |
| 21030 | 21041 |
| 21031 Touch createTouch(Window window, EventTarget target, int identifier, int pageX
, int pageY, int screenX, int screenY, int webkitRadiusX, int webkitRadiusY, num
webkitRotationAngle, num webkitForce); | 21042 Touch createTouch(Window window, EventTarget target, int identifier, int pageX
, int pageY, int screenX, int screenY, int webkitRadiusX, int webkitRadiusY, num
webkitRotationAngle, num webkitForce); |
| 21032 | 21043 |
| 21044 /** @domName createTouchList */ |
| 21033 TouchList $dom_createTouchList(); | 21045 TouchList $dom_createTouchList(); |
| 21034 | 21046 |
| 21035 Element elementFromPoint(int x, int y); | 21047 Element elementFromPoint(int x, int y); |
| 21036 | 21048 |
| 21037 bool execCommand(String command, bool userInterface, String value); | 21049 bool execCommand(String command, bool userInterface, String value); |
| 21038 | 21050 |
| 21039 CanvasRenderingContext getCSSCanvasContext(String contextId, String name, int
width, int height); | 21051 CanvasRenderingContext getCSSCanvasContext(String contextId, String name, int
width, int height); |
| 21040 | 21052 |
| 21053 /** @domName getElementById */ |
| 21041 Element $dom_getElementById(String elementId); | 21054 Element $dom_getElementById(String elementId); |
| 21042 | 21055 |
| 21056 /** @domName getElementsByClassName */ |
| 21043 NodeList $dom_getElementsByClassName(String tagname); | 21057 NodeList $dom_getElementsByClassName(String tagname); |
| 21044 | 21058 |
| 21059 /** @domName getElementsByName */ |
| 21045 NodeList $dom_getElementsByName(String elementName); | 21060 NodeList $dom_getElementsByName(String elementName); |
| 21046 | 21061 |
| 21062 /** @domName getElementsByTagName */ |
| 21047 NodeList $dom_getElementsByTagName(String tagname); | 21063 NodeList $dom_getElementsByTagName(String tagname); |
| 21048 | 21064 |
| 21049 bool queryCommandEnabled(String command); | 21065 bool queryCommandEnabled(String command); |
| 21050 | 21066 |
| 21051 bool queryCommandIndeterm(String command); | 21067 bool queryCommandIndeterm(String command); |
| 21052 | 21068 |
| 21053 bool queryCommandState(String command); | 21069 bool queryCommandState(String command); |
| 21054 | 21070 |
| 21055 bool queryCommandSupported(String command); | 21071 bool queryCommandSupported(String command); |
| 21056 | 21072 |
| 21057 String queryCommandValue(String command); | 21073 String queryCommandValue(String command); |
| 21058 | 21074 |
| 21075 /** @domName querySelector */ |
| 21059 Element query(String selectors); | 21076 Element query(String selectors); |
| 21060 | 21077 |
| 21078 /** @domName querySelectorAll */ |
| 21061 NodeList $dom_querySelectorAll(String selectors); | 21079 NodeList $dom_querySelectorAll(String selectors); |
| 21062 | 21080 |
| 21063 void webkitCancelFullScreen(); | 21081 void webkitCancelFullScreen(); |
| 21064 | 21082 |
| 21065 void webkitExitFullscreen(); | 21083 void webkitExitFullscreen(); |
| 21066 | 21084 |
| 21067 WebKitNamedFlow webkitGetFlowByName(String name); | 21085 WebKitNamedFlow webkitGetFlowByName(String name); |
| 21068 | 21086 |
| 21069 } | 21087 } |
| 21070 | 21088 |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21178 // /** WARNING: Currently this doesn't work on Dartium (issue 649). */ | 21196 // /** WARNING: Currently this doesn't work on Dartium (issue 649). */ |
| 21179 // DocumentFragment.xml(String xml); | 21197 // DocumentFragment.xml(String xml); |
| 21180 | 21198 |
| 21181 DocumentFragment.svg(String svg); | 21199 DocumentFragment.svg(String svg); |
| 21182 | 21200 |
| 21183 DocumentFragment clone(bool deep); | 21201 DocumentFragment clone(bool deep); |
| 21184 | 21202 |
| 21185 | 21203 |
| 21186 ElementEvents get on(); | 21204 ElementEvents get on(); |
| 21187 | 21205 |
| 21206 /** @domName querySelector */ |
| 21188 Element query(String selectors); | 21207 Element query(String selectors); |
| 21189 | 21208 |
| 21209 /** @domName querySelectorAll */ |
| 21190 NodeList $dom_querySelectorAll(String selectors); | 21210 NodeList $dom_querySelectorAll(String selectors); |
| 21191 | 21211 |
| 21192 } | 21212 } |
| 21193 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21213 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21194 // for details. All rights reserved. Use of this source code is governed by a | 21214 // for details. All rights reserved. Use of this source code is governed by a |
| 21195 // BSD-style license that can be found in the LICENSE file. | 21215 // BSD-style license that can be found in the LICENSE file. |
| 21196 | 21216 |
| 21197 // WARNING: Do not edit - generated code. | 21217 // WARNING: Do not edit - generated code. |
| 21198 | 21218 |
| 21199 interface DocumentType extends Node { | 21219 interface DocumentType extends Node { |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21323 | 21343 |
| 21324 Element clone(bool deep); | 21344 Element clone(bool deep); |
| 21325 | 21345 |
| 21326 Element get parent(); | 21346 Element get parent(); |
| 21327 | 21347 |
| 21328 | 21348 |
| 21329 ElementEvents get on(); | 21349 ElementEvents get on(); |
| 21330 | 21350 |
| 21331 static final int ALLOW_KEYBOARD_INPUT = 1; | 21351 static final int ALLOW_KEYBOARD_INPUT = 1; |
| 21332 | 21352 |
| 21353 /** @domName childElementCount */ |
| 21333 final int $dom_childElementCount; | 21354 final int $dom_childElementCount; |
| 21334 | 21355 |
| 21356 /** @domName children */ |
| 21335 final HTMLCollection $dom_children; | 21357 final HTMLCollection $dom_children; |
| 21336 | 21358 |
| 21359 /** @domName className */ |
| 21337 String $dom_className; | 21360 String $dom_className; |
| 21338 | 21361 |
| 21362 /** @domName clientHeight */ |
| 21339 final int $dom_clientHeight; | 21363 final int $dom_clientHeight; |
| 21340 | 21364 |
| 21365 /** @domName clientLeft */ |
| 21341 final int $dom_clientLeft; | 21366 final int $dom_clientLeft; |
| 21342 | 21367 |
| 21368 /** @domName clientTop */ |
| 21343 final int $dom_clientTop; | 21369 final int $dom_clientTop; |
| 21344 | 21370 |
| 21371 /** @domName clientWidth */ |
| 21345 final int $dom_clientWidth; | 21372 final int $dom_clientWidth; |
| 21346 | 21373 |
| 21347 String contentEditable; | 21374 String contentEditable; |
| 21348 | 21375 |
| 21349 String dir; | 21376 String dir; |
| 21350 | 21377 |
| 21351 bool draggable; | 21378 bool draggable; |
| 21352 | 21379 |
| 21380 /** @domName firstElementChild */ |
| 21353 final Element $dom_firstElementChild; | 21381 final Element $dom_firstElementChild; |
| 21354 | 21382 |
| 21355 bool hidden; | 21383 bool hidden; |
| 21356 | 21384 |
| 21357 String id; | 21385 String id; |
| 21358 | 21386 |
| 21359 String innerHTML; | 21387 String innerHTML; |
| 21360 | 21388 |
| 21361 final bool isContentEditable; | 21389 final bool isContentEditable; |
| 21362 | 21390 |
| 21363 String lang; | 21391 String lang; |
| 21364 | 21392 |
| 21393 /** @domName lastElementChild */ |
| 21365 final Element $dom_lastElementChild; | 21394 final Element $dom_lastElementChild; |
| 21366 | 21395 |
| 21367 final Element nextElementSibling; | 21396 final Element nextElementSibling; |
| 21368 | 21397 |
| 21398 /** @domName offsetHeight */ |
| 21369 final int $dom_offsetHeight; | 21399 final int $dom_offsetHeight; |
| 21370 | 21400 |
| 21401 /** @domName offsetLeft */ |
| 21371 final int $dom_offsetLeft; | 21402 final int $dom_offsetLeft; |
| 21372 | 21403 |
| 21373 final Element offsetParent; | 21404 final Element offsetParent; |
| 21374 | 21405 |
| 21406 /** @domName offsetTop */ |
| 21375 final int $dom_offsetTop; | 21407 final int $dom_offsetTop; |
| 21376 | 21408 |
| 21409 /** @domName offsetWidth */ |
| 21377 final int $dom_offsetWidth; | 21410 final int $dom_offsetWidth; |
| 21378 | 21411 |
| 21379 final String outerHTML; | 21412 final String outerHTML; |
| 21380 | 21413 |
| 21381 final Element previousElementSibling; | 21414 final Element previousElementSibling; |
| 21382 | 21415 |
| 21416 /** @domName scrollHeight */ |
| 21383 final int $dom_scrollHeight; | 21417 final int $dom_scrollHeight; |
| 21384 | 21418 |
| 21419 /** @domName scrollLeft */ |
| 21385 int $dom_scrollLeft; | 21420 int $dom_scrollLeft; |
| 21386 | 21421 |
| 21422 /** @domName scrollTop */ |
| 21387 int $dom_scrollTop; | 21423 int $dom_scrollTop; |
| 21388 | 21424 |
| 21425 /** @domName scrollWidth */ |
| 21389 final int $dom_scrollWidth; | 21426 final int $dom_scrollWidth; |
| 21390 | 21427 |
| 21391 bool spellcheck; | 21428 bool spellcheck; |
| 21392 | 21429 |
| 21393 final CSSStyleDeclaration style; | 21430 final CSSStyleDeclaration style; |
| 21394 | 21431 |
| 21395 int tabIndex; | 21432 int tabIndex; |
| 21396 | 21433 |
| 21397 final String tagName; | 21434 final String tagName; |
| 21398 | 21435 |
| 21399 String title; | 21436 String title; |
| 21400 | 21437 |
| 21401 bool translate; | 21438 bool translate; |
| 21402 | 21439 |
| 21403 final String webkitRegionOverflow; | 21440 final String webkitRegionOverflow; |
| 21404 | 21441 |
| 21405 String webkitdropzone; | 21442 String webkitdropzone; |
| 21406 | 21443 |
| 21407 void blur(); | 21444 void blur(); |
| 21408 | 21445 |
| 21409 void click(); | 21446 void click(); |
| 21410 | 21447 |
| 21411 void focus(); | 21448 void focus(); |
| 21412 | 21449 |
| 21450 /** @domName getAttribute */ |
| 21413 String $dom_getAttribute(String name); | 21451 String $dom_getAttribute(String name); |
| 21414 | 21452 |
| 21453 /** @domName getBoundingClientRect */ |
| 21415 ClientRect $dom_getBoundingClientRect(); | 21454 ClientRect $dom_getBoundingClientRect(); |
| 21416 | 21455 |
| 21456 /** @domName getClientRects */ |
| 21417 ClientRectList $dom_getClientRects(); | 21457 ClientRectList $dom_getClientRects(); |
| 21418 | 21458 |
| 21459 /** @domName getElementsByClassName */ |
| 21419 NodeList $dom_getElementsByClassName(String name); | 21460 NodeList $dom_getElementsByClassName(String name); |
| 21420 | 21461 |
| 21462 /** @domName getElementsByTagName */ |
| 21421 NodeList $dom_getElementsByTagName(String name); | 21463 NodeList $dom_getElementsByTagName(String name); |
| 21422 | 21464 |
| 21465 /** @domName hasAttribute */ |
| 21423 bool $dom_hasAttribute(String name); | 21466 bool $dom_hasAttribute(String name); |
| 21424 | 21467 |
| 21425 Element insertAdjacentElement(String where, Element element); | 21468 Element insertAdjacentElement(String where, Element element); |
| 21426 | 21469 |
| 21427 void insertAdjacentHTML(String where, String html); | 21470 void insertAdjacentHTML(String where, String html); |
| 21428 | 21471 |
| 21429 void insertAdjacentText(String where, String text); | 21472 void insertAdjacentText(String where, String text); |
| 21430 | 21473 |
| 21474 /** @domName querySelector */ |
| 21431 Element query(String selectors); | 21475 Element query(String selectors); |
| 21432 | 21476 |
| 21477 /** @domName querySelectorAll */ |
| 21433 NodeList $dom_querySelectorAll(String selectors); | 21478 NodeList $dom_querySelectorAll(String selectors); |
| 21434 | 21479 |
| 21480 /** @domName removeAttribute */ |
| 21435 void $dom_removeAttribute(String name); | 21481 void $dom_removeAttribute(String name); |
| 21436 | 21482 |
| 21437 void scrollByLines(int lines); | 21483 void scrollByLines(int lines); |
| 21438 | 21484 |
| 21439 void scrollByPages(int pages); | 21485 void scrollByPages(int pages); |
| 21440 | 21486 |
| 21487 /** @domName scrollIntoViewIfNeeded */ |
| 21441 void scrollIntoView([bool centerIfNeeded]); | 21488 void scrollIntoView([bool centerIfNeeded]); |
| 21442 | 21489 |
| 21490 /** @domName setAttribute */ |
| 21443 void $dom_setAttribute(String name, String value); | 21491 void $dom_setAttribute(String name, String value); |
| 21444 | 21492 |
| 21493 /** @domName webkitMatchesSelector */ |
| 21445 bool matchesSelector(String selectors); | 21494 bool matchesSelector(String selectors); |
| 21446 | 21495 |
| 21447 void webkitRequestFullScreen(int flags); | 21496 void webkitRequestFullScreen(int flags); |
| 21448 | 21497 |
| 21449 void webkitRequestFullscreen(); | 21498 void webkitRequestFullscreen(); |
| 21450 | 21499 |
| 21451 } | 21500 } |
| 21452 | 21501 |
| 21453 interface ElementEvents extends Events { | 21502 interface ElementEvents extends Events { |
| 21454 | 21503 |
| (...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21812 bool returnValue; | 21861 bool returnValue; |
| 21813 | 21862 |
| 21814 final EventTarget srcElement; | 21863 final EventTarget srcElement; |
| 21815 | 21864 |
| 21816 final EventTarget target; | 21865 final EventTarget target; |
| 21817 | 21866 |
| 21818 final int timeStamp; | 21867 final int timeStamp; |
| 21819 | 21868 |
| 21820 final String type; | 21869 final String type; |
| 21821 | 21870 |
| 21871 /** @domName initEvent */ |
| 21822 void $dom_initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg
); | 21872 void $dom_initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg
); |
| 21823 | 21873 |
| 21824 void preventDefault(); | 21874 void preventDefault(); |
| 21825 | 21875 |
| 21826 void stopImmediatePropagation(); | 21876 void stopImmediatePropagation(); |
| 21827 | 21877 |
| 21828 void stopPropagation(); | 21878 void stopPropagation(); |
| 21829 } | 21879 } |
| 21830 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21880 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21831 // for details. All rights reserved. Use of this source code is governed by a | 21881 // for details. All rights reserved. Use of this source code is governed by a |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21864 static final int CONNECTING = 0; | 21914 static final int CONNECTING = 0; |
| 21865 | 21915 |
| 21866 static final int OPEN = 1; | 21916 static final int OPEN = 1; |
| 21867 | 21917 |
| 21868 final String URL; | 21918 final String URL; |
| 21869 | 21919 |
| 21870 final int readyState; | 21920 final int readyState; |
| 21871 | 21921 |
| 21872 final String url; | 21922 final String url; |
| 21873 | 21923 |
| 21924 /** @domName addEventListener */ |
| 21874 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); | 21925 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); |
| 21875 | 21926 |
| 21876 void close(); | 21927 void close(); |
| 21877 | 21928 |
| 21929 /** @domName dispatchEvent */ |
| 21878 bool $dom_dispatchEvent(Event evt); | 21930 bool $dom_dispatchEvent(Event evt); |
| 21879 | 21931 |
| 21932 /** @domName removeEventListener */ |
| 21880 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); | 21933 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); |
| 21881 } | 21934 } |
| 21882 | 21935 |
| 21883 interface EventSourceEvents extends Events { | 21936 interface EventSourceEvents extends Events { |
| 21884 | 21937 |
| 21885 EventListenerList get error(); | 21938 EventListenerList get error(); |
| 21886 | 21939 |
| 21887 EventListenerList get message(); | 21940 EventListenerList get message(); |
| 21888 | 21941 |
| 21889 EventListenerList get open(); | 21942 EventListenerList get open(); |
| (...skipping 13 matching lines...) Expand all Loading... |
| 21903 } | 21956 } |
| 21904 | 21957 |
| 21905 interface Events { | 21958 interface Events { |
| 21906 EventListenerList operator [](String type); | 21959 EventListenerList operator [](String type); |
| 21907 } | 21960 } |
| 21908 | 21961 |
| 21909 interface EventTarget { | 21962 interface EventTarget { |
| 21910 | 21963 |
| 21911 final Events on; | 21964 final Events on; |
| 21912 | 21965 |
| 21966 /** @domName addEventListener */ |
| 21913 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); | 21967 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); |
| 21914 | 21968 |
| 21969 /** @domName dispatchEvent */ |
| 21915 bool $dom_dispatchEvent(Event event); | 21970 bool $dom_dispatchEvent(Event event); |
| 21916 | 21971 |
| 21972 /** @domName removeEventListener */ |
| 21917 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); | 21973 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); |
| 21918 | 21974 |
| 21919 } | 21975 } |
| 21920 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21976 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21921 // for details. All rights reserved. Use of this source code is governed by a | 21977 // for details. All rights reserved. Use of this source code is governed by a |
| 21922 // BSD-style license that can be found in the LICENSE file. | 21978 // BSD-style license that can be found in the LICENSE file. |
| 21923 | 21979 |
| 21924 // WARNING: Do not edit - generated code. | 21980 // WARNING: Do not edit - generated code. |
| 21925 | 21981 |
| 21926 interface FieldSetElement extends Element { | 21982 interface FieldSetElement extends Element { |
| (...skipping 1909 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 23836 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23892 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23837 // for details. All rights reserved. Use of this source code is governed by a | 23893 // for details. All rights reserved. Use of this source code is governed by a |
| 23838 // BSD-style license that can be found in the LICENSE file. | 23894 // BSD-style license that can be found in the LICENSE file. |
| 23839 | 23895 |
| 23840 // WARNING: Do not edit - generated code. | 23896 // WARNING: Do not edit - generated code. |
| 23841 | 23897 |
| 23842 interface MessagePort extends EventTarget { | 23898 interface MessagePort extends EventTarget { |
| 23843 | 23899 |
| 23844 MessagePortEvents get on(); | 23900 MessagePortEvents get on(); |
| 23845 | 23901 |
| 23902 /** @domName addEventListener */ |
| 23846 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); | 23903 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); |
| 23847 | 23904 |
| 23848 void close(); | 23905 void close(); |
| 23849 | 23906 |
| 23907 /** @domName dispatchEvent */ |
| 23850 bool $dom_dispatchEvent(Event evt); | 23908 bool $dom_dispatchEvent(Event evt); |
| 23851 | 23909 |
| 23852 void postMessage(String message, [List messagePorts]); | 23910 void postMessage(String message, [List messagePorts]); |
| 23853 | 23911 |
| 23912 /** @domName removeEventListener */ |
| 23854 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); | 23913 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); |
| 23855 | 23914 |
| 23856 void start(); | 23915 void start(); |
| 23857 | 23916 |
| 23858 void webkitPostMessage(String message, [List transfer]); | 23917 void webkitPostMessage(String message, [List transfer]); |
| 23859 } | 23918 } |
| 23860 | 23919 |
| 23861 interface MessagePortEvents extends Events { | 23920 interface MessagePortEvents extends Events { |
| 23862 | 23921 |
| 23863 EventListenerList get message(); | 23922 EventListenerList get message(); |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 23972 final int screenY; | 24031 final int screenY; |
| 23973 | 24032 |
| 23974 final bool shiftKey; | 24033 final bool shiftKey; |
| 23975 | 24034 |
| 23976 final Node toElement; | 24035 final Node toElement; |
| 23977 | 24036 |
| 23978 final int x; | 24037 final int x; |
| 23979 | 24038 |
| 23980 final int y; | 24039 final int y; |
| 23981 | 24040 |
| 24041 /** @domName initMouseEvent */ |
| 23982 void $dom_initMouseEvent(String type, bool canBubble, bool cancelable, Window
view, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlK
ey, bool altKey, bool shiftKey, bool metaKey, int button, EventTarget relatedTar
get); | 24042 void $dom_initMouseEvent(String type, bool canBubble, bool cancelable, Window
view, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlK
ey, bool altKey, bool shiftKey, bool metaKey, int button, EventTarget relatedTar
get); |
| 23983 } | 24043 } |
| 23984 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24044 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23985 // for details. All rights reserved. Use of this source code is governed by a | 24045 // for details. All rights reserved. Use of this source code is governed by a |
| 23986 // BSD-style license that can be found in the LICENSE file. | 24046 // BSD-style license that can be found in the LICENSE file. |
| 23987 | 24047 |
| 23988 // WARNING: Do not edit - generated code. | 24048 // WARNING: Do not edit - generated code. |
| 23989 | 24049 |
| 23990 interface MutationEvent extends Event { | 24050 interface MutationEvent extends Event { |
| 23991 | 24051 |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 24148 static final int ENTITY_NODE = 6; | 24208 static final int ENTITY_NODE = 6; |
| 24149 | 24209 |
| 24150 static final int ENTITY_REFERENCE_NODE = 5; | 24210 static final int ENTITY_REFERENCE_NODE = 5; |
| 24151 | 24211 |
| 24152 static final int NOTATION_NODE = 12; | 24212 static final int NOTATION_NODE = 12; |
| 24153 | 24213 |
| 24154 static final int PROCESSING_INSTRUCTION_NODE = 7; | 24214 static final int PROCESSING_INSTRUCTION_NODE = 7; |
| 24155 | 24215 |
| 24156 static final int TEXT_NODE = 3; | 24216 static final int TEXT_NODE = 3; |
| 24157 | 24217 |
| 24218 /** @domName attributes */ |
| 24158 final NamedNodeMap $dom_attributes; | 24219 final NamedNodeMap $dom_attributes; |
| 24159 | 24220 |
| 24221 /** @domName childNodes */ |
| 24160 final NodeList $dom_childNodes; | 24222 final NodeList $dom_childNodes; |
| 24161 | 24223 |
| 24224 /** @domName firstChild */ |
| 24162 final Node $dom_firstChild; | 24225 final Node $dom_firstChild; |
| 24163 | 24226 |
| 24227 /** @domName lastChild */ |
| 24164 final Node $dom_lastChild; | 24228 final Node $dom_lastChild; |
| 24165 | 24229 |
| 24230 /** @domName nextSibling */ |
| 24166 final Node nextNode; | 24231 final Node nextNode; |
| 24167 | 24232 |
| 24233 /** @domName nodeType */ |
| 24168 final int $dom_nodeType; | 24234 final int $dom_nodeType; |
| 24169 | 24235 |
| 24236 /** @domName ownerDocument */ |
| 24170 final Document document; | 24237 final Document document; |
| 24171 | 24238 |
| 24239 /** @domName parentNode */ |
| 24172 final Node parent; | 24240 final Node parent; |
| 24173 | 24241 |
| 24242 /** @domName previousSibling */ |
| 24174 final Node previousNode; | 24243 final Node previousNode; |
| 24175 | 24244 |
| 24245 /** @domName textContent */ |
| 24176 String text; | 24246 String text; |
| 24177 | 24247 |
| 24248 /** @domName appendChild */ |
| 24178 Node $dom_appendChild(Node newChild); | 24249 Node $dom_appendChild(Node newChild); |
| 24179 | 24250 |
| 24251 /** @domName cloneNode */ |
| 24180 Node clone(bool deep); | 24252 Node clone(bool deep); |
| 24181 | 24253 |
| 24182 bool contains(Node other); | 24254 bool contains(Node other); |
| 24183 | 24255 |
| 24184 bool hasChildNodes(); | 24256 bool hasChildNodes(); |
| 24185 | 24257 |
| 24186 Node insertBefore(Node newChild, Node refChild); | 24258 Node insertBefore(Node newChild, Node refChild); |
| 24187 | 24259 |
| 24260 /** @domName removeChild */ |
| 24188 Node $dom_removeChild(Node oldChild); | 24261 Node $dom_removeChild(Node oldChild); |
| 24189 | 24262 |
| 24263 /** @domName replaceChild */ |
| 24190 Node $dom_replaceChild(Node newChild, Node oldChild); | 24264 Node $dom_replaceChild(Node newChild, Node oldChild); |
| 24191 | 24265 |
| 24192 } | 24266 } |
| 24193 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24267 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24194 // for details. All rights reserved. Use of this source code is governed by a | 24268 // for details. All rights reserved. Use of this source code is governed by a |
| 24195 // BSD-style license that can be found in the LICENSE file. | 24269 // BSD-style license that can be found in the LICENSE file. |
| 24196 | 24270 |
| 24197 // WARNING: Do not edit - generated code. | 24271 // WARNING: Do not edit - generated code. |
| 24198 | 24272 |
| 24199 interface NodeFilter { | 24273 interface NodeFilter { |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 24281 // BSD-style license that can be found in the LICENSE file. | 24355 // BSD-style license that can be found in the LICENSE file. |
| 24282 | 24356 |
| 24283 // WARNING: Do not edit - generated code. | 24357 // WARNING: Do not edit - generated code. |
| 24284 | 24358 |
| 24285 interface NodeSelector { | 24359 interface NodeSelector { |
| 24286 | 24360 |
| 24287 // TODO(nweiz): add this back once DocumentFragment is ported. | 24361 // TODO(nweiz): add this back once DocumentFragment is ported. |
| 24288 // ElementList queryAll(String selectors); | 24362 // ElementList queryAll(String selectors); |
| 24289 | 24363 |
| 24290 | 24364 |
| 24365 /** @domName querySelector */ |
| 24291 Element query(String selectors); | 24366 Element query(String selectors); |
| 24292 | 24367 |
| 24368 /** @domName querySelectorAll */ |
| 24293 NodeList $dom_querySelectorAll(String selectors); | 24369 NodeList $dom_querySelectorAll(String selectors); |
| 24294 | 24370 |
| 24295 } | 24371 } |
| 24296 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24372 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24297 // for details. All rights reserved. Use of this source code is governed by a | 24373 // for details. All rights reserved. Use of this source code is governed by a |
| 24298 // BSD-style license that can be found in the LICENSE file. | 24374 // BSD-style license that can be found in the LICENSE file. |
| 24299 | 24375 |
| 24300 // WARNING: Do not edit - generated code. | 24376 // WARNING: Do not edit - generated code. |
| 24301 | 24377 |
| 24302 interface Notation extends Node { | 24378 interface Notation extends Node { |
| (...skipping 1270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 25573 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25649 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25574 // for details. All rights reserved. Use of this source code is governed by a | 25650 // for details. All rights reserved. Use of this source code is governed by a |
| 25575 // BSD-style license that can be found in the LICENSE file. | 25651 // BSD-style license that can be found in the LICENSE file. |
| 25576 | 25652 |
| 25577 // WARNING: Do not edit - generated code. | 25653 // WARNING: Do not edit - generated code. |
| 25578 | 25654 |
| 25579 interface SVGDocument extends Document { | 25655 interface SVGDocument extends Document { |
| 25580 | 25656 |
| 25581 final SVGSVGElement rootElement; | 25657 final SVGSVGElement rootElement; |
| 25582 | 25658 |
| 25659 /** @domName createEvent */ |
| 25583 Event $dom_createEvent(String eventType); | 25660 Event $dom_createEvent(String eventType); |
| 25584 } | 25661 } |
| 25585 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25662 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25586 // for details. All rights reserved. Use of this source code is governed by a | 25663 // for details. All rights reserved. Use of this source code is governed by a |
| 25587 // BSD-style license that can be found in the LICENSE file. | 25664 // BSD-style license that can be found in the LICENSE file. |
| 25588 | 25665 |
| 25589 interface SVGElement extends Element default _SVGElementFactoryProvider { | 25666 interface SVGElement extends Element default _SVGElementFactoryProvider { |
| 25590 | 25667 |
| 25591 SVGElement.tag(String tag); | 25668 SVGElement.tag(String tag); |
| 25592 SVGElement.svg(String svg); | 25669 SVGElement.svg(String svg); |
| (...skipping 29 matching lines...) Expand all Loading... |
| 25622 final SVGElementInstance firstChild; | 25699 final SVGElementInstance firstChild; |
| 25623 | 25700 |
| 25624 final SVGElementInstance lastChild; | 25701 final SVGElementInstance lastChild; |
| 25625 | 25702 |
| 25626 final SVGElementInstance nextSibling; | 25703 final SVGElementInstance nextSibling; |
| 25627 | 25704 |
| 25628 final SVGElementInstance parentNode; | 25705 final SVGElementInstance parentNode; |
| 25629 | 25706 |
| 25630 final SVGElementInstance previousSibling; | 25707 final SVGElementInstance previousSibling; |
| 25631 | 25708 |
| 25709 /** @domName addEventListener */ |
| 25632 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); | 25710 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); |
| 25633 | 25711 |
| 25712 /** @domName dispatchEvent */ |
| 25634 bool $dom_dispatchEvent(Event event); | 25713 bool $dom_dispatchEvent(Event event); |
| 25635 | 25714 |
| 25715 /** @domName removeEventListener */ |
| 25636 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); | 25716 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); |
| 25637 } | 25717 } |
| 25638 | 25718 |
| 25639 interface SVGElementInstanceEvents extends Events { | 25719 interface SVGElementInstanceEvents extends Events { |
| 25640 | 25720 |
| 25641 EventListenerList get abort(); | 25721 EventListenerList get abort(); |
| 25642 | 25722 |
| 25643 EventListenerList get beforeCopy(); | 25723 EventListenerList get beforeCopy(); |
| 25644 | 25724 |
| 25645 EventListenerList get beforeCut(); | 25725 EventListenerList get beforeCut(); |
| (...skipping 1833 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 27479 String replaceItem(String item, int index); | 27559 String replaceItem(String item, int index); |
| 27480 } | 27560 } |
| 27481 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 27561 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27482 // for details. All rights reserved. Use of this source code is governed by a | 27562 // for details. All rights reserved. Use of this source code is governed by a |
| 27483 // BSD-style license that can be found in the LICENSE file. | 27563 // BSD-style license that can be found in the LICENSE file. |
| 27484 | 27564 |
| 27485 // WARNING: Do not edit - generated code. | 27565 // WARNING: Do not edit - generated code. |
| 27486 | 27566 |
| 27487 interface SVGStylable { | 27567 interface SVGStylable { |
| 27488 | 27568 |
| 27569 /** @domName className */ |
| 27489 final SVGAnimatedString $dom_svgClassName; | 27570 final SVGAnimatedString $dom_svgClassName; |
| 27490 | 27571 |
| 27491 final CSSStyleDeclaration style; | 27572 final CSSStyleDeclaration style; |
| 27492 | 27573 |
| 27493 CSSValue getPresentationAttribute(String name); | 27574 CSSValue getPresentationAttribute(String name); |
| 27494 } | 27575 } |
| 27495 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 27576 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27496 // for details. All rights reserved. Use of this source code is governed by a | 27577 // for details. All rights reserved. Use of this source code is governed by a |
| 27497 // BSD-style license that can be found in the LICENSE file. | 27578 // BSD-style license that can be found in the LICENSE file. |
| 27498 | 27579 |
| (...skipping 781 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 28280 final int length; | 28361 final int length; |
| 28281 | 28362 |
| 28282 SpeechRecognitionResult item(int index); | 28363 SpeechRecognitionResult item(int index); |
| 28283 } | 28364 } |
| 28284 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 28365 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 28285 // for details. All rights reserved. Use of this source code is governed by a | 28366 // for details. All rights reserved. Use of this source code is governed by a |
| 28286 // BSD-style license that can be found in the LICENSE file. | 28367 // BSD-style license that can be found in the LICENSE file. |
| 28287 | 28368 |
| 28288 interface Storage extends Map<String, String> { | 28369 interface Storage extends Map<String, String> { |
| 28289 | 28370 |
| 28371 /** @domName length */ |
| 28290 final int $dom_length; | 28372 final int $dom_length; |
| 28291 | 28373 |
| 28374 /** @domName clear */ |
| 28292 void $dom_clear(); | 28375 void $dom_clear(); |
| 28293 | 28376 |
| 28377 /** @domName getItem */ |
| 28294 String $dom_getItem(String key); | 28378 String $dom_getItem(String key); |
| 28295 | 28379 |
| 28380 /** @domName key */ |
| 28296 String $dom_key(int index); | 28381 String $dom_key(int index); |
| 28297 | 28382 |
| 28383 /** @domName removeItem */ |
| 28298 void $dom_removeItem(String key); | 28384 void $dom_removeItem(String key); |
| 28299 | 28385 |
| 28386 /** @domName setItem */ |
| 28300 void $dom_setItem(String key, String data); | 28387 void $dom_setItem(String key, String data); |
| 28301 | 28388 |
| 28302 } | 28389 } |
| 28303 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 28390 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 28304 // for details. All rights reserved. Use of this source code is governed by a | 28391 // for details. All rights reserved. Use of this source code is governed by a |
| 28305 // BSD-style license that can be found in the LICENSE file. | 28392 // BSD-style license that can be found in the LICENSE file. |
| 28306 | 28393 |
| 28307 // WARNING: Do not edit - generated code. | 28394 // WARNING: Do not edit - generated code. |
| 28308 | 28395 |
| 28309 interface StorageEvent extends Event { | 28396 interface StorageEvent extends Event { |
| (...skipping 1968 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 30278 final int bufferedAmount; | 30365 final int bufferedAmount; |
| 30279 | 30366 |
| 30280 final String extensions; | 30367 final String extensions; |
| 30281 | 30368 |
| 30282 final String protocol; | 30369 final String protocol; |
| 30283 | 30370 |
| 30284 final int readyState; | 30371 final int readyState; |
| 30285 | 30372 |
| 30286 final String url; | 30373 final String url; |
| 30287 | 30374 |
| 30375 /** @domName addEventListener */ |
| 30288 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); | 30376 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); |
| 30289 | 30377 |
| 30290 void close([int code, String reason]); | 30378 void close([int code, String reason]); |
| 30291 | 30379 |
| 30380 /** @domName dispatchEvent */ |
| 30292 bool $dom_dispatchEvent(Event evt); | 30381 bool $dom_dispatchEvent(Event evt); |
| 30293 | 30382 |
| 30383 /** @domName removeEventListener */ |
| 30294 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); | 30384 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); |
| 30295 | 30385 |
| 30296 bool send(String data); | 30386 bool send(String data); |
| 30297 } | 30387 } |
| 30298 | 30388 |
| 30299 interface WebSocketEvents extends Events { | 30389 interface WebSocketEvents extends Events { |
| 30300 | 30390 |
| 30301 EventListenerList get close(); | 30391 EventListenerList get close(); |
| 30302 | 30392 |
| 30303 EventListenerList get error(); | 30393 EventListenerList get error(); |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 30463 final Window top; | 30553 final Window top; |
| 30464 | 30554 |
| 30465 final IDBFactory webkitIndexedDB; | 30555 final IDBFactory webkitIndexedDB; |
| 30466 | 30556 |
| 30467 final NotificationCenter webkitNotifications; | 30557 final NotificationCenter webkitNotifications; |
| 30468 | 30558 |
| 30469 final StorageInfo webkitStorageInfo; | 30559 final StorageInfo webkitStorageInfo; |
| 30470 | 30560 |
| 30471 final Window window; | 30561 final Window window; |
| 30472 | 30562 |
| 30563 /** @domName addEventListener */ |
| 30473 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); | 30564 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); |
| 30474 | 30565 |
| 30475 void alert(String message); | 30566 void alert(String message); |
| 30476 | 30567 |
| 30477 String atob(String string); | 30568 String atob(String string); |
| 30478 | 30569 |
| 30479 void blur(); | 30570 void blur(); |
| 30480 | 30571 |
| 30481 String btoa(String string); | 30572 String btoa(String string); |
| 30482 | 30573 |
| 30483 void captureEvents(); | 30574 void captureEvents(); |
| 30484 | 30575 |
| 30485 void clearInterval(int handle); | 30576 void clearInterval(int handle); |
| 30486 | 30577 |
| 30487 void clearTimeout(int handle); | 30578 void clearTimeout(int handle); |
| 30488 | 30579 |
| 30489 void close(); | 30580 void close(); |
| 30490 | 30581 |
| 30491 bool confirm(String message); | 30582 bool confirm(String message); |
| 30492 | 30583 |
| 30584 /** @domName dispatchEvent */ |
| 30493 bool $dom_dispatchEvent(Event evt); | 30585 bool $dom_dispatchEvent(Event evt); |
| 30494 | 30586 |
| 30495 bool find(String string, bool caseSensitive, bool backwards, bool wrap, bool w
holeWord, bool searchInFrames, bool showDialog); | 30587 bool find(String string, bool caseSensitive, bool backwards, bool wrap, bool w
holeWord, bool searchInFrames, bool showDialog); |
| 30496 | 30588 |
| 30497 void focus(); | 30589 void focus(); |
| 30498 | 30590 |
| 30591 /** @domName getComputedStyle */ |
| 30499 CSSStyleDeclaration $dom_getComputedStyle(Element element, String pseudoElemen
t); | 30592 CSSStyleDeclaration $dom_getComputedStyle(Element element, String pseudoElemen
t); |
| 30500 | 30593 |
| 30501 CSSRuleList getMatchedCSSRules(Element element, String pseudoElement); | 30594 CSSRuleList getMatchedCSSRules(Element element, String pseudoElement); |
| 30502 | 30595 |
| 30503 DOMSelection getSelection(); | 30596 DOMSelection getSelection(); |
| 30504 | 30597 |
| 30505 MediaQueryList matchMedia(String query); | 30598 MediaQueryList matchMedia(String query); |
| 30506 | 30599 |
| 30507 void moveBy(num x, num y); | 30600 void moveBy(num x, num y); |
| 30508 | 30601 |
| 30509 void moveTo(num x, num y); | 30602 void moveTo(num x, num y); |
| 30510 | 30603 |
| 30511 Window open(String url, String name, [String options]); | 30604 Window open(String url, String name, [String options]); |
| 30512 | 30605 |
| 30513 Database openDatabase(String name, String version, String displayName, int est
imatedSize, [DatabaseCallback creationCallback]); | 30606 Database openDatabase(String name, String version, String displayName, int est
imatedSize, [DatabaseCallback creationCallback]); |
| 30514 | 30607 |
| 30515 void postMessage(Dynamic message, String targetOrigin, [List messagePorts]); | 30608 void postMessage(Dynamic message, String targetOrigin, [List messagePorts]); |
| 30516 | 30609 |
| 30517 void print(); | 30610 void print(); |
| 30518 | 30611 |
| 30519 String prompt(String message, String defaultValue); | 30612 String prompt(String message, String defaultValue); |
| 30520 | 30613 |
| 30521 void releaseEvents(); | 30614 void releaseEvents(); |
| 30522 | 30615 |
| 30616 /** @domName removeEventListener */ |
| 30523 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); | 30617 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); |
| 30524 | 30618 |
| 30525 void resizeBy(num x, num y); | 30619 void resizeBy(num x, num y); |
| 30526 | 30620 |
| 30527 void resizeTo(num width, num height); | 30621 void resizeTo(num width, num height); |
| 30528 | 30622 |
| 30529 void scroll(int x, int y); | 30623 void scroll(int x, int y); |
| 30530 | 30624 |
| 30531 void scrollBy(int x, int y); | 30625 void scrollBy(int x, int y); |
| 30532 | 30626 |
| (...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 30871 final int status; | 30965 final int status; |
| 30872 | 30966 |
| 30873 final String statusText; | 30967 final String statusText; |
| 30874 | 30968 |
| 30875 final XMLHttpRequestUpload upload; | 30969 final XMLHttpRequestUpload upload; |
| 30876 | 30970 |
| 30877 bool withCredentials; | 30971 bool withCredentials; |
| 30878 | 30972 |
| 30879 void abort(); | 30973 void abort(); |
| 30880 | 30974 |
| 30975 /** @domName addEventListener */ |
| 30881 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); | 30976 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); |
| 30882 | 30977 |
| 30978 /** @domName dispatchEvent */ |
| 30883 bool $dom_dispatchEvent(Event evt); | 30979 bool $dom_dispatchEvent(Event evt); |
| 30884 | 30980 |
| 30885 String getAllResponseHeaders(); | 30981 String getAllResponseHeaders(); |
| 30886 | 30982 |
| 30887 String getResponseHeader(String header); | 30983 String getResponseHeader(String header); |
| 30888 | 30984 |
| 30889 void open(String method, String url, [bool async, String user, String password
]); | 30985 void open(String method, String url, [bool async, String user, String password
]); |
| 30890 | 30986 |
| 30891 void overrideMimeType(String override); | 30987 void overrideMimeType(String override); |
| 30892 | 30988 |
| 30989 /** @domName removeEventListener */ |
| 30893 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); | 30990 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); |
| 30894 | 30991 |
| 30895 void send([var data]); | 30992 void send([var data]); |
| 30896 | 30993 |
| 30897 void setRequestHeader(String header, String value); | 30994 void setRequestHeader(String header, String value); |
| 30898 } | 30995 } |
| 30899 | 30996 |
| 30900 interface XMLHttpRequestEvents extends Events { | 30997 interface XMLHttpRequestEvents extends Events { |
| 30901 | 30998 |
| 30902 EventListenerList get abort(); | 30999 EventListenerList get abort(); |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 30948 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 31045 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 30949 // for details. All rights reserved. Use of this source code is governed by a | 31046 // for details. All rights reserved. Use of this source code is governed by a |
| 30950 // BSD-style license that can be found in the LICENSE file. | 31047 // BSD-style license that can be found in the LICENSE file. |
| 30951 | 31048 |
| 30952 // WARNING: Do not edit - generated code. | 31049 // WARNING: Do not edit - generated code. |
| 30953 | 31050 |
| 30954 interface XMLHttpRequestUpload extends EventTarget { | 31051 interface XMLHttpRequestUpload extends EventTarget { |
| 30955 | 31052 |
| 30956 XMLHttpRequestUploadEvents get on(); | 31053 XMLHttpRequestUploadEvents get on(); |
| 30957 | 31054 |
| 31055 /** @domName addEventListener */ |
| 30958 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); | 31056 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); |
| 30959 | 31057 |
| 31058 /** @domName dispatchEvent */ |
| 30960 bool $dom_dispatchEvent(Event evt); | 31059 bool $dom_dispatchEvent(Event evt); |
| 30961 | 31060 |
| 31061 /** @domName removeEventListener */ |
| 30962 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); | 31062 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); |
| 30963 } | 31063 } |
| 30964 | 31064 |
| 30965 interface XMLHttpRequestUploadEvents extends Events { | 31065 interface XMLHttpRequestUploadEvents extends Events { |
| 30966 | 31066 |
| 30967 EventListenerList get abort(); | 31067 EventListenerList get abort(); |
| 30968 | 31068 |
| 30969 EventListenerList get error(); | 31069 EventListenerList get error(); |
| 30970 | 31070 |
| 30971 EventListenerList get load(); | 31071 EventListenerList get load(); |
| (...skipping 1294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 32266 if (length < 0) throw new IllegalArgumentException('length'); | 32366 if (length < 0) throw new IllegalArgumentException('length'); |
| 32267 if (start < 0) throw new IndexOutOfRangeException(start); | 32367 if (start < 0) throw new IndexOutOfRangeException(start); |
| 32268 int end = start + length; | 32368 int end = start + length; |
| 32269 if (end > a.length) throw new IndexOutOfRangeException(end); | 32369 if (end > a.length) throw new IndexOutOfRangeException(end); |
| 32270 for (int i = start; i < end; i++) { | 32370 for (int i = start; i < end; i++) { |
| 32271 accumulator.add(a[i]); | 32371 accumulator.add(a[i]); |
| 32272 } | 32372 } |
| 32273 return accumulator; | 32373 return accumulator; |
| 32274 } | 32374 } |
| 32275 } | 32375 } |
| OLD | NEW |