| OLD | NEW |
| 1 #library('html'); | 1 #library('html'); |
| 2 | 2 |
| 3 #import('bootstrap_hacks.dart'); | 3 #import('dart:dom', prefix:'dom'); |
| 4 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 4 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 5 // for details. All rights reserved. Use of this source code is governed by a | 5 // for details. All rights reserved. Use of this source code is governed by a |
| 6 // BSD-style license that can be found in the LICENSE file. | 6 // BSD-style license that can be found in the LICENSE file. |
| 7 | 7 |
| 8 // DO NOT EDIT | 8 // DO NOT EDIT |
| 9 // Auto-generated Dart HTML library. | 9 // Auto-generated Dart HTML library. |
| 10 | 10 |
| 11 | 11 |
| 12 | 12 |
| 13 | 13 |
| 14 | 14 |
| 15 |
| 16 |
| 15 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 17 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 16 // for details. All rights reserved. Use of this source code is governed by a | 18 // for details. All rights reserved. Use of this source code is governed by a |
| 17 // BSD-style license that can be found in the LICENSE file. | 19 // BSD-style license that can be found in the LICENSE file. |
| 18 | 20 |
| 19 // WARNING: Do not edit - generated code. | 21 // WARNING: Do not edit - generated code. |
| 20 | 22 |
| 21 interface AnchorElement extends Element { | 23 interface AnchorElement extends Element { |
| 22 | 24 |
| 23 String get accessKey(); | 25 String get accessKey(); |
| 24 | 26 |
| (...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 String get url(); | 313 String get url(); |
| 312 | 314 |
| 313 void initBeforeLoadEvent(String type, bool canBubble, bool cancelable, String
url); | 315 void initBeforeLoadEvent(String type, bool canBubble, bool cancelable, String
url); |
| 314 } | 316 } |
| 315 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 317 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 316 // for details. All rights reserved. Use of this source code is governed by a | 318 // for details. All rights reserved. Use of this source code is governed by a |
| 317 // BSD-style license that can be found in the LICENSE file. | 319 // BSD-style license that can be found in the LICENSE file. |
| 318 | 320 |
| 319 // WARNING: Do not edit - generated code. | 321 // WARNING: Do not edit - generated code. |
| 320 | 322 |
| 321 interface BeforeProcessEvent extends Event { | |
| 322 | |
| 323 String get text(); | |
| 324 | |
| 325 void set text(String value); | |
| 326 | |
| 327 void initBeforeProcessEvent(String type, bool canBubble, bool cancelable); | |
| 328 } | |
| 329 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | |
| 330 // for details. All rights reserved. Use of this source code is governed by a | |
| 331 // BSD-style license that can be found in the LICENSE file. | |
| 332 | |
| 333 // WARNING: Do not edit - generated code. | |
| 334 | |
| 335 interface Blob { | 323 interface Blob { |
| 336 | 324 |
| 337 int get size(); | 325 int get size(); |
| 338 | 326 |
| 339 String get type(); | 327 String get type(); |
| 340 } | 328 } |
| 341 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 329 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 342 // for details. All rights reserved. Use of this source code is governed by a | 330 // for details. All rights reserved. Use of this source code is governed by a |
| 343 // BSD-style license that can be found in the LICENSE file. | 331 // BSD-style license that can be found in the LICENSE file. |
| 344 | 332 |
| 345 // WARNING: Do not edit - generated code. | 333 // WARNING: Do not edit - generated code. |
| 346 | 334 |
| 347 interface BlobBuilder { | 335 interface BlobBuilder { |
| 348 | 336 |
| 349 void append(var blob_OR_value, String endings); | 337 void append(var blob_OR_value, [String endings]); |
| 350 | 338 |
| 351 Blob getBlob(String contentType); | 339 Blob getBlob([String contentType]); |
| 352 } | 340 } |
| 353 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 341 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 354 // for details. All rights reserved. Use of this source code is governed by a | 342 // for details. All rights reserved. Use of this source code is governed by a |
| 355 // BSD-style license that can be found in the LICENSE file. | |
| 356 | |
| 357 // WARNING: Do not edit - generated code. | |
| 358 | |
| 359 interface BlockquoteElement extends Element { | |
| 360 | |
| 361 String get cite(); | |
| 362 | |
| 363 void set cite(String value); | |
| 364 } | |
| 365 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | |
| 366 // for details. All rights reserved. Use of this source code is governed by a | |
| 367 // BSD-style license that can be found in the LICENSE file. | 343 // BSD-style license that can be found in the LICENSE file. |
| 368 | 344 |
| 369 // WARNING: Do not edit - generated code. | 345 // WARNING: Do not edit - generated code. |
| 370 | 346 |
| 371 interface ButtonElement extends Element { | 347 interface ButtonElement extends Element { |
| 372 | 348 |
| 373 String get accessKey(); | 349 String get accessKey(); |
| 374 | 350 |
| 375 void set accessKey(String value); | 351 void set accessKey(String value); |
| 376 | 352 |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 505 CSSKeyframeRule findRule(String key); | 481 CSSKeyframeRule findRule(String key); |
| 506 | 482 |
| 507 void insertRule(String rule); | 483 void insertRule(String rule); |
| 508 } | 484 } |
| 509 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 485 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 510 // for details. All rights reserved. Use of this source code is governed by a | 486 // for details. All rights reserved. Use of this source code is governed by a |
| 511 // BSD-style license that can be found in the LICENSE file. | 487 // BSD-style license that can be found in the LICENSE file. |
| 512 | 488 |
| 513 // WARNING: Do not edit - generated code. | 489 // WARNING: Do not edit - generated code. |
| 514 | 490 |
| 515 interface CSSMatrix factory CSSMatrixWrappingImplementation { | 491 interface CSSMatrix factory _CSSMatrixFactoryProvider { |
| 516 CSSMatrix([String cssValue]); | 492 |
| 493 CSSMatrix([String spec]); |
| 517 | 494 |
| 518 num get a(); | 495 num get a(); |
| 519 | 496 |
| 520 void set a(num value); | 497 void set a(num value); |
| 521 | 498 |
| 522 num get b(); | 499 num get b(); |
| 523 | 500 |
| 524 void set b(num value); | 501 void set b(num value); |
| 525 | 502 |
| 526 num get c(); | 503 num get c(); |
| (...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 798 // WARNING: Do not edit - generated code. | 775 // WARNING: Do not edit - generated code. |
| 799 | 776 |
| 800 interface CSSStyleSheet extends StyleSheet { | 777 interface CSSStyleSheet extends StyleSheet { |
| 801 | 778 |
| 802 CSSRuleList get cssRules(); | 779 CSSRuleList get cssRules(); |
| 803 | 780 |
| 804 CSSRule get ownerRule(); | 781 CSSRule get ownerRule(); |
| 805 | 782 |
| 806 CSSRuleList get rules(); | 783 CSSRuleList get rules(); |
| 807 | 784 |
| 808 int addRule(String selector, String style, int index); | 785 int addRule(String selector, String style, [int index]); |
| 809 | 786 |
| 810 void deleteRule(int index); | 787 void deleteRule(int index); |
| 811 | 788 |
| 812 int insertRule(String rule, int index); | 789 int insertRule(String rule, int index); |
| 813 | 790 |
| 814 void removeRule(int index); | 791 void removeRule(int index); |
| 815 } | 792 } |
| 816 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 793 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 817 // for details. All rights reserved. Use of this source code is governed by a | 794 // for details. All rights reserved. Use of this source code is governed by a |
| 818 // BSD-style license that can be found in the LICENSE file. | 795 // BSD-style license that can be found in the LICENSE file. |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 918 int get height(); | 895 int get height(); |
| 919 | 896 |
| 920 void set height(int value); | 897 void set height(int value); |
| 921 | 898 |
| 922 int get width(); | 899 int get width(); |
| 923 | 900 |
| 924 void set width(int value); | 901 void set width(int value); |
| 925 | 902 |
| 926 CanvasRenderingContext getContext([String contextId]); | 903 CanvasRenderingContext getContext([String contextId]); |
| 927 | 904 |
| 928 String toDataURL([String type]); | 905 String toDataURL(String type); |
| 929 } | 906 } |
| 930 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 907 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 931 // for details. All rights reserved. Use of this source code is governed by a | 908 // for details. All rights reserved. Use of this source code is governed by a |
| 932 // BSD-style license that can be found in the LICENSE file. | 909 // BSD-style license that can be found in the LICENSE file. |
| 933 | 910 |
| 934 // WARNING: Do not edit - generated code. | 911 // WARNING: Do not edit - generated code. |
| 935 | 912 |
| 936 interface CanvasGradient { | 913 interface CanvasGradient { |
| 937 | 914 |
| 938 void addColorStop(num offset, String color); | 915 void addColorStop(num offset, String color); |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1188 void set dropEffect(String value); | 1165 void set dropEffect(String value); |
| 1189 | 1166 |
| 1190 String get effectAllowed(); | 1167 String get effectAllowed(); |
| 1191 | 1168 |
| 1192 void set effectAllowed(String value); | 1169 void set effectAllowed(String value); |
| 1193 | 1170 |
| 1194 FileList get files(); | 1171 FileList get files(); |
| 1195 | 1172 |
| 1196 DataTransferItems get items(); | 1173 DataTransferItems get items(); |
| 1197 | 1174 |
| 1198 void clearData(String type); | 1175 void clearData([String type]); |
| 1199 | 1176 |
| 1200 void getData(String type); | 1177 void getData(String type); |
| 1201 | 1178 |
| 1202 bool setData(String type, String data); | 1179 bool setData(String type, String data); |
| 1203 | 1180 |
| 1204 void setDragImage(ImageElement image, int x, int y); | 1181 void setDragImage(ImageElement image, int x, int y); |
| 1205 } | 1182 } |
| 1206 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1183 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 1207 // for details. All rights reserved. Use of this source code is governed by a | 1184 // for details. All rights reserved. Use of this source code is governed by a |
| 1208 // BSD-style license that can be found in the LICENSE file. | 1185 // BSD-style license that can be found in the LICENSE file. |
| (...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1668 DataTransferItem item(int index); | 1645 DataTransferItem item(int index); |
| 1669 } | 1646 } |
| 1670 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1647 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 1671 // for details. All rights reserved. Use of this source code is governed by a | 1648 // for details. All rights reserved. Use of this source code is governed by a |
| 1672 // BSD-style license that can be found in the LICENSE file. | 1649 // BSD-style license that can be found in the LICENSE file. |
| 1673 | 1650 |
| 1674 // WARNING: Do not edit - generated code. | 1651 // WARNING: Do not edit - generated code. |
| 1675 | 1652 |
| 1676 interface DataView extends ArrayBufferView { | 1653 interface DataView extends ArrayBufferView { |
| 1677 | 1654 |
| 1678 num getFloat32(int byteOffset, bool littleEndian); | 1655 num getFloat32(int byteOffset, [bool littleEndian]); |
| 1679 | 1656 |
| 1680 num getFloat64(int byteOffset, bool littleEndian); | 1657 num getFloat64(int byteOffset, [bool littleEndian]); |
| 1681 | 1658 |
| 1682 int getInt16(int byteOffset, bool littleEndian); | 1659 int getInt16(int byteOffset, [bool littleEndian]); |
| 1683 | 1660 |
| 1684 int getInt32(int byteOffset, bool littleEndian); | 1661 int getInt32(int byteOffset, [bool littleEndian]); |
| 1685 | 1662 |
| 1686 int getInt8(); | 1663 int getInt8(); |
| 1687 | 1664 |
| 1688 int getUint16(int byteOffset, bool littleEndian); | 1665 int getUint16(int byteOffset, [bool littleEndian]); |
| 1689 | 1666 |
| 1690 int getUint32(int byteOffset, bool littleEndian); | 1667 int getUint32(int byteOffset, [bool littleEndian]); |
| 1691 | 1668 |
| 1692 int getUint8(); | 1669 int getUint8(); |
| 1693 | 1670 |
| 1694 void setFloat32(int byteOffset, num value, bool littleEndian); | 1671 void setFloat32(int byteOffset, num value, [bool littleEndian]); |
| 1695 | 1672 |
| 1696 void setFloat64(int byteOffset, num value, bool littleEndian); | 1673 void setFloat64(int byteOffset, num value, [bool littleEndian]); |
| 1697 | 1674 |
| 1698 void setInt16(int byteOffset, int value, bool littleEndian); | 1675 void setInt16(int byteOffset, int value, [bool littleEndian]); |
| 1699 | 1676 |
| 1700 void setInt32(int byteOffset, int value, bool littleEndian); | 1677 void setInt32(int byteOffset, int value, [bool littleEndian]); |
| 1701 | 1678 |
| 1702 void setInt8(); | 1679 void setInt8(); |
| 1703 | 1680 |
| 1704 void setUint16(int byteOffset, int value, bool littleEndian); | 1681 void setUint16(int byteOffset, int value, [bool littleEndian]); |
| 1705 | 1682 |
| 1706 void setUint32(int byteOffset, int value, bool littleEndian); | 1683 void setUint32(int byteOffset, int value, [bool littleEndian]); |
| 1707 | 1684 |
| 1708 void setUint8(); | 1685 void setUint8(); |
| 1709 } | 1686 } |
| 1710 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1687 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 1711 // for details. All rights reserved. Use of this source code is governed by a | 1688 // for details. All rights reserved. Use of this source code is governed by a |
| 1712 // BSD-style license that can be found in the LICENSE file. | 1689 // BSD-style license that can be found in the LICENSE file. |
| 1713 | 1690 |
| 1714 // WARNING: Do not edit - generated code. | 1691 // WARNING: Do not edit - generated code. |
| 1715 | 1692 |
| 1716 interface DetailsElement extends Element { | 1693 interface DetailsElement extends Element { |
| 1717 | 1694 |
| 1718 bool get open(); | 1695 bool get open(); |
| 1719 | 1696 |
| 1720 void set open(bool value); | 1697 void set open(bool value); |
| 1721 } | 1698 } |
| 1722 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1699 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 1723 // for details. All rights reserved. Use of this source code is governed by a | 1700 // for details. All rights reserved. Use of this source code is governed by a |
| 1724 // BSD-style license that can be found in the LICENSE file. | 1701 // BSD-style license that can be found in the LICENSE file. |
| 1725 | 1702 |
| 1726 // WARNING: Do not edit - generated code. | 1703 // WARNING: Do not edit - generated code. |
| 1727 | 1704 |
| 1728 interface DeviceMotionEvent extends Event { | 1705 interface DeviceMotionEvent extends Event { |
| 1729 | 1706 |
| 1730 num get interval(); | 1707 num get interval(); |
| 1731 | |
| 1732 void initDeviceMotionEvent(String type, bool bubbles, bool cancelable); | |
| 1733 } | 1708 } |
| 1734 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1709 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 1735 // for details. All rights reserved. Use of this source code is governed by a | 1710 // for details. All rights reserved. Use of this source code is governed by a |
| 1736 // BSD-style license that can be found in the LICENSE file. | 1711 // BSD-style license that can be found in the LICENSE file. |
| 1737 | 1712 |
| 1738 // WARNING: Do not edit - generated code. | 1713 // WARNING: Do not edit - generated code. |
| 1739 | 1714 |
| 1740 interface DeviceOrientationEvent extends Event { | 1715 interface DeviceOrientationEvent extends Event { |
| 1741 | 1716 |
| 1742 num get alpha(); | 1717 num get alpha(); |
| 1743 | 1718 |
| 1744 num get beta(); | 1719 num get beta(); |
| 1745 | 1720 |
| 1746 num get gamma(); | 1721 num get gamma(); |
| 1747 | 1722 |
| 1748 void initDeviceOrientationEvent(String type, bool bubbles, bool cancelable, nu
m alpha, num beta, num gamma); | 1723 void initDeviceOrientationEvent(String type, bool bubbles, bool cancelable, nu
m alpha, num beta, num gamma); |
| 1749 } | 1724 } |
| 1750 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1725 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 1751 // for details. All rights reserved. Use of this source code is governed by a | 1726 // for details. All rights reserved. Use of this source code is governed by a |
| 1752 // BSD-style license that can be found in the LICENSE file. | 1727 // BSD-style license that can be found in the LICENSE file. |
| 1753 | 1728 |
| 1754 // WARNING: Do not edit - generated code. | 1729 // WARNING: Do not edit - generated code. |
| 1755 | 1730 |
| 1756 interface DirectoryEntry extends Entry { | 1731 interface DirectoryEntry extends Entry { |
| 1757 | 1732 |
| 1758 DirectoryReader createReader(); | 1733 DirectoryReader createReader(); |
| 1759 | 1734 |
| 1760 void getDirectory(String path, Flags flags, EntryCallback successCallback, Err
orCallback errorCallback); | 1735 void getDirectory(String path, [Flags flags, EntryCallback successCallback, Er
rorCallback errorCallback]); |
| 1761 | 1736 |
| 1762 void getFile(String path, Flags flags, EntryCallback successCallback, ErrorCal
lback errorCallback); | 1737 void getFile(String path, [Flags flags, EntryCallback successCallback, ErrorCa
llback errorCallback]); |
| 1763 | 1738 |
| 1764 void removeRecursively(VoidCallback successCallback, ErrorCallback errorCallba
ck); | 1739 void removeRecursively([VoidCallback successCallback, ErrorCallback errorCallb
ack]); |
| 1765 } | 1740 } |
| 1766 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1741 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 1767 // for details. All rights reserved. Use of this source code is governed by a | 1742 // for details. All rights reserved. Use of this source code is governed by a |
| 1768 // BSD-style license that can be found in the LICENSE file. | 1743 // BSD-style license that can be found in the LICENSE file. |
| 1769 | 1744 |
| 1770 // WARNING: Do not edit - generated code. | 1745 // WARNING: Do not edit - generated code. |
| 1771 | 1746 |
| 1772 interface DirectoryEntrySync extends EntrySync { | 1747 interface DirectoryEntrySync extends EntrySync { |
| 1773 | 1748 |
| 1774 DirectoryReaderSync createReader(); | 1749 DirectoryReaderSync createReader(); |
| 1775 | 1750 |
| 1776 DirectoryEntrySync getDirectory(String path, Flags flags); | 1751 DirectoryEntrySync getDirectory(String path, Flags flags); |
| 1777 | 1752 |
| 1778 FileEntrySync getFile(String path, Flags flags); | 1753 FileEntrySync getFile(String path, Flags flags); |
| 1779 | 1754 |
| 1780 void removeRecursively(); | 1755 void removeRecursively(); |
| 1781 } | 1756 } |
| 1782 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1757 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 1783 // for details. All rights reserved. Use of this source code is governed by a | 1758 // for details. All rights reserved. Use of this source code is governed by a |
| 1784 // BSD-style license that can be found in the LICENSE file. | 1759 // BSD-style license that can be found in the LICENSE file. |
| 1785 | 1760 |
| 1786 // WARNING: Do not edit - generated code. | 1761 // WARNING: Do not edit - generated code. |
| 1787 | 1762 |
| 1788 interface DirectoryReader { | 1763 interface DirectoryReader { |
| 1789 | 1764 |
| 1790 void readEntries(EntriesCallback successCallback, ErrorCallback errorCallback)
; | 1765 void readEntries(EntriesCallback successCallback, [ErrorCallback errorCallback
]); |
| 1791 } | 1766 } |
| 1792 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1767 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 1793 // for details. All rights reserved. Use of this source code is governed by a | 1768 // for details. All rights reserved. Use of this source code is governed by a |
| 1794 // BSD-style license that can be found in the LICENSE file. | 1769 // BSD-style license that can be found in the LICENSE file. |
| 1795 | 1770 |
| 1796 // WARNING: Do not edit - generated code. | 1771 // WARNING: Do not edit - generated code. |
| 1797 | 1772 |
| 1798 interface DirectoryReaderSync { | 1773 interface DirectoryReaderSync { |
| 1799 | 1774 |
| 1800 EntryArraySync readEntries(); | 1775 EntryArraySync readEntries(); |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1886 DOMFileSystem get filesystem(); | 1861 DOMFileSystem get filesystem(); |
| 1887 | 1862 |
| 1888 String get fullPath(); | 1863 String get fullPath(); |
| 1889 | 1864 |
| 1890 bool get isDirectory(); | 1865 bool get isDirectory(); |
| 1891 | 1866 |
| 1892 bool get isFile(); | 1867 bool get isFile(); |
| 1893 | 1868 |
| 1894 String get name(); | 1869 String get name(); |
| 1895 | 1870 |
| 1896 void copyTo(DirectoryEntry parent, String name, EntryCallback successCallback,
ErrorCallback errorCallback); | 1871 void copyTo(DirectoryEntry parent, [String name, EntryCallback successCallback
, ErrorCallback errorCallback]); |
| 1897 | 1872 |
| 1898 void getMetadata(MetadataCallback successCallback, ErrorCallback errorCallback
); | 1873 void getMetadata([MetadataCallback successCallback, ErrorCallback errorCallbac
k]); |
| 1899 | 1874 |
| 1900 void getParent(EntryCallback successCallback, ErrorCallback errorCallback); | 1875 void getParent([EntryCallback successCallback, ErrorCallback errorCallback]); |
| 1901 | 1876 |
| 1902 void moveTo(DirectoryEntry parent, String name, EntryCallback successCallback,
ErrorCallback errorCallback); | 1877 void moveTo(DirectoryEntry parent, [String name, EntryCallback successCallback
, ErrorCallback errorCallback]); |
| 1903 | 1878 |
| 1904 void remove(VoidCallback successCallback, ErrorCallback errorCallback); | 1879 void remove([VoidCallback successCallback, ErrorCallback errorCallback]); |
| 1905 | 1880 |
| 1906 String toURL(); | 1881 String toURL(); |
| 1907 } | 1882 } |
| 1908 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1883 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 1909 // for details. All rights reserved. Use of this source code is governed by a | 1884 // for details. All rights reserved. Use of this source code is governed by a |
| 1910 // BSD-style license that can be found in the LICENSE file. | 1885 // BSD-style license that can be found in the LICENSE file. |
| 1911 | 1886 |
| 1912 // WARNING: Do not edit - generated code. | 1887 // WARNING: Do not edit - generated code. |
| 1913 | 1888 |
| 1914 interface EntryArray { | 1889 interface EntryArray { |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2140 bool handleEvent(File file); | 2115 bool handleEvent(File file); |
| 2141 } | 2116 } |
| 2142 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 2117 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2143 // for details. All rights reserved. Use of this source code is governed by a | 2118 // for details. All rights reserved. Use of this source code is governed by a |
| 2144 // BSD-style license that can be found in the LICENSE file. | 2119 // BSD-style license that can be found in the LICENSE file. |
| 2145 | 2120 |
| 2146 // WARNING: Do not edit - generated code. | 2121 // WARNING: Do not edit - generated code. |
| 2147 | 2122 |
| 2148 interface FileEntry extends Entry { | 2123 interface FileEntry extends Entry { |
| 2149 | 2124 |
| 2150 void createWriter(FileWriterCallback successCallback, ErrorCallback errorCallb
ack); | 2125 void createWriter(FileWriterCallback successCallback, [ErrorCallback errorCall
back]); |
| 2151 | 2126 |
| 2152 void file(FileCallback successCallback, ErrorCallback errorCallback); | 2127 void file(FileCallback successCallback, [ErrorCallback errorCallback]); |
| 2153 } | 2128 } |
| 2154 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 2129 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2155 // for details. All rights reserved. Use of this source code is governed by a | 2130 // for details. All rights reserved. Use of this source code is governed by a |
| 2156 // BSD-style license that can be found in the LICENSE file. | 2131 // BSD-style license that can be found in the LICENSE file. |
| 2157 | 2132 |
| 2158 // WARNING: Do not edit - generated code. | 2133 // WARNING: Do not edit - generated code. |
| 2159 | 2134 |
| 2160 interface FileEntrySync extends EntrySync { | 2135 interface FileEntrySync extends EntrySync { |
| 2161 | 2136 |
| 2162 FileWriterSync createWriter(); | 2137 FileWriterSync createWriter(); |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2246 int get length(); | 2221 int get length(); |
| 2247 | 2222 |
| 2248 File item(int index); | 2223 File item(int index); |
| 2249 } | 2224 } |
| 2250 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 2225 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2251 // for details. All rights reserved. Use of this source code is governed by a | 2226 // for details. All rights reserved. Use of this source code is governed by a |
| 2252 // BSD-style license that can be found in the LICENSE file. | 2227 // BSD-style license that can be found in the LICENSE file. |
| 2253 | 2228 |
| 2254 // WARNING: Do not edit - generated code. | 2229 // WARNING: Do not edit - generated code. |
| 2255 | 2230 |
| 2256 interface FileReader { | 2231 interface FileReader factory _FileReaderFactoryProvider { |
| 2232 |
| 2233 FileReader(); |
| 2257 | 2234 |
| 2258 static final int DONE = 2; | 2235 static final int DONE = 2; |
| 2259 | 2236 |
| 2260 static final int EMPTY = 0; | 2237 static final int EMPTY = 0; |
| 2261 | 2238 |
| 2262 static final int LOADING = 1; | 2239 static final int LOADING = 1; |
| 2263 | 2240 |
| 2264 FileError get error(); | 2241 FileError get error(); |
| 2265 | 2242 |
| 2266 EventListener get onabort(); | 2243 EventListener get onabort(); |
| (...skipping 25 matching lines...) Expand all Loading... |
| 2292 String get result(); | 2269 String get result(); |
| 2293 | 2270 |
| 2294 void abort(); | 2271 void abort(); |
| 2295 | 2272 |
| 2296 void readAsArrayBuffer(Blob blob); | 2273 void readAsArrayBuffer(Blob blob); |
| 2297 | 2274 |
| 2298 void readAsBinaryString(Blob blob); | 2275 void readAsBinaryString(Blob blob); |
| 2299 | 2276 |
| 2300 void readAsDataURL(Blob blob); | 2277 void readAsDataURL(Blob blob); |
| 2301 | 2278 |
| 2302 void readAsText(Blob blob, String encoding); | 2279 void readAsText(Blob blob, [String encoding]); |
| 2303 } | 2280 } |
| 2304 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 2281 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2305 // for details. All rights reserved. Use of this source code is governed by a | 2282 // for details. All rights reserved. Use of this source code is governed by a |
| 2306 // BSD-style license that can be found in the LICENSE file. | 2283 // BSD-style license that can be found in the LICENSE file. |
| 2307 | 2284 |
| 2308 // WARNING: Do not edit - generated code. | 2285 // WARNING: Do not edit - generated code. |
| 2309 | 2286 |
| 2310 interface FileReaderSync { | 2287 interface FileReaderSync { |
| 2311 | 2288 |
| 2312 ArrayBuffer readAsArrayBuffer(Blob blob); | 2289 ArrayBuffer readAsArrayBuffer(Blob blob); |
| 2313 | 2290 |
| 2314 String readAsBinaryString(Blob blob); | 2291 String readAsBinaryString(Blob blob); |
| 2315 | 2292 |
| 2316 String readAsDataURL(Blob blob); | 2293 String readAsDataURL(Blob blob); |
| 2317 | 2294 |
| 2318 String readAsText(Blob blob, String encoding); | 2295 String readAsText(Blob blob, [String encoding]); |
| 2319 } | 2296 } |
| 2320 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 2297 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2321 // for details. All rights reserved. Use of this source code is governed by a | 2298 // for details. All rights reserved. Use of this source code is governed by a |
| 2322 // BSD-style license that can be found in the LICENSE file. | 2299 // BSD-style license that can be found in the LICENSE file. |
| 2323 | 2300 |
| 2324 // WARNING: Do not edit - generated code. | 2301 // WARNING: Do not edit - generated code. |
| 2325 | 2302 |
| 2326 interface FileSystemCallback { | 2303 interface FileSystemCallback { |
| 2327 | 2304 |
| 2328 bool handleEvent(DOMFileSystem fileSystem); | 2305 bool handleEvent(DOMFileSystem fileSystem); |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2430 // BSD-style license that can be found in the LICENSE file. | 2407 // BSD-style license that can be found in the LICENSE file. |
| 2431 | 2408 |
| 2432 // WARNING: Do not edit - generated code. | 2409 // WARNING: Do not edit - generated code. |
| 2433 | 2410 |
| 2434 interface Float32Array extends ArrayBufferView { | 2411 interface Float32Array extends ArrayBufferView { |
| 2435 | 2412 |
| 2436 static final int BYTES_PER_ELEMENT = 4; | 2413 static final int BYTES_PER_ELEMENT = 4; |
| 2437 | 2414 |
| 2438 int get length(); | 2415 int get length(); |
| 2439 | 2416 |
| 2440 Float32Array subarray(int start, int end); | 2417 Float32Array subarray(int start, [int end]); |
| 2441 } | 2418 } |
| 2442 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 2419 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2443 // for details. All rights reserved. Use of this source code is governed by a | 2420 // for details. All rights reserved. Use of this source code is governed by a |
| 2444 // BSD-style license that can be found in the LICENSE file. | 2421 // BSD-style license that can be found in the LICENSE file. |
| 2445 | 2422 |
| 2446 // WARNING: Do not edit - generated code. | 2423 // WARNING: Do not edit - generated code. |
| 2447 | 2424 |
| 2448 interface Float64Array extends ArrayBufferView { | 2425 interface Float64Array extends ArrayBufferView { |
| 2449 | 2426 |
| 2450 static final int BYTES_PER_ELEMENT = 8; | 2427 static final int BYTES_PER_ELEMENT = 8; |
| 2451 | 2428 |
| 2452 int get length(); | 2429 int get length(); |
| 2453 | 2430 |
| 2454 Float64Array subarray(int start, int end); | 2431 Float64Array subarray(int start, [int end]); |
| 2455 } | 2432 } |
| 2456 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 2433 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2457 // for details. All rights reserved. Use of this source code is governed by a | 2434 // for details. All rights reserved. Use of this source code is governed by a |
| 2458 // BSD-style license that can be found in the LICENSE file. | 2435 // BSD-style license that can be found in the LICENSE file. |
| 2459 | 2436 |
| 2460 // WARNING: Do not edit - generated code. | 2437 // WARNING: Do not edit - generated code. |
| 2461 | 2438 |
| 2462 interface FontElement extends Element { | 2439 interface FontElement extends Element { |
| 2463 | 2440 |
| 2464 String get color(); | 2441 String get color(); |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2528 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 2505 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2529 // for details. All rights reserved. Use of this source code is governed by a | 2506 // for details. All rights reserved. Use of this source code is governed by a |
| 2530 // BSD-style license that can be found in the LICENSE file. | 2507 // BSD-style license that can be found in the LICENSE file. |
| 2531 | 2508 |
| 2532 // WARNING: Do not edit - generated code. | 2509 // WARNING: Do not edit - generated code. |
| 2533 | 2510 |
| 2534 interface Geolocation { | 2511 interface Geolocation { |
| 2535 | 2512 |
| 2536 void clearWatch(int watchId); | 2513 void clearWatch(int watchId); |
| 2537 | 2514 |
| 2538 void getCurrentPosition(PositionCallback successCallback, PositionErrorCallbac
k errorCallback); | 2515 void getCurrentPosition(PositionCallback successCallback, [PositionErrorCallba
ck errorCallback]); |
| 2539 | 2516 |
| 2540 int watchPosition(PositionCallback successCallback, PositionErrorCallback erro
rCallback); | 2517 int watchPosition(PositionCallback successCallback, [PositionErrorCallback err
orCallback]); |
| 2541 } | 2518 } |
| 2542 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 2519 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2543 // for details. All rights reserved. Use of this source code is governed by a | 2520 // for details. All rights reserved. Use of this source code is governed by a |
| 2544 // BSD-style license that can be found in the LICENSE file. | 2521 // BSD-style license that can be found in the LICENSE file. |
| 2545 | 2522 |
| 2546 // WARNING: Do not edit - generated code. | 2523 // WARNING: Do not edit - generated code. |
| 2547 | 2524 |
| 2548 interface Geoposition { | 2525 interface Geoposition { |
| 2549 | 2526 |
| 2550 Coordinates get coords(); | 2527 Coordinates get coords(); |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2638 interface History { | 2615 interface History { |
| 2639 | 2616 |
| 2640 int get length(); | 2617 int get length(); |
| 2641 | 2618 |
| 2642 void back(); | 2619 void back(); |
| 2643 | 2620 |
| 2644 void forward(); | 2621 void forward(); |
| 2645 | 2622 |
| 2646 void go(int distance); | 2623 void go(int distance); |
| 2647 | 2624 |
| 2648 void pushState(Object data, String title, String url); | 2625 void pushState(Object data, String title, [String url]); |
| 2649 | 2626 |
| 2650 void replaceState(Object data, String title, String url); | 2627 void replaceState(Object data, String title, [String url]); |
| 2651 } | 2628 } |
| 2652 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 2629 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2653 // for details. All rights reserved. Use of this source code is governed by a | 2630 // for details. All rights reserved. Use of this source code is governed by a |
| 2654 // BSD-style license that can be found in the LICENSE file. | 2631 // BSD-style license that can be found in the LICENSE file. |
| 2655 | 2632 |
| 2656 // WARNING: Do not edit - generated code. | 2633 // WARNING: Do not edit - generated code. |
| 2657 | 2634 |
| 2658 interface HtmlElement extends Element { | 2635 interface HtmlElement extends Element { |
| 2659 | 2636 |
| 2660 String get manifest(); | 2637 String get manifest(); |
| (...skipping 29 matching lines...) Expand all Loading... |
| 2690 static final int PREV_NO_DUPLICATE = 3; | 2667 static final int PREV_NO_DUPLICATE = 3; |
| 2691 | 2668 |
| 2692 int get direction(); | 2669 int get direction(); |
| 2693 | 2670 |
| 2694 IDBKey get key(); | 2671 IDBKey get key(); |
| 2695 | 2672 |
| 2696 IDBKey get primaryKey(); | 2673 IDBKey get primaryKey(); |
| 2697 | 2674 |
| 2698 IDBAny get source(); | 2675 IDBAny get source(); |
| 2699 | 2676 |
| 2677 void continueFunction([IDBKey key]); |
| 2678 |
| 2700 IDBRequest delete(); | 2679 IDBRequest delete(); |
| 2701 | 2680 |
| 2702 IDBRequest update(String value); | 2681 IDBRequest update(String value); |
| 2703 } | 2682 } |
| 2704 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 2683 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2705 // for details. All rights reserved. Use of this source code is governed by a | 2684 // for details. All rights reserved. Use of this source code is governed by a |
| 2706 // BSD-style license that can be found in the LICENSE file. | 2685 // BSD-style license that can be found in the LICENSE file. |
| 2707 | 2686 |
| 2708 // WARNING: Do not edit - generated code. | 2687 // WARNING: Do not edit - generated code. |
| 2709 | 2688 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 2728 EventListener get onerror(); | 2707 EventListener get onerror(); |
| 2729 | 2708 |
| 2730 void set onerror(EventListener value); | 2709 void set onerror(EventListener value); |
| 2731 | 2710 |
| 2732 EventListener get onversionchange(); | 2711 EventListener get onversionchange(); |
| 2733 | 2712 |
| 2734 void set onversionchange(EventListener value); | 2713 void set onversionchange(EventListener value); |
| 2735 | 2714 |
| 2736 String get version(); | 2715 String get version(); |
| 2737 | 2716 |
| 2738 void addEventListener(String type, EventListener listener, bool useCapture); | 2717 void addEventListener(String type, EventListener listener, [bool useCapture]); |
| 2739 | 2718 |
| 2740 void close(); | 2719 void close(); |
| 2741 | 2720 |
| 2742 IDBObjectStore createObjectStore(String name); | 2721 IDBObjectStore createObjectStore(String name); |
| 2743 | 2722 |
| 2744 void deleteObjectStore(String name); | 2723 void deleteObjectStore(String name); |
| 2745 | 2724 |
| 2746 bool dispatchEvent(Event evt); | 2725 bool dispatchEvent(Event evt); |
| 2747 | 2726 |
| 2748 void removeEventListener(String type, EventListener listener, bool useCapture)
; | 2727 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
| 2749 | 2728 |
| 2750 IDBVersionChangeRequest setVersion(String version); | 2729 IDBVersionChangeRequest setVersion(String version); |
| 2751 } | 2730 } |
| 2752 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 2731 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2753 // for details. All rights reserved. Use of this source code is governed by a | 2732 // for details. All rights reserved. Use of this source code is governed by a |
| 2754 // BSD-style license that can be found in the LICENSE file. | 2733 // BSD-style license that can be found in the LICENSE file. |
| 2755 | 2734 |
| 2756 // WARNING: Do not edit - generated code. | 2735 // WARNING: Do not edit - generated code. |
| 2757 | 2736 |
| 2758 interface IDBDatabaseError { | 2737 interface IDBDatabaseError { |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2808 String get name(); | 2787 String get name(); |
| 2809 } | 2788 } |
| 2810 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 2789 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2811 // for details. All rights reserved. Use of this source code is governed by a | 2790 // for details. All rights reserved. Use of this source code is governed by a |
| 2812 // BSD-style license that can be found in the LICENSE file. | 2791 // BSD-style license that can be found in the LICENSE file. |
| 2813 | 2792 |
| 2814 // WARNING: Do not edit - generated code. | 2793 // WARNING: Do not edit - generated code. |
| 2815 | 2794 |
| 2816 interface IDBFactory { | 2795 interface IDBFactory { |
| 2817 | 2796 |
| 2797 IDBRequest getDatabaseNames(); |
| 2798 |
| 2818 IDBRequest open(String name); | 2799 IDBRequest open(String name); |
| 2819 } | 2800 } |
| 2820 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 2801 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2821 // for details. All rights reserved. Use of this source code is governed by a | 2802 // for details. All rights reserved. Use of this source code is governed by a |
| 2822 // BSD-style license that can be found in the LICENSE file. | 2803 // BSD-style license that can be found in the LICENSE file. |
| 2823 | 2804 |
| 2824 // WARNING: Do not edit - generated code. | 2805 // WARNING: Do not edit - generated code. |
| 2825 | 2806 |
| 2826 interface IDBIndex { | 2807 interface IDBIndex { |
| 2827 | 2808 |
| 2828 String get keyPath(); | 2809 String get keyPath(); |
| 2829 | 2810 |
| 2830 String get name(); | 2811 String get name(); |
| 2831 | 2812 |
| 2832 IDBObjectStore get objectStore(); | 2813 IDBObjectStore get objectStore(); |
| 2833 | 2814 |
| 2834 bool get unique(); | 2815 bool get unique(); |
| 2835 | 2816 |
| 2817 IDBRequest getObject(IDBKey key); |
| 2818 |
| 2836 IDBRequest getKey(IDBKey key); | 2819 IDBRequest getKey(IDBKey key); |
| 2837 | 2820 |
| 2838 IDBRequest openCursor(IDBKeyRange range, int direction); | 2821 IDBRequest openCursor([IDBKeyRange range, int direction]); |
| 2839 | 2822 |
| 2840 IDBRequest openKeyCursor(IDBKeyRange range, int direction); | 2823 IDBRequest openKeyCursor([IDBKeyRange range, int direction]); |
| 2841 } | 2824 } |
| 2842 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 2825 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2843 // for details. All rights reserved. Use of this source code is governed by a | 2826 // for details. All rights reserved. Use of this source code is governed by a |
| 2844 // BSD-style license that can be found in the LICENSE file. | 2827 // BSD-style license that can be found in the LICENSE file. |
| 2845 | 2828 |
| 2846 // WARNING: Do not edit - generated code. | 2829 // WARNING: Do not edit - generated code. |
| 2847 | 2830 |
| 2848 interface IDBKey { | 2831 interface IDBKey { |
| 2849 } | 2832 } |
| 2850 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 2833 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2851 // for details. All rights reserved. Use of this source code is governed by a | 2834 // for details. All rights reserved. Use of this source code is governed by a |
| 2852 // BSD-style license that can be found in the LICENSE file. | 2835 // BSD-style license that can be found in the LICENSE file. |
| 2853 | 2836 |
| 2854 // WARNING: Do not edit - generated code. | 2837 // WARNING: Do not edit - generated code. |
| 2855 | 2838 |
| 2856 interface IDBKeyRange { | 2839 interface IDBKeyRange { |
| 2857 | 2840 |
| 2858 IDBKey get lower(); | 2841 IDBKey get lower(); |
| 2859 | 2842 |
| 2860 bool get lowerOpen(); | 2843 bool get lowerOpen(); |
| 2861 | 2844 |
| 2862 IDBKey get upper(); | 2845 IDBKey get upper(); |
| 2863 | 2846 |
| 2864 bool get upperOpen(); | 2847 bool get upperOpen(); |
| 2865 | 2848 |
| 2866 IDBKeyRange bound(IDBKey lower, IDBKey upper, bool lowerOpen, bool upperOpen); | 2849 IDBKeyRange bound(IDBKey lower, IDBKey upper, [bool lowerOpen, bool upperOpen]
); |
| 2867 | 2850 |
| 2868 IDBKeyRange lowerBound(IDBKey bound, bool open); | 2851 IDBKeyRange lowerBound(IDBKey bound, [bool open]); |
| 2869 | 2852 |
| 2870 IDBKeyRange only(IDBKey value); | 2853 IDBKeyRange only(IDBKey value); |
| 2871 | 2854 |
| 2872 IDBKeyRange upperBound(IDBKey bound, bool open); | 2855 IDBKeyRange upperBound(IDBKey bound, [bool open]); |
| 2873 } | 2856 } |
| 2874 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 2857 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2875 // for details. All rights reserved. Use of this source code is governed by a | 2858 // for details. All rights reserved. Use of this source code is governed by a |
| 2876 // BSD-style license that can be found in the LICENSE file. | 2859 // BSD-style license that can be found in the LICENSE file. |
| 2877 | 2860 |
| 2878 // WARNING: Do not edit - generated code. | 2861 // WARNING: Do not edit - generated code. |
| 2879 | 2862 |
| 2880 interface IDBObjectStore { | 2863 interface IDBObjectStore { |
| 2881 | 2864 |
| 2882 String get keyPath(); | 2865 String get keyPath(); |
| 2883 | 2866 |
| 2884 String get name(); | 2867 String get name(); |
| 2885 | 2868 |
| 2886 IDBRequest add(String value, IDBKey key); | 2869 IDBRequest add(String value, [IDBKey key]); |
| 2887 | 2870 |
| 2888 IDBRequest clear(); | 2871 IDBRequest clear(); |
| 2889 | 2872 |
| 2890 IDBIndex createIndex(String name, String keyPath); | 2873 IDBIndex createIndex(String name, String keyPath); |
| 2891 | 2874 |
| 2892 IDBRequest delete(IDBKey key); | 2875 IDBRequest delete(IDBKey key); |
| 2893 | 2876 |
| 2894 void deleteIndex(String name); | 2877 void deleteIndex(String name); |
| 2895 | 2878 |
| 2879 IDBRequest getObject(IDBKey key); |
| 2880 |
| 2896 IDBIndex index(String name); | 2881 IDBIndex index(String name); |
| 2897 | 2882 |
| 2898 IDBRequest openCursor(IDBKeyRange range, int direction); | 2883 IDBRequest openCursor([IDBKeyRange range, int direction]); |
| 2899 | 2884 |
| 2900 IDBRequest put(String value, IDBKey key); | 2885 IDBRequest put(String value, [IDBKey key]); |
| 2901 } | 2886 } |
| 2902 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 2887 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2903 // for details. All rights reserved. Use of this source code is governed by a | 2888 // for details. All rights reserved. Use of this source code is governed by a |
| 2904 // BSD-style license that can be found in the LICENSE file. | 2889 // BSD-style license that can be found in the LICENSE file. |
| 2905 | 2890 |
| 2906 // WARNING: Do not edit - generated code. | 2891 // WARNING: Do not edit - generated code. |
| 2907 | 2892 |
| 2908 interface IDBRequest { | 2893 interface IDBRequest { |
| 2909 | 2894 |
| 2910 static final int DONE = 2; | 2895 static final int DONE = 2; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 2924 int get readyState(); | 2909 int get readyState(); |
| 2925 | 2910 |
| 2926 IDBAny get result(); | 2911 IDBAny get result(); |
| 2927 | 2912 |
| 2928 IDBAny get source(); | 2913 IDBAny get source(); |
| 2929 | 2914 |
| 2930 IDBTransaction get transaction(); | 2915 IDBTransaction get transaction(); |
| 2931 | 2916 |
| 2932 String get webkitErrorMessage(); | 2917 String get webkitErrorMessage(); |
| 2933 | 2918 |
| 2934 void addEventListener(String type, EventListener listener, bool useCapture); | 2919 void addEventListener(String type, EventListener listener, [bool useCapture]); |
| 2935 | 2920 |
| 2936 bool dispatchEvent(Event evt); | 2921 bool dispatchEvent(Event evt); |
| 2937 | 2922 |
| 2938 void removeEventListener(String type, EventListener listener, bool useCapture)
; | 2923 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
| 2939 } | 2924 } |
| 2940 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 2925 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2941 // for details. All rights reserved. Use of this source code is governed by a | 2926 // for details. All rights reserved. Use of this source code is governed by a |
| 2942 // BSD-style license that can be found in the LICENSE file. | 2927 // BSD-style license that can be found in the LICENSE file. |
| 2943 | 2928 |
| 2944 // WARNING: Do not edit - generated code. | 2929 // WARNING: Do not edit - generated code. |
| 2945 | 2930 |
| 2946 interface IDBTransaction { | 2931 interface IDBTransaction { |
| 2947 | 2932 |
| 2948 static final int READ_ONLY = 0; | 2933 static final int READ_ONLY = 0; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 2962 EventListener get oncomplete(); | 2947 EventListener get oncomplete(); |
| 2963 | 2948 |
| 2964 void set oncomplete(EventListener value); | 2949 void set oncomplete(EventListener value); |
| 2965 | 2950 |
| 2966 EventListener get onerror(); | 2951 EventListener get onerror(); |
| 2967 | 2952 |
| 2968 void set onerror(EventListener value); | 2953 void set onerror(EventListener value); |
| 2969 | 2954 |
| 2970 void abort(); | 2955 void abort(); |
| 2971 | 2956 |
| 2972 void addEventListener(String type, EventListener listener, bool useCapture); | 2957 void addEventListener(String type, EventListener listener, [bool useCapture]); |
| 2973 | 2958 |
| 2974 bool dispatchEvent(Event evt); | 2959 bool dispatchEvent(Event evt); |
| 2975 | 2960 |
| 2976 IDBObjectStore objectStore(String name); | 2961 IDBObjectStore objectStore(String name); |
| 2977 | 2962 |
| 2978 void removeEventListener(String type, EventListener listener, bool useCapture)
; | 2963 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
| 2979 } | 2964 } |
| 2980 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 2965 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2981 // for details. All rights reserved. Use of this source code is governed by a | 2966 // for details. All rights reserved. Use of this source code is governed by a |
| 2982 // BSD-style license that can be found in the LICENSE file. | 2967 // BSD-style license that can be found in the LICENSE file. |
| 2983 | 2968 |
| 2984 // WARNING: Do not edit - generated code. | 2969 // WARNING: Do not edit - generated code. |
| 2985 | 2970 |
| 2986 interface IDBVersionChangeEvent extends Event { | 2971 interface IDBVersionChangeEvent extends Event { |
| 2987 | 2972 |
| 2988 String get version(); | 2973 String get version(); |
| (...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3332 bool get willValidate(); | 3317 bool get willValidate(); |
| 3333 | 3318 |
| 3334 bool checkValidity(); | 3319 bool checkValidity(); |
| 3335 | 3320 |
| 3336 void click(); | 3321 void click(); |
| 3337 | 3322 |
| 3338 void select(); | 3323 void select(); |
| 3339 | 3324 |
| 3340 void setCustomValidity(String error); | 3325 void setCustomValidity(String error); |
| 3341 | 3326 |
| 3342 void setSelectionRange([int start, int end, String direction]); | 3327 void setSelectionRange(int start, int end, [String direction]); |
| 3343 | 3328 |
| 3344 void setValueForUser(String value); | 3329 void setValueForUser(String value); |
| 3345 | 3330 |
| 3346 void stepDown([int n]); | 3331 void stepDown([int n]); |
| 3347 | 3332 |
| 3348 void stepUp([int n]); | 3333 void stepUp([int n]); |
| 3349 } | 3334 } |
| 3350 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 3335 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 3351 // for details. All rights reserved. Use of this source code is governed by a | 3336 // for details. All rights reserved. Use of this source code is governed by a |
| 3352 // BSD-style license that can be found in the LICENSE file. | 3337 // BSD-style license that can be found in the LICENSE file. |
| 3353 | 3338 |
| 3354 // WARNING: Do not edit - generated code. | 3339 // WARNING: Do not edit - generated code. |
| 3355 | 3340 |
| 3356 interface Int16Array extends ArrayBufferView { | 3341 interface Int16Array extends ArrayBufferView { |
| 3357 | 3342 |
| 3358 static final int BYTES_PER_ELEMENT = 2; | 3343 static final int BYTES_PER_ELEMENT = 2; |
| 3359 | 3344 |
| 3360 int get length(); | 3345 int get length(); |
| 3361 | 3346 |
| 3362 Int16Array subarray(int start, int end); | 3347 Int16Array subarray(int start, [int end]); |
| 3363 } | 3348 } |
| 3364 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 3349 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 3365 // for details. All rights reserved. Use of this source code is governed by a | 3350 // for details. All rights reserved. Use of this source code is governed by a |
| 3366 // BSD-style license that can be found in the LICENSE file. | 3351 // BSD-style license that can be found in the LICENSE file. |
| 3367 | 3352 |
| 3368 // WARNING: Do not edit - generated code. | 3353 // WARNING: Do not edit - generated code. |
| 3369 | 3354 |
| 3370 interface Int32Array extends ArrayBufferView { | 3355 interface Int32Array extends ArrayBufferView { |
| 3371 | 3356 |
| 3372 static final int BYTES_PER_ELEMENT = 4; | 3357 static final int BYTES_PER_ELEMENT = 4; |
| 3373 | 3358 |
| 3374 int get length(); | 3359 int get length(); |
| 3375 | 3360 |
| 3376 Int32Array subarray(int start, int end); | 3361 Int32Array subarray(int start, [int end]); |
| 3377 } | 3362 } |
| 3378 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 3363 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 3379 // for details. All rights reserved. Use of this source code is governed by a | 3364 // for details. All rights reserved. Use of this source code is governed by a |
| 3380 // BSD-style license that can be found in the LICENSE file. | 3365 // BSD-style license that can be found in the LICENSE file. |
| 3381 | 3366 |
| 3382 // WARNING: Do not edit - generated code. | 3367 // WARNING: Do not edit - generated code. |
| 3383 | 3368 |
| 3384 interface Int8Array extends ArrayBufferView { | 3369 interface Int8Array extends ArrayBufferView { |
| 3385 | 3370 |
| 3386 static final int BYTES_PER_ELEMENT = 1; | 3371 static final int BYTES_PER_ELEMENT = 1; |
| 3387 | 3372 |
| 3388 int get length(); | 3373 int get length(); |
| 3389 | 3374 |
| 3390 Int8Array subarray(int start, int end); | 3375 Int8Array subarray(int start, [int end]); |
| 3391 } | 3376 } |
| 3392 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 3377 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 3393 // for details. All rights reserved. Use of this source code is governed by a | 3378 // for details. All rights reserved. Use of this source code is governed by a |
| 3394 // BSD-style license that can be found in the LICENSE file. | 3379 // BSD-style license that can be found in the LICENSE file. |
| 3395 | 3380 |
| 3396 // WARNING: Do not edit - generated code. | 3381 // WARNING: Do not edit - generated code. |
| 3397 | 3382 |
| 3398 interface KeyboardEvent extends UIEvent { | 3383 interface KeyboardEvent extends UIEvent { |
| 3399 | 3384 |
| 3400 static final int KEY_LOCATION_LEFT = 0x01; | 3385 static final int KEY_LOCATION_LEFT = 0x01; |
| (...skipping 655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4056 void set align(String value); | 4041 void set align(String value); |
| 4057 | 4042 |
| 4058 FormElement get form(); | 4043 FormElement get form(); |
| 4059 } | 4044 } |
| 4060 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 4045 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 4061 // for details. All rights reserved. Use of this source code is governed by a | 4046 // for details. All rights reserved. Use of this source code is governed by a |
| 4062 // BSD-style license that can be found in the LICENSE file. | 4047 // BSD-style license that can be found in the LICENSE file. |
| 4063 | 4048 |
| 4064 // WARNING: Do not edit - generated code. | 4049 // WARNING: Do not edit - generated code. |
| 4065 | 4050 |
| 4066 interface LinkElement extends Element /*, common.LinkStyle */ { | 4051 interface LinkElement extends Element { |
| 4067 | 4052 |
| 4068 String get charset(); | 4053 String get charset(); |
| 4069 | 4054 |
| 4070 void set charset(String value); | 4055 void set charset(String value); |
| 4071 | 4056 |
| 4072 bool get disabled(); | 4057 bool get disabled(); |
| 4073 | 4058 |
| 4074 void set disabled(bool value); | 4059 void set disabled(bool value); |
| 4075 | 4060 |
| 4076 String get href(); | 4061 String get href(); |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4280 bool get controls(); | 4265 bool get controls(); |
| 4281 | 4266 |
| 4282 void set controls(bool value); | 4267 void set controls(bool value); |
| 4283 | 4268 |
| 4284 String get currentSrc(); | 4269 String get currentSrc(); |
| 4285 | 4270 |
| 4286 num get currentTime(); | 4271 num get currentTime(); |
| 4287 | 4272 |
| 4288 void set currentTime(num value); | 4273 void set currentTime(num value); |
| 4289 | 4274 |
| 4275 bool get defaultMuted(); |
| 4276 |
| 4277 void set defaultMuted(bool value); |
| 4278 |
| 4290 num get defaultPlaybackRate(); | 4279 num get defaultPlaybackRate(); |
| 4291 | 4280 |
| 4292 void set defaultPlaybackRate(num value); | 4281 void set defaultPlaybackRate(num value); |
| 4293 | 4282 |
| 4294 num get duration(); | 4283 num get duration(); |
| 4295 | 4284 |
| 4296 bool get ended(); | 4285 bool get ended(); |
| 4297 | 4286 |
| 4298 MediaError get error(); | 4287 MediaError get error(); |
| 4299 | 4288 |
| 4289 num get initialTime(); |
| 4290 |
| 4300 bool get loop(); | 4291 bool get loop(); |
| 4301 | 4292 |
| 4302 void set loop(bool value); | 4293 void set loop(bool value); |
| 4303 | 4294 |
| 4304 bool get muted(); | 4295 bool get muted(); |
| 4305 | 4296 |
| 4306 void set muted(bool value); | 4297 void set muted(bool value); |
| 4307 | 4298 |
| 4308 int get networkState(); | 4299 int get networkState(); |
| 4309 | 4300 |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4436 String get label(); | 4427 String get label(); |
| 4437 | 4428 |
| 4438 EventListener get onended(); | 4429 EventListener get onended(); |
| 4439 | 4430 |
| 4440 void set onended(EventListener value); | 4431 void set onended(EventListener value); |
| 4441 | 4432 |
| 4442 int get readyState(); | 4433 int get readyState(); |
| 4443 | 4434 |
| 4444 MediaStreamTrackList get tracks(); | 4435 MediaStreamTrackList get tracks(); |
| 4445 | 4436 |
| 4446 void addEventListener(String type, EventListener listener, bool useCapture); | 4437 void addEventListener(String type, EventListener listener, [bool useCapture]); |
| 4447 | 4438 |
| 4448 bool dispatchEvent(Event event); | 4439 bool dispatchEvent(Event event); |
| 4449 | 4440 |
| 4450 void removeEventListener(String type, EventListener listener, bool useCapture)
; | 4441 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
| 4451 } | 4442 } |
| 4452 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 4443 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 4453 // for details. All rights reserved. Use of this source code is governed by a | 4444 // for details. All rights reserved. Use of this source code is governed by a |
| 4454 // BSD-style license that can be found in the LICENSE file. | 4445 // BSD-style license that can be found in the LICENSE file. |
| 4455 | 4446 |
| 4456 // WARNING: Do not edit - generated code. | 4447 // WARNING: Do not edit - generated code. |
| 4457 | 4448 |
| 4458 interface MediaStreamList { | 4449 interface MediaStreamList { |
| 4459 | 4450 |
| 4460 int get length(); | 4451 int get length(); |
| (...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4696 Node get relatedNode(); | 4687 Node get relatedNode(); |
| 4697 | 4688 |
| 4698 void initMutationEvent(String type, bool canBubble, bool cancelable, Node rela
tedNode, String prevValue, String newValue, String attrName, int attrChange); | 4689 void initMutationEvent(String type, bool canBubble, bool cancelable, Node rela
tedNode, String prevValue, String newValue, String attrName, int attrChange); |
| 4699 } | 4690 } |
| 4700 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 4691 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 4701 // for details. All rights reserved. Use of this source code is governed by a | 4692 // for details. All rights reserved. Use of this source code is governed by a |
| 4702 // BSD-style license that can be found in the LICENSE file. | 4693 // BSD-style license that can be found in the LICENSE file. |
| 4703 | 4694 |
| 4704 // WARNING: Do not edit - generated code. | 4695 // WARNING: Do not edit - generated code. |
| 4705 | 4696 |
| 4697 interface MutationRecord { |
| 4698 |
| 4699 ElementList get addedNodes(); |
| 4700 |
| 4701 String get attributeName(); |
| 4702 |
| 4703 String get attributeNamespace(); |
| 4704 |
| 4705 Node get nextSibling(); |
| 4706 |
| 4707 String get oldValue(); |
| 4708 |
| 4709 Node get previousSibling(); |
| 4710 |
| 4711 ElementList get removedNodes(); |
| 4712 |
| 4713 Node get target(); |
| 4714 |
| 4715 String get type(); |
| 4716 } |
| 4717 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 4718 // for details. All rights reserved. Use of this source code is governed by a |
| 4719 // BSD-style license that can be found in the LICENSE file. |
| 4720 |
| 4721 // WARNING: Do not edit - generated code. |
| 4722 |
| 4706 interface Navigator { | 4723 interface Navigator { |
| 4707 | 4724 |
| 4708 String get appCodeName(); | 4725 String get appCodeName(); |
| 4709 | 4726 |
| 4710 String get appName(); | 4727 String get appName(); |
| 4711 | 4728 |
| 4712 String get appVersion(); | 4729 String get appVersion(); |
| 4713 | 4730 |
| 4714 bool get cookieEnabled(); | 4731 bool get cookieEnabled(); |
| 4715 | 4732 |
| (...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5114 String get valueType(); | 5131 String get valueType(); |
| 5115 | 5132 |
| 5116 void set valueType(String value); | 5133 void set valueType(String value); |
| 5117 } | 5134 } |
| 5118 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 5135 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 5119 // for details. All rights reserved. Use of this source code is governed by a | 5136 // for details. All rights reserved. Use of this source code is governed by a |
| 5120 // BSD-style license that can be found in the LICENSE file. | 5137 // BSD-style license that can be found in the LICENSE file. |
| 5121 | 5138 |
| 5122 // WARNING: Do not edit - generated code. | 5139 // WARNING: Do not edit - generated code. |
| 5123 | 5140 |
| 5124 interface Point factory PointWrappingImplementation { | 5141 interface Point factory _PointFactoryProvider { |
| 5142 |
| 5125 Point(num x, num y); | 5143 Point(num x, num y); |
| 5126 | 5144 |
| 5127 num get x(); | 5145 num get x(); |
| 5128 | 5146 |
| 5129 void set x(num value); | 5147 void set x(num value); |
| 5130 | 5148 |
| 5131 num get y(); | 5149 num get y(); |
| 5132 | 5150 |
| 5133 void set y(num value); | 5151 void set y(num value); |
| 5134 } | 5152 } |
| 5135 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 5153 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 5136 // for details. All rights reserved. Use of this source code is governed by a | 5154 // for details. All rights reserved. Use of this source code is governed by a |
| 5137 // BSD-style license that can be found in the LICENSE file. | 5155 // BSD-style license that can be found in the LICENSE file. |
| 5138 | 5156 |
| 5139 // WARNING: Do not edit - generated code. | 5157 // WARNING: Do not edit - generated code. |
| 5140 | 5158 |
| 5141 interface PopStateEvent extends Event { | 5159 interface PopStateEvent extends Event { |
| 5142 | 5160 |
| 5143 String get state(); | 5161 String get state(); |
| 5144 | 5162 |
| 5145 void initPopStateEvent(String typeArg, bool canBubbleArg, bool cancelableArg,
String stateArg); | 5163 void initPopStateEvent(String typeArg, bool canBubbleArg, bool cancelableArg,
Object stateArg); |
| 5146 } | 5164 } |
| 5147 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 5165 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 5148 // for details. All rights reserved. Use of this source code is governed by a | 5166 // for details. All rights reserved. Use of this source code is governed by a |
| 5149 // BSD-style license that can be found in the LICENSE file. | 5167 // BSD-style license that can be found in the LICENSE file. |
| 5150 | 5168 |
| 5151 // WARNING: Do not edit - generated code. | 5169 // WARNING: Do not edit - generated code. |
| 5152 | 5170 |
| 5153 interface PositionCallback { | 5171 interface PositionCallback { |
| 5154 | 5172 |
| 5155 bool handleEvent(Geoposition position); | 5173 bool handleEvent(Geoposition position); |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5197 bool get wrap(); | 5215 bool get wrap(); |
| 5198 | 5216 |
| 5199 void set wrap(bool value); | 5217 void set wrap(bool value); |
| 5200 } | 5218 } |
| 5201 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 5219 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 5202 // for details. All rights reserved. Use of this source code is governed by a | 5220 // for details. All rights reserved. Use of this source code is governed by a |
| 5203 // BSD-style license that can be found in the LICENSE file. | 5221 // BSD-style license that can be found in the LICENSE file. |
| 5204 | 5222 |
| 5205 // WARNING: Do not edit - generated code. | 5223 // WARNING: Do not edit - generated code. |
| 5206 | 5224 |
| 5207 interface ProcessingInstruction extends Node /*, common.LinkStyle */ { | 5225 interface ProcessingInstruction extends Node { |
| 5208 | 5226 |
| 5209 String get data(); | 5227 String get data(); |
| 5210 | 5228 |
| 5211 void set data(String value); | 5229 void set data(String value); |
| 5212 | 5230 |
| 5213 StyleSheet get sheet(); | 5231 StyleSheet get sheet(); |
| 5214 | 5232 |
| 5215 String get target(); | 5233 String get target(); |
| 5216 } | 5234 } |
| 5217 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 5235 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5317 int get startOffset(); | 5335 int get startOffset(); |
| 5318 | 5336 |
| 5319 String get text(); | 5337 String get text(); |
| 5320 | 5338 |
| 5321 DocumentFragment cloneContents(); | 5339 DocumentFragment cloneContents(); |
| 5322 | 5340 |
| 5323 Range cloneRange(); | 5341 Range cloneRange(); |
| 5324 | 5342 |
| 5325 void collapse(bool toStart); | 5343 void collapse(bool toStart); |
| 5326 | 5344 |
| 5327 int compareBoundaryPoints(); | |
| 5328 | |
| 5329 int compareNode(Node refNode); | 5345 int compareNode(Node refNode); |
| 5330 | 5346 |
| 5331 int comparePoint(Node refNode, int offset); | 5347 int comparePoint(Node refNode, int offset); |
| 5332 | 5348 |
| 5333 DocumentFragment createContextualFragment(String html); | 5349 DocumentFragment createContextualFragment(String html); |
| 5334 | 5350 |
| 5335 void deleteContents(); | 5351 void deleteContents(); |
| 5336 | 5352 |
| 5337 void detach(); | 5353 void detach(); |
| 5338 | 5354 |
| (...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5551 String get type(); | 5567 String get type(); |
| 5552 | 5568 |
| 5553 void set type(String value); | 5569 void set type(String value); |
| 5554 } | 5570 } |
| 5555 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 5571 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 5556 // for details. All rights reserved. Use of this source code is governed by a | 5572 // for details. All rights reserved. Use of this source code is governed by a |
| 5557 // BSD-style license that can be found in the LICENSE file. | 5573 // BSD-style license that can be found in the LICENSE file. |
| 5558 | 5574 |
| 5559 // WARNING: Do not edit - generated code. | 5575 // WARNING: Do not edit - generated code. |
| 5560 | 5576 |
| 5577 interface SpanElement extends Element { |
| 5578 } |
| 5579 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 5580 // for details. All rights reserved. Use of this source code is governed by a |
| 5581 // BSD-style license that can be found in the LICENSE file. |
| 5582 |
| 5583 // WARNING: Do not edit - generated code. |
| 5584 |
| 5561 interface SpeechInputEvent extends Event { | 5585 interface SpeechInputEvent extends Event { |
| 5562 | 5586 |
| 5563 SpeechInputResultList get results(); | 5587 SpeechInputResultList get results(); |
| 5564 } | 5588 } |
| 5565 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 5589 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 5566 // for details. All rights reserved. Use of this source code is governed by a | 5590 // for details. All rights reserved. Use of this source code is governed by a |
| 5567 // BSD-style license that can be found in the LICENSE file. | 5591 // BSD-style license that can be found in the LICENSE file. |
| 5568 | 5592 |
| 5569 // WARNING: Do not edit - generated code. | 5593 // WARNING: Do not edit - generated code. |
| 5570 | 5594 |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5631 // BSD-style license that can be found in the LICENSE file. | 5655 // BSD-style license that can be found in the LICENSE file. |
| 5632 | 5656 |
| 5633 // WARNING: Do not edit - generated code. | 5657 // WARNING: Do not edit - generated code. |
| 5634 | 5658 |
| 5635 interface StorageInfo { | 5659 interface StorageInfo { |
| 5636 | 5660 |
| 5637 static final int PERSISTENT = 1; | 5661 static final int PERSISTENT = 1; |
| 5638 | 5662 |
| 5639 static final int TEMPORARY = 0; | 5663 static final int TEMPORARY = 0; |
| 5640 | 5664 |
| 5641 void queryUsageAndQuota(int storageType, StorageInfoUsageCallback usageCallbac
k, StorageInfoErrorCallback errorCallback); | 5665 void queryUsageAndQuota(int storageType, [StorageInfoUsageCallback usageCallba
ck, StorageInfoErrorCallback errorCallback]); |
| 5642 | 5666 |
| 5643 void requestQuota(int storageType, int newQuotaInBytes, StorageInfoQuotaCallba
ck quotaCallback, StorageInfoErrorCallback errorCallback); | 5667 void requestQuota(int storageType, int newQuotaInBytes, [StorageInfoQuotaCallb
ack quotaCallback, StorageInfoErrorCallback errorCallback]); |
| 5644 } | 5668 } |
| 5645 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 5669 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 5646 // for details. All rights reserved. Use of this source code is governed by a | 5670 // for details. All rights reserved. Use of this source code is governed by a |
| 5647 // BSD-style license that can be found in the LICENSE file. | 5671 // BSD-style license that can be found in the LICENSE file. |
| 5648 | 5672 |
| 5649 // WARNING: Do not edit - generated code. | 5673 // WARNING: Do not edit - generated code. |
| 5650 | 5674 |
| 5651 interface StorageInfoErrorCallback { | 5675 interface StorageInfoErrorCallback { |
| 5652 | 5676 |
| 5653 bool handleEvent(DOMException error); | 5677 bool handleEvent(DOMException error); |
| (...skipping 27 matching lines...) Expand all Loading... |
| 5681 interface StringCallback { | 5705 interface StringCallback { |
| 5682 | 5706 |
| 5683 bool handleEvent(String data); | 5707 bool handleEvent(String data); |
| 5684 } | 5708 } |
| 5685 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 5709 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 5686 // for details. All rights reserved. Use of this source code is governed by a | 5710 // for details. All rights reserved. Use of this source code is governed by a |
| 5687 // BSD-style license that can be found in the LICENSE file. | 5711 // BSD-style license that can be found in the LICENSE file. |
| 5688 | 5712 |
| 5689 // WARNING: Do not edit - generated code. | 5713 // WARNING: Do not edit - generated code. |
| 5690 | 5714 |
| 5691 interface StyleElement extends Element /*, common.LinkStyle */ { | 5715 interface StyleElement extends Element { |
| 5692 | 5716 |
| 5693 bool get disabled(); | 5717 bool get disabled(); |
| 5694 | 5718 |
| 5695 void set disabled(bool value); | 5719 void set disabled(bool value); |
| 5696 | 5720 |
| 5697 String get media(); | 5721 String get media(); |
| 5698 | 5722 |
| 5699 void set media(String value); | 5723 void set media(String value); |
| 5700 | 5724 |
| 5701 StyleSheet get sheet(); | 5725 StyleSheet get sheet(); |
| (...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6081 String get validationMessage(); | 6105 String get validationMessage(); |
| 6082 | 6106 |
| 6083 ValidityState get validity(); | 6107 ValidityState get validity(); |
| 6084 | 6108 |
| 6085 String get value(); | 6109 String get value(); |
| 6086 | 6110 |
| 6087 void set value(String value); | 6111 void set value(String value); |
| 6088 | 6112 |
| 6089 bool get willValidate(); | 6113 bool get willValidate(); |
| 6090 | 6114 |
| 6115 String get wrap(); |
| 6116 |
| 6117 void set wrap(String value); |
| 6118 |
| 6091 bool checkValidity(); | 6119 bool checkValidity(); |
| 6092 | 6120 |
| 6093 void select(); | 6121 void select(); |
| 6094 | 6122 |
| 6095 void setCustomValidity(String error); | 6123 void setCustomValidity(String error); |
| 6096 | 6124 |
| 6097 void setSelectionRange(int start, int end, String direction); | 6125 void setSelectionRange(int start, int end, [String direction]); |
| 6098 } | 6126 } |
| 6099 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 6127 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 6100 // for details. All rights reserved. Use of this source code is governed by a | 6128 // for details. All rights reserved. Use of this source code is governed by a |
| 6101 // BSD-style license that can be found in the LICENSE file. | 6129 // BSD-style license that can be found in the LICENSE file. |
| 6102 | 6130 |
| 6103 // WARNING: Do not edit - generated code. | 6131 // WARNING: Do not edit - generated code. |
| 6104 | 6132 |
| 6105 interface TextEvent extends UIEvent { | 6133 interface TextEvent extends UIEvent { |
| 6106 | 6134 |
| 6107 String get data(); | 6135 String get data(); |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6303 // BSD-style license that can be found in the LICENSE file. | 6331 // BSD-style license that can be found in the LICENSE file. |
| 6304 | 6332 |
| 6305 // WARNING: Do not edit - generated code. | 6333 // WARNING: Do not edit - generated code. |
| 6306 | 6334 |
| 6307 interface Uint16Array extends ArrayBufferView { | 6335 interface Uint16Array extends ArrayBufferView { |
| 6308 | 6336 |
| 6309 static final int BYTES_PER_ELEMENT = 2; | 6337 static final int BYTES_PER_ELEMENT = 2; |
| 6310 | 6338 |
| 6311 int get length(); | 6339 int get length(); |
| 6312 | 6340 |
| 6313 Uint16Array subarray(int start, int end); | 6341 Uint16Array subarray(int start, [int end]); |
| 6314 } | 6342 } |
| 6315 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 6343 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 6316 // for details. All rights reserved. Use of this source code is governed by a | 6344 // for details. All rights reserved. Use of this source code is governed by a |
| 6317 // BSD-style license that can be found in the LICENSE file. | 6345 // BSD-style license that can be found in the LICENSE file. |
| 6318 | 6346 |
| 6319 // WARNING: Do not edit - generated code. | 6347 // WARNING: Do not edit - generated code. |
| 6320 | 6348 |
| 6321 interface Uint32Array extends ArrayBufferView { | 6349 interface Uint32Array extends ArrayBufferView { |
| 6322 | 6350 |
| 6323 static final int BYTES_PER_ELEMENT = 4; | 6351 static final int BYTES_PER_ELEMENT = 4; |
| 6324 | 6352 |
| 6325 int get length(); | 6353 int get length(); |
| 6326 | 6354 |
| 6327 Uint32Array subarray(int start, int end); | 6355 Uint32Array subarray(int start, [int end]); |
| 6328 } | 6356 } |
| 6329 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 6357 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 6330 // for details. All rights reserved. Use of this source code is governed by a | 6358 // for details. All rights reserved. Use of this source code is governed by a |
| 6331 // BSD-style license that can be found in the LICENSE file. | 6359 // BSD-style license that can be found in the LICENSE file. |
| 6332 | 6360 |
| 6333 // WARNING: Do not edit - generated code. | 6361 // WARNING: Do not edit - generated code. |
| 6334 | 6362 |
| 6335 interface Uint8Array extends ArrayBufferView { | 6363 interface Uint8Array extends ArrayBufferView { |
| 6336 | 6364 |
| 6337 static final int BYTES_PER_ELEMENT = 1; | 6365 static final int BYTES_PER_ELEMENT = 1; |
| 6338 | 6366 |
| 6339 int get length(); | 6367 int get length(); |
| 6340 | 6368 |
| 6341 Uint8Array subarray(int start, int end); | 6369 Uint8Array subarray(int start, [int end]); |
| 6342 } | 6370 } |
| 6343 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 6371 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 6344 // for details. All rights reserved. Use of this source code is governed by a | 6372 // for details. All rights reserved. Use of this source code is governed by a |
| 6345 // BSD-style license that can be found in the LICENSE file. | 6373 // BSD-style license that can be found in the LICENSE file. |
| 6346 | 6374 |
| 6347 // WARNING: Do not edit - generated code. | 6375 // WARNING: Do not edit - generated code. |
| 6348 | 6376 |
| 6349 interface UnknownElement extends Element { | 6377 interface UnknownElement extends Element { |
| 6350 } | 6378 } |
| 6351 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 6379 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| (...skipping 957 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7309 void stencilFuncSeparate(int face, int func, int ref, int mask); | 7337 void stencilFuncSeparate(int face, int func, int ref, int mask); |
| 7310 | 7338 |
| 7311 void stencilMask(int mask); | 7339 void stencilMask(int mask); |
| 7312 | 7340 |
| 7313 void stencilMaskSeparate(int face, int mask); | 7341 void stencilMaskSeparate(int face, int mask); |
| 7314 | 7342 |
| 7315 void stencilOp(int fail, int zfail, int zpass); | 7343 void stencilOp(int fail, int zfail, int zpass); |
| 7316 | 7344 |
| 7317 void stencilOpSeparate(int face, int fail, int zfail, int zpass); | 7345 void stencilOpSeparate(int face, int fail, int zfail, int zpass); |
| 7318 | 7346 |
| 7319 void texImage2D(int target, int level, int internalformat, int format_OR_width
, int height_OR_type, var border_OR_canvas_OR_image_OR_pixels, int format, int t
ype, ArrayBufferView pixels); | 7347 void texImage2D(int target, int level, int internalformat, int format_OR_width
, int height_OR_type, var border_OR_canvas_OR_image_OR_pixels, [int format, int
type, ArrayBufferView pixels]); |
| 7320 | 7348 |
| 7321 void texParameterf(int target, int pname, num param); | 7349 void texParameterf(int target, int pname, num param); |
| 7322 | 7350 |
| 7323 void texParameteri(int target, int pname, int param); | 7351 void texParameteri(int target, int pname, int param); |
| 7324 | 7352 |
| 7325 void texSubImage2D(int target, int level, int xoffset, int yoffset, int format
_OR_width, int height_OR_type, var canvas_OR_format_OR_image_OR_pixels, int type
, ArrayBufferView pixels); | 7353 void texSubImage2D(int target, int level, int xoffset, int yoffset, int format
_OR_width, int height_OR_type, var canvas_OR_format_OR_image_OR_pixels, [int typ
e, ArrayBufferView pixels]); |
| 7326 | 7354 |
| 7327 void uniform1f(WebGLUniformLocation location, num x); | 7355 void uniform1f(WebGLUniformLocation location, num x); |
| 7328 | 7356 |
| 7329 void uniform1fv(WebGLUniformLocation location, Float32Array v); | 7357 void uniform1fv(WebGLUniformLocation location, Float32Array v); |
| 7330 | 7358 |
| 7331 void uniform1i(WebGLUniformLocation location, int x); | 7359 void uniform1i(WebGLUniformLocation location, int x); |
| 7332 | 7360 |
| 7333 void uniform1iv(WebGLUniformLocation location, Int32Array v); | 7361 void uniform1iv(WebGLUniformLocation location, Int32Array v); |
| 7334 | 7362 |
| 7335 void uniform2f(WebGLUniformLocation location, num x, num y); | 7363 void uniform2f(WebGLUniformLocation location, num x, num y); |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7577 | 7605 |
| 7578 String get text() { return _ptr.text; } | 7606 String get text() { return _ptr.text; } |
| 7579 | 7607 |
| 7580 String get type() { return _ptr.type; } | 7608 String get type() { return _ptr.type; } |
| 7581 | 7609 |
| 7582 void set type(String value) { _ptr.type = value; } | 7610 void set type(String value) { _ptr.type = value; } |
| 7583 | 7611 |
| 7584 String getParameter(String name) { | 7612 String getParameter(String name) { |
| 7585 return _ptr.getParameter(name); | 7613 return _ptr.getParameter(name); |
| 7586 } | 7614 } |
| 7587 | |
| 7588 String get typeName() { return "AnchorElement"; } | |
| 7589 } | 7615 } |
| 7590 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 7616 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 7591 // for details. All rights reserved. Use of this source code is governed by a | 7617 // for details. All rights reserved. Use of this source code is governed by a |
| 7592 // BSD-style license that can be found in the LICENSE file. | 7618 // BSD-style license that can be found in the LICENSE file. |
| 7593 | 7619 |
| 7594 // WARNING: Do not edit - generated code. | 7620 // WARNING: Do not edit - generated code. |
| 7595 | 7621 |
| 7596 class AnimationEventWrappingImplementation extends EventWrappingImplementation i
mplements AnimationEvent { | 7622 class AnimationEventWrappingImplementation extends EventWrappingImplementation i
mplements AnimationEvent { |
| 7597 AnimationEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 7623 AnimationEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 7598 | 7624 |
| 7599 String get animationName() { return _ptr.animationName; } | 7625 String get animationName() { return _ptr.animationName; } |
| 7600 | 7626 |
| 7601 num get elapsedTime() { return _ptr.elapsedTime; } | 7627 num get elapsedTime() { return _ptr.elapsedTime; } |
| 7602 | 7628 |
| 7603 void initWebKitAnimationEvent(String typeArg, bool canBubbleArg, bool cancelab
leArg, String animationNameArg, num elapsedTimeArg) { | 7629 void initWebKitAnimationEvent(String typeArg, bool canBubbleArg, bool cancelab
leArg, String animationNameArg, num elapsedTimeArg) { |
| 7604 _ptr.initWebKitAnimationEvent(typeArg, canBubbleArg, cancelableArg, animatio
nNameArg, elapsedTimeArg); | 7630 _ptr.initWebKitAnimationEvent(typeArg, canBubbleArg, cancelableArg, animatio
nNameArg, elapsedTimeArg); |
| 7605 return; | 7631 return; |
| 7606 } | 7632 } |
| 7607 | |
| 7608 String get typeName() { return "AnimationEvent"; } | |
| 7609 } | 7633 } |
| 7610 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 7634 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 7611 // for details. All rights reserved. Use of this source code is governed by a | 7635 // for details. All rights reserved. Use of this source code is governed by a |
| 7612 // BSD-style license that can be found in the LICENSE file. | 7636 // BSD-style license that can be found in the LICENSE file. |
| 7613 | 7637 |
| 7614 // WARNING: Do not edit - generated code. | 7638 // WARNING: Do not edit - generated code. |
| 7615 | 7639 |
| 7616 class AnimationListWrappingImplementation extends DOMWrapperBase implements Anim
ationList { | 7640 class AnimationListWrappingImplementation extends DOMWrapperBase implements Anim
ationList { |
| 7617 AnimationListWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 7641 AnimationListWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 7618 | 7642 |
| 7619 int get length() { return _ptr.length; } | 7643 int get length() { return _ptr.length; } |
| 7620 | 7644 |
| 7621 Animation item(int index) { | 7645 Animation item(int index) { |
| 7622 return LevelDom.wrapAnimation(_ptr.item(index)); | 7646 return LevelDom.wrapAnimation(_ptr.item(index)); |
| 7623 } | 7647 } |
| 7624 | |
| 7625 String get typeName() { return "AnimationList"; } | |
| 7626 } | 7648 } |
| 7627 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 7649 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 7628 // for details. All rights reserved. Use of this source code is governed by a | 7650 // for details. All rights reserved. Use of this source code is governed by a |
| 7629 // BSD-style license that can be found in the LICENSE file. | 7651 // BSD-style license that can be found in the LICENSE file. |
| 7630 | 7652 |
| 7631 // WARNING: Do not edit - generated code. | 7653 // WARNING: Do not edit - generated code. |
| 7632 | 7654 |
| 7633 class AnimationWrappingImplementation extends DOMWrapperBase implements Animatio
n { | 7655 class AnimationWrappingImplementation extends DOMWrapperBase implements Animatio
n { |
| 7634 AnimationWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 7656 AnimationWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 7635 | 7657 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 7655 | 7677 |
| 7656 void pause() { | 7678 void pause() { |
| 7657 _ptr.pause(); | 7679 _ptr.pause(); |
| 7658 return; | 7680 return; |
| 7659 } | 7681 } |
| 7660 | 7682 |
| 7661 void play() { | 7683 void play() { |
| 7662 _ptr.play(); | 7684 _ptr.play(); |
| 7663 return; | 7685 return; |
| 7664 } | 7686 } |
| 7665 | |
| 7666 String get typeName() { return "Animation"; } | |
| 7667 } | 7687 } |
| 7668 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 7688 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 7669 // for details. All rights reserved. Use of this source code is governed by a | 7689 // for details. All rights reserved. Use of this source code is governed by a |
| 7670 // BSD-style license that can be found in the LICENSE file. | 7690 // BSD-style license that can be found in the LICENSE file. |
| 7671 | 7691 |
| 7672 // WARNING: Do not edit - generated code. | 7692 // WARNING: Do not edit - generated code. |
| 7673 | 7693 |
| 7674 class AreaElementWrappingImplementation extends ElementWrappingImplementation im
plements AreaElement { | 7694 class AreaElementWrappingImplementation extends ElementWrappingImplementation im
plements AreaElement { |
| 7675 AreaElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 7695 AreaElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 7676 | 7696 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7712 | 7732 |
| 7713 String get search() { return _ptr.search; } | 7733 String get search() { return _ptr.search; } |
| 7714 | 7734 |
| 7715 String get shape() { return _ptr.shape; } | 7735 String get shape() { return _ptr.shape; } |
| 7716 | 7736 |
| 7717 void set shape(String value) { _ptr.shape = value; } | 7737 void set shape(String value) { _ptr.shape = value; } |
| 7718 | 7738 |
| 7719 String get target() { return _ptr.target; } | 7739 String get target() { return _ptr.target; } |
| 7720 | 7740 |
| 7721 void set target(String value) { _ptr.target = value; } | 7741 void set target(String value) { _ptr.target = value; } |
| 7722 | |
| 7723 String get typeName() { return "AreaElement"; } | |
| 7724 } | 7742 } |
| 7725 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 7743 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 7726 // for details. All rights reserved. Use of this source code is governed by a | 7744 // for details. All rights reserved. Use of this source code is governed by a |
| 7727 // BSD-style license that can be found in the LICENSE file. | 7745 // BSD-style license that can be found in the LICENSE file. |
| 7728 | 7746 |
| 7729 // WARNING: Do not edit - generated code. | 7747 // WARNING: Do not edit - generated code. |
| 7730 | 7748 |
| 7731 class ArrayBufferViewWrappingImplementation extends DOMWrapperBase implements Ar
rayBufferView { | 7749 class ArrayBufferViewWrappingImplementation extends DOMWrapperBase implements Ar
rayBufferView { |
| 7732 ArrayBufferViewWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 7750 ArrayBufferViewWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 7733 | 7751 |
| 7734 ArrayBuffer get buffer() { return LevelDom.wrapArrayBuffer(_ptr.buffer); } | 7752 ArrayBuffer get buffer() { return LevelDom.wrapArrayBuffer(_ptr.buffer); } |
| 7735 | 7753 |
| 7736 int get byteLength() { return _ptr.byteLength; } | 7754 int get byteLength() { return _ptr.byteLength; } |
| 7737 | 7755 |
| 7738 int get byteOffset() { return _ptr.byteOffset; } | 7756 int get byteOffset() { return _ptr.byteOffset; } |
| 7739 | |
| 7740 String get typeName() { return "ArrayBufferView"; } | |
| 7741 } | 7757 } |
| 7742 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 7758 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 7743 // for details. All rights reserved. Use of this source code is governed by a | 7759 // for details. All rights reserved. Use of this source code is governed by a |
| 7744 // BSD-style license that can be found in the LICENSE file. | 7760 // BSD-style license that can be found in the LICENSE file. |
| 7745 | 7761 |
| 7746 // WARNING: Do not edit - generated code. | 7762 // WARNING: Do not edit - generated code. |
| 7747 | 7763 |
| 7748 class ArrayBufferWrappingImplementation extends DOMWrapperBase implements ArrayB
uffer { | 7764 class ArrayBufferWrappingImplementation extends DOMWrapperBase implements ArrayB
uffer { |
| 7749 ArrayBufferWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 7765 ArrayBufferWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 7750 | 7766 |
| 7751 int get byteLength() { return _ptr.byteLength; } | 7767 int get byteLength() { return _ptr.byteLength; } |
| 7752 | |
| 7753 String get typeName() { return "ArrayBuffer"; } | |
| 7754 } | 7768 } |
| 7755 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 7769 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 7756 // for details. All rights reserved. Use of this source code is governed by a | 7770 // for details. All rights reserved. Use of this source code is governed by a |
| 7757 // BSD-style license that can be found in the LICENSE file. | 7771 // BSD-style license that can be found in the LICENSE file. |
| 7758 | 7772 |
| 7759 // WARNING: Do not edit - generated code. | 7773 // WARNING: Do not edit - generated code. |
| 7760 | 7774 |
| 7761 class AudioElementWrappingImplementation extends MediaElementWrappingImplementat
ion implements AudioElement { | 7775 class AudioElementWrappingImplementation extends MediaElementWrappingImplementat
ion implements AudioElement { |
| 7762 AudioElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 7776 AudioElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 7763 | |
| 7764 String get typeName() { return "AudioElement"; } | |
| 7765 } | 7777 } |
| 7766 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 7778 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 7767 // for details. All rights reserved. Use of this source code is governed by a | 7779 // for details. All rights reserved. Use of this source code is governed by a |
| 7768 // BSD-style license that can be found in the LICENSE file. | 7780 // BSD-style license that can be found in the LICENSE file. |
| 7769 | 7781 |
| 7770 // WARNING: Do not edit - generated code. | 7782 // WARNING: Do not edit - generated code. |
| 7771 | 7783 |
| 7772 class BRElementWrappingImplementation extends ElementWrappingImplementation impl
ements BRElement { | 7784 class BRElementWrappingImplementation extends ElementWrappingImplementation impl
ements BRElement { |
| 7773 BRElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 7785 BRElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 7774 | 7786 |
| 7775 String get clear() { return _ptr.clear; } | 7787 String get clear() { return _ptr.clear; } |
| 7776 | 7788 |
| 7777 void set clear(String value) { _ptr.clear = value; } | 7789 void set clear(String value) { _ptr.clear = value; } |
| 7778 | |
| 7779 String get typeName() { return "BRElement"; } | |
| 7780 } | 7790 } |
| 7781 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 7791 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 7782 // for details. All rights reserved. Use of this source code is governed by a | 7792 // for details. All rights reserved. Use of this source code is governed by a |
| 7783 // BSD-style license that can be found in the LICENSE file. | 7793 // BSD-style license that can be found in the LICENSE file. |
| 7784 | 7794 |
| 7785 // WARNING: Do not edit - generated code. | 7795 // WARNING: Do not edit - generated code. |
| 7786 | 7796 |
| 7787 class BarInfoWrappingImplementation extends DOMWrapperBase implements BarInfo { | 7797 class BarInfoWrappingImplementation extends DOMWrapperBase implements BarInfo { |
| 7788 BarInfoWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 7798 BarInfoWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 7789 | 7799 |
| 7790 bool get visible() { return _ptr.visible; } | 7800 bool get visible() { return _ptr.visible; } |
| 7791 | |
| 7792 String get typeName() { return "BarInfo"; } | |
| 7793 } | 7801 } |
| 7794 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 7802 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 7795 // for details. All rights reserved. Use of this source code is governed by a | 7803 // for details. All rights reserved. Use of this source code is governed by a |
| 7796 // BSD-style license that can be found in the LICENSE file. | 7804 // BSD-style license that can be found in the LICENSE file. |
| 7797 | 7805 |
| 7798 // WARNING: Do not edit - generated code. | 7806 // WARNING: Do not edit - generated code. |
| 7799 | 7807 |
| 7800 class BaseElementWrappingImplementation extends ElementWrappingImplementation im
plements BaseElement { | 7808 class BaseElementWrappingImplementation extends ElementWrappingImplementation im
plements BaseElement { |
| 7801 BaseElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 7809 BaseElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 7802 | 7810 |
| 7803 String get href() { return _ptr.href; } | 7811 String get href() { return _ptr.href; } |
| 7804 | 7812 |
| 7805 void set href(String value) { _ptr.href = value; } | 7813 void set href(String value) { _ptr.href = value; } |
| 7806 | 7814 |
| 7807 String get target() { return _ptr.target; } | 7815 String get target() { return _ptr.target; } |
| 7808 | 7816 |
| 7809 void set target(String value) { _ptr.target = value; } | 7817 void set target(String value) { _ptr.target = value; } |
| 7810 | |
| 7811 String get typeName() { return "BaseElement"; } | |
| 7812 } | 7818 } |
| 7813 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 7819 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 7814 // for details. All rights reserved. Use of this source code is governed by a | 7820 // for details. All rights reserved. Use of this source code is governed by a |
| 7815 // BSD-style license that can be found in the LICENSE file. | 7821 // BSD-style license that can be found in the LICENSE file. |
| 7816 | 7822 |
| 7817 // WARNING: Do not edit - generated code. | 7823 // WARNING: Do not edit - generated code. |
| 7818 | 7824 |
| 7819 class BeforeLoadEventWrappingImplementation extends EventWrappingImplementation
implements BeforeLoadEvent { | 7825 class BeforeLoadEventWrappingImplementation extends EventWrappingImplementation
implements BeforeLoadEvent { |
| 7820 BeforeLoadEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 7826 BeforeLoadEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 7821 | 7827 |
| 7822 String get url() { return _ptr.url; } | 7828 String get url() { return _ptr.url; } |
| 7823 | 7829 |
| 7824 void initBeforeLoadEvent(String type, bool canBubble, bool cancelable, String
url) { | 7830 void initBeforeLoadEvent(String type, bool canBubble, bool cancelable, String
url) { |
| 7825 _ptr.initBeforeLoadEvent(type, canBubble, cancelable, url); | 7831 _ptr.initBeforeLoadEvent(type, canBubble, cancelable, url); |
| 7826 return; | 7832 return; |
| 7827 } | 7833 } |
| 7828 | |
| 7829 String get typeName() { return "BeforeLoadEvent"; } | |
| 7830 } | 7834 } |
| 7831 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 7835 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 7832 // for details. All rights reserved. Use of this source code is governed by a | 7836 // for details. All rights reserved. Use of this source code is governed by a |
| 7833 // BSD-style license that can be found in the LICENSE file. | |
| 7834 | |
| 7835 // WARNING: Do not edit - generated code. | |
| 7836 | |
| 7837 class BeforeProcessEventWrappingImplementation extends EventWrappingImplementati
on implements BeforeProcessEvent { | |
| 7838 BeforeProcessEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | |
| 7839 | |
| 7840 String get text() { return _ptr.text; } | |
| 7841 | |
| 7842 void set text(String value) { _ptr.text = value; } | |
| 7843 | |
| 7844 void initBeforeProcessEvent(String type, bool canBubble, bool cancelable) { | |
| 7845 _ptr.initBeforeProcessEvent(type, canBubble, cancelable); | |
| 7846 return; | |
| 7847 } | |
| 7848 | |
| 7849 String get typeName() { return "BeforeProcessEvent"; } | |
| 7850 } | |
| 7851 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | |
| 7852 // for details. All rights reserved. Use of this source code is governed by a | |
| 7853 // BSD-style license that can be found in the LICENSE file. | 7837 // BSD-style license that can be found in the LICENSE file. |
| 7854 | 7838 |
| 7855 // WARNING: Do not edit - generated code. | 7839 // WARNING: Do not edit - generated code. |
| 7856 | 7840 |
| 7857 class BlobBuilderWrappingImplementation extends DOMWrapperBase implements BlobBu
ilder { | 7841 class BlobBuilderWrappingImplementation extends DOMWrapperBase implements BlobBu
ilder { |
| 7858 BlobBuilderWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 7842 BlobBuilderWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 7859 | 7843 |
| 7860 void append(var blob_OR_value, String endings) { | 7844 void append(var blob_OR_value, [String endings = null]) { |
| 7861 if (blob_OR_value is String) { | 7845 if (blob_OR_value is Blob) { |
| 7862 _ptr.append(LevelDom.unwrap(blob_OR_value), endings); | 7846 if (endings === null) { |
| 7863 return; | 7847 _ptr.append(LevelDom.unwrap(blob_OR_value)); |
| 7848 return; |
| 7849 } |
| 7850 } else { |
| 7851 if (blob_OR_value is String) { |
| 7852 if (endings === null) { |
| 7853 _ptr.append(LevelDom.unwrap(blob_OR_value)); |
| 7854 return; |
| 7855 } else { |
| 7856 _ptr.append(LevelDom.unwrap(blob_OR_value), endings); |
| 7857 return; |
| 7858 } |
| 7859 } |
| 7864 } | 7860 } |
| 7865 throw "Incorrect number or type of arguments"; | 7861 throw "Incorrect number or type of arguments"; |
| 7866 } | 7862 } |
| 7867 | 7863 |
| 7868 Blob getBlob(String contentType) { | 7864 Blob getBlob([String contentType = null]) { |
| 7869 return LevelDom.wrapBlob(_ptr.getBlob(contentType)); | 7865 if (contentType === null) { |
| 7866 return LevelDom.wrapBlob(_ptr.getBlob()); |
| 7867 } else { |
| 7868 return LevelDom.wrapBlob(_ptr.getBlob(contentType)); |
| 7869 } |
| 7870 } | 7870 } |
| 7871 | |
| 7872 String get typeName() { return "BlobBuilder"; } | |
| 7873 } | 7871 } |
| 7874 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 7872 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 7875 // for details. All rights reserved. Use of this source code is governed by a | 7873 // for details. All rights reserved. Use of this source code is governed by a |
| 7876 // BSD-style license that can be found in the LICENSE file. | 7874 // BSD-style license that can be found in the LICENSE file. |
| 7877 | 7875 |
| 7878 // WARNING: Do not edit - generated code. | 7876 // WARNING: Do not edit - generated code. |
| 7879 | 7877 |
| 7880 class BlobWrappingImplementation extends DOMWrapperBase implements Blob { | 7878 class BlobWrappingImplementation extends DOMWrapperBase implements Blob { |
| 7881 BlobWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 7879 BlobWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 7882 | 7880 |
| 7883 int get size() { return _ptr.size; } | 7881 int get size() { return _ptr.size; } |
| 7884 | 7882 |
| 7885 String get type() { return _ptr.type; } | 7883 String get type() { return _ptr.type; } |
| 7886 | |
| 7887 String get typeName() { return "Blob"; } | |
| 7888 } | 7884 } |
| 7889 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 7885 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 7890 // for details. All rights reserved. Use of this source code is governed by a | 7886 // for details. All rights reserved. Use of this source code is governed by a |
| 7891 // BSD-style license that can be found in the LICENSE file. | |
| 7892 | |
| 7893 // WARNING: Do not edit - generated code. | |
| 7894 | |
| 7895 class BlockquoteElementWrappingImplementation extends ElementWrappingImplementat
ion implements BlockquoteElement { | |
| 7896 BlockquoteElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | |
| 7897 | |
| 7898 String get cite() { return _ptr.cite; } | |
| 7899 | |
| 7900 void set cite(String value) { _ptr.cite = value; } | |
| 7901 | |
| 7902 String get typeName() { return "BlockquoteElement"; } | |
| 7903 } | |
| 7904 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | |
| 7905 // for details. All rights reserved. Use of this source code is governed by a | |
| 7906 // BSD-style license that can be found in the LICENSE file. | 7887 // BSD-style license that can be found in the LICENSE file. |
| 7907 | 7888 |
| 7908 // WARNING: Do not edit - generated code. | 7889 // WARNING: Do not edit - generated code. |
| 7909 | 7890 |
| 7910 class ButtonElementWrappingImplementation extends ElementWrappingImplementation
implements ButtonElement { | 7891 class ButtonElementWrappingImplementation extends ElementWrappingImplementation
implements ButtonElement { |
| 7911 ButtonElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 7892 ButtonElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 7912 | 7893 |
| 7913 String get accessKey() { return _ptr.accessKey; } | 7894 String get accessKey() { return _ptr.accessKey; } |
| 7914 | 7895 |
| 7915 void set accessKey(String value) { _ptr.accessKey = value; } | 7896 void set accessKey(String value) { _ptr.accessKey = value; } |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7968 | 7949 |
| 7969 void click() { | 7950 void click() { |
| 7970 _ptr.click(); | 7951 _ptr.click(); |
| 7971 return; | 7952 return; |
| 7972 } | 7953 } |
| 7973 | 7954 |
| 7974 void setCustomValidity(String error) { | 7955 void setCustomValidity(String error) { |
| 7975 _ptr.setCustomValidity(error); | 7956 _ptr.setCustomValidity(error); |
| 7976 return; | 7957 return; |
| 7977 } | 7958 } |
| 7978 | |
| 7979 String get typeName() { return "ButtonElement"; } | |
| 7980 } | 7959 } |
| 7981 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 7960 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 7982 // for details. All rights reserved. Use of this source code is governed by a | 7961 // for details. All rights reserved. Use of this source code is governed by a |
| 7983 // BSD-style license that can be found in the LICENSE file. | 7962 // BSD-style license that can be found in the LICENSE file. |
| 7984 | 7963 |
| 7985 // WARNING: Do not edit - generated code. | 7964 // WARNING: Do not edit - generated code. |
| 7986 | 7965 |
| 7987 class CDATASectionWrappingImplementation extends TextWrappingImplementation impl
ements CDATASection { | 7966 class CDATASectionWrappingImplementation extends TextWrappingImplementation impl
ements CDATASection { |
| 7988 CDATASectionWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 7967 CDATASectionWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 7989 | |
| 7990 String get typeName() { return "CDATASection"; } | |
| 7991 } | 7968 } |
| 7992 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 7969 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 7993 // for details. All rights reserved. Use of this source code is governed by a | 7970 // for details. All rights reserved. Use of this source code is governed by a |
| 7994 // BSD-style license that can be found in the LICENSE file. | 7971 // BSD-style license that can be found in the LICENSE file. |
| 7995 | 7972 |
| 7996 // WARNING: Do not edit - generated code. | 7973 // WARNING: Do not edit - generated code. |
| 7997 | 7974 |
| 7998 class CSSCharsetRuleWrappingImplementation extends CSSRuleWrappingImplementation
implements CSSCharsetRule { | 7975 class CSSCharsetRuleWrappingImplementation extends CSSRuleWrappingImplementation
implements CSSCharsetRule { |
| 7999 CSSCharsetRuleWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 7976 CSSCharsetRuleWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 8000 | 7977 |
| 8001 String get encoding() { return _ptr.encoding; } | 7978 String get encoding() { return _ptr.encoding; } |
| 8002 | 7979 |
| 8003 void set encoding(String value) { _ptr.encoding = value; } | 7980 void set encoding(String value) { _ptr.encoding = value; } |
| 8004 | |
| 8005 String get typeName() { return "CSSCharsetRule"; } | |
| 8006 } | 7981 } |
| 8007 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 7982 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 8008 // for details. All rights reserved. Use of this source code is governed by a | 7983 // for details. All rights reserved. Use of this source code is governed by a |
| 8009 // BSD-style license that can be found in the LICENSE file. | 7984 // BSD-style license that can be found in the LICENSE file. |
| 8010 | 7985 |
| 8011 // WARNING: Do not edit - generated code. | 7986 // WARNING: Do not edit - generated code. |
| 8012 | 7987 |
| 8013 class CSSFontFaceRuleWrappingImplementation extends CSSRuleWrappingImplementatio
n implements CSSFontFaceRule { | 7988 class CSSFontFaceRuleWrappingImplementation extends CSSRuleWrappingImplementatio
n implements CSSFontFaceRule { |
| 8014 CSSFontFaceRuleWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 7989 CSSFontFaceRuleWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 8015 | 7990 |
| 8016 CSSStyleDeclaration get style() { return LevelDom.wrapCSSStyleDeclaration(_ptr
.style); } | 7991 CSSStyleDeclaration get style() { return LevelDom.wrapCSSStyleDeclaration(_ptr
.style); } |
| 8017 | |
| 8018 String get typeName() { return "CSSFontFaceRule"; } | |
| 8019 } | 7992 } |
| 8020 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 7993 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 8021 // for details. All rights reserved. Use of this source code is governed by a | 7994 // for details. All rights reserved. Use of this source code is governed by a |
| 8022 // BSD-style license that can be found in the LICENSE file. | 7995 // BSD-style license that can be found in the LICENSE file. |
| 8023 | 7996 |
| 8024 // WARNING: Do not edit - generated code. | 7997 // WARNING: Do not edit - generated code. |
| 8025 | 7998 |
| 8026 class CSSImportRuleWrappingImplementation extends CSSRuleWrappingImplementation
implements CSSImportRule { | 7999 class CSSImportRuleWrappingImplementation extends CSSRuleWrappingImplementation
implements CSSImportRule { |
| 8027 CSSImportRuleWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 8000 CSSImportRuleWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 8028 | 8001 |
| 8029 String get href() { return _ptr.href; } | 8002 String get href() { return _ptr.href; } |
| 8030 | 8003 |
| 8031 MediaList get media() { return LevelDom.wrapMediaList(_ptr.media); } | 8004 MediaList get media() { return LevelDom.wrapMediaList(_ptr.media); } |
| 8032 | 8005 |
| 8033 CSSStyleSheet get styleSheet() { return LevelDom.wrapCSSStyleSheet(_ptr.styleS
heet); } | 8006 CSSStyleSheet get styleSheet() { return LevelDom.wrapCSSStyleSheet(_ptr.styleS
heet); } |
| 8034 | |
| 8035 String get typeName() { return "CSSImportRule"; } | |
| 8036 } | 8007 } |
| 8037 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 8008 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 8038 // for details. All rights reserved. Use of this source code is governed by a | 8009 // for details. All rights reserved. Use of this source code is governed by a |
| 8039 // BSD-style license that can be found in the LICENSE file. | 8010 // BSD-style license that can be found in the LICENSE file. |
| 8040 | 8011 |
| 8041 // WARNING: Do not edit - generated code. | 8012 // WARNING: Do not edit - generated code. |
| 8042 | 8013 |
| 8043 class CSSKeyframeRuleWrappingImplementation extends CSSRuleWrappingImplementatio
n implements CSSKeyframeRule { | 8014 class CSSKeyframeRuleWrappingImplementation extends CSSRuleWrappingImplementatio
n implements CSSKeyframeRule { |
| 8044 CSSKeyframeRuleWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 8015 CSSKeyframeRuleWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 8045 | 8016 |
| 8046 String get keyText() { return _ptr.keyText; } | 8017 String get keyText() { return _ptr.keyText; } |
| 8047 | 8018 |
| 8048 void set keyText(String value) { _ptr.keyText = value; } | 8019 void set keyText(String value) { _ptr.keyText = value; } |
| 8049 | 8020 |
| 8050 CSSStyleDeclaration get style() { return LevelDom.wrapCSSStyleDeclaration(_ptr
.style); } | 8021 CSSStyleDeclaration get style() { return LevelDom.wrapCSSStyleDeclaration(_ptr
.style); } |
| 8051 | |
| 8052 String get typeName() { return "CSSKeyframeRule"; } | |
| 8053 } | 8022 } |
| 8054 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 8023 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 8055 // for details. All rights reserved. Use of this source code is governed by a | 8024 // for details. All rights reserved. Use of this source code is governed by a |
| 8056 // BSD-style license that can be found in the LICENSE file. | 8025 // BSD-style license that can be found in the LICENSE file. |
| 8057 | 8026 |
| 8058 // WARNING: Do not edit - generated code. | 8027 // WARNING: Do not edit - generated code. |
| 8059 | 8028 |
| 8060 class CSSKeyframesRuleWrappingImplementation extends CSSRuleWrappingImplementati
on implements CSSKeyframesRule { | 8029 class CSSKeyframesRuleWrappingImplementation extends CSSRuleWrappingImplementati
on implements CSSKeyframesRule { |
| 8061 CSSKeyframesRuleWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 8030 CSSKeyframesRuleWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 8062 | 8031 |
| 8063 CSSRuleList get cssRules() { return LevelDom.wrapCSSRuleList(_ptr.cssRules); } | 8032 CSSRuleList get cssRules() { return LevelDom.wrapCSSRuleList(_ptr.cssRules); } |
| 8064 | 8033 |
| 8065 String get name() { return _ptr.name; } | 8034 String get name() { return _ptr.name; } |
| 8066 | 8035 |
| 8067 void set name(String value) { _ptr.name = value; } | 8036 void set name(String value) { _ptr.name = value; } |
| 8068 | 8037 |
| 8069 void deleteRule(String key) { | 8038 void deleteRule(String key) { |
| 8070 _ptr.deleteRule(key); | 8039 _ptr.deleteRule(key); |
| 8071 return; | 8040 return; |
| 8072 } | 8041 } |
| 8073 | 8042 |
| 8074 CSSKeyframeRule findRule(String key) { | 8043 CSSKeyframeRule findRule(String key) { |
| 8075 return LevelDom.wrapCSSKeyframeRule(_ptr.findRule(key)); | 8044 return LevelDom.wrapCSSKeyframeRule(_ptr.findRule(key)); |
| 8076 } | 8045 } |
| 8077 | 8046 |
| 8078 void insertRule(String rule) { | 8047 void insertRule(String rule) { |
| 8079 _ptr.insertRule(rule); | 8048 _ptr.insertRule(rule); |
| 8080 return; | 8049 return; |
| 8081 } | 8050 } |
| 8082 | |
| 8083 String get typeName() { return "CSSKeyframesRule"; } | |
| 8084 } | 8051 } |
| 8085 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 8052 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 8086 // for details. All rights reserved. Use of this source code is governed by a | 8053 // for details. All rights reserved. Use of this source code is governed by a |
| 8087 // BSD-style license that can be found in the LICENSE file. | 8054 // BSD-style license that can be found in the LICENSE file. |
| 8088 | 8055 |
| 8089 // WARNING: Do not edit - generated code. | 8056 // WARNING: Do not edit - generated code. |
| 8090 | 8057 |
| 8091 class CSSMatrixWrappingImplementation extends DOMWrapperBase implements CSSMatri
x { | 8058 class CSSMatrixWrappingImplementation extends DOMWrapperBase implements CSSMatri
x { |
| 8092 CSSMatrixWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 8059 CSSMatrixWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 8093 factory CSSMatrixWrappingImplementation([String cssValue = null]) { | |
| 8094 | |
| 8095 if (cssValue === null) { | |
| 8096 return LevelDom.wrapCSSMatrix(_rawWindow.createWebKitCSSMatrix()); | |
| 8097 } else { | |
| 8098 return LevelDom.wrapCSSMatrix(_rawWindow.createWebKitCSSMatrix(cssValue)); | |
| 8099 } | |
| 8100 } | |
| 8101 | 8060 |
| 8102 num get a() { return _ptr.a; } | 8061 num get a() { return _ptr.a; } |
| 8103 | 8062 |
| 8104 void set a(num value) { _ptr.a = value; } | 8063 void set a(num value) { _ptr.a = value; } |
| 8105 | 8064 |
| 8106 num get b() { return _ptr.b; } | 8065 num get b() { return _ptr.b; } |
| 8107 | 8066 |
| 8108 void set b(num value) { _ptr.b = value; } | 8067 void set b(num value) { _ptr.b = value; } |
| 8109 | 8068 |
| 8110 num get c() { return _ptr.c; } | 8069 num get c() { return _ptr.c; } |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8220 return LevelDom.wrapCSSMatrix(_ptr.skewY(angle)); | 8179 return LevelDom.wrapCSSMatrix(_ptr.skewY(angle)); |
| 8221 } | 8180 } |
| 8222 | 8181 |
| 8223 String toString() { | 8182 String toString() { |
| 8224 return _ptr.toString(); | 8183 return _ptr.toString(); |
| 8225 } | 8184 } |
| 8226 | 8185 |
| 8227 CSSMatrix translate(num x, num y, num z) { | 8186 CSSMatrix translate(num x, num y, num z) { |
| 8228 return LevelDom.wrapCSSMatrix(_ptr.translate(x, y, z)); | 8187 return LevelDom.wrapCSSMatrix(_ptr.translate(x, y, z)); |
| 8229 } | 8188 } |
| 8230 | |
| 8231 String get typeName() { return "CSSMatrix"; } | |
| 8232 } | 8189 } |
| 8233 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 8190 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 8234 // for details. All rights reserved. Use of this source code is governed by a | 8191 // for details. All rights reserved. Use of this source code is governed by a |
| 8235 // BSD-style license that can be found in the LICENSE file. | 8192 // BSD-style license that can be found in the LICENSE file. |
| 8236 | 8193 |
| 8237 // WARNING: Do not edit - generated code. | 8194 // WARNING: Do not edit - generated code. |
| 8238 | 8195 |
| 8239 class CSSMediaRuleWrappingImplementation extends CSSRuleWrappingImplementation i
mplements CSSMediaRule { | 8196 class CSSMediaRuleWrappingImplementation extends CSSRuleWrappingImplementation i
mplements CSSMediaRule { |
| 8240 CSSMediaRuleWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 8197 CSSMediaRuleWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 8241 | 8198 |
| 8242 CSSRuleList get cssRules() { return LevelDom.wrapCSSRuleList(_ptr.cssRules); } | 8199 CSSRuleList get cssRules() { return LevelDom.wrapCSSRuleList(_ptr.cssRules); } |
| 8243 | 8200 |
| 8244 MediaList get media() { return LevelDom.wrapMediaList(_ptr.media); } | 8201 MediaList get media() { return LevelDom.wrapMediaList(_ptr.media); } |
| 8245 | 8202 |
| 8246 void deleteRule(int index) { | 8203 void deleteRule(int index) { |
| 8247 _ptr.deleteRule(index); | 8204 _ptr.deleteRule(index); |
| 8248 return; | 8205 return; |
| 8249 } | 8206 } |
| 8250 | 8207 |
| 8251 int insertRule(String rule, int index) { | 8208 int insertRule(String rule, int index) { |
| 8252 return _ptr.insertRule(rule, index); | 8209 return _ptr.insertRule(rule, index); |
| 8253 } | 8210 } |
| 8254 | |
| 8255 String get typeName() { return "CSSMediaRule"; } | |
| 8256 } | 8211 } |
| 8257 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 8212 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 8258 // for details. All rights reserved. Use of this source code is governed by a | 8213 // for details. All rights reserved. Use of this source code is governed by a |
| 8259 // BSD-style license that can be found in the LICENSE file. | 8214 // BSD-style license that can be found in the LICENSE file. |
| 8260 | 8215 |
| 8261 // WARNING: Do not edit - generated code. | 8216 // WARNING: Do not edit - generated code. |
| 8262 | 8217 |
| 8263 class CSSPageRuleWrappingImplementation extends CSSRuleWrappingImplementation im
plements CSSPageRule { | 8218 class CSSPageRuleWrappingImplementation extends CSSRuleWrappingImplementation im
plements CSSPageRule { |
| 8264 CSSPageRuleWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 8219 CSSPageRuleWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 8265 | 8220 |
| 8266 String get selectorText() { return _ptr.selectorText; } | 8221 String get selectorText() { return _ptr.selectorText; } |
| 8267 | 8222 |
| 8268 void set selectorText(String value) { _ptr.selectorText = value; } | 8223 void set selectorText(String value) { _ptr.selectorText = value; } |
| 8269 | 8224 |
| 8270 CSSStyleDeclaration get style() { return LevelDom.wrapCSSStyleDeclaration(_ptr
.style); } | 8225 CSSStyleDeclaration get style() { return LevelDom.wrapCSSStyleDeclaration(_ptr
.style); } |
| 8271 | |
| 8272 String get typeName() { return "CSSPageRule"; } | |
| 8273 } | 8226 } |
| 8274 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 8227 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 8275 // for details. All rights reserved. Use of this source code is governed by a | 8228 // for details. All rights reserved. Use of this source code is governed by a |
| 8276 // BSD-style license that can be found in the LICENSE file. | 8229 // BSD-style license that can be found in the LICENSE file. |
| 8277 | 8230 |
| 8278 // WARNING: Do not edit - generated code. | 8231 // WARNING: Do not edit - generated code. |
| 8279 | 8232 |
| 8280 class CSSPrimitiveValueWrappingImplementation extends CSSValueWrappingImplementa
tion implements CSSPrimitiveValue { | 8233 class CSSPrimitiveValueWrappingImplementation extends CSSValueWrappingImplementa
tion implements CSSPrimitiveValue { |
| 8281 CSSPrimitiveValueWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 8234 CSSPrimitiveValueWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 8282 | 8235 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 8304 | 8257 |
| 8305 void setFloatValue(int unitType, num floatValue) { | 8258 void setFloatValue(int unitType, num floatValue) { |
| 8306 _ptr.setFloatValue(unitType, floatValue); | 8259 _ptr.setFloatValue(unitType, floatValue); |
| 8307 return; | 8260 return; |
| 8308 } | 8261 } |
| 8309 | 8262 |
| 8310 void setStringValue(int stringType, String stringValue) { | 8263 void setStringValue(int stringType, String stringValue) { |
| 8311 _ptr.setStringValue(stringType, stringValue); | 8264 _ptr.setStringValue(stringType, stringValue); |
| 8312 return; | 8265 return; |
| 8313 } | 8266 } |
| 8314 | |
| 8315 String get typeName() { return "CSSPrimitiveValue"; } | |
| 8316 } | 8267 } |
| 8317 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 8268 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 8318 // for details. All rights reserved. Use of this source code is governed by a | 8269 // for details. All rights reserved. Use of this source code is governed by a |
| 8319 // BSD-style license that can be found in the LICENSE file. | 8270 // BSD-style license that can be found in the LICENSE file. |
| 8320 | 8271 |
| 8321 // WARNING: Do not edit - generated code. | 8272 // WARNING: Do not edit - generated code. |
| 8322 | 8273 |
| 8323 class CSSRuleListWrappingImplementation extends DOMWrapperBase implements CSSRul
eList { | 8274 class CSSRuleListWrappingImplementation extends DOMWrapperBase implements CSSRul
eList { |
| 8324 CSSRuleListWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 8275 CSSRuleListWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 8325 | 8276 |
| 8326 int get length() { return _ptr.length; } | 8277 int get length() { return _ptr.length; } |
| 8327 | 8278 |
| 8328 CSSRule item(int index) { | 8279 CSSRule item(int index) { |
| 8329 return LevelDom.wrapCSSRule(_ptr.item(index)); | 8280 return LevelDom.wrapCSSRule(_ptr.item(index)); |
| 8330 } | 8281 } |
| 8331 | |
| 8332 String get typeName() { return "CSSRuleList"; } | |
| 8333 } | 8282 } |
| 8334 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 8283 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 8335 // for details. All rights reserved. Use of this source code is governed by a | 8284 // for details. All rights reserved. Use of this source code is governed by a |
| 8336 // BSD-style license that can be found in the LICENSE file. | 8285 // BSD-style license that can be found in the LICENSE file. |
| 8337 | 8286 |
| 8338 // WARNING: Do not edit - generated code. | 8287 // WARNING: Do not edit - generated code. |
| 8339 | 8288 |
| 8340 class CSSRuleWrappingImplementation extends DOMWrapperBase implements CSSRule { | 8289 class CSSRuleWrappingImplementation extends DOMWrapperBase implements CSSRule { |
| 8341 CSSRuleWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 8290 CSSRuleWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 8342 | 8291 |
| 8343 String get cssText() { return _ptr.cssText; } | 8292 String get cssText() { return _ptr.cssText; } |
| 8344 | 8293 |
| 8345 void set cssText(String value) { _ptr.cssText = value; } | 8294 void set cssText(String value) { _ptr.cssText = value; } |
| 8346 | 8295 |
| 8347 CSSRule get parentRule() { return LevelDom.wrapCSSRule(_ptr.parentRule); } | 8296 CSSRule get parentRule() { return LevelDom.wrapCSSRule(_ptr.parentRule); } |
| 8348 | 8297 |
| 8349 CSSStyleSheet get parentStyleSheet() { return LevelDom.wrapCSSStyleSheet(_ptr.
parentStyleSheet); } | 8298 CSSStyleSheet get parentStyleSheet() { return LevelDom.wrapCSSStyleSheet(_ptr.
parentStyleSheet); } |
| 8350 | 8299 |
| 8351 int get type() { return _ptr.type; } | 8300 int get type() { return _ptr.type; } |
| 8352 | |
| 8353 String get typeName() { return "CSSRule"; } | |
| 8354 } | 8301 } |
| 8355 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 8302 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 8356 // for details. All rights reserved. Use of this source code is governed by a | 8303 // for details. All rights reserved. Use of this source code is governed by a |
| 8357 // BSD-style license that can be found in the LICENSE file. | 8304 // BSD-style license that can be found in the LICENSE file. |
| 8358 | 8305 |
| 8359 // WARNING: Do not edit - generated code. | 8306 // WARNING: Do not edit - generated code. |
| 8360 | 8307 |
| 8361 class CSSStyleRuleWrappingImplementation extends CSSRuleWrappingImplementation i
mplements CSSStyleRule { | 8308 class CSSStyleRuleWrappingImplementation extends CSSRuleWrappingImplementation i
mplements CSSStyleRule { |
| 8362 CSSStyleRuleWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 8309 CSSStyleRuleWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 8363 | 8310 |
| 8364 String get selectorText() { return _ptr.selectorText; } | 8311 String get selectorText() { return _ptr.selectorText; } |
| 8365 | 8312 |
| 8366 void set selectorText(String value) { _ptr.selectorText = value; } | 8313 void set selectorText(String value) { _ptr.selectorText = value; } |
| 8367 | 8314 |
| 8368 CSSStyleDeclaration get style() { return LevelDom.wrapCSSStyleDeclaration(_ptr
.style); } | 8315 CSSStyleDeclaration get style() { return LevelDom.wrapCSSStyleDeclaration(_ptr
.style); } |
| 8369 | |
| 8370 String get typeName() { return "CSSStyleRule"; } | |
| 8371 } | 8316 } |
| 8372 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 8317 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 8373 // for details. All rights reserved. Use of this source code is governed by a | 8318 // for details. All rights reserved. Use of this source code is governed by a |
| 8374 // BSD-style license that can be found in the LICENSE file. | 8319 // BSD-style license that can be found in the LICENSE file. |
| 8375 | 8320 |
| 8376 // WARNING: Do not edit - generated code. | 8321 // WARNING: Do not edit - generated code. |
| 8377 | 8322 |
| 8378 class CSSStyleSheetWrappingImplementation extends StyleSheetWrappingImplementati
on implements CSSStyleSheet { | 8323 class CSSStyleSheetWrappingImplementation extends StyleSheetWrappingImplementati
on implements CSSStyleSheet { |
| 8379 CSSStyleSheetWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 8324 CSSStyleSheetWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 8380 | 8325 |
| 8381 CSSRuleList get cssRules() { return LevelDom.wrapCSSRuleList(_ptr.cssRules); } | 8326 CSSRuleList get cssRules() { return LevelDom.wrapCSSRuleList(_ptr.cssRules); } |
| 8382 | 8327 |
| 8383 CSSRule get ownerRule() { return LevelDom.wrapCSSRule(_ptr.ownerRule); } | 8328 CSSRule get ownerRule() { return LevelDom.wrapCSSRule(_ptr.ownerRule); } |
| 8384 | 8329 |
| 8385 CSSRuleList get rules() { return LevelDom.wrapCSSRuleList(_ptr.rules); } | 8330 CSSRuleList get rules() { return LevelDom.wrapCSSRuleList(_ptr.rules); } |
| 8386 | 8331 |
| 8387 int addRule(String selector, String style, int index) { | 8332 int addRule(String selector, String style, [int index = null]) { |
| 8388 return _ptr.addRule(selector, style, index); | 8333 if (index === null) { |
| 8334 return _ptr.addRule(selector, style); |
| 8335 } else { |
| 8336 return _ptr.addRule(selector, style, index); |
| 8337 } |
| 8389 } | 8338 } |
| 8390 | 8339 |
| 8391 void deleteRule(int index) { | 8340 void deleteRule(int index) { |
| 8392 _ptr.deleteRule(index); | 8341 _ptr.deleteRule(index); |
| 8393 return; | 8342 return; |
| 8394 } | 8343 } |
| 8395 | 8344 |
| 8396 int insertRule(String rule, int index) { | 8345 int insertRule(String rule, int index) { |
| 8397 return _ptr.insertRule(rule, index); | 8346 return _ptr.insertRule(rule, index); |
| 8398 } | 8347 } |
| 8399 | 8348 |
| 8400 void removeRule(int index) { | 8349 void removeRule(int index) { |
| 8401 _ptr.removeRule(index); | 8350 _ptr.removeRule(index); |
| 8402 return; | 8351 return; |
| 8403 } | 8352 } |
| 8404 | |
| 8405 String get typeName() { return "CSSStyleSheet"; } | |
| 8406 } | 8353 } |
| 8407 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 8354 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 8408 // for details. All rights reserved. Use of this source code is governed by a | 8355 // for details. All rights reserved. Use of this source code is governed by a |
| 8409 // BSD-style license that can be found in the LICENSE file. | 8356 // BSD-style license that can be found in the LICENSE file. |
| 8410 | 8357 |
| 8411 // WARNING: Do not edit - generated code. | 8358 // WARNING: Do not edit - generated code. |
| 8412 | 8359 |
| 8413 class CSSTransformValueWrappingImplementation extends CSSValueListWrappingImplem
entation implements CSSTransformValue { | 8360 class CSSTransformValueWrappingImplementation extends CSSValueListWrappingImplem
entation implements CSSTransformValue { |
| 8414 CSSTransformValueWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 8361 CSSTransformValueWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 8415 | 8362 |
| 8416 int get operationType() { return _ptr.operationType; } | 8363 int get operationType() { return _ptr.operationType; } |
| 8417 | |
| 8418 String get typeName() { return "CSSTransformValue"; } | |
| 8419 } | 8364 } |
| 8420 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 8365 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 8421 // for details. All rights reserved. Use of this source code is governed by a | 8366 // for details. All rights reserved. Use of this source code is governed by a |
| 8422 // BSD-style license that can be found in the LICENSE file. | 8367 // BSD-style license that can be found in the LICENSE file. |
| 8423 | 8368 |
| 8424 // WARNING: Do not edit - generated code. | 8369 // WARNING: Do not edit - generated code. |
| 8425 | 8370 |
| 8426 class CSSUnknownRuleWrappingImplementation extends CSSRuleWrappingImplementation
implements CSSUnknownRule { | 8371 class CSSUnknownRuleWrappingImplementation extends CSSRuleWrappingImplementation
implements CSSUnknownRule { |
| 8427 CSSUnknownRuleWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 8372 CSSUnknownRuleWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 8428 | |
| 8429 String get typeName() { return "CSSUnknownRule"; } | |
| 8430 } | 8373 } |
| 8431 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 8374 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 8432 // for details. All rights reserved. Use of this source code is governed by a | 8375 // for details. All rights reserved. Use of this source code is governed by a |
| 8433 // BSD-style license that can be found in the LICENSE file. | 8376 // BSD-style license that can be found in the LICENSE file. |
| 8434 | 8377 |
| 8435 // WARNING: Do not edit - generated code. | 8378 // WARNING: Do not edit - generated code. |
| 8436 | 8379 |
| 8437 class CSSValueListWrappingImplementation extends CSSValueWrappingImplementation
implements CSSValueList { | 8380 class CSSValueListWrappingImplementation extends CSSValueWrappingImplementation
implements CSSValueList { |
| 8438 CSSValueListWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 8381 CSSValueListWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 8439 | 8382 |
| 8440 int get length() { return _ptr.length; } | 8383 int get length() { return _ptr.length; } |
| 8441 | 8384 |
| 8442 CSSValue item(int index) { | 8385 CSSValue item(int index) { |
| 8443 return LevelDom.wrapCSSValue(_ptr.item(index)); | 8386 return LevelDom.wrapCSSValue(_ptr.item(index)); |
| 8444 } | 8387 } |
| 8445 | |
| 8446 String get typeName() { return "CSSValueList"; } | |
| 8447 } | 8388 } |
| 8448 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 8389 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 8449 // for details. All rights reserved. Use of this source code is governed by a | 8390 // for details. All rights reserved. Use of this source code is governed by a |
| 8450 // BSD-style license that can be found in the LICENSE file. | 8391 // BSD-style license that can be found in the LICENSE file. |
| 8451 | 8392 |
| 8452 // WARNING: Do not edit - generated code. | 8393 // WARNING: Do not edit - generated code. |
| 8453 | 8394 |
| 8454 class CSSValueWrappingImplementation extends DOMWrapperBase implements CSSValue
{ | 8395 class CSSValueWrappingImplementation extends DOMWrapperBase implements CSSValue
{ |
| 8455 CSSValueWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 8396 CSSValueWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 8456 | 8397 |
| 8457 String get cssText() { return _ptr.cssText; } | 8398 String get cssText() { return _ptr.cssText; } |
| 8458 | 8399 |
| 8459 void set cssText(String value) { _ptr.cssText = value; } | 8400 void set cssText(String value) { _ptr.cssText = value; } |
| 8460 | 8401 |
| 8461 int get cssValueType() { return _ptr.cssValueType; } | 8402 int get cssValueType() { return _ptr.cssValueType; } |
| 8462 | |
| 8463 String get typeName() { return "CSSValue"; } | |
| 8464 } | 8403 } |
| 8465 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 8404 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 8466 // for details. All rights reserved. Use of this source code is governed by a | 8405 // for details. All rights reserved. Use of this source code is governed by a |
| 8467 // BSD-style license that can be found in the LICENSE file. | 8406 // BSD-style license that can be found in the LICENSE file. |
| 8468 | 8407 |
| 8469 // WARNING: Do not edit - generated code. | 8408 // WARNING: Do not edit - generated code. |
| 8470 | 8409 |
| 8471 class CanvasElementWrappingImplementation extends ElementWrappingImplementation
implements CanvasElement { | 8410 class CanvasElementWrappingImplementation extends ElementWrappingImplementation
implements CanvasElement { |
| 8472 CanvasElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 8411 CanvasElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 8473 | 8412 |
| 8474 int get height() { return _ptr.height; } | 8413 int get height() { return _ptr.height; } |
| 8475 | 8414 |
| 8476 void set height(int value) { _ptr.height = value; } | 8415 void set height(int value) { _ptr.height = value; } |
| 8477 | 8416 |
| 8478 int get width() { return _ptr.width; } | 8417 int get width() { return _ptr.width; } |
| 8479 | 8418 |
| 8480 void set width(int value) { _ptr.width = value; } | 8419 void set width(int value) { _ptr.width = value; } |
| 8481 | 8420 |
| 8482 CanvasRenderingContext getContext([String contextId = null]) { | 8421 CanvasRenderingContext getContext([String contextId = null]) { |
| 8483 return LevelDom.wrapCanvasRenderingContext(_ptr.getContext(contextId)); | 8422 if (contextId === null) { |
| 8423 return LevelDom.wrapCanvasRenderingContext(_ptr.getContext()); |
| 8424 } else { |
| 8425 return LevelDom.wrapCanvasRenderingContext(_ptr.getContext(contextId)); |
| 8426 } |
| 8484 } | 8427 } |
| 8485 | 8428 |
| 8486 String toDataURL([String type = null]) { | 8429 String toDataURL(String type) { |
| 8487 return _ptr.toDataURL(type); | 8430 return _ptr.toDataURL(type); |
| 8488 } | 8431 } |
| 8489 | |
| 8490 String get typeName() { return "CanvasElement"; } | |
| 8491 } | 8432 } |
| 8492 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 8433 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 8493 // for details. All rights reserved. Use of this source code is governed by a | 8434 // for details. All rights reserved. Use of this source code is governed by a |
| 8494 // BSD-style license that can be found in the LICENSE file. | 8435 // BSD-style license that can be found in the LICENSE file. |
| 8495 | 8436 |
| 8496 // WARNING: Do not edit - generated code. | 8437 // WARNING: Do not edit - generated code. |
| 8497 | 8438 |
| 8498 class CanvasGradientWrappingImplementation extends DOMWrapperBase implements Can
vasGradient { | 8439 class CanvasGradientWrappingImplementation extends DOMWrapperBase implements Can
vasGradient { |
| 8499 CanvasGradientWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 8440 CanvasGradientWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 8500 | 8441 |
| 8501 void addColorStop(num offset, String color) { | 8442 void addColorStop(num offset, String color) { |
| 8502 _ptr.addColorStop(offset, color); | 8443 _ptr.addColorStop(offset, color); |
| 8503 return; | 8444 return; |
| 8504 } | 8445 } |
| 8505 | |
| 8506 String get typeName() { return "CanvasGradient"; } | |
| 8507 } | 8446 } |
| 8508 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 8447 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 8509 // for details. All rights reserved. Use of this source code is governed by a | 8448 // for details. All rights reserved. Use of this source code is governed by a |
| 8510 // BSD-style license that can be found in the LICENSE file. | 8449 // BSD-style license that can be found in the LICENSE file. |
| 8511 | 8450 |
| 8512 // WARNING: Do not edit - generated code. | 8451 // WARNING: Do not edit - generated code. |
| 8513 | 8452 |
| 8514 class CanvasPatternWrappingImplementation extends DOMWrapperBase implements Canv
asPattern { | 8453 class CanvasPatternWrappingImplementation extends DOMWrapperBase implements Canv
asPattern { |
| 8515 CanvasPatternWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 8454 CanvasPatternWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 8516 | |
| 8517 String get typeName() { return "CanvasPattern"; } | |
| 8518 } | 8455 } |
| 8519 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 8456 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 8520 // for details. All rights reserved. Use of this source code is governed by a | 8457 // for details. All rights reserved. Use of this source code is governed by a |
| 8521 // BSD-style license that can be found in the LICENSE file. | 8458 // BSD-style license that can be found in the LICENSE file. |
| 8522 | 8459 |
| 8523 // WARNING: Do not edit - generated code. | 8460 // WARNING: Do not edit - generated code. |
| 8524 | 8461 |
| 8525 class CanvasPixelArrayWrappingImplementation extends DOMWrapperBase implements C
anvasPixelArray { | 8462 class CanvasPixelArrayWrappingImplementation extends DOMWrapperBase implements C
anvasPixelArray { |
| 8526 CanvasPixelArrayWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 8463 CanvasPixelArrayWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 8527 | 8464 |
| 8528 int get length() { return _ptr.length; } | 8465 int get length() { return _ptr.length; } |
| 8529 | 8466 |
| 8530 int operator[](int index) { | 8467 int operator[](int index) { |
| 8531 return item(index); | 8468 return item(index); |
| 8532 } | 8469 } |
| 8533 | 8470 |
| 8534 void operator[]=(int index, int value) { | 8471 void operator[]=(int index, int value) { |
| 8535 throw new UnsupportedOperationException("Cannot assign element of immutable
Array."); | 8472 throw new UnsupportedOperationException("Cannot assign element of immutable
List."); |
| 8536 } | 8473 } |
| 8537 | 8474 |
| 8538 void add(int value) { | 8475 void add(int value) { |
| 8539 throw new UnsupportedOperationException("Cannot add to immutable Array."); | 8476 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 8540 } | 8477 } |
| 8541 | 8478 |
| 8542 void addLast(int value) { | 8479 void addLast(int value) { |
| 8543 throw new UnsupportedOperationException("Cannot add to immutable Array."); | 8480 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 8544 } | 8481 } |
| 8545 | 8482 |
| 8546 void addAll(Collection<int> collection) { | 8483 void addAll(Collection<int> collection) { |
| 8547 throw new UnsupportedOperationException("Cannot add to immutable Array."); | 8484 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 8548 } | 8485 } |
| 8549 | 8486 |
| 8550 void sort(int compare(int a, int b)) { | 8487 void sort(int compare(int a, int b)) { |
| 8551 throw new UnsupportedOperationException("Cannot sort immutable Array."); | 8488 throw new UnsupportedOperationException("Cannot sort immutable List."); |
| 8552 } | 8489 } |
| 8553 | 8490 |
| 8554 void copyFrom(List<Object> src, int srcStart, int dstStart, int count) { | 8491 void copyFrom(List<Object> src, int srcStart, int dstStart, int count) { |
| 8555 throw new UnsupportedOperationException("This object is immutable."); | 8492 throw new UnsupportedOperationException("This object is immutable."); |
| 8556 } | 8493 } |
| 8557 | 8494 |
| 8558 int indexOf(int element, int startIndex) { | 8495 int indexOf(int element, int startIndex) { |
| 8559 return _Lists.indexOf(this, element, startIndex, this.length); | 8496 return _Lists.indexOf(this, element, startIndex, this.length); |
| 8560 } | 8497 } |
| 8561 | 8498 |
| 8562 int lastIndexOf(int element, int startIndex) { | 8499 int lastIndexOf(int element, int startIndex) { |
| 8563 return _Lists.lastIndexOf(this, element, startIndex); | 8500 return _Lists.lastIndexOf(this, element, startIndex); |
| 8564 } | 8501 } |
| 8565 | 8502 |
| 8566 int clear() { | 8503 int clear() { |
| 8567 throw new UnsupportedOperationException("Cannot clear immutable Array."); | 8504 throw new UnsupportedOperationException("Cannot clear immutable List."); |
| 8568 } | 8505 } |
| 8569 | 8506 |
| 8570 int removeLast() { | 8507 int removeLast() { |
| 8571 throw new UnsupportedOperationException("Cannot removeLast on immutable Arra
y."); | 8508 throw new UnsupportedOperationException("Cannot removeLast on immutable List
."); |
| 8572 } | 8509 } |
| 8573 | 8510 |
| 8574 int last() { | 8511 int last() { |
| 8575 return this[length - 1]; | 8512 return this[length - 1]; |
| 8576 } | 8513 } |
| 8577 | 8514 |
| 8578 void forEach(void f(int element)) { | 8515 void forEach(void f(int element)) { |
| 8579 _Collections.forEach(this, f); | 8516 _Collections.forEach(this, f); |
| 8580 } | 8517 } |
| 8581 | 8518 |
| 8582 Collection<int> filter(bool f(int element)) { | 8519 Collection<int> filter(bool f(int element)) { |
| 8583 return _Collections.filter(this, new List<int>(), f); | 8520 return _Collections.filter(this, new List<int>(), f); |
| 8584 } | 8521 } |
| 8585 | 8522 |
| 8586 bool every(bool f(int element)) { | 8523 bool every(bool f(int element)) { |
| 8587 return _Collections.every(this, f); | 8524 return _Collections.every(this, f); |
| 8588 } | 8525 } |
| 8589 | 8526 |
| 8590 bool some(bool f(int element)) { | 8527 bool some(bool f(int element)) { |
| 8591 return _Collections.some(this, f); | 8528 return _Collections.some(this, f); |
| 8592 } | 8529 } |
| 8593 | 8530 |
| 8531 void setRange(int start, int length, List<int> from, [int startFrom]) { |
| 8532 throw new UnsupportedOperationException("Cannot setRange on immutable List."
); |
| 8533 } |
| 8534 |
| 8535 void removeRange(int start, int length) { |
| 8536 throw new UnsupportedOperationException("Cannot removeRange on immutable Lis
t."); |
| 8537 } |
| 8538 |
| 8539 void insertRange(int start, int length, [int initialValue]) { |
| 8540 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis
t."); |
| 8541 } |
| 8542 |
| 8543 List<int> getRange(int start, int length) { |
| 8544 throw new NotImplementedException(); |
| 8545 } |
| 8546 |
| 8594 bool isEmpty() { | 8547 bool isEmpty() { |
| 8595 return length == 0; | 8548 return length == 0; |
| 8596 } | 8549 } |
| 8597 | 8550 |
| 8598 Iterator<int> iterator() { | 8551 Iterator<int> iterator() { |
| 8599 return new _FixedSizeListIterator<int>(this); | 8552 return new _FixedSizeListIterator<int>(this); |
| 8600 } | 8553 } |
| 8601 | 8554 |
| 8602 int item(int index) { | 8555 int item(int index) { |
| 8603 return _ptr.item(index); | 8556 return _ptr.item(index); |
| 8604 } | 8557 } |
| 8605 | |
| 8606 String get typeName() { return "CanvasPixelArray"; } | |
| 8607 } | 8558 } |
| 8608 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 8559 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 8609 // for details. All rights reserved. Use of this source code is governed by a | 8560 // for details. All rights reserved. Use of this source code is governed by a |
| 8610 // BSD-style license that can be found in the LICENSE file. | 8561 // BSD-style license that can be found in the LICENSE file. |
| 8611 | 8562 |
| 8612 // WARNING: Do not edit - generated code. | 8563 // WARNING: Do not edit - generated code. |
| 8613 | 8564 |
| 8614 class CanvasRenderingContext2DWrappingImplementation extends CanvasRenderingCont
extWrappingImplementation implements CanvasRenderingContext2D { | 8565 class CanvasRenderingContext2DWrappingImplementation extends CanvasRenderingCont
extWrappingImplementation implements CanvasRenderingContext2D { |
| 8615 CanvasRenderingContext2DWrappingImplementation._wrap(ptr) : super._wrap(ptr) {
} | 8566 CanvasRenderingContext2DWrappingImplementation._wrap(ptr) : super._wrap(ptr) {
} |
| 8616 | 8567 |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8700 _ptr.clip(); | 8651 _ptr.clip(); |
| 8701 return; | 8652 return; |
| 8702 } | 8653 } |
| 8703 | 8654 |
| 8704 void closePath() { | 8655 void closePath() { |
| 8705 _ptr.closePath(); | 8656 _ptr.closePath(); |
| 8706 return; | 8657 return; |
| 8707 } | 8658 } |
| 8708 | 8659 |
| 8709 ImageData createImageData(var imagedata_OR_sw, [num sh = null]) { | 8660 ImageData createImageData(var imagedata_OR_sw, [num sh = null]) { |
| 8710 if (imagedata_OR_sw is num) { | 8661 if (imagedata_OR_sw is ImageData) { |
| 8711 return LevelDom.wrapImageData(_ptr.createImageData(LevelDom.unwrap(imageda
ta_OR_sw), sh)); | 8662 if (sh === null) { |
| 8663 return LevelDom.wrapImageData(_ptr.createImageData(LevelDom.unwrap(image
data_OR_sw))); |
| 8664 } |
| 8665 } else { |
| 8666 if (imagedata_OR_sw is num) { |
| 8667 return LevelDom.wrapImageData(_ptr.createImageData(LevelDom.unwrap(image
data_OR_sw), sh)); |
| 8668 } |
| 8712 } | 8669 } |
| 8713 throw "Incorrect number or type of arguments"; | 8670 throw "Incorrect number or type of arguments"; |
| 8714 } | 8671 } |
| 8715 | 8672 |
| 8716 CanvasGradient createLinearGradient(num x0, num y0, num x1, num y1) { | 8673 CanvasGradient createLinearGradient(num x0, num y0, num x1, num y1) { |
| 8717 return LevelDom.wrapCanvasGradient(_ptr.createLinearGradient(x0, y0, x1, y1)
); | 8674 return LevelDom.wrapCanvasGradient(_ptr.createLinearGradient(x0, y0, x1, y1)
); |
| 8718 } | 8675 } |
| 8719 | 8676 |
| 8720 CanvasPattern createPattern(var canvas_OR_image, String repetitionType) { | 8677 CanvasPattern createPattern(var canvas_OR_image, String repetitionType) { |
| 8721 if (canvas_OR_image is ImageElement) { | 8678 if (canvas_OR_image is CanvasElement) { |
| 8722 return LevelDom.wrapCanvasPattern(_ptr.createPattern(LevelDom.unwrap(canva
s_OR_image), repetitionType)); | 8679 return LevelDom.wrapCanvasPattern(_ptr.createPattern(LevelDom.unwrap(canva
s_OR_image), repetitionType)); |
| 8680 } else { |
| 8681 if (canvas_OR_image is ImageElement) { |
| 8682 return LevelDom.wrapCanvasPattern(_ptr.createPattern(LevelDom.unwrap(can
vas_OR_image), repetitionType)); |
| 8683 } |
| 8723 } | 8684 } |
| 8724 throw "Incorrect number or type of arguments"; | 8685 throw "Incorrect number or type of arguments"; |
| 8725 } | 8686 } |
| 8726 | 8687 |
| 8727 CanvasGradient createRadialGradient(num x0, num y0, num r0, num x1, num y1, nu
m r1) { | 8688 CanvasGradient createRadialGradient(num x0, num y0, num r0, num x1, num y1, nu
m r1) { |
| 8728 return LevelDom.wrapCanvasGradient(_ptr.createRadialGradient(x0, y0, r0, x1,
y1, r1)); | 8689 return LevelDom.wrapCanvasGradient(_ptr.createRadialGradient(x0, y0, r0, x1,
y1, r1)); |
| 8729 } | 8690 } |
| 8730 | 8691 |
| 8731 void drawImage(var canvas_OR_image, num sx_OR_x, num sy_OR_y, [num sw_OR_width
= null, num height_OR_sh = null, num dx = null, num dy = null, num dw = null, n
um dh = null]) { | 8692 void drawImage(var canvas_OR_image, num sx_OR_x, num sy_OR_y, [num sw_OR_width
= null, num height_OR_sh = null, num dx = null, num dy = null, num dw = null, n
um dh = null]) { |
| 8732 if (canvas_OR_image is CanvasElement) { | 8693 if (canvas_OR_image is ImageElement) { |
| 8733 _ptr.drawImage(LevelDom.unwrap(canvas_OR_image), sx_OR_x, sy_OR_y, sw_OR_w
idth, height_OR_sh, dx, dy, dw, dh); | 8694 if (sw_OR_width === null) { |
| 8734 return; | 8695 if (height_OR_sh === null) { |
| 8696 if (dx === null) { |
| 8697 if (dy === null) { |
| 8698 if (dw === null) { |
| 8699 if (dh === null) { |
| 8700 _ptr.drawImage(LevelDom.unwrap(canvas_OR_image), sx_OR_x, sy_O
R_y); |
| 8701 return; |
| 8702 } |
| 8703 } |
| 8704 } |
| 8705 } |
| 8706 } |
| 8707 } else { |
| 8708 if (dx === null) { |
| 8709 if (dy === null) { |
| 8710 if (dw === null) { |
| 8711 if (dh === null) { |
| 8712 _ptr.drawImage(LevelDom.unwrap(canvas_OR_image), sx_OR_x, sy_OR_
y, sw_OR_width, height_OR_sh); |
| 8713 return; |
| 8714 } |
| 8715 } |
| 8716 } |
| 8717 } else { |
| 8718 _ptr.drawImage(LevelDom.unwrap(canvas_OR_image), sx_OR_x, sy_OR_y, sw_
OR_width, height_OR_sh, dx, dy, dw, dh); |
| 8719 return; |
| 8720 } |
| 8721 } |
| 8722 } else { |
| 8723 if (canvas_OR_image is CanvasElement) { |
| 8724 if (sw_OR_width === null) { |
| 8725 if (height_OR_sh === null) { |
| 8726 if (dx === null) { |
| 8727 if (dy === null) { |
| 8728 if (dw === null) { |
| 8729 if (dh === null) { |
| 8730 _ptr.drawImage(LevelDom.unwrap(canvas_OR_image), sx_OR_x, sy
_OR_y); |
| 8731 return; |
| 8732 } |
| 8733 } |
| 8734 } |
| 8735 } |
| 8736 } |
| 8737 } else { |
| 8738 if (dx === null) { |
| 8739 if (dy === null) { |
| 8740 if (dw === null) { |
| 8741 if (dh === null) { |
| 8742 _ptr.drawImage(LevelDom.unwrap(canvas_OR_image), sx_OR_x, sy_O
R_y, sw_OR_width, height_OR_sh); |
| 8743 return; |
| 8744 } |
| 8745 } |
| 8746 } |
| 8747 } else { |
| 8748 _ptr.drawImage(LevelDom.unwrap(canvas_OR_image), sx_OR_x, sy_OR_y, s
w_OR_width, height_OR_sh, dx, dy, dw, dh); |
| 8749 return; |
| 8750 } |
| 8751 } |
| 8752 } |
| 8735 } | 8753 } |
| 8736 throw "Incorrect number or type of arguments"; | 8754 throw "Incorrect number or type of arguments"; |
| 8737 } | 8755 } |
| 8738 | 8756 |
| 8739 void drawImageFromRect(ImageElement image, [num sx = null, num sy = null, num
sw = null, num sh = null, num dx = null, num dy = null, num dw = null, num dh =
null, String compositeOperation = null]) { | 8757 void drawImageFromRect(ImageElement image, [num sx = null, num sy = null, num
sw = null, num sh = null, num dx = null, num dy = null, num dw = null, num dh =
null, String compositeOperation = null]) { |
| 8740 _ptr.drawImageFromRect(LevelDom.unwrap(image), sx, sy, sw, sh, dx, dy, dw, d
h, compositeOperation); | 8758 if (sx === null) { |
| 8741 return; | 8759 if (sy === null) { |
| 8760 if (sw === null) { |
| 8761 if (sh === null) { |
| 8762 if (dx === null) { |
| 8763 if (dy === null) { |
| 8764 if (dw === null) { |
| 8765 if (dh === null) { |
| 8766 if (compositeOperation === null) { |
| 8767 _ptr.drawImageFromRect(LevelDom.unwrap(image)); |
| 8768 return; |
| 8769 } |
| 8770 } |
| 8771 } |
| 8772 } |
| 8773 } |
| 8774 } |
| 8775 } |
| 8776 } |
| 8777 } else { |
| 8778 if (sy === null) { |
| 8779 if (sw === null) { |
| 8780 if (sh === null) { |
| 8781 if (dx === null) { |
| 8782 if (dy === null) { |
| 8783 if (dw === null) { |
| 8784 if (dh === null) { |
| 8785 if (compositeOperation === null) { |
| 8786 _ptr.drawImageFromRect(LevelDom.unwrap(image), sx); |
| 8787 return; |
| 8788 } |
| 8789 } |
| 8790 } |
| 8791 } |
| 8792 } |
| 8793 } |
| 8794 } |
| 8795 } else { |
| 8796 if (sw === null) { |
| 8797 if (sh === null) { |
| 8798 if (dx === null) { |
| 8799 if (dy === null) { |
| 8800 if (dw === null) { |
| 8801 if (dh === null) { |
| 8802 if (compositeOperation === null) { |
| 8803 _ptr.drawImageFromRect(LevelDom.unwrap(image), sx, sy); |
| 8804 return; |
| 8805 } |
| 8806 } |
| 8807 } |
| 8808 } |
| 8809 } |
| 8810 } |
| 8811 } else { |
| 8812 if (sh === null) { |
| 8813 if (dx === null) { |
| 8814 if (dy === null) { |
| 8815 if (dw === null) { |
| 8816 if (dh === null) { |
| 8817 if (compositeOperation === null) { |
| 8818 _ptr.drawImageFromRect(LevelDom.unwrap(image), sx, sy, sw)
; |
| 8819 return; |
| 8820 } |
| 8821 } |
| 8822 } |
| 8823 } |
| 8824 } |
| 8825 } else { |
| 8826 if (dx === null) { |
| 8827 if (dy === null) { |
| 8828 if (dw === null) { |
| 8829 if (dh === null) { |
| 8830 if (compositeOperation === null) { |
| 8831 _ptr.drawImageFromRect(LevelDom.unwrap(image), sx, sy, sw,
sh); |
| 8832 return; |
| 8833 } |
| 8834 } |
| 8835 } |
| 8836 } |
| 8837 } else { |
| 8838 if (dy === null) { |
| 8839 if (dw === null) { |
| 8840 if (dh === null) { |
| 8841 if (compositeOperation === null) { |
| 8842 _ptr.drawImageFromRect(LevelDom.unwrap(image), sx, sy, sw,
sh, dx); |
| 8843 return; |
| 8844 } |
| 8845 } |
| 8846 } |
| 8847 } else { |
| 8848 if (dw === null) { |
| 8849 if (dh === null) { |
| 8850 if (compositeOperation === null) { |
| 8851 _ptr.drawImageFromRect(LevelDom.unwrap(image), sx, sy, sw,
sh, dx, dy); |
| 8852 return; |
| 8853 } |
| 8854 } |
| 8855 } else { |
| 8856 if (dh === null) { |
| 8857 if (compositeOperation === null) { |
| 8858 _ptr.drawImageFromRect(LevelDom.unwrap(image), sx, sy, sw,
sh, dx, dy, dw); |
| 8859 return; |
| 8860 } |
| 8861 } else { |
| 8862 if (compositeOperation === null) { |
| 8863 _ptr.drawImageFromRect(LevelDom.unwrap(image), sx, sy, sw,
sh, dx, dy, dw, dh); |
| 8864 return; |
| 8865 } else { |
| 8866 _ptr.drawImageFromRect(LevelDom.unwrap(image), sx, sy, sw,
sh, dx, dy, dw, dh, compositeOperation); |
| 8867 return; |
| 8868 } |
| 8869 } |
| 8870 } |
| 8871 } |
| 8872 } |
| 8873 } |
| 8874 } |
| 8875 } |
| 8876 } |
| 8877 throw "Incorrect number or type of arguments"; |
| 8742 } | 8878 } |
| 8743 | 8879 |
| 8744 void fill() { | 8880 void fill() { |
| 8745 _ptr.fill(); | 8881 _ptr.fill(); |
| 8746 return; | 8882 return; |
| 8747 } | 8883 } |
| 8748 | 8884 |
| 8749 void fillRect(num x, num y, num width, num height) { | 8885 void fillRect(num x, num y, num width, num height) { |
| 8750 _ptr.fillRect(x, y, width, height); | 8886 _ptr.fillRect(x, y, width, height); |
| 8751 return; | 8887 return; |
| 8752 } | 8888 } |
| 8753 | 8889 |
| 8754 void fillText(String text, num x, num y, [num maxWidth = null]) { | 8890 void fillText(String text, num x, num y, [num maxWidth = null]) { |
| 8755 _ptr.fillText(text, x, y, maxWidth); | 8891 if (maxWidth === null) { |
| 8756 return; | 8892 _ptr.fillText(text, x, y); |
| 8893 return; |
| 8894 } else { |
| 8895 _ptr.fillText(text, x, y, maxWidth); |
| 8896 return; |
| 8897 } |
| 8757 } | 8898 } |
| 8758 | 8899 |
| 8759 ImageData getImageData(num sx, num sy, num sw, num sh) { | 8900 ImageData getImageData(num sx, num sy, num sw, num sh) { |
| 8760 return LevelDom.wrapImageData(_ptr.getImageData(sx, sy, sw, sh)); | 8901 return LevelDom.wrapImageData(_ptr.getImageData(sx, sy, sw, sh)); |
| 8761 } | 8902 } |
| 8762 | 8903 |
| 8763 bool isPointInPath(num x, num y) { | 8904 bool isPointInPath(num x, num y) { |
| 8764 return _ptr.isPointInPath(x, y); | 8905 return _ptr.isPointInPath(x, y); |
| 8765 } | 8906 } |
| 8766 | 8907 |
| 8767 void lineTo(num x, num y) { | 8908 void lineTo(num x, num y) { |
| 8768 _ptr.lineTo(x, y); | 8909 _ptr.lineTo(x, y); |
| 8769 return; | 8910 return; |
| 8770 } | 8911 } |
| 8771 | 8912 |
| 8772 TextMetrics measureText(String text) { | 8913 TextMetrics measureText(String text) { |
| 8773 return LevelDom.wrapTextMetrics(_ptr.measureText(text)); | 8914 return LevelDom.wrapTextMetrics(_ptr.measureText(text)); |
| 8774 } | 8915 } |
| 8775 | 8916 |
| 8776 void moveTo(num x, num y) { | 8917 void moveTo(num x, num y) { |
| 8777 _ptr.moveTo(x, y); | 8918 _ptr.moveTo(x, y); |
| 8778 return; | 8919 return; |
| 8779 } | 8920 } |
| 8780 | 8921 |
| 8781 void putImageData(ImageData imagedata, num dx, num dy, [num dirtyX = null, num
dirtyY = null, num dirtyWidth = null, num dirtyHeight = null]) { | 8922 void putImageData(ImageData imagedata, num dx, num dy, [num dirtyX = null, num
dirtyY = null, num dirtyWidth = null, num dirtyHeight = null]) { |
| 8782 _ptr.putImageData(LevelDom.unwrap(imagedata), dx, dy, dirtyX, dirtyY, dirtyW
idth, dirtyHeight); | 8923 if (dirtyX === null) { |
| 8783 return; | 8924 if (dirtyY === null) { |
| 8925 if (dirtyWidth === null) { |
| 8926 if (dirtyHeight === null) { |
| 8927 _ptr.putImageData(LevelDom.unwrap(imagedata), dx, dy); |
| 8928 return; |
| 8929 } |
| 8930 } |
| 8931 } |
| 8932 } else { |
| 8933 _ptr.putImageData(LevelDom.unwrap(imagedata), dx, dy, dirtyX, dirtyY, dirt
yWidth, dirtyHeight); |
| 8934 return; |
| 8935 } |
| 8936 throw "Incorrect number or type of arguments"; |
| 8784 } | 8937 } |
| 8785 | 8938 |
| 8786 void quadraticCurveTo(num cpx, num cpy, num x, num y) { | 8939 void quadraticCurveTo(num cpx, num cpy, num x, num y) { |
| 8787 _ptr.quadraticCurveTo(cpx, cpy, x, y); | 8940 _ptr.quadraticCurveTo(cpx, cpy, x, y); |
| 8788 return; | 8941 return; |
| 8789 } | 8942 } |
| 8790 | 8943 |
| 8791 void rect(num x, num y, num width, num height) { | 8944 void rect(num x, num y, num width, num height) { |
| 8792 _ptr.rect(x, y, width, height); | 8945 _ptr.rect(x, y, width, height); |
| 8793 return; | 8946 return; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 8817 _ptr.setAlpha(alpha); | 8970 _ptr.setAlpha(alpha); |
| 8818 return; | 8971 return; |
| 8819 } | 8972 } |
| 8820 | 8973 |
| 8821 void setCompositeOperation(String compositeOperation) { | 8974 void setCompositeOperation(String compositeOperation) { |
| 8822 _ptr.setCompositeOperation(compositeOperation); | 8975 _ptr.setCompositeOperation(compositeOperation); |
| 8823 return; | 8976 return; |
| 8824 } | 8977 } |
| 8825 | 8978 |
| 8826 void setFillColor(var c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m = nul
l, num b_OR_y = null, num a_OR_k = null, num a = null]) { | 8979 void setFillColor(var c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m = nul
l, num b_OR_y = null, num a_OR_k = null, num a = null]) { |
| 8827 if (c_OR_color_OR_grayLevel_OR_r is num) { | 8980 if (c_OR_color_OR_grayLevel_OR_r is String) { |
| 8828 _ptr.setFillColor(LevelDom.unwrap(c_OR_color_OR_grayLevel_OR_r), alpha_OR_
g_OR_m, b_OR_y, a_OR_k, a); | 8981 if (alpha_OR_g_OR_m === null) { |
| 8829 return; | 8982 if (b_OR_y === null) { |
| 8983 if (a_OR_k === null) { |
| 8984 if (a === null) { |
| 8985 _ptr.setFillColor(LevelDom.unwrap(c_OR_color_OR_grayLevel_OR_r)); |
| 8986 return; |
| 8987 } |
| 8988 } |
| 8989 } |
| 8990 } else { |
| 8991 if (b_OR_y === null) { |
| 8992 if (a_OR_k === null) { |
| 8993 if (a === null) { |
| 8994 _ptr.setFillColor(LevelDom.unwrap(c_OR_color_OR_grayLevel_OR_r), a
lpha_OR_g_OR_m); |
| 8995 return; |
| 8996 } |
| 8997 } |
| 8998 } |
| 8999 } |
| 9000 } else { |
| 9001 if (c_OR_color_OR_grayLevel_OR_r is num) { |
| 9002 if (alpha_OR_g_OR_m === null) { |
| 9003 if (b_OR_y === null) { |
| 9004 if (a_OR_k === null) { |
| 9005 if (a === null) { |
| 9006 _ptr.setFillColor(LevelDom.unwrap(c_OR_color_OR_grayLevel_OR_r))
; |
| 9007 return; |
| 9008 } |
| 9009 } |
| 9010 } |
| 9011 } else { |
| 9012 if (b_OR_y === null) { |
| 9013 if (a_OR_k === null) { |
| 9014 if (a === null) { |
| 9015 _ptr.setFillColor(LevelDom.unwrap(c_OR_color_OR_grayLevel_OR_r),
alpha_OR_g_OR_m); |
| 9016 return; |
| 9017 } |
| 9018 } |
| 9019 } else { |
| 9020 if (a === null) { |
| 9021 _ptr.setFillColor(LevelDom.unwrap(c_OR_color_OR_grayLevel_OR_r), a
lpha_OR_g_OR_m, b_OR_y, a_OR_k); |
| 9022 return; |
| 9023 } else { |
| 9024 _ptr.setFillColor(LevelDom.unwrap(c_OR_color_OR_grayLevel_OR_r), a
lpha_OR_g_OR_m, b_OR_y, a_OR_k, a); |
| 9025 return; |
| 9026 } |
| 9027 } |
| 9028 } |
| 9029 } |
| 8830 } | 9030 } |
| 8831 throw "Incorrect number or type of arguments"; | 9031 throw "Incorrect number or type of arguments"; |
| 8832 } | 9032 } |
| 8833 | 9033 |
| 8834 void setFillStyle(var color_OR_gradient_OR_pattern) { | 9034 void setFillStyle(var color_OR_gradient_OR_pattern) { |
| 8835 if (color_OR_gradient_OR_pattern is CanvasPattern) { | 9035 if (color_OR_gradient_OR_pattern is String) { |
| 8836 _ptr.setFillStyle(LevelDom.unwrap(color_OR_gradient_OR_pattern)); | 9036 _ptr.setFillStyle(LevelDom.unwrap(color_OR_gradient_OR_pattern)); |
| 8837 return; | 9037 return; |
| 9038 } else { |
| 9039 if (color_OR_gradient_OR_pattern is CanvasGradient) { |
| 9040 _ptr.setFillStyle(LevelDom.unwrap(color_OR_gradient_OR_pattern)); |
| 9041 return; |
| 9042 } else { |
| 9043 if (color_OR_gradient_OR_pattern is CanvasPattern) { |
| 9044 _ptr.setFillStyle(LevelDom.unwrap(color_OR_gradient_OR_pattern)); |
| 9045 return; |
| 9046 } |
| 9047 } |
| 8838 } | 9048 } |
| 8839 throw "Incorrect number or type of arguments"; | 9049 throw "Incorrect number or type of arguments"; |
| 8840 } | 9050 } |
| 8841 | 9051 |
| 8842 void setLineCap(String cap) { | 9052 void setLineCap(String cap) { |
| 8843 _ptr.setLineCap(cap); | 9053 _ptr.setLineCap(cap); |
| 8844 return; | 9054 return; |
| 8845 } | 9055 } |
| 8846 | 9056 |
| 8847 void setLineJoin(String join) { | 9057 void setLineJoin(String join) { |
| 8848 _ptr.setLineJoin(join); | 9058 _ptr.setLineJoin(join); |
| 8849 return; | 9059 return; |
| 8850 } | 9060 } |
| 8851 | 9061 |
| 8852 void setLineWidth(num width) { | 9062 void setLineWidth(num width) { |
| 8853 _ptr.setLineWidth(width); | 9063 _ptr.setLineWidth(width); |
| 8854 return; | 9064 return; |
| 8855 } | 9065 } |
| 8856 | 9066 |
| 8857 void setMiterLimit(num limit) { | 9067 void setMiterLimit(num limit) { |
| 8858 _ptr.setMiterLimit(limit); | 9068 _ptr.setMiterLimit(limit); |
| 8859 return; | 9069 return; |
| 8860 } | 9070 } |
| 8861 | 9071 |
| 8862 void setShadow(num width, num height, num blur, [var c_OR_color_OR_grayLevel_O
R_r = null, num alpha_OR_g_OR_m = null, num b_OR_y = null, num a_OR_k = null, nu
m a = null]) { | 9072 void setShadow(num width, num height, num blur, [var c_OR_color_OR_grayLevel_O
R_r = null, num alpha_OR_g_OR_m = null, num b_OR_y = null, num a_OR_k = null, nu
m a = null]) { |
| 8863 if (c_OR_color_OR_grayLevel_OR_r is num) { | 9073 if (c_OR_color_OR_grayLevel_OR_r === null) { |
| 8864 _ptr.setShadow(width, height, blur, LevelDom.unwrap(c_OR_color_OR_grayLeve
l_OR_r), alpha_OR_g_OR_m, b_OR_y, a_OR_k, a); | 9074 if (alpha_OR_g_OR_m === null) { |
| 8865 return; | 9075 if (b_OR_y === null) { |
| 9076 if (a_OR_k === null) { |
| 9077 if (a === null) { |
| 9078 _ptr.setShadow(width, height, blur); |
| 9079 return; |
| 9080 } |
| 9081 } |
| 9082 } |
| 9083 } |
| 9084 } else { |
| 9085 if (c_OR_color_OR_grayLevel_OR_r is String) { |
| 9086 if (alpha_OR_g_OR_m === null) { |
| 9087 if (b_OR_y === null) { |
| 9088 if (a_OR_k === null) { |
| 9089 if (a === null) { |
| 9090 _ptr.setShadow(width, height, blur, LevelDom.unwrap(c_OR_color_O
R_grayLevel_OR_r)); |
| 9091 return; |
| 9092 } |
| 9093 } |
| 9094 } |
| 9095 } else { |
| 9096 if (b_OR_y === null) { |
| 9097 if (a_OR_k === null) { |
| 9098 if (a === null) { |
| 9099 _ptr.setShadow(width, height, blur, LevelDom.unwrap(c_OR_color_O
R_grayLevel_OR_r), alpha_OR_g_OR_m); |
| 9100 return; |
| 9101 } |
| 9102 } |
| 9103 } |
| 9104 } |
| 9105 } else { |
| 9106 if (c_OR_color_OR_grayLevel_OR_r is num) { |
| 9107 if (alpha_OR_g_OR_m === null) { |
| 9108 if (b_OR_y === null) { |
| 9109 if (a_OR_k === null) { |
| 9110 if (a === null) { |
| 9111 _ptr.setShadow(width, height, blur, LevelDom.unwrap(c_OR_color
_OR_grayLevel_OR_r)); |
| 9112 return; |
| 9113 } |
| 9114 } |
| 9115 } |
| 9116 } else { |
| 9117 if (b_OR_y === null) { |
| 9118 if (a_OR_k === null) { |
| 9119 if (a === null) { |
| 9120 _ptr.setShadow(width, height, blur, LevelDom.unwrap(c_OR_color
_OR_grayLevel_OR_r), alpha_OR_g_OR_m); |
| 9121 return; |
| 9122 } |
| 9123 } |
| 9124 } else { |
| 9125 if (a === null) { |
| 9126 _ptr.setShadow(width, height, blur, LevelDom.unwrap(c_OR_color_O
R_grayLevel_OR_r), alpha_OR_g_OR_m, b_OR_y, a_OR_k); |
| 9127 return; |
| 9128 } else { |
| 9129 _ptr.setShadow(width, height, blur, LevelDom.unwrap(c_OR_color_O
R_grayLevel_OR_r), alpha_OR_g_OR_m, b_OR_y, a_OR_k, a); |
| 9130 return; |
| 9131 } |
| 9132 } |
| 9133 } |
| 9134 } |
| 9135 } |
| 8866 } | 9136 } |
| 8867 throw "Incorrect number or type of arguments"; | 9137 throw "Incorrect number or type of arguments"; |
| 8868 } | 9138 } |
| 8869 | 9139 |
| 8870 void setStrokeColor(var c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m = n
ull, num b_OR_y = null, num a_OR_k = null, num a = null]) { | 9140 void setStrokeColor(var c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m = n
ull, num b_OR_y = null, num a_OR_k = null, num a = null]) { |
| 8871 if (c_OR_color_OR_grayLevel_OR_r is num) { | 9141 if (c_OR_color_OR_grayLevel_OR_r is String) { |
| 8872 _ptr.setStrokeColor(LevelDom.unwrap(c_OR_color_OR_grayLevel_OR_r), alpha_O
R_g_OR_m, b_OR_y, a_OR_k, a); | 9142 if (alpha_OR_g_OR_m === null) { |
| 8873 return; | 9143 if (b_OR_y === null) { |
| 9144 if (a_OR_k === null) { |
| 9145 if (a === null) { |
| 9146 _ptr.setStrokeColor(LevelDom.unwrap(c_OR_color_OR_grayLevel_OR_r))
; |
| 9147 return; |
| 9148 } |
| 9149 } |
| 9150 } |
| 9151 } else { |
| 9152 if (b_OR_y === null) { |
| 9153 if (a_OR_k === null) { |
| 9154 if (a === null) { |
| 9155 _ptr.setStrokeColor(LevelDom.unwrap(c_OR_color_OR_grayLevel_OR_r),
alpha_OR_g_OR_m); |
| 9156 return; |
| 9157 } |
| 9158 } |
| 9159 } |
| 9160 } |
| 9161 } else { |
| 9162 if (c_OR_color_OR_grayLevel_OR_r is num) { |
| 9163 if (alpha_OR_g_OR_m === null) { |
| 9164 if (b_OR_y === null) { |
| 9165 if (a_OR_k === null) { |
| 9166 if (a === null) { |
| 9167 _ptr.setStrokeColor(LevelDom.unwrap(c_OR_color_OR_grayLevel_OR_r
)); |
| 9168 return; |
| 9169 } |
| 9170 } |
| 9171 } |
| 9172 } else { |
| 9173 if (b_OR_y === null) { |
| 9174 if (a_OR_k === null) { |
| 9175 if (a === null) { |
| 9176 _ptr.setStrokeColor(LevelDom.unwrap(c_OR_color_OR_grayLevel_OR_r
), alpha_OR_g_OR_m); |
| 9177 return; |
| 9178 } |
| 9179 } |
| 9180 } else { |
| 9181 if (a === null) { |
| 9182 _ptr.setStrokeColor(LevelDom.unwrap(c_OR_color_OR_grayLevel_OR_r),
alpha_OR_g_OR_m, b_OR_y, a_OR_k); |
| 9183 return; |
| 9184 } else { |
| 9185 _ptr.setStrokeColor(LevelDom.unwrap(c_OR_color_OR_grayLevel_OR_r),
alpha_OR_g_OR_m, b_OR_y, a_OR_k, a); |
| 9186 return; |
| 9187 } |
| 9188 } |
| 9189 } |
| 9190 } |
| 8874 } | 9191 } |
| 8875 throw "Incorrect number or type of arguments"; | 9192 throw "Incorrect number or type of arguments"; |
| 8876 } | 9193 } |
| 8877 | 9194 |
| 8878 void setStrokeStyle(var color_OR_gradient_OR_pattern) { | 9195 void setStrokeStyle(var color_OR_gradient_OR_pattern) { |
| 8879 if (color_OR_gradient_OR_pattern is CanvasPattern) { | 9196 if (color_OR_gradient_OR_pattern is String) { |
| 8880 _ptr.setStrokeStyle(LevelDom.unwrap(color_OR_gradient_OR_pattern)); | 9197 _ptr.setStrokeStyle(LevelDom.unwrap(color_OR_gradient_OR_pattern)); |
| 8881 return; | 9198 return; |
| 9199 } else { |
| 9200 if (color_OR_gradient_OR_pattern is CanvasGradient) { |
| 9201 _ptr.setStrokeStyle(LevelDom.unwrap(color_OR_gradient_OR_pattern)); |
| 9202 return; |
| 9203 } else { |
| 9204 if (color_OR_gradient_OR_pattern is CanvasPattern) { |
| 9205 _ptr.setStrokeStyle(LevelDom.unwrap(color_OR_gradient_OR_pattern)); |
| 9206 return; |
| 9207 } |
| 9208 } |
| 8882 } | 9209 } |
| 8883 throw "Incorrect number or type of arguments"; | 9210 throw "Incorrect number or type of arguments"; |
| 8884 } | 9211 } |
| 8885 | 9212 |
| 8886 void setTransform(num m11, num m12, num m21, num m22, num dx, num dy) { | 9213 void setTransform(num m11, num m12, num m21, num m22, num dx, num dy) { |
| 8887 _ptr.setTransform(m11, m12, m21, m22, dx, dy); | 9214 _ptr.setTransform(m11, m12, m21, m22, dx, dy); |
| 8888 return; | 9215 return; |
| 8889 } | 9216 } |
| 8890 | 9217 |
| 8891 void stroke() { | 9218 void stroke() { |
| 8892 _ptr.stroke(); | 9219 _ptr.stroke(); |
| 8893 return; | 9220 return; |
| 8894 } | 9221 } |
| 8895 | 9222 |
| 8896 void strokeRect(num x, num y, num width, num height, [num lineWidth = null]) { | 9223 void strokeRect(num x, num y, num width, num height, [num lineWidth = null]) { |
| 8897 _ptr.strokeRect(x, y, width, height, lineWidth); | 9224 if (lineWidth === null) { |
| 8898 return; | 9225 _ptr.strokeRect(x, y, width, height); |
| 9226 return; |
| 9227 } else { |
| 9228 _ptr.strokeRect(x, y, width, height, lineWidth); |
| 9229 return; |
| 9230 } |
| 8899 } | 9231 } |
| 8900 | 9232 |
| 8901 void strokeText(String text, num x, num y, [num maxWidth = null]) { | 9233 void strokeText(String text, num x, num y, [num maxWidth = null]) { |
| 8902 _ptr.strokeText(text, x, y, maxWidth); | 9234 if (maxWidth === null) { |
| 8903 return; | 9235 _ptr.strokeText(text, x, y); |
| 9236 return; |
| 9237 } else { |
| 9238 _ptr.strokeText(text, x, y, maxWidth); |
| 9239 return; |
| 9240 } |
| 8904 } | 9241 } |
| 8905 | 9242 |
| 8906 void transform(num m11, num m12, num m21, num m22, num dx, num dy) { | 9243 void transform(num m11, num m12, num m21, num m22, num dx, num dy) { |
| 8907 _ptr.transform(m11, m12, m21, m22, dx, dy); | 9244 _ptr.transform(m11, m12, m21, m22, dx, dy); |
| 8908 return; | 9245 return; |
| 8909 } | 9246 } |
| 8910 | 9247 |
| 8911 void translate(num tx, num ty) { | 9248 void translate(num tx, num ty) { |
| 8912 _ptr.translate(tx, ty); | 9249 _ptr.translate(tx, ty); |
| 8913 return; | 9250 return; |
| 8914 } | 9251 } |
| 8915 | |
| 8916 String get typeName() { return "CanvasRenderingContext2D"; } | |
| 8917 } | 9252 } |
| 8918 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 9253 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 8919 // for details. All rights reserved. Use of this source code is governed by a | 9254 // for details. All rights reserved. Use of this source code is governed by a |
| 8920 // BSD-style license that can be found in the LICENSE file. | 9255 // BSD-style license that can be found in the LICENSE file. |
| 8921 | 9256 |
| 8922 // WARNING: Do not edit - generated code. | 9257 // WARNING: Do not edit - generated code. |
| 8923 | 9258 |
| 8924 class CanvasRenderingContextWrappingImplementation extends DOMWrapperBase implem
ents CanvasRenderingContext { | 9259 class CanvasRenderingContextWrappingImplementation extends DOMWrapperBase implem
ents CanvasRenderingContext { |
| 8925 CanvasRenderingContextWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 9260 CanvasRenderingContextWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 8926 | 9261 |
| 8927 CanvasElement get canvas() { return LevelDom.wrapCanvasElement(_ptr.canvas); } | 9262 CanvasElement get canvas() { return LevelDom.wrapCanvasElement(_ptr.canvas); } |
| 8928 | |
| 8929 String get typeName() { return "CanvasRenderingContext"; } | |
| 8930 } | 9263 } |
| 8931 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 9264 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 8932 // for details. All rights reserved. Use of this source code is governed by a | 9265 // for details. All rights reserved. Use of this source code is governed by a |
| 8933 // BSD-style license that can be found in the LICENSE file. | 9266 // BSD-style license that can be found in the LICENSE file. |
| 8934 | 9267 |
| 8935 // WARNING: Do not edit - generated code. | 9268 // WARNING: Do not edit - generated code. |
| 8936 | 9269 |
| 8937 class CharacterDataWrappingImplementation extends NodeWrappingImplementation imp
lements CharacterData { | 9270 class CharacterDataWrappingImplementation extends NodeWrappingImplementation imp
lements CharacterData { |
| 8938 CharacterDataWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 9271 CharacterDataWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 8939 | 9272 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 8959 } | 9292 } |
| 8960 | 9293 |
| 8961 void replaceData(int offset, int length, String data) { | 9294 void replaceData(int offset, int length, String data) { |
| 8962 _ptr.replaceData(offset, length, data); | 9295 _ptr.replaceData(offset, length, data); |
| 8963 return; | 9296 return; |
| 8964 } | 9297 } |
| 8965 | 9298 |
| 8966 String substringData(int offset, int length) { | 9299 String substringData(int offset, int length) { |
| 8967 return _ptr.substringData(offset, length); | 9300 return _ptr.substringData(offset, length); |
| 8968 } | 9301 } |
| 8969 | |
| 8970 String get typeName() { return "CharacterData"; } | |
| 8971 } | 9302 } |
| 8972 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 9303 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 8973 // for details. All rights reserved. Use of this source code is governed by a | 9304 // for details. All rights reserved. Use of this source code is governed by a |
| 8974 // BSD-style license that can be found in the LICENSE file. | 9305 // BSD-style license that can be found in the LICENSE file. |
| 8975 | 9306 |
| 8976 // WARNING: Do not edit - generated code. | 9307 // WARNING: Do not edit - generated code. |
| 8977 | 9308 |
| 8978 class ClientRectListWrappingImplementation extends DOMWrapperBase implements Cli
entRectList { | 9309 class ClientRectListWrappingImplementation extends DOMWrapperBase implements Cli
entRectList { |
| 8979 ClientRectListWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 9310 ClientRectListWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 8980 | 9311 |
| 8981 int get length() { return _ptr.length; } | 9312 int get length() { return _ptr.length; } |
| 8982 | 9313 |
| 8983 ClientRect item(int index) { | 9314 ClientRect item(int index) { |
| 8984 return LevelDom.wrapClientRect(_ptr.item(index)); | 9315 return LevelDom.wrapClientRect(_ptr.item(index)); |
| 8985 } | 9316 } |
| 8986 | |
| 8987 String get typeName() { return "ClientRectList"; } | |
| 8988 } | 9317 } |
| 8989 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 9318 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 8990 // for details. All rights reserved. Use of this source code is governed by a | 9319 // for details. All rights reserved. Use of this source code is governed by a |
| 8991 // BSD-style license that can be found in the LICENSE file. | 9320 // BSD-style license that can be found in the LICENSE file. |
| 8992 | 9321 |
| 8993 // WARNING: Do not edit - generated code. | 9322 // WARNING: Do not edit - generated code. |
| 8994 | 9323 |
| 8995 class ClientRectWrappingImplementation extends DOMWrapperBase implements ClientR
ect { | 9324 class ClientRectWrappingImplementation extends DOMWrapperBase implements ClientR
ect { |
| 8996 ClientRectWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 9325 ClientRectWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 8997 | 9326 |
| 8998 num get bottom() { return _ptr.bottom; } | 9327 num get bottom() { return _ptr.bottom; } |
| 8999 | 9328 |
| 9000 num get height() { return _ptr.height; } | 9329 num get height() { return _ptr.height; } |
| 9001 | 9330 |
| 9002 num get left() { return _ptr.left; } | 9331 num get left() { return _ptr.left; } |
| 9003 | 9332 |
| 9004 num get right() { return _ptr.right; } | 9333 num get right() { return _ptr.right; } |
| 9005 | 9334 |
| 9006 num get top() { return _ptr.top; } | 9335 num get top() { return _ptr.top; } |
| 9007 | 9336 |
| 9008 num get width() { return _ptr.width; } | 9337 num get width() { return _ptr.width; } |
| 9009 | |
| 9010 String get typeName() { return "ClientRect"; } | |
| 9011 } | 9338 } |
| 9012 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 9339 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 9013 // for details. All rights reserved. Use of this source code is governed by a | 9340 // for details. All rights reserved. Use of this source code is governed by a |
| 9014 // BSD-style license that can be found in the LICENSE file. | 9341 // BSD-style license that can be found in the LICENSE file. |
| 9015 | 9342 |
| 9016 // WARNING: Do not edit - generated code. | 9343 // WARNING: Do not edit - generated code. |
| 9017 | 9344 |
| 9018 class ClipboardWrappingImplementation extends DOMWrapperBase implements Clipboar
d { | 9345 class ClipboardWrappingImplementation extends DOMWrapperBase implements Clipboar
d { |
| 9019 ClipboardWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 9346 ClipboardWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9020 | 9347 |
| 9021 String get dropEffect() { return _ptr.dropEffect; } | 9348 String get dropEffect() { return _ptr.dropEffect; } |
| 9022 | 9349 |
| 9023 void set dropEffect(String value) { _ptr.dropEffect = value; } | 9350 void set dropEffect(String value) { _ptr.dropEffect = value; } |
| 9024 | 9351 |
| 9025 String get effectAllowed() { return _ptr.effectAllowed; } | 9352 String get effectAllowed() { return _ptr.effectAllowed; } |
| 9026 | 9353 |
| 9027 void set effectAllowed(String value) { _ptr.effectAllowed = value; } | 9354 void set effectAllowed(String value) { _ptr.effectAllowed = value; } |
| 9028 | 9355 |
| 9029 FileList get files() { return LevelDom.wrapFileList(_ptr.files); } | 9356 FileList get files() { return LevelDom.wrapFileList(_ptr.files); } |
| 9030 | 9357 |
| 9031 DataTransferItems get items() { return LevelDom.wrapDataTransferItems(_ptr.ite
ms); } | 9358 DataTransferItems get items() { return LevelDom.wrapDataTransferItems(_ptr.ite
ms); } |
| 9032 | 9359 |
| 9033 void clearData(String type) { | 9360 void clearData([String type = null]) { |
| 9034 _ptr.clearData(type); | 9361 if (type === null) { |
| 9035 return; | 9362 _ptr.clearData(); |
| 9363 return; |
| 9364 } else { |
| 9365 _ptr.clearData(type); |
| 9366 return; |
| 9367 } |
| 9036 } | 9368 } |
| 9037 | 9369 |
| 9038 void getData(String type) { | 9370 void getData(String type) { |
| 9039 _ptr.getData(type); | 9371 _ptr.getData(type); |
| 9040 return; | 9372 return; |
| 9041 } | 9373 } |
| 9042 | 9374 |
| 9043 bool setData(String type, String data) { | 9375 bool setData(String type, String data) { |
| 9044 return _ptr.setData(type, data); | 9376 return _ptr.setData(type, data); |
| 9045 } | 9377 } |
| 9046 | 9378 |
| 9047 void setDragImage(ImageElement image, int x, int y) { | 9379 void setDragImage(ImageElement image, int x, int y) { |
| 9048 _ptr.setDragImage(LevelDom.unwrap(image), x, y); | 9380 _ptr.setDragImage(LevelDom.unwrap(image), x, y); |
| 9049 return; | 9381 return; |
| 9050 } | 9382 } |
| 9051 | |
| 9052 String get typeName() { return "Clipboard"; } | |
| 9053 } | 9383 } |
| 9054 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 9384 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 9055 // for details. All rights reserved. Use of this source code is governed by a | 9385 // for details. All rights reserved. Use of this source code is governed by a |
| 9056 // BSD-style license that can be found in the LICENSE file. | 9386 // BSD-style license that can be found in the LICENSE file. |
| 9057 | 9387 |
| 9058 // WARNING: Do not edit - generated code. | 9388 // WARNING: Do not edit - generated code. |
| 9059 | 9389 |
| 9060 class CloseEventWrappingImplementation extends EventWrappingImplementation imple
ments CloseEvent { | 9390 class CloseEventWrappingImplementation extends EventWrappingImplementation imple
ments CloseEvent { |
| 9061 CloseEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 9391 CloseEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9062 | 9392 |
| 9063 int get code() { return _ptr.code; } | 9393 int get code() { return _ptr.code; } |
| 9064 | 9394 |
| 9065 String get reason() { return _ptr.reason; } | 9395 String get reason() { return _ptr.reason; } |
| 9066 | 9396 |
| 9067 bool get wasClean() { return _ptr.wasClean; } | 9397 bool get wasClean() { return _ptr.wasClean; } |
| 9068 | 9398 |
| 9069 void initCloseEvent(String typeArg, bool canBubbleArg, bool cancelableArg, boo
l wasCleanArg, int codeArg, String reasonArg) { | 9399 void initCloseEvent(String typeArg, bool canBubbleArg, bool cancelableArg, boo
l wasCleanArg, int codeArg, String reasonArg) { |
| 9070 _ptr.initCloseEvent(typeArg, canBubbleArg, cancelableArg, wasCleanArg, codeA
rg, reasonArg); | 9400 _ptr.initCloseEvent(typeArg, canBubbleArg, cancelableArg, wasCleanArg, codeA
rg, reasonArg); |
| 9071 return; | 9401 return; |
| 9072 } | 9402 } |
| 9073 | |
| 9074 String get typeName() { return "CloseEvent"; } | |
| 9075 } | 9403 } |
| 9076 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 9404 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 9077 // for details. All rights reserved. Use of this source code is governed by a | 9405 // for details. All rights reserved. Use of this source code is governed by a |
| 9078 // BSD-style license that can be found in the LICENSE file. | 9406 // BSD-style license that can be found in the LICENSE file. |
| 9079 | 9407 |
| 9080 // WARNING: Do not edit - generated code. | 9408 // WARNING: Do not edit - generated code. |
| 9081 | 9409 |
| 9082 class CommentWrappingImplementation extends CharacterDataWrappingImplementation
implements Comment { | 9410 class CommentWrappingImplementation extends CharacterDataWrappingImplementation
implements Comment { |
| 9083 CommentWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 9411 CommentWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9084 | |
| 9085 String get typeName() { return "Comment"; } | |
| 9086 } | 9412 } |
| 9087 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 9413 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 9088 // for details. All rights reserved. Use of this source code is governed by a | 9414 // for details. All rights reserved. Use of this source code is governed by a |
| 9089 // BSD-style license that can be found in the LICENSE file. | 9415 // BSD-style license that can be found in the LICENSE file. |
| 9090 | 9416 |
| 9091 // WARNING: Do not edit - generated code. | 9417 // WARNING: Do not edit - generated code. |
| 9092 | 9418 |
| 9093 class CompositionEventWrappingImplementation extends UIEventWrappingImplementati
on implements CompositionEvent { | 9419 class CompositionEventWrappingImplementation extends UIEventWrappingImplementati
on implements CompositionEvent { |
| 9094 CompositionEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 9420 CompositionEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9095 | 9421 |
| 9096 String get data() { return _ptr.data; } | 9422 String get data() { return _ptr.data; } |
| 9097 | 9423 |
| 9098 void initCompositionEvent(String typeArg, bool canBubbleArg, bool cancelableAr
g, Window viewArg, String dataArg) { | 9424 void initCompositionEvent(String typeArg, bool canBubbleArg, bool cancelableAr
g, Window viewArg, String dataArg) { |
| 9099 _ptr.initCompositionEvent(typeArg, canBubbleArg, cancelableArg, LevelDom.unw
rap(viewArg), dataArg); | 9425 _ptr.initCompositionEvent(typeArg, canBubbleArg, cancelableArg, LevelDom.unw
rap(viewArg), dataArg); |
| 9100 return; | 9426 return; |
| 9101 } | 9427 } |
| 9102 | |
| 9103 String get typeName() { return "CompositionEvent"; } | |
| 9104 } | 9428 } |
| 9105 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 9429 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 9106 // for details. All rights reserved. Use of this source code is governed by a | 9430 // for details. All rights reserved. Use of this source code is governed by a |
| 9107 // BSD-style license that can be found in the LICENSE file. | 9431 // BSD-style license that can be found in the LICENSE file. |
| 9108 | 9432 |
| 9109 // WARNING: Do not edit - generated code. | 9433 // WARNING: Do not edit - generated code. |
| 9110 | 9434 |
| 9111 class ConsoleWrappingImplementation extends DOMWrapperBase implements Console { | 9435 class ConsoleWrappingImplementation extends DOMWrapperBase implements Console { |
| 9112 ConsoleWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 9436 ConsoleWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9113 | 9437 |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9183 | 9507 |
| 9184 void trace(Object arg) { | 9508 void trace(Object arg) { |
| 9185 _ptr.trace(LevelDom.unwrapMaybePrimitive(arg)); | 9509 _ptr.trace(LevelDom.unwrapMaybePrimitive(arg)); |
| 9186 return; | 9510 return; |
| 9187 } | 9511 } |
| 9188 | 9512 |
| 9189 void warn(Object arg) { | 9513 void warn(Object arg) { |
| 9190 _ptr.warn(LevelDom.unwrapMaybePrimitive(arg)); | 9514 _ptr.warn(LevelDom.unwrapMaybePrimitive(arg)); |
| 9191 return; | 9515 return; |
| 9192 } | 9516 } |
| 9193 | |
| 9194 String get typeName() { return "Console"; } | |
| 9195 } | 9517 } |
| 9196 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 9518 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 9197 // for details. All rights reserved. Use of this source code is governed by a | 9519 // for details. All rights reserved. Use of this source code is governed by a |
| 9198 // BSD-style license that can be found in the LICENSE file. | 9520 // BSD-style license that can be found in the LICENSE file. |
| 9199 | 9521 |
| 9200 // WARNING: Do not edit - generated code. | 9522 // WARNING: Do not edit - generated code. |
| 9201 | 9523 |
| 9202 class CoordinatesWrappingImplementation extends DOMWrapperBase implements Coordi
nates { | 9524 class CoordinatesWrappingImplementation extends DOMWrapperBase implements Coordi
nates { |
| 9203 CoordinatesWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 9525 CoordinatesWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9204 | 9526 |
| 9205 num get accuracy() { return _ptr.accuracy; } | 9527 num get accuracy() { return _ptr.accuracy; } |
| 9206 | 9528 |
| 9207 num get altitude() { return _ptr.altitude; } | 9529 num get altitude() { return _ptr.altitude; } |
| 9208 | 9530 |
| 9209 num get altitudeAccuracy() { return _ptr.altitudeAccuracy; } | 9531 num get altitudeAccuracy() { return _ptr.altitudeAccuracy; } |
| 9210 | 9532 |
| 9211 num get heading() { return _ptr.heading; } | 9533 num get heading() { return _ptr.heading; } |
| 9212 | 9534 |
| 9213 num get latitude() { return _ptr.latitude; } | 9535 num get latitude() { return _ptr.latitude; } |
| 9214 | 9536 |
| 9215 num get longitude() { return _ptr.longitude; } | 9537 num get longitude() { return _ptr.longitude; } |
| 9216 | 9538 |
| 9217 num get speed() { return _ptr.speed; } | 9539 num get speed() { return _ptr.speed; } |
| 9218 | |
| 9219 String get typeName() { return "Coordinates"; } | |
| 9220 } | 9540 } |
| 9221 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 9541 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 9222 // for details. All rights reserved. Use of this source code is governed by a | 9542 // for details. All rights reserved. Use of this source code is governed by a |
| 9223 // BSD-style license that can be found in the LICENSE file. | 9543 // BSD-style license that can be found in the LICENSE file. |
| 9224 | 9544 |
| 9225 // WARNING: Do not edit - generated code. | 9545 // WARNING: Do not edit - generated code. |
| 9226 | 9546 |
| 9227 class CounterWrappingImplementation extends DOMWrapperBase implements Counter { | 9547 class CounterWrappingImplementation extends DOMWrapperBase implements Counter { |
| 9228 CounterWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 9548 CounterWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9229 | 9549 |
| 9230 String get identifier() { return _ptr.identifier; } | 9550 String get identifier() { return _ptr.identifier; } |
| 9231 | 9551 |
| 9232 String get listStyle() { return _ptr.listStyle; } | 9552 String get listStyle() { return _ptr.listStyle; } |
| 9233 | 9553 |
| 9234 String get separator() { return _ptr.separator; } | 9554 String get separator() { return _ptr.separator; } |
| 9235 | |
| 9236 String get typeName() { return "Counter"; } | |
| 9237 } | 9555 } |
| 9238 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 9556 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 9239 // for details. All rights reserved. Use of this source code is governed by a | 9557 // for details. All rights reserved. Use of this source code is governed by a |
| 9240 // BSD-style license that can be found in the LICENSE file. | 9558 // BSD-style license that can be found in the LICENSE file. |
| 9241 | 9559 |
| 9242 // WARNING: Do not edit - generated code. | 9560 // WARNING: Do not edit - generated code. |
| 9243 | 9561 |
| 9244 class CryptoWrappingImplementation extends DOMWrapperBase implements Crypto { | 9562 class CryptoWrappingImplementation extends DOMWrapperBase implements Crypto { |
| 9245 CryptoWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 9563 CryptoWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9246 | 9564 |
| 9247 void getRandomValues(ArrayBufferView array) { | 9565 void getRandomValues(ArrayBufferView array) { |
| 9248 _ptr.getRandomValues(LevelDom.unwrap(array)); | 9566 _ptr.getRandomValues(LevelDom.unwrap(array)); |
| 9249 return; | 9567 return; |
| 9250 } | 9568 } |
| 9251 | |
| 9252 String get typeName() { return "Crypto"; } | |
| 9253 } | 9569 } |
| 9254 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 9570 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 9255 // for details. All rights reserved. Use of this source code is governed by a | 9571 // for details. All rights reserved. Use of this source code is governed by a |
| 9256 // BSD-style license that can be found in the LICENSE file. | 9572 // BSD-style license that can be found in the LICENSE file. |
| 9257 | 9573 |
| 9258 // WARNING: Do not edit - generated code. | 9574 // WARNING: Do not edit - generated code. |
| 9259 | 9575 |
| 9260 class CustomEventWrappingImplementation extends EventWrappingImplementation impl
ements CustomEvent { | 9576 class CustomEventWrappingImplementation extends EventWrappingImplementation impl
ements CustomEvent { |
| 9261 CustomEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 9577 CustomEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9262 | 9578 |
| 9263 String get detail() { return _ptr.detail; } | 9579 String get detail() { return _ptr.detail; } |
| 9264 | 9580 |
| 9265 void initCustomEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Ob
ject detailArg) { | 9581 void initCustomEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Ob
ject detailArg) { |
| 9266 _ptr.initCustomEvent(typeArg, canBubbleArg, cancelableArg, LevelDom.unwrapMa
ybePrimitive(detailArg)); | 9582 _ptr.initCustomEvent(typeArg, canBubbleArg, cancelableArg, LevelDom.unwrapMa
ybePrimitive(detailArg)); |
| 9267 return; | 9583 return; |
| 9268 } | 9584 } |
| 9269 | |
| 9270 String get typeName() { return "CustomEvent"; } | |
| 9271 } | 9585 } |
| 9272 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 9586 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 9273 // for details. All rights reserved. Use of this source code is governed by a | 9587 // for details. All rights reserved. Use of this source code is governed by a |
| 9274 // BSD-style license that can be found in the LICENSE file. | 9588 // BSD-style license that can be found in the LICENSE file. |
| 9275 | 9589 |
| 9276 // WARNING: Do not edit - generated code. | 9590 // WARNING: Do not edit - generated code. |
| 9277 | 9591 |
| 9278 class DListElementWrappingImplementation extends ElementWrappingImplementation i
mplements DListElement { | 9592 class DListElementWrappingImplementation extends ElementWrappingImplementation i
mplements DListElement { |
| 9279 DListElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 9593 DListElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9280 | 9594 |
| 9281 bool get compact() { return _ptr.compact; } | 9595 bool get compact() { return _ptr.compact; } |
| 9282 | 9596 |
| 9283 void set compact(bool value) { _ptr.compact = value; } | 9597 void set compact(bool value) { _ptr.compact = value; } |
| 9284 | |
| 9285 String get typeName() { return "DListElement"; } | |
| 9286 } | 9598 } |
| 9287 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 9599 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 9288 // for details. All rights reserved. Use of this source code is governed by a | 9600 // for details. All rights reserved. Use of this source code is governed by a |
| 9289 // BSD-style license that can be found in the LICENSE file. | 9601 // BSD-style license that can be found in the LICENSE file. |
| 9290 | 9602 |
| 9291 // WARNING: Do not edit - generated code. | 9603 // WARNING: Do not edit - generated code. |
| 9292 | 9604 |
| 9293 class DOMExceptionWrappingImplementation extends DOMWrapperBase implements DOMEx
ception { | 9605 class DOMExceptionWrappingImplementation extends DOMWrapperBase implements DOMEx
ception { |
| 9294 DOMExceptionWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 9606 DOMExceptionWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9295 | 9607 |
| 9296 int get code() { return _ptr.code; } | 9608 int get code() { return _ptr.code; } |
| 9297 | 9609 |
| 9298 String get message() { return _ptr.message; } | 9610 String get message() { return _ptr.message; } |
| 9299 | 9611 |
| 9300 String get name() { return _ptr.name; } | 9612 String get name() { return _ptr.name; } |
| 9301 | |
| 9302 String get typeName() { return "DOMException"; } | |
| 9303 } | 9613 } |
| 9304 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 9614 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 9305 // for details. All rights reserved. Use of this source code is governed by a | 9615 // for details. All rights reserved. Use of this source code is governed by a |
| 9306 // BSD-style license that can be found in the LICENSE file. | 9616 // BSD-style license that can be found in the LICENSE file. |
| 9307 | 9617 |
| 9308 // WARNING: Do not edit - generated code. | 9618 // WARNING: Do not edit - generated code. |
| 9309 | 9619 |
| 9310 class DOMFileSystemSyncWrappingImplementation extends DOMWrapperBase implements
DOMFileSystemSync { | 9620 class DOMFileSystemSyncWrappingImplementation extends DOMWrapperBase implements
DOMFileSystemSync { |
| 9311 DOMFileSystemSyncWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 9621 DOMFileSystemSyncWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9312 | 9622 |
| 9313 String get name() { return _ptr.name; } | 9623 String get name() { return _ptr.name; } |
| 9314 | 9624 |
| 9315 DirectoryEntrySync get root() { return LevelDom.wrapDirectoryEntrySync(_ptr.ro
ot); } | 9625 DirectoryEntrySync get root() { return LevelDom.wrapDirectoryEntrySync(_ptr.ro
ot); } |
| 9316 | |
| 9317 String get typeName() { return "DOMFileSystemSync"; } | |
| 9318 } | 9626 } |
| 9319 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 9627 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 9320 // for details. All rights reserved. Use of this source code is governed by a | 9628 // for details. All rights reserved. Use of this source code is governed by a |
| 9321 // BSD-style license that can be found in the LICENSE file. | 9629 // BSD-style license that can be found in the LICENSE file. |
| 9322 | 9630 |
| 9323 // WARNING: Do not edit - generated code. | 9631 // WARNING: Do not edit - generated code. |
| 9324 | 9632 |
| 9325 class DOMFileSystemWrappingImplementation extends DOMWrapperBase implements DOMF
ileSystem { | 9633 class DOMFileSystemWrappingImplementation extends DOMWrapperBase implements DOMF
ileSystem { |
| 9326 DOMFileSystemWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 9634 DOMFileSystemWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9327 | 9635 |
| 9328 String get name() { return _ptr.name; } | 9636 String get name() { return _ptr.name; } |
| 9329 | 9637 |
| 9330 DirectoryEntry get root() { return LevelDom.wrapDirectoryEntry(_ptr.root); } | 9638 DirectoryEntry get root() { return LevelDom.wrapDirectoryEntry(_ptr.root); } |
| 9331 | |
| 9332 String get typeName() { return "DOMFileSystem"; } | |
| 9333 } | 9639 } |
| 9334 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 9640 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 9335 // for details. All rights reserved. Use of this source code is governed by a | 9641 // for details. All rights reserved. Use of this source code is governed by a |
| 9336 // BSD-style license that can be found in the LICENSE file. | 9642 // BSD-style license that can be found in the LICENSE file. |
| 9337 | 9643 |
| 9338 // WARNING: Do not edit - generated code. | 9644 // WARNING: Do not edit - generated code. |
| 9339 | 9645 |
| 9340 class DOMFormDataWrappingImplementation extends DOMWrapperBase implements DOMFor
mData { | 9646 class DOMFormDataWrappingImplementation extends DOMWrapperBase implements DOMFor
mData { |
| 9341 DOMFormDataWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 9647 DOMFormDataWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9342 | 9648 |
| 9343 void append(String name, String value) { | 9649 void append(String name, String value) { |
| 9344 _ptr.append(name, value); | 9650 _ptr.append(name, value); |
| 9345 return; | 9651 return; |
| 9346 } | 9652 } |
| 9347 | |
| 9348 String get typeName() { return "DOMFormData"; } | |
| 9349 } | 9653 } |
| 9350 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 9654 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 9351 // for details. All rights reserved. Use of this source code is governed by a | 9655 // for details. All rights reserved. Use of this source code is governed by a |
| 9352 // BSD-style license that can be found in the LICENSE file. | 9656 // BSD-style license that can be found in the LICENSE file. |
| 9353 | 9657 |
| 9354 // WARNING: Do not edit - generated code. | 9658 // WARNING: Do not edit - generated code. |
| 9355 | 9659 |
| 9356 class DOMMimeTypeArrayWrappingImplementation extends DOMWrapperBase implements D
OMMimeTypeArray { | 9660 class DOMMimeTypeArrayWrappingImplementation extends DOMWrapperBase implements D
OMMimeTypeArray { |
| 9357 DOMMimeTypeArrayWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 9661 DOMMimeTypeArrayWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9358 | 9662 |
| 9359 int get length() { return _ptr.length; } | 9663 int get length() { return _ptr.length; } |
| 9360 | 9664 |
| 9361 DOMMimeType item(int index) { | 9665 DOMMimeType item(int index) { |
| 9362 return LevelDom.wrapDOMMimeType(_ptr.item(index)); | 9666 return LevelDom.wrapDOMMimeType(_ptr.item(index)); |
| 9363 } | 9667 } |
| 9364 | 9668 |
| 9365 DOMMimeType namedItem(String name) { | 9669 DOMMimeType namedItem(String name) { |
| 9366 return LevelDom.wrapDOMMimeType(_ptr.namedItem(name)); | 9670 return LevelDom.wrapDOMMimeType(_ptr.namedItem(name)); |
| 9367 } | 9671 } |
| 9368 | |
| 9369 String get typeName() { return "DOMMimeTypeArray"; } | |
| 9370 } | 9672 } |
| 9371 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 9673 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 9372 // for details. All rights reserved. Use of this source code is governed by a | 9674 // for details. All rights reserved. Use of this source code is governed by a |
| 9373 // BSD-style license that can be found in the LICENSE file. | 9675 // BSD-style license that can be found in the LICENSE file. |
| 9374 | 9676 |
| 9375 // WARNING: Do not edit - generated code. | 9677 // WARNING: Do not edit - generated code. |
| 9376 | 9678 |
| 9377 class DOMMimeTypeWrappingImplementation extends DOMWrapperBase implements DOMMim
eType { | 9679 class DOMMimeTypeWrappingImplementation extends DOMWrapperBase implements DOMMim
eType { |
| 9378 DOMMimeTypeWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 9680 DOMMimeTypeWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9379 | 9681 |
| 9380 String get description() { return _ptr.description; } | 9682 String get description() { return _ptr.description; } |
| 9381 | 9683 |
| 9382 DOMPlugin get enabledPlugin() { return LevelDom.wrapDOMPlugin(_ptr.enabledPlug
in); } | 9684 DOMPlugin get enabledPlugin() { return LevelDom.wrapDOMPlugin(_ptr.enabledPlug
in); } |
| 9383 | 9685 |
| 9384 String get suffixes() { return _ptr.suffixes; } | 9686 String get suffixes() { return _ptr.suffixes; } |
| 9385 | 9687 |
| 9386 String get type() { return _ptr.type; } | 9688 String get type() { return _ptr.type; } |
| 9387 | |
| 9388 String get typeName() { return "DOMMimeType"; } | |
| 9389 } | 9689 } |
| 9390 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 9690 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 9391 // for details. All rights reserved. Use of this source code is governed by a | 9691 // for details. All rights reserved. Use of this source code is governed by a |
| 9392 // BSD-style license that can be found in the LICENSE file. | 9692 // BSD-style license that can be found in the LICENSE file. |
| 9393 | 9693 |
| 9394 // WARNING: Do not edit - generated code. | 9694 // WARNING: Do not edit - generated code. |
| 9395 | 9695 |
| 9396 class DOMParserWrappingImplementation extends DOMWrapperBase implements DOMParse
r { | 9696 class DOMParserWrappingImplementation extends DOMWrapperBase implements DOMParse
r { |
| 9397 DOMParserWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 9697 DOMParserWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9398 | 9698 |
| 9399 Document parseFromString(String str, String contentType) { | 9699 Document parseFromString(String str, String contentType) { |
| 9400 return LevelDom.wrapDocument(_ptr.parseFromString(str, contentType)); | 9700 return LevelDom.wrapDocument(_ptr.parseFromString(str, contentType)); |
| 9401 } | 9701 } |
| 9402 | |
| 9403 String get typeName() { return "DOMParser"; } | |
| 9404 } | 9702 } |
| 9405 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 9703 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 9406 // for details. All rights reserved. Use of this source code is governed by a | 9704 // for details. All rights reserved. Use of this source code is governed by a |
| 9407 // BSD-style license that can be found in the LICENSE file. | 9705 // BSD-style license that can be found in the LICENSE file. |
| 9408 | 9706 |
| 9409 // WARNING: Do not edit - generated code. | 9707 // WARNING: Do not edit - generated code. |
| 9410 | 9708 |
| 9411 class DOMPluginArrayWrappingImplementation extends DOMWrapperBase implements DOM
PluginArray { | 9709 class DOMPluginArrayWrappingImplementation extends DOMWrapperBase implements DOM
PluginArray { |
| 9412 DOMPluginArrayWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 9710 DOMPluginArrayWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9413 | 9711 |
| 9414 int get length() { return _ptr.length; } | 9712 int get length() { return _ptr.length; } |
| 9415 | 9713 |
| 9416 DOMPlugin item(int index) { | 9714 DOMPlugin item(int index) { |
| 9417 return LevelDom.wrapDOMPlugin(_ptr.item(index)); | 9715 return LevelDom.wrapDOMPlugin(_ptr.item(index)); |
| 9418 } | 9716 } |
| 9419 | 9717 |
| 9420 DOMPlugin namedItem(String name) { | 9718 DOMPlugin namedItem(String name) { |
| 9421 return LevelDom.wrapDOMPlugin(_ptr.namedItem(name)); | 9719 return LevelDom.wrapDOMPlugin(_ptr.namedItem(name)); |
| 9422 } | 9720 } |
| 9423 | 9721 |
| 9424 void refresh(bool reload) { | 9722 void refresh(bool reload) { |
| 9425 _ptr.refresh(reload); | 9723 _ptr.refresh(reload); |
| 9426 return; | 9724 return; |
| 9427 } | 9725 } |
| 9428 | |
| 9429 String get typeName() { return "DOMPluginArray"; } | |
| 9430 } | 9726 } |
| 9431 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 9727 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 9432 // for details. All rights reserved. Use of this source code is governed by a | 9728 // for details. All rights reserved. Use of this source code is governed by a |
| 9433 // BSD-style license that can be found in the LICENSE file. | 9729 // BSD-style license that can be found in the LICENSE file. |
| 9434 | 9730 |
| 9435 // WARNING: Do not edit - generated code. | 9731 // WARNING: Do not edit - generated code. |
| 9436 | 9732 |
| 9437 class DOMPluginWrappingImplementation extends DOMWrapperBase implements DOMPlugi
n { | 9733 class DOMPluginWrappingImplementation extends DOMWrapperBase implements DOMPlugi
n { |
| 9438 DOMPluginWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 9734 DOMPluginWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9439 | 9735 |
| 9440 String get description() { return _ptr.description; } | 9736 String get description() { return _ptr.description; } |
| 9441 | 9737 |
| 9442 String get filename() { return _ptr.filename; } | 9738 String get filename() { return _ptr.filename; } |
| 9443 | 9739 |
| 9444 int get length() { return _ptr.length; } | 9740 int get length() { return _ptr.length; } |
| 9445 | 9741 |
| 9446 String get name() { return _ptr.name; } | 9742 String get name() { return _ptr.name; } |
| 9447 | 9743 |
| 9448 DOMMimeType item(int index) { | 9744 DOMMimeType item(int index) { |
| 9449 return LevelDom.wrapDOMMimeType(_ptr.item(index)); | 9745 return LevelDom.wrapDOMMimeType(_ptr.item(index)); |
| 9450 } | 9746 } |
| 9451 | 9747 |
| 9452 DOMMimeType namedItem(String name) { | 9748 DOMMimeType namedItem(String name) { |
| 9453 return LevelDom.wrapDOMMimeType(_ptr.namedItem(name)); | 9749 return LevelDom.wrapDOMMimeType(_ptr.namedItem(name)); |
| 9454 } | 9750 } |
| 9455 | |
| 9456 String get typeName() { return "DOMPlugin"; } | |
| 9457 } | 9751 } |
| 9458 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 9752 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 9459 // for details. All rights reserved. Use of this source code is governed by a | 9753 // for details. All rights reserved. Use of this source code is governed by a |
| 9460 // BSD-style license that can be found in the LICENSE file. | 9754 // BSD-style license that can be found in the LICENSE file. |
| 9461 | 9755 |
| 9462 // WARNING: Do not edit - generated code. | 9756 // WARNING: Do not edit - generated code. |
| 9463 | 9757 |
| 9464 class DOMSelectionWrappingImplementation extends DOMWrapperBase implements DOMSe
lection { | 9758 class DOMSelectionWrappingImplementation extends DOMWrapperBase implements DOMSe
lection { |
| 9465 DOMSelectionWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 9759 DOMSelectionWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9466 | 9760 |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9546 | 9840 |
| 9547 void setBaseAndExtent(Node baseNode, int baseOffset, Node extentNode, int exte
ntOffset) { | 9841 void setBaseAndExtent(Node baseNode, int baseOffset, Node extentNode, int exte
ntOffset) { |
| 9548 _ptr.setBaseAndExtent(LevelDom.unwrap(baseNode), baseOffset, LevelDom.unwrap
(extentNode), extentOffset); | 9842 _ptr.setBaseAndExtent(LevelDom.unwrap(baseNode), baseOffset, LevelDom.unwrap
(extentNode), extentOffset); |
| 9549 return; | 9843 return; |
| 9550 } | 9844 } |
| 9551 | 9845 |
| 9552 void setPosition(Node node, int offset) { | 9846 void setPosition(Node node, int offset) { |
| 9553 _ptr.setPosition(LevelDom.unwrap(node), offset); | 9847 _ptr.setPosition(LevelDom.unwrap(node), offset); |
| 9554 return; | 9848 return; |
| 9555 } | 9849 } |
| 9556 | |
| 9557 String get typeName() { return "DOMSelection"; } | |
| 9558 } | 9850 } |
| 9559 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 9851 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 9560 // for details. All rights reserved. Use of this source code is governed by a | 9852 // for details. All rights reserved. Use of this source code is governed by a |
| 9561 // BSD-style license that can be found in the LICENSE file. | 9853 // BSD-style license that can be found in the LICENSE file. |
| 9562 | 9854 |
| 9563 // WARNING: Do not edit - generated code. | 9855 // WARNING: Do not edit - generated code. |
| 9564 | 9856 |
| 9565 class DOMSettableTokenListWrappingImplementation extends DOMTokenListWrappingImp
lementation implements DOMSettableTokenList { | 9857 class DOMSettableTokenListWrappingImplementation extends DOMTokenListWrappingImp
lementation implements DOMSettableTokenList { |
| 9566 DOMSettableTokenListWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 9858 DOMSettableTokenListWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9567 | 9859 |
| 9568 String get value() { return _ptr.value; } | 9860 String get value() { return _ptr.value; } |
| 9569 | 9861 |
| 9570 void set value(String value) { _ptr.value = value; } | 9862 void set value(String value) { _ptr.value = value; } |
| 9571 | |
| 9572 String get typeName() { return "DOMSettableTokenList"; } | |
| 9573 } | 9863 } |
| 9574 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 9864 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 9575 // for details. All rights reserved. Use of this source code is governed by a | 9865 // for details. All rights reserved. Use of this source code is governed by a |
| 9576 // BSD-style license that can be found in the LICENSE file. | 9866 // BSD-style license that can be found in the LICENSE file. |
| 9577 | 9867 |
| 9578 // WARNING: Do not edit - generated code. | 9868 // WARNING: Do not edit - generated code. |
| 9579 | 9869 |
| 9580 class DOMTokenListWrappingImplementation extends DOMWrapperBase implements DOMTo
kenList { | 9870 class DOMTokenListWrappingImplementation extends DOMWrapperBase implements DOMTo
kenList { |
| 9581 DOMTokenListWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 9871 DOMTokenListWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9582 | 9872 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 9596 } | 9886 } |
| 9597 | 9887 |
| 9598 void remove(String token) { | 9888 void remove(String token) { |
| 9599 _ptr.remove(token); | 9889 _ptr.remove(token); |
| 9600 return; | 9890 return; |
| 9601 } | 9891 } |
| 9602 | 9892 |
| 9603 bool toggle(String token) { | 9893 bool toggle(String token) { |
| 9604 return _ptr.toggle(token); | 9894 return _ptr.toggle(token); |
| 9605 } | 9895 } |
| 9606 | |
| 9607 String get typeName() { return "DOMTokenList"; } | |
| 9608 } | 9896 } |
| 9609 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 9897 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 9610 // for details. All rights reserved. Use of this source code is governed by a | 9898 // for details. All rights reserved. Use of this source code is governed by a |
| 9611 // BSD-style license that can be found in the LICENSE file. | 9899 // BSD-style license that can be found in the LICENSE file. |
| 9612 | 9900 |
| 9613 // WARNING: Do not edit - generated code. | 9901 // WARNING: Do not edit - generated code. |
| 9614 | 9902 |
| 9615 class DOMURLWrappingImplementation extends DOMWrapperBase implements DOMURL { | 9903 class DOMURLWrappingImplementation extends DOMWrapperBase implements DOMURL { |
| 9616 DOMURLWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 9904 DOMURLWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9617 | 9905 |
| 9618 String createObjectURL(Blob blob) { | 9906 String createObjectURL(Blob blob) { |
| 9619 return _ptr.createObjectURL(LevelDom.unwrap(blob)); | 9907 return _ptr.createObjectURL(LevelDom.unwrap(blob)); |
| 9620 } | 9908 } |
| 9621 | 9909 |
| 9622 void revokeObjectURL(String url) { | 9910 void revokeObjectURL(String url) { |
| 9623 _ptr.revokeObjectURL(url); | 9911 _ptr.revokeObjectURL(url); |
| 9624 return; | 9912 return; |
| 9625 } | 9913 } |
| 9626 | |
| 9627 String get typeName() { return "DOMURL"; } | |
| 9628 } | 9914 } |
| 9629 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 9915 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 9630 // for details. All rights reserved. Use of this source code is governed by a | 9916 // for details. All rights reserved. Use of this source code is governed by a |
| 9631 // BSD-style license that can be found in the LICENSE file. | 9917 // BSD-style license that can be found in the LICENSE file. |
| 9632 | 9918 |
| 9633 // WARNING: Do not edit - generated code. | 9919 // WARNING: Do not edit - generated code. |
| 9634 | 9920 |
| 9635 class DataListElementWrappingImplementation extends ElementWrappingImplementatio
n implements DataListElement { | 9921 class DataListElementWrappingImplementation extends ElementWrappingImplementatio
n implements DataListElement { |
| 9636 DataListElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 9922 DataListElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9637 | 9923 |
| 9638 ElementList get options() { return LevelDom.wrapElementList(_ptr.options); } | 9924 ElementList get options() { return LevelDom.wrapElementList(_ptr.options); } |
| 9639 | |
| 9640 String get typeName() { return "DataListElement"; } | |
| 9641 } | 9925 } |
| 9642 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 9926 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 9643 // for details. All rights reserved. Use of this source code is governed by a | 9927 // for details. All rights reserved. Use of this source code is governed by a |
| 9644 // BSD-style license that can be found in the LICENSE file. | 9928 // BSD-style license that can be found in the LICENSE file. |
| 9645 | 9929 |
| 9646 // WARNING: Do not edit - generated code. | 9930 // WARNING: Do not edit - generated code. |
| 9647 | 9931 |
| 9648 class DataTransferItemWrappingImplementation extends DOMWrapperBase implements D
ataTransferItem { | 9932 class DataTransferItemWrappingImplementation extends DOMWrapperBase implements D
ataTransferItem { |
| 9649 DataTransferItemWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 9933 DataTransferItemWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9650 | 9934 |
| 9651 String get kind() { return _ptr.kind; } | 9935 String get kind() { return _ptr.kind; } |
| 9652 | 9936 |
| 9653 String get type() { return _ptr.type; } | 9937 String get type() { return _ptr.type; } |
| 9654 | 9938 |
| 9655 Blob getAsFile() { | 9939 Blob getAsFile() { |
| 9656 return LevelDom.wrapBlob(_ptr.getAsFile()); | 9940 return LevelDom.wrapBlob(_ptr.getAsFile()); |
| 9657 } | 9941 } |
| 9658 | 9942 |
| 9659 void getAsString(StringCallback callback) { | 9943 void getAsString(StringCallback callback) { |
| 9660 _ptr.getAsString(LevelDom.unwrap(callback)); | 9944 _ptr.getAsString(LevelDom.unwrap(callback)); |
| 9661 return; | 9945 return; |
| 9662 } | 9946 } |
| 9663 | |
| 9664 String get typeName() { return "DataTransferItem"; } | |
| 9665 } | 9947 } |
| 9666 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 9948 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 9667 // for details. All rights reserved. Use of this source code is governed by a | 9949 // for details. All rights reserved. Use of this source code is governed by a |
| 9668 // BSD-style license that can be found in the LICENSE file. | 9950 // BSD-style license that can be found in the LICENSE file. |
| 9669 | 9951 |
| 9670 // WARNING: Do not edit - generated code. | 9952 // WARNING: Do not edit - generated code. |
| 9671 | 9953 |
| 9672 class DataTransferItemsWrappingImplementation extends DOMWrapperBase implements
DataTransferItems { | 9954 class DataTransferItemsWrappingImplementation extends DOMWrapperBase implements
DataTransferItems { |
| 9673 DataTransferItemsWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 9955 DataTransferItemsWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9674 | 9956 |
| 9675 int get length() { return _ptr.length; } | 9957 int get length() { return _ptr.length; } |
| 9676 | 9958 |
| 9677 void add(String data, String type) { | 9959 void add(String data, String type) { |
| 9678 _ptr.add(data, type); | 9960 _ptr.add(data, type); |
| 9679 return; | 9961 return; |
| 9680 } | 9962 } |
| 9681 | 9963 |
| 9682 void clear() { | 9964 void clear() { |
| 9683 _ptr.clear(); | 9965 _ptr.clear(); |
| 9684 return; | 9966 return; |
| 9685 } | 9967 } |
| 9686 | 9968 |
| 9687 DataTransferItem item(int index) { | 9969 DataTransferItem item(int index) { |
| 9688 return LevelDom.wrapDataTransferItem(_ptr.item(index)); | 9970 return LevelDom.wrapDataTransferItem(_ptr.item(index)); |
| 9689 } | 9971 } |
| 9690 | |
| 9691 String get typeName() { return "DataTransferItems"; } | |
| 9692 } | 9972 } |
| 9693 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 9973 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 9694 // for details. All rights reserved. Use of this source code is governed by a | 9974 // for details. All rights reserved. Use of this source code is governed by a |
| 9695 // BSD-style license that can be found in the LICENSE file. | 9975 // BSD-style license that can be found in the LICENSE file. |
| 9696 | 9976 |
| 9697 // WARNING: Do not edit - generated code. | 9977 // WARNING: Do not edit - generated code. |
| 9698 | 9978 |
| 9699 class DataViewWrappingImplementation extends ArrayBufferViewWrappingImplementati
on implements DataView { | 9979 class DataViewWrappingImplementation extends ArrayBufferViewWrappingImplementati
on implements DataView { |
| 9700 DataViewWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 9980 DataViewWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9701 | 9981 |
| 9702 num getFloat32(int byteOffset, bool littleEndian) { | 9982 num getFloat32(int byteOffset, [bool littleEndian = null]) { |
| 9703 return _ptr.getFloat32(byteOffset, littleEndian); | 9983 if (littleEndian === null) { |
| 9984 return _ptr.getFloat32(byteOffset); |
| 9985 } else { |
| 9986 return _ptr.getFloat32(byteOffset, littleEndian); |
| 9987 } |
| 9704 } | 9988 } |
| 9705 | 9989 |
| 9706 num getFloat64(int byteOffset, bool littleEndian) { | 9990 num getFloat64(int byteOffset, [bool littleEndian = null]) { |
| 9707 return _ptr.getFloat64(byteOffset, littleEndian); | 9991 if (littleEndian === null) { |
| 9992 return _ptr.getFloat64(byteOffset); |
| 9993 } else { |
| 9994 return _ptr.getFloat64(byteOffset, littleEndian); |
| 9995 } |
| 9708 } | 9996 } |
| 9709 | 9997 |
| 9710 int getInt16(int byteOffset, bool littleEndian) { | 9998 int getInt16(int byteOffset, [bool littleEndian = null]) { |
| 9711 return _ptr.getInt16(byteOffset, littleEndian); | 9999 if (littleEndian === null) { |
| 10000 return _ptr.getInt16(byteOffset); |
| 10001 } else { |
| 10002 return _ptr.getInt16(byteOffset, littleEndian); |
| 10003 } |
| 9712 } | 10004 } |
| 9713 | 10005 |
| 9714 int getInt32(int byteOffset, bool littleEndian) { | 10006 int getInt32(int byteOffset, [bool littleEndian = null]) { |
| 9715 return _ptr.getInt32(byteOffset, littleEndian); | 10007 if (littleEndian === null) { |
| 10008 return _ptr.getInt32(byteOffset); |
| 10009 } else { |
| 10010 return _ptr.getInt32(byteOffset, littleEndian); |
| 10011 } |
| 9716 } | 10012 } |
| 9717 | 10013 |
| 9718 int getInt8() { | 10014 int getInt8() { |
| 9719 return _ptr.getInt8(); | 10015 return _ptr.getInt8(); |
| 9720 } | 10016 } |
| 9721 | 10017 |
| 9722 int getUint16(int byteOffset, bool littleEndian) { | 10018 int getUint16(int byteOffset, [bool littleEndian = null]) { |
| 9723 return _ptr.getUint16(byteOffset, littleEndian); | 10019 if (littleEndian === null) { |
| 10020 return _ptr.getUint16(byteOffset); |
| 10021 } else { |
| 10022 return _ptr.getUint16(byteOffset, littleEndian); |
| 10023 } |
| 9724 } | 10024 } |
| 9725 | 10025 |
| 9726 int getUint32(int byteOffset, bool littleEndian) { | 10026 int getUint32(int byteOffset, [bool littleEndian = null]) { |
| 9727 return _ptr.getUint32(byteOffset, littleEndian); | 10027 if (littleEndian === null) { |
| 10028 return _ptr.getUint32(byteOffset); |
| 10029 } else { |
| 10030 return _ptr.getUint32(byteOffset, littleEndian); |
| 10031 } |
| 9728 } | 10032 } |
| 9729 | 10033 |
| 9730 int getUint8() { | 10034 int getUint8() { |
| 9731 return _ptr.getUint8(); | 10035 return _ptr.getUint8(); |
| 9732 } | 10036 } |
| 9733 | 10037 |
| 9734 void setFloat32(int byteOffset, num value, bool littleEndian) { | 10038 void setFloat32(int byteOffset, num value, [bool littleEndian = null]) { |
| 9735 _ptr.setFloat32(byteOffset, value, littleEndian); | 10039 if (littleEndian === null) { |
| 9736 return; | 10040 _ptr.setFloat32(byteOffset, value); |
| 10041 return; |
| 10042 } else { |
| 10043 _ptr.setFloat32(byteOffset, value, littleEndian); |
| 10044 return; |
| 10045 } |
| 9737 } | 10046 } |
| 9738 | 10047 |
| 9739 void setFloat64(int byteOffset, num value, bool littleEndian) { | 10048 void setFloat64(int byteOffset, num value, [bool littleEndian = null]) { |
| 9740 _ptr.setFloat64(byteOffset, value, littleEndian); | 10049 if (littleEndian === null) { |
| 9741 return; | 10050 _ptr.setFloat64(byteOffset, value); |
| 10051 return; |
| 10052 } else { |
| 10053 _ptr.setFloat64(byteOffset, value, littleEndian); |
| 10054 return; |
| 10055 } |
| 9742 } | 10056 } |
| 9743 | 10057 |
| 9744 void setInt16(int byteOffset, int value, bool littleEndian) { | 10058 void setInt16(int byteOffset, int value, [bool littleEndian = null]) { |
| 9745 _ptr.setInt16(byteOffset, value, littleEndian); | 10059 if (littleEndian === null) { |
| 9746 return; | 10060 _ptr.setInt16(byteOffset, value); |
| 10061 return; |
| 10062 } else { |
| 10063 _ptr.setInt16(byteOffset, value, littleEndian); |
| 10064 return; |
| 10065 } |
| 9747 } | 10066 } |
| 9748 | 10067 |
| 9749 void setInt32(int byteOffset, int value, bool littleEndian) { | 10068 void setInt32(int byteOffset, int value, [bool littleEndian = null]) { |
| 9750 _ptr.setInt32(byteOffset, value, littleEndian); | 10069 if (littleEndian === null) { |
| 9751 return; | 10070 _ptr.setInt32(byteOffset, value); |
| 10071 return; |
| 10072 } else { |
| 10073 _ptr.setInt32(byteOffset, value, littleEndian); |
| 10074 return; |
| 10075 } |
| 9752 } | 10076 } |
| 9753 | 10077 |
| 9754 void setInt8() { | 10078 void setInt8() { |
| 9755 _ptr.setInt8(); | 10079 _ptr.setInt8(); |
| 9756 return; | 10080 return; |
| 9757 } | 10081 } |
| 9758 | 10082 |
| 9759 void setUint16(int byteOffset, int value, bool littleEndian) { | 10083 void setUint16(int byteOffset, int value, [bool littleEndian = null]) { |
| 9760 _ptr.setUint16(byteOffset, value, littleEndian); | 10084 if (littleEndian === null) { |
| 9761 return; | 10085 _ptr.setUint16(byteOffset, value); |
| 10086 return; |
| 10087 } else { |
| 10088 _ptr.setUint16(byteOffset, value, littleEndian); |
| 10089 return; |
| 10090 } |
| 9762 } | 10091 } |
| 9763 | 10092 |
| 9764 void setUint32(int byteOffset, int value, bool littleEndian) { | 10093 void setUint32(int byteOffset, int value, [bool littleEndian = null]) { |
| 9765 _ptr.setUint32(byteOffset, value, littleEndian); | 10094 if (littleEndian === null) { |
| 9766 return; | 10095 _ptr.setUint32(byteOffset, value); |
| 10096 return; |
| 10097 } else { |
| 10098 _ptr.setUint32(byteOffset, value, littleEndian); |
| 10099 return; |
| 10100 } |
| 9767 } | 10101 } |
| 9768 | 10102 |
| 9769 void setUint8() { | 10103 void setUint8() { |
| 9770 _ptr.setUint8(); | 10104 _ptr.setUint8(); |
| 9771 return; | 10105 return; |
| 9772 } | 10106 } |
| 9773 | |
| 9774 String get typeName() { return "DataView"; } | |
| 9775 } | 10107 } |
| 9776 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 10108 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 9777 // for details. All rights reserved. Use of this source code is governed by a | 10109 // for details. All rights reserved. Use of this source code is governed by a |
| 9778 // BSD-style license that can be found in the LICENSE file. | 10110 // BSD-style license that can be found in the LICENSE file. |
| 9779 | 10111 |
| 9780 // WARNING: Do not edit - generated code. | 10112 // WARNING: Do not edit - generated code. |
| 9781 | 10113 |
| 9782 class DetailsElementWrappingImplementation extends ElementWrappingImplementation
implements DetailsElement { | 10114 class DetailsElementWrappingImplementation extends ElementWrappingImplementation
implements DetailsElement { |
| 9783 DetailsElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 10115 DetailsElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9784 | 10116 |
| 9785 bool get open() { return _ptr.open; } | 10117 bool get open() { return _ptr.open; } |
| 9786 | 10118 |
| 9787 void set open(bool value) { _ptr.open = value; } | 10119 void set open(bool value) { _ptr.open = value; } |
| 9788 | |
| 9789 String get typeName() { return "DetailsElement"; } | |
| 9790 } | 10120 } |
| 9791 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 10121 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 9792 // for details. All rights reserved. Use of this source code is governed by a | 10122 // for details. All rights reserved. Use of this source code is governed by a |
| 9793 // BSD-style license that can be found in the LICENSE file. | 10123 // BSD-style license that can be found in the LICENSE file. |
| 9794 | 10124 |
| 9795 // WARNING: Do not edit - generated code. | 10125 // WARNING: Do not edit - generated code. |
| 9796 | 10126 |
| 9797 class DeviceMotionEventWrappingImplementation extends EventWrappingImplementatio
n implements DeviceMotionEvent { | 10127 class DeviceMotionEventWrappingImplementation extends EventWrappingImplementatio
n implements DeviceMotionEvent { |
| 9798 DeviceMotionEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 10128 DeviceMotionEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9799 | 10129 |
| 9800 num get interval() { return _ptr.interval; } | 10130 num get interval() { return _ptr.interval; } |
| 9801 | |
| 9802 void initDeviceMotionEvent(String type, bool bubbles, bool cancelable) { | |
| 9803 _ptr.initDeviceMotionEvent(type, bubbles, cancelable); | |
| 9804 return; | |
| 9805 } | |
| 9806 | |
| 9807 String get typeName() { return "DeviceMotionEvent"; } | |
| 9808 } | 10131 } |
| 9809 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 10132 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 9810 // for details. All rights reserved. Use of this source code is governed by a | 10133 // for details. All rights reserved. Use of this source code is governed by a |
| 9811 // BSD-style license that can be found in the LICENSE file. | 10134 // BSD-style license that can be found in the LICENSE file. |
| 9812 | 10135 |
| 9813 // WARNING: Do not edit - generated code. | 10136 // WARNING: Do not edit - generated code. |
| 9814 | 10137 |
| 9815 class DeviceOrientationEventWrappingImplementation extends EventWrappingImplemen
tation implements DeviceOrientationEvent { | 10138 class DeviceOrientationEventWrappingImplementation extends EventWrappingImplemen
tation implements DeviceOrientationEvent { |
| 9816 DeviceOrientationEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 10139 DeviceOrientationEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9817 | 10140 |
| 9818 num get alpha() { return _ptr.alpha; } | 10141 num get alpha() { return _ptr.alpha; } |
| 9819 | 10142 |
| 9820 num get beta() { return _ptr.beta; } | 10143 num get beta() { return _ptr.beta; } |
| 9821 | 10144 |
| 9822 num get gamma() { return _ptr.gamma; } | 10145 num get gamma() { return _ptr.gamma; } |
| 9823 | 10146 |
| 9824 void initDeviceOrientationEvent(String type, bool bubbles, bool cancelable, nu
m alpha, num beta, num gamma) { | 10147 void initDeviceOrientationEvent(String type, bool bubbles, bool cancelable, nu
m alpha, num beta, num gamma) { |
| 9825 _ptr.initDeviceOrientationEvent(type, bubbles, cancelable, alpha, beta, gamm
a); | 10148 _ptr.initDeviceOrientationEvent(type, bubbles, cancelable, alpha, beta, gamm
a); |
| 9826 return; | 10149 return; |
| 9827 } | 10150 } |
| 9828 | |
| 9829 String get typeName() { return "DeviceOrientationEvent"; } | |
| 9830 } | 10151 } |
| 9831 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 10152 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 9832 // for details. All rights reserved. Use of this source code is governed by a | 10153 // for details. All rights reserved. Use of this source code is governed by a |
| 9833 // BSD-style license that can be found in the LICENSE file. | 10154 // BSD-style license that can be found in the LICENSE file. |
| 9834 | 10155 |
| 9835 // WARNING: Do not edit - generated code. | 10156 // WARNING: Do not edit - generated code. |
| 9836 | 10157 |
| 9837 class DirectoryEntrySyncWrappingImplementation extends EntrySyncWrappingImplemen
tation implements DirectoryEntrySync { | 10158 class DirectoryEntrySyncWrappingImplementation extends EntrySyncWrappingImplemen
tation implements DirectoryEntrySync { |
| 9838 DirectoryEntrySyncWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 10159 DirectoryEntrySyncWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9839 | 10160 |
| 9840 DirectoryReaderSync createReader() { | 10161 DirectoryReaderSync createReader() { |
| 9841 return LevelDom.wrapDirectoryReaderSync(_ptr.createReader()); | 10162 return LevelDom.wrapDirectoryReaderSync(_ptr.createReader()); |
| 9842 } | 10163 } |
| 9843 | 10164 |
| 9844 DirectoryEntrySync getDirectory(String path, Flags flags) { | 10165 DirectoryEntrySync getDirectory(String path, Flags flags) { |
| 9845 return LevelDom.wrapDirectoryEntrySync(_ptr.getDirectory(path, LevelDom.unwr
ap(flags))); | 10166 return LevelDom.wrapDirectoryEntrySync(_ptr.getDirectory(path, LevelDom.unwr
ap(flags))); |
| 9846 } | 10167 } |
| 9847 | 10168 |
| 9848 FileEntrySync getFile(String path, Flags flags) { | 10169 FileEntrySync getFile(String path, Flags flags) { |
| 9849 return LevelDom.wrapFileEntrySync(_ptr.getFile(path, LevelDom.unwrap(flags))
); | 10170 return LevelDom.wrapFileEntrySync(_ptr.getFile(path, LevelDom.unwrap(flags))
); |
| 9850 } | 10171 } |
| 9851 | 10172 |
| 9852 void removeRecursively() { | 10173 void removeRecursively() { |
| 9853 _ptr.removeRecursively(); | 10174 _ptr.removeRecursively(); |
| 9854 return; | 10175 return; |
| 9855 } | 10176 } |
| 9856 | |
| 9857 String get typeName() { return "DirectoryEntrySync"; } | |
| 9858 } | 10177 } |
| 9859 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 10178 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 9860 // for details. All rights reserved. Use of this source code is governed by a | 10179 // for details. All rights reserved. Use of this source code is governed by a |
| 9861 // BSD-style license that can be found in the LICENSE file. | 10180 // BSD-style license that can be found in the LICENSE file. |
| 9862 | 10181 |
| 9863 // WARNING: Do not edit - generated code. | 10182 // WARNING: Do not edit - generated code. |
| 9864 | 10183 |
| 9865 class DirectoryEntryWrappingImplementation extends EntryWrappingImplementation i
mplements DirectoryEntry { | 10184 class DirectoryEntryWrappingImplementation extends EntryWrappingImplementation i
mplements DirectoryEntry { |
| 9866 DirectoryEntryWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 10185 DirectoryEntryWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9867 | 10186 |
| 9868 DirectoryReader createReader() { | 10187 DirectoryReader createReader() { |
| 9869 return LevelDom.wrapDirectoryReader(_ptr.createReader()); | 10188 return LevelDom.wrapDirectoryReader(_ptr.createReader()); |
| 9870 } | 10189 } |
| 9871 | 10190 |
| 9872 void getDirectory(String path, Flags flags, EntryCallback successCallback, Err
orCallback errorCallback) { | 10191 void getDirectory(String path, [Flags flags = null, EntryCallback successCallb
ack = null, ErrorCallback errorCallback = null]) { |
| 9873 _ptr.getDirectory(path, LevelDom.unwrap(flags), LevelDom.unwrap(successCallb
ack), LevelDom.unwrap(errorCallback)); | 10192 if (flags === null) { |
| 9874 return; | 10193 if (successCallback === null) { |
| 10194 if (errorCallback === null) { |
| 10195 _ptr.getDirectory(path); |
| 10196 return; |
| 10197 } |
| 10198 } |
| 10199 } else { |
| 10200 if (successCallback === null) { |
| 10201 if (errorCallback === null) { |
| 10202 _ptr.getDirectory(path, LevelDom.unwrap(flags)); |
| 10203 return; |
| 10204 } |
| 10205 } else { |
| 10206 if (errorCallback === null) { |
| 10207 _ptr.getDirectory(path, LevelDom.unwrap(flags), LevelDom.unwrap(succes
sCallback)); |
| 10208 return; |
| 10209 } else { |
| 10210 _ptr.getDirectory(path, LevelDom.unwrap(flags), LevelDom.unwrap(succes
sCallback), LevelDom.unwrap(errorCallback)); |
| 10211 return; |
| 10212 } |
| 10213 } |
| 10214 } |
| 10215 throw "Incorrect number or type of arguments"; |
| 9875 } | 10216 } |
| 9876 | 10217 |
| 9877 void getFile(String path, Flags flags, EntryCallback successCallback, ErrorCal
lback errorCallback) { | 10218 void getFile(String path, [Flags flags = null, EntryCallback successCallback =
null, ErrorCallback errorCallback = null]) { |
| 9878 _ptr.getFile(path, LevelDom.unwrap(flags), LevelDom.unwrap(successCallback),
LevelDom.unwrap(errorCallback)); | 10219 if (flags === null) { |
| 9879 return; | 10220 if (successCallback === null) { |
| 10221 if (errorCallback === null) { |
| 10222 _ptr.getFile(path); |
| 10223 return; |
| 10224 } |
| 10225 } |
| 10226 } else { |
| 10227 if (successCallback === null) { |
| 10228 if (errorCallback === null) { |
| 10229 _ptr.getFile(path, LevelDom.unwrap(flags)); |
| 10230 return; |
| 10231 } |
| 10232 } else { |
| 10233 if (errorCallback === null) { |
| 10234 _ptr.getFile(path, LevelDom.unwrap(flags), LevelDom.unwrap(successCall
back)); |
| 10235 return; |
| 10236 } else { |
| 10237 _ptr.getFile(path, LevelDom.unwrap(flags), LevelDom.unwrap(successCall
back), LevelDom.unwrap(errorCallback)); |
| 10238 return; |
| 10239 } |
| 10240 } |
| 10241 } |
| 10242 throw "Incorrect number or type of arguments"; |
| 9880 } | 10243 } |
| 9881 | 10244 |
| 9882 void removeRecursively(VoidCallback successCallback, ErrorCallback errorCallba
ck) { | 10245 void removeRecursively([VoidCallback successCallback = null, ErrorCallback err
orCallback = null]) { |
| 9883 _ptr.removeRecursively(LevelDom.unwrap(successCallback), LevelDom.unwrap(err
orCallback)); | 10246 if (successCallback === null) { |
| 9884 return; | 10247 if (errorCallback === null) { |
| 10248 _ptr.removeRecursively(); |
| 10249 return; |
| 10250 } |
| 10251 } else { |
| 10252 if (errorCallback === null) { |
| 10253 _ptr.removeRecursively(LevelDom.unwrap(successCallback)); |
| 10254 return; |
| 10255 } else { |
| 10256 _ptr.removeRecursively(LevelDom.unwrap(successCallback), LevelDom.unwrap
(errorCallback)); |
| 10257 return; |
| 10258 } |
| 10259 } |
| 10260 throw "Incorrect number or type of arguments"; |
| 9885 } | 10261 } |
| 9886 | |
| 9887 String get typeName() { return "DirectoryEntry"; } | |
| 9888 } | 10262 } |
| 9889 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 10263 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 9890 // for details. All rights reserved. Use of this source code is governed by a | 10264 // for details. All rights reserved. Use of this source code is governed by a |
| 9891 // BSD-style license that can be found in the LICENSE file. | 10265 // BSD-style license that can be found in the LICENSE file. |
| 9892 | 10266 |
| 9893 // WARNING: Do not edit - generated code. | 10267 // WARNING: Do not edit - generated code. |
| 9894 | 10268 |
| 9895 class DirectoryReaderSyncWrappingImplementation extends DOMWrapperBase implement
s DirectoryReaderSync { | 10269 class DirectoryReaderSyncWrappingImplementation extends DOMWrapperBase implement
s DirectoryReaderSync { |
| 9896 DirectoryReaderSyncWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 10270 DirectoryReaderSyncWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9897 | 10271 |
| 9898 EntryArraySync readEntries() { | 10272 EntryArraySync readEntries() { |
| 9899 return LevelDom.wrapEntryArraySync(_ptr.readEntries()); | 10273 return LevelDom.wrapEntryArraySync(_ptr.readEntries()); |
| 9900 } | 10274 } |
| 9901 | |
| 9902 String get typeName() { return "DirectoryReaderSync"; } | |
| 9903 } | 10275 } |
| 9904 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 10276 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 9905 // for details. All rights reserved. Use of this source code is governed by a | 10277 // for details. All rights reserved. Use of this source code is governed by a |
| 9906 // BSD-style license that can be found in the LICENSE file. | 10278 // BSD-style license that can be found in the LICENSE file. |
| 9907 | 10279 |
| 9908 // WARNING: Do not edit - generated code. | 10280 // WARNING: Do not edit - generated code. |
| 9909 | 10281 |
| 9910 class DirectoryReaderWrappingImplementation extends DOMWrapperBase implements Di
rectoryReader { | 10282 class DirectoryReaderWrappingImplementation extends DOMWrapperBase implements Di
rectoryReader { |
| 9911 DirectoryReaderWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 10283 DirectoryReaderWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9912 | 10284 |
| 9913 void readEntries(EntriesCallback successCallback, ErrorCallback errorCallback)
{ | 10285 void readEntries(EntriesCallback successCallback, [ErrorCallback errorCallback
= null]) { |
| 9914 _ptr.readEntries(LevelDom.unwrap(successCallback), LevelDom.unwrap(errorCall
back)); | 10286 if (errorCallback === null) { |
| 9915 return; | 10287 _ptr.readEntries(LevelDom.unwrap(successCallback)); |
| 10288 return; |
| 10289 } else { |
| 10290 _ptr.readEntries(LevelDom.unwrap(successCallback), LevelDom.unwrap(errorCa
llback)); |
| 10291 return; |
| 10292 } |
| 9916 } | 10293 } |
| 9917 | |
| 9918 String get typeName() { return "DirectoryReader"; } | |
| 9919 } | 10294 } |
| 9920 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 10295 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 9921 // for details. All rights reserved. Use of this source code is governed by a | 10296 // for details. All rights reserved. Use of this source code is governed by a |
| 9922 // BSD-style license that can be found in the LICENSE file. | 10297 // BSD-style license that can be found in the LICENSE file. |
| 9923 | 10298 |
| 9924 // WARNING: Do not edit - generated code. | 10299 // WARNING: Do not edit - generated code. |
| 9925 | 10300 |
| 9926 class DivElementWrappingImplementation extends ElementWrappingImplementation imp
lements DivElement { | 10301 class DivElementWrappingImplementation extends ElementWrappingImplementation imp
lements DivElement { |
| 9927 DivElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 10302 DivElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9928 | 10303 |
| 9929 String get align() { return _ptr.align; } | 10304 String get align() { return _ptr.align; } |
| 9930 | 10305 |
| 9931 void set align(String value) { _ptr.align = value; } | 10306 void set align(String value) { _ptr.align = value; } |
| 9932 | |
| 9933 String get typeName() { return "DivElement"; } | |
| 9934 } | 10307 } |
| 9935 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 10308 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 9936 // for details. All rights reserved. Use of this source code is governed by a | 10309 // for details. All rights reserved. Use of this source code is governed by a |
| 9937 // BSD-style license that can be found in the LICENSE file. | 10310 // BSD-style license that can be found in the LICENSE file. |
| 9938 | 10311 |
| 9939 // WARNING: Do not edit - generated code. | 10312 // WARNING: Do not edit - generated code. |
| 9940 | 10313 |
| 9941 class EmbedElementWrappingImplementation extends ElementWrappingImplementation i
mplements EmbedElement { | 10314 class EmbedElementWrappingImplementation extends ElementWrappingImplementation i
mplements EmbedElement { |
| 9942 EmbedElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 10315 EmbedElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9943 | 10316 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 9957 | 10330 |
| 9958 void set src(String value) { _ptr.src = value; } | 10331 void set src(String value) { _ptr.src = value; } |
| 9959 | 10332 |
| 9960 String get type() { return _ptr.type; } | 10333 String get type() { return _ptr.type; } |
| 9961 | 10334 |
| 9962 void set type(String value) { _ptr.type = value; } | 10335 void set type(String value) { _ptr.type = value; } |
| 9963 | 10336 |
| 9964 int get width() { return _ptr.width; } | 10337 int get width() { return _ptr.width; } |
| 9965 | 10338 |
| 9966 void set width(int value) { _ptr.width = value; } | 10339 void set width(int value) { _ptr.width = value; } |
| 9967 | |
| 9968 String get typeName() { return "EmbedElement"; } | |
| 9969 } | 10340 } |
| 9970 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 10341 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 9971 // for details. All rights reserved. Use of this source code is governed by a | 10342 // for details. All rights reserved. Use of this source code is governed by a |
| 9972 // BSD-style license that can be found in the LICENSE file. | 10343 // BSD-style license that can be found in the LICENSE file. |
| 9973 | 10344 |
| 9974 // WARNING: Do not edit - generated code. | 10345 // WARNING: Do not edit - generated code. |
| 9975 | 10346 |
| 9976 class EntityReferenceWrappingImplementation extends NodeWrappingImplementation i
mplements EntityReference { | 10347 class EntityReferenceWrappingImplementation extends NodeWrappingImplementation i
mplements EntityReference { |
| 9977 EntityReferenceWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 10348 EntityReferenceWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9978 | |
| 9979 String get typeName() { return "EntityReference"; } | |
| 9980 } | 10349 } |
| 9981 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 10350 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 9982 // for details. All rights reserved. Use of this source code is governed by a | 10351 // for details. All rights reserved. Use of this source code is governed by a |
| 9983 // BSD-style license that can be found in the LICENSE file. | 10352 // BSD-style license that can be found in the LICENSE file. |
| 9984 | 10353 |
| 9985 // WARNING: Do not edit - generated code. | 10354 // WARNING: Do not edit - generated code. |
| 9986 | 10355 |
| 9987 class EntityWrappingImplementation extends NodeWrappingImplementation implements
Entity { | 10356 class EntityWrappingImplementation extends NodeWrappingImplementation implements
Entity { |
| 9988 EntityWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 10357 EntityWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9989 | 10358 |
| 9990 String get notationName() { return _ptr.notationName; } | 10359 String get notationName() { return _ptr.notationName; } |
| 9991 | 10360 |
| 9992 String get publicId() { return _ptr.publicId; } | 10361 String get publicId() { return _ptr.publicId; } |
| 9993 | 10362 |
| 9994 String get systemId() { return _ptr.systemId; } | 10363 String get systemId() { return _ptr.systemId; } |
| 9995 | |
| 9996 String get typeName() { return "Entity"; } | |
| 9997 } | 10364 } |
| 9998 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 10365 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 9999 // for details. All rights reserved. Use of this source code is governed by a | 10366 // for details. All rights reserved. Use of this source code is governed by a |
| 10000 // BSD-style license that can be found in the LICENSE file. | 10367 // BSD-style license that can be found in the LICENSE file. |
| 10001 | 10368 |
| 10002 // WARNING: Do not edit - generated code. | 10369 // WARNING: Do not edit - generated code. |
| 10003 | 10370 |
| 10004 class EntriesCallbackWrappingImplementation extends DOMWrapperBase implements En
triesCallback { | 10371 class EntriesCallbackWrappingImplementation extends DOMWrapperBase implements En
triesCallback { |
| 10005 EntriesCallbackWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 10372 EntriesCallbackWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 10006 | 10373 |
| 10007 bool handleEvent(EntryArray entries) { | 10374 bool handleEvent(EntryArray entries) { |
| 10008 return _ptr.handleEvent(LevelDom.unwrap(entries)); | 10375 return _ptr.handleEvent(LevelDom.unwrap(entries)); |
| 10009 } | 10376 } |
| 10010 | |
| 10011 String get typeName() { return "EntriesCallback"; } | |
| 10012 } | 10377 } |
| 10013 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 10378 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10014 // for details. All rights reserved. Use of this source code is governed by a | 10379 // for details. All rights reserved. Use of this source code is governed by a |
| 10015 // BSD-style license that can be found in the LICENSE file. | 10380 // BSD-style license that can be found in the LICENSE file. |
| 10016 | 10381 |
| 10017 // WARNING: Do not edit - generated code. | 10382 // WARNING: Do not edit - generated code. |
| 10018 | 10383 |
| 10019 class EntryArraySyncWrappingImplementation extends DOMWrapperBase implements Ent
ryArraySync { | 10384 class EntryArraySyncWrappingImplementation extends DOMWrapperBase implements Ent
ryArraySync { |
| 10020 EntryArraySyncWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 10385 EntryArraySyncWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 10021 | 10386 |
| 10022 int get length() { return _ptr.length; } | 10387 int get length() { return _ptr.length; } |
| 10023 | 10388 |
| 10024 EntrySync item(int index) { | 10389 EntrySync item(int index) { |
| 10025 return LevelDom.wrapEntrySync(_ptr.item(index)); | 10390 return LevelDom.wrapEntrySync(_ptr.item(index)); |
| 10026 } | 10391 } |
| 10027 | |
| 10028 String get typeName() { return "EntryArraySync"; } | |
| 10029 } | 10392 } |
| 10030 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 10393 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10031 // for details. All rights reserved. Use of this source code is governed by a | 10394 // for details. All rights reserved. Use of this source code is governed by a |
| 10032 // BSD-style license that can be found in the LICENSE file. | 10395 // BSD-style license that can be found in the LICENSE file. |
| 10033 | 10396 |
| 10034 // WARNING: Do not edit - generated code. | 10397 // WARNING: Do not edit - generated code. |
| 10035 | 10398 |
| 10036 class EntryArrayWrappingImplementation extends DOMWrapperBase implements EntryAr
ray { | 10399 class EntryArrayWrappingImplementation extends DOMWrapperBase implements EntryAr
ray { |
| 10037 EntryArrayWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 10400 EntryArrayWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 10038 | 10401 |
| 10039 int get length() { return _ptr.length; } | 10402 int get length() { return _ptr.length; } |
| 10040 | 10403 |
| 10041 Entry item(int index) { | 10404 Entry item(int index) { |
| 10042 return LevelDom.wrapEntry(_ptr.item(index)); | 10405 return LevelDom.wrapEntry(_ptr.item(index)); |
| 10043 } | 10406 } |
| 10044 | |
| 10045 String get typeName() { return "EntryArray"; } | |
| 10046 } | 10407 } |
| 10047 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 10408 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10048 // for details. All rights reserved. Use of this source code is governed by a | 10409 // for details. All rights reserved. Use of this source code is governed by a |
| 10049 // BSD-style license that can be found in the LICENSE file. | 10410 // BSD-style license that can be found in the LICENSE file. |
| 10050 | 10411 |
| 10051 // WARNING: Do not edit - generated code. | 10412 // WARNING: Do not edit - generated code. |
| 10052 | 10413 |
| 10053 class EntryCallbackWrappingImplementation extends DOMWrapperBase implements Entr
yCallback { | 10414 class EntryCallbackWrappingImplementation extends DOMWrapperBase implements Entr
yCallback { |
| 10054 EntryCallbackWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 10415 EntryCallbackWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 10055 | 10416 |
| 10056 bool handleEvent(Entry entry) { | 10417 bool handleEvent(Entry entry) { |
| 10057 return _ptr.handleEvent(LevelDom.unwrap(entry)); | 10418 return _ptr.handleEvent(LevelDom.unwrap(entry)); |
| 10058 } | 10419 } |
| 10059 | |
| 10060 String get typeName() { return "EntryCallback"; } | |
| 10061 } | 10420 } |
| 10062 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 10421 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10063 // for details. All rights reserved. Use of this source code is governed by a | 10422 // for details. All rights reserved. Use of this source code is governed by a |
| 10064 // BSD-style license that can be found in the LICENSE file. | 10423 // BSD-style license that can be found in the LICENSE file. |
| 10065 | 10424 |
| 10066 // WARNING: Do not edit - generated code. | 10425 // WARNING: Do not edit - generated code. |
| 10067 | 10426 |
| 10068 class EntrySyncWrappingImplementation extends DOMWrapperBase implements EntrySyn
c { | 10427 class EntrySyncWrappingImplementation extends DOMWrapperBase implements EntrySyn
c { |
| 10069 EntrySyncWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 10428 EntrySyncWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 10070 | 10429 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 10095 } | 10454 } |
| 10096 | 10455 |
| 10097 void remove() { | 10456 void remove() { |
| 10098 _ptr.remove(); | 10457 _ptr.remove(); |
| 10099 return; | 10458 return; |
| 10100 } | 10459 } |
| 10101 | 10460 |
| 10102 String toURL() { | 10461 String toURL() { |
| 10103 return _ptr.toURL(); | 10462 return _ptr.toURL(); |
| 10104 } | 10463 } |
| 10105 | |
| 10106 String get typeName() { return "EntrySync"; } | |
| 10107 } | 10464 } |
| 10108 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 10465 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10109 // for details. All rights reserved. Use of this source code is governed by a | 10466 // for details. All rights reserved. Use of this source code is governed by a |
| 10110 // BSD-style license that can be found in the LICENSE file. | 10467 // BSD-style license that can be found in the LICENSE file. |
| 10111 | 10468 |
| 10112 // WARNING: Do not edit - generated code. | 10469 // WARNING: Do not edit - generated code. |
| 10113 | 10470 |
| 10114 class EntryWrappingImplementation extends DOMWrapperBase implements Entry { | 10471 class EntryWrappingImplementation extends DOMWrapperBase implements Entry { |
| 10115 EntryWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 10472 EntryWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 10116 | 10473 |
| 10117 DOMFileSystem get filesystem() { return LevelDom.wrapDOMFileSystem(_ptr.filesy
stem); } | 10474 DOMFileSystem get filesystem() { return LevelDom.wrapDOMFileSystem(_ptr.filesy
stem); } |
| 10118 | 10475 |
| 10119 String get fullPath() { return _ptr.fullPath; } | 10476 String get fullPath() { return _ptr.fullPath; } |
| 10120 | 10477 |
| 10121 bool get isDirectory() { return _ptr.isDirectory; } | 10478 bool get isDirectory() { return _ptr.isDirectory; } |
| 10122 | 10479 |
| 10123 bool get isFile() { return _ptr.isFile; } | 10480 bool get isFile() { return _ptr.isFile; } |
| 10124 | 10481 |
| 10125 String get name() { return _ptr.name; } | 10482 String get name() { return _ptr.name; } |
| 10126 | 10483 |
| 10127 void copyTo(DirectoryEntry parent, String name, EntryCallback successCallback,
ErrorCallback errorCallback) { | 10484 void copyTo(DirectoryEntry parent, [String name = null, EntryCallback successC
allback = null, ErrorCallback errorCallback = null]) { |
| 10128 _ptr.copyTo(LevelDom.unwrap(parent), name, LevelDom.unwrap(successCallback),
LevelDom.unwrap(errorCallback)); | 10485 if (name === null) { |
| 10129 return; | 10486 if (successCallback === null) { |
| 10487 if (errorCallback === null) { |
| 10488 _ptr.copyTo(LevelDom.unwrap(parent)); |
| 10489 return; |
| 10490 } |
| 10491 } |
| 10492 } else { |
| 10493 if (successCallback === null) { |
| 10494 if (errorCallback === null) { |
| 10495 _ptr.copyTo(LevelDom.unwrap(parent), name); |
| 10496 return; |
| 10497 } |
| 10498 } else { |
| 10499 if (errorCallback === null) { |
| 10500 _ptr.copyTo(LevelDom.unwrap(parent), name, LevelDom.unwrap(successCall
back)); |
| 10501 return; |
| 10502 } else { |
| 10503 _ptr.copyTo(LevelDom.unwrap(parent), name, LevelDom.unwrap(successCall
back), LevelDom.unwrap(errorCallback)); |
| 10504 return; |
| 10505 } |
| 10506 } |
| 10507 } |
| 10508 throw "Incorrect number or type of arguments"; |
| 10130 } | 10509 } |
| 10131 | 10510 |
| 10132 void getMetadata(MetadataCallback successCallback, ErrorCallback errorCallback
) { | 10511 void getMetadata([MetadataCallback successCallback = null, ErrorCallback error
Callback = null]) { |
| 10133 _ptr.getMetadata(LevelDom.unwrap(successCallback), LevelDom.unwrap(errorCall
back)); | 10512 if (successCallback === null) { |
| 10134 return; | 10513 if (errorCallback === null) { |
| 10514 _ptr.getMetadata(); |
| 10515 return; |
| 10516 } |
| 10517 } else { |
| 10518 if (errorCallback === null) { |
| 10519 _ptr.getMetadata(LevelDom.unwrap(successCallback)); |
| 10520 return; |
| 10521 } else { |
| 10522 _ptr.getMetadata(LevelDom.unwrap(successCallback), LevelDom.unwrap(error
Callback)); |
| 10523 return; |
| 10524 } |
| 10525 } |
| 10526 throw "Incorrect number or type of arguments"; |
| 10135 } | 10527 } |
| 10136 | 10528 |
| 10137 void getParent(EntryCallback successCallback, ErrorCallback errorCallback) { | 10529 void getParent([EntryCallback successCallback = null, ErrorCallback errorCallb
ack = null]) { |
| 10138 _ptr.getParent(LevelDom.unwrap(successCallback), LevelDom.unwrap(errorCallba
ck)); | 10530 if (successCallback === null) { |
| 10139 return; | 10531 if (errorCallback === null) { |
| 10532 _ptr.getParent(); |
| 10533 return; |
| 10534 } |
| 10535 } else { |
| 10536 if (errorCallback === null) { |
| 10537 _ptr.getParent(LevelDom.unwrap(successCallback)); |
| 10538 return; |
| 10539 } else { |
| 10540 _ptr.getParent(LevelDom.unwrap(successCallback), LevelDom.unwrap(errorCa
llback)); |
| 10541 return; |
| 10542 } |
| 10543 } |
| 10544 throw "Incorrect number or type of arguments"; |
| 10140 } | 10545 } |
| 10141 | 10546 |
| 10142 void moveTo(DirectoryEntry parent, String name, EntryCallback successCallback,
ErrorCallback errorCallback) { | 10547 void moveTo(DirectoryEntry parent, [String name = null, EntryCallback successC
allback = null, ErrorCallback errorCallback = null]) { |
| 10143 _ptr.moveTo(LevelDom.unwrap(parent), name, LevelDom.unwrap(successCallback),
LevelDom.unwrap(errorCallback)); | 10548 if (name === null) { |
| 10144 return; | 10549 if (successCallback === null) { |
| 10550 if (errorCallback === null) { |
| 10551 _ptr.moveTo(LevelDom.unwrap(parent)); |
| 10552 return; |
| 10553 } |
| 10554 } |
| 10555 } else { |
| 10556 if (successCallback === null) { |
| 10557 if (errorCallback === null) { |
| 10558 _ptr.moveTo(LevelDom.unwrap(parent), name); |
| 10559 return; |
| 10560 } |
| 10561 } else { |
| 10562 if (errorCallback === null) { |
| 10563 _ptr.moveTo(LevelDom.unwrap(parent), name, LevelDom.unwrap(successCall
back)); |
| 10564 return; |
| 10565 } else { |
| 10566 _ptr.moveTo(LevelDom.unwrap(parent), name, LevelDom.unwrap(successCall
back), LevelDom.unwrap(errorCallback)); |
| 10567 return; |
| 10568 } |
| 10569 } |
| 10570 } |
| 10571 throw "Incorrect number or type of arguments"; |
| 10145 } | 10572 } |
| 10146 | 10573 |
| 10147 void remove(VoidCallback successCallback, ErrorCallback errorCallback) { | 10574 void remove([VoidCallback successCallback = null, ErrorCallback errorCallback
= null]) { |
| 10148 _ptr.remove(LevelDom.unwrap(successCallback), LevelDom.unwrap(errorCallback)
); | 10575 if (successCallback === null) { |
| 10149 return; | 10576 if (errorCallback === null) { |
| 10577 _ptr.remove(); |
| 10578 return; |
| 10579 } |
| 10580 } else { |
| 10581 if (errorCallback === null) { |
| 10582 _ptr.remove(LevelDom.unwrap(successCallback)); |
| 10583 return; |
| 10584 } else { |
| 10585 _ptr.remove(LevelDom.unwrap(successCallback), LevelDom.unwrap(errorCallb
ack)); |
| 10586 return; |
| 10587 } |
| 10588 } |
| 10589 throw "Incorrect number or type of arguments"; |
| 10150 } | 10590 } |
| 10151 | 10591 |
| 10152 String toURL() { | 10592 String toURL() { |
| 10153 return _ptr.toURL(); | 10593 return _ptr.toURL(); |
| 10154 } | 10594 } |
| 10155 | |
| 10156 String get typeName() { return "Entry"; } | |
| 10157 } | 10595 } |
| 10158 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 10596 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10159 // for details. All rights reserved. Use of this source code is governed by a | 10597 // for details. All rights reserved. Use of this source code is governed by a |
| 10160 // BSD-style license that can be found in the LICENSE file. | 10598 // BSD-style license that can be found in the LICENSE file. |
| 10161 | 10599 |
| 10162 // WARNING: Do not edit - generated code. | 10600 // WARNING: Do not edit - generated code. |
| 10163 | 10601 |
| 10164 class ErrorCallbackWrappingImplementation extends DOMWrapperBase implements Erro
rCallback { | 10602 class ErrorCallbackWrappingImplementation extends DOMWrapperBase implements Erro
rCallback { |
| 10165 ErrorCallbackWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 10603 ErrorCallbackWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 10166 | 10604 |
| 10167 bool handleEvent(FileError error) { | 10605 bool handleEvent(FileError error) { |
| 10168 return _ptr.handleEvent(LevelDom.unwrap(error)); | 10606 return _ptr.handleEvent(LevelDom.unwrap(error)); |
| 10169 } | 10607 } |
| 10170 | |
| 10171 String get typeName() { return "ErrorCallback"; } | |
| 10172 } | 10608 } |
| 10173 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 10609 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10174 // for details. All rights reserved. Use of this source code is governed by a | 10610 // for details. All rights reserved. Use of this source code is governed by a |
| 10175 // BSD-style license that can be found in the LICENSE file. | 10611 // BSD-style license that can be found in the LICENSE file. |
| 10176 | 10612 |
| 10177 // WARNING: Do not edit - generated code. | 10613 // WARNING: Do not edit - generated code. |
| 10178 | 10614 |
| 10179 class ErrorEventWrappingImplementation extends EventWrappingImplementation imple
ments ErrorEvent { | 10615 class ErrorEventWrappingImplementation extends EventWrappingImplementation imple
ments ErrorEvent { |
| 10180 ErrorEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 10616 ErrorEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 10181 | 10617 |
| 10182 String get filename() { return _ptr.filename; } | 10618 String get filename() { return _ptr.filename; } |
| 10183 | 10619 |
| 10184 int get lineno() { return _ptr.lineno; } | 10620 int get lineno() { return _ptr.lineno; } |
| 10185 | 10621 |
| 10186 String get message() { return _ptr.message; } | 10622 String get message() { return _ptr.message; } |
| 10187 | 10623 |
| 10188 void initErrorEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Str
ing messageArg, String filenameArg, int linenoArg) { | 10624 void initErrorEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Str
ing messageArg, String filenameArg, int linenoArg) { |
| 10189 _ptr.initErrorEvent(typeArg, canBubbleArg, cancelableArg, messageArg, filena
meArg, linenoArg); | 10625 _ptr.initErrorEvent(typeArg, canBubbleArg, cancelableArg, messageArg, filena
meArg, linenoArg); |
| 10190 return; | 10626 return; |
| 10191 } | 10627 } |
| 10192 | |
| 10193 String get typeName() { return "ErrorEvent"; } | |
| 10194 } | 10628 } |
| 10195 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 10629 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10196 // for details. All rights reserved. Use of this source code is governed by a | 10630 // for details. All rights reserved. Use of this source code is governed by a |
| 10197 // BSD-style license that can be found in the LICENSE file. | 10631 // BSD-style license that can be found in the LICENSE file. |
| 10198 | 10632 |
| 10199 // WARNING: Do not edit - generated code. | 10633 // WARNING: Do not edit - generated code. |
| 10200 | 10634 |
| 10201 class EventExceptionWrappingImplementation extends DOMWrapperBase implements Eve
ntException { | 10635 class EventExceptionWrappingImplementation extends DOMWrapperBase implements Eve
ntException { |
| 10202 EventExceptionWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 10636 EventExceptionWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 10203 | 10637 |
| 10204 int get code() { return _ptr.code; } | 10638 int get code() { return _ptr.code; } |
| 10205 | 10639 |
| 10206 String get message() { return _ptr.message; } | 10640 String get message() { return _ptr.message; } |
| 10207 | 10641 |
| 10208 String get name() { return _ptr.name; } | 10642 String get name() { return _ptr.name; } |
| 10209 | |
| 10210 String get typeName() { return "EventException"; } | |
| 10211 } | 10643 } |
| 10212 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 10644 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10213 // for details. All rights reserved. Use of this source code is governed by a | 10645 // for details. All rights reserved. Use of this source code is governed by a |
| 10214 // BSD-style license that can be found in the LICENSE file. | 10646 // BSD-style license that can be found in the LICENSE file. |
| 10215 | 10647 |
| 10216 // WARNING: Do not edit - generated code. | 10648 // WARNING: Do not edit - generated code. |
| 10217 | 10649 |
| 10218 class EventWrappingImplementation extends DOMWrapperBase implements Event { | 10650 class EventWrappingImplementation extends DOMWrapperBase implements Event { |
| 10219 EventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 10651 EventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 10220 | 10652 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10256 | 10688 |
| 10257 void stopImmediatePropagation() { | 10689 void stopImmediatePropagation() { |
| 10258 _ptr.stopImmediatePropagation(); | 10690 _ptr.stopImmediatePropagation(); |
| 10259 return; | 10691 return; |
| 10260 } | 10692 } |
| 10261 | 10693 |
| 10262 void stopPropagation() { | 10694 void stopPropagation() { |
| 10263 _ptr.stopPropagation(); | 10695 _ptr.stopPropagation(); |
| 10264 return; | 10696 return; |
| 10265 } | 10697 } |
| 10266 | |
| 10267 String get typeName() { return "Event"; } | |
| 10268 } | 10698 } |
| 10269 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 10699 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10270 // for details. All rights reserved. Use of this source code is governed by a | 10700 // for details. All rights reserved. Use of this source code is governed by a |
| 10271 // BSD-style license that can be found in the LICENSE file. | 10701 // BSD-style license that can be found in the LICENSE file. |
| 10272 | 10702 |
| 10273 // WARNING: Do not edit - generated code. | 10703 // WARNING: Do not edit - generated code. |
| 10274 | 10704 |
| 10275 class FieldSetElementWrappingImplementation extends ElementWrappingImplementatio
n implements FieldSetElement { | 10705 class FieldSetElementWrappingImplementation extends ElementWrappingImplementatio
n implements FieldSetElement { |
| 10276 FieldSetElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 10706 FieldSetElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 10277 | 10707 |
| 10278 FormElement get form() { return LevelDom.wrapFormElement(_ptr.form); } | 10708 FormElement get form() { return LevelDom.wrapFormElement(_ptr.form); } |
| 10279 | 10709 |
| 10280 String get validationMessage() { return _ptr.validationMessage; } | 10710 String get validationMessage() { return _ptr.validationMessage; } |
| 10281 | 10711 |
| 10282 ValidityState get validity() { return LevelDom.wrapValidityState(_ptr.validity
); } | 10712 ValidityState get validity() { return LevelDom.wrapValidityState(_ptr.validity
); } |
| 10283 | 10713 |
| 10284 bool get willValidate() { return _ptr.willValidate; } | 10714 bool get willValidate() { return _ptr.willValidate; } |
| 10285 | 10715 |
| 10286 bool checkValidity() { | 10716 bool checkValidity() { |
| 10287 return _ptr.checkValidity(); | 10717 return _ptr.checkValidity(); |
| 10288 } | 10718 } |
| 10289 | 10719 |
| 10290 void setCustomValidity(String error) { | 10720 void setCustomValidity(String error) { |
| 10291 _ptr.setCustomValidity(error); | 10721 _ptr.setCustomValidity(error); |
| 10292 return; | 10722 return; |
| 10293 } | 10723 } |
| 10294 | |
| 10295 String get typeName() { return "FieldSetElement"; } | |
| 10296 } | 10724 } |
| 10297 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 10725 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10298 // for details. All rights reserved. Use of this source code is governed by a | 10726 // for details. All rights reserved. Use of this source code is governed by a |
| 10299 // BSD-style license that can be found in the LICENSE file. | 10727 // BSD-style license that can be found in the LICENSE file. |
| 10300 | 10728 |
| 10301 // WARNING: Do not edit - generated code. | 10729 // WARNING: Do not edit - generated code. |
| 10302 | 10730 |
| 10303 class FileCallbackWrappingImplementation extends DOMWrapperBase implements FileC
allback { | 10731 class FileCallbackWrappingImplementation extends DOMWrapperBase implements FileC
allback { |
| 10304 FileCallbackWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 10732 FileCallbackWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 10305 | 10733 |
| 10306 bool handleEvent(File file) { | 10734 bool handleEvent(File file) { |
| 10307 return _ptr.handleEvent(LevelDom.unwrap(file)); | 10735 return _ptr.handleEvent(LevelDom.unwrap(file)); |
| 10308 } | 10736 } |
| 10309 | |
| 10310 String get typeName() { return "FileCallback"; } | |
| 10311 } | 10737 } |
| 10312 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 10738 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10313 // for details. All rights reserved. Use of this source code is governed by a | 10739 // for details. All rights reserved. Use of this source code is governed by a |
| 10314 // BSD-style license that can be found in the LICENSE file. | 10740 // BSD-style license that can be found in the LICENSE file. |
| 10315 | 10741 |
| 10316 // WARNING: Do not edit - generated code. | 10742 // WARNING: Do not edit - generated code. |
| 10317 | 10743 |
| 10318 class FileEntrySyncWrappingImplementation extends EntrySyncWrappingImplementatio
n implements FileEntrySync { | 10744 class FileEntrySyncWrappingImplementation extends EntrySyncWrappingImplementatio
n implements FileEntrySync { |
| 10319 FileEntrySyncWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 10745 FileEntrySyncWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 10320 | 10746 |
| 10321 FileWriterSync createWriter() { | 10747 FileWriterSync createWriter() { |
| 10322 return LevelDom.wrapFileWriterSync(_ptr.createWriter()); | 10748 return LevelDom.wrapFileWriterSync(_ptr.createWriter()); |
| 10323 } | 10749 } |
| 10324 | 10750 |
| 10325 File file() { | 10751 File file() { |
| 10326 return LevelDom.wrapFile(_ptr.file()); | 10752 return LevelDom.wrapFile(_ptr.file()); |
| 10327 } | 10753 } |
| 10328 | |
| 10329 String get typeName() { return "FileEntrySync"; } | |
| 10330 } | 10754 } |
| 10331 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 10755 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10332 // for details. All rights reserved. Use of this source code is governed by a | 10756 // for details. All rights reserved. Use of this source code is governed by a |
| 10333 // BSD-style license that can be found in the LICENSE file. | 10757 // BSD-style license that can be found in the LICENSE file. |
| 10334 | 10758 |
| 10335 // WARNING: Do not edit - generated code. | 10759 // WARNING: Do not edit - generated code. |
| 10336 | 10760 |
| 10337 class FileEntryWrappingImplementation extends EntryWrappingImplementation implem
ents FileEntry { | 10761 class FileEntryWrappingImplementation extends EntryWrappingImplementation implem
ents FileEntry { |
| 10338 FileEntryWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 10762 FileEntryWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 10339 | 10763 |
| 10340 void createWriter(FileWriterCallback successCallback, ErrorCallback errorCallb
ack) { | 10764 void createWriter(FileWriterCallback successCallback, [ErrorCallback errorCall
back = null]) { |
| 10341 _ptr.createWriter(LevelDom.unwrap(successCallback), LevelDom.unwrap(errorCal
lback)); | 10765 if (errorCallback === null) { |
| 10342 return; | 10766 _ptr.createWriter(LevelDom.unwrap(successCallback)); |
| 10767 return; |
| 10768 } else { |
| 10769 _ptr.createWriter(LevelDom.unwrap(successCallback), LevelDom.unwrap(errorC
allback)); |
| 10770 return; |
| 10771 } |
| 10343 } | 10772 } |
| 10344 | 10773 |
| 10345 void file(FileCallback successCallback, ErrorCallback errorCallback) { | 10774 void file(FileCallback successCallback, [ErrorCallback errorCallback = null])
{ |
| 10346 _ptr.file(LevelDom.unwrap(successCallback), LevelDom.unwrap(errorCallback)); | 10775 if (errorCallback === null) { |
| 10347 return; | 10776 _ptr.file(LevelDom.unwrap(successCallback)); |
| 10777 return; |
| 10778 } else { |
| 10779 _ptr.file(LevelDom.unwrap(successCallback), LevelDom.unwrap(errorCallback)
); |
| 10780 return; |
| 10781 } |
| 10348 } | 10782 } |
| 10349 | |
| 10350 String get typeName() { return "FileEntry"; } | |
| 10351 } | 10783 } |
| 10352 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 10784 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10353 // for details. All rights reserved. Use of this source code is governed by a | 10785 // for details. All rights reserved. Use of this source code is governed by a |
| 10354 // BSD-style license that can be found in the LICENSE file. | 10786 // BSD-style license that can be found in the LICENSE file. |
| 10355 | 10787 |
| 10356 // WARNING: Do not edit - generated code. | 10788 // WARNING: Do not edit - generated code. |
| 10357 | 10789 |
| 10358 class FileErrorWrappingImplementation extends DOMWrapperBase implements FileErro
r { | 10790 class FileErrorWrappingImplementation extends DOMWrapperBase implements FileErro
r { |
| 10359 FileErrorWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 10791 FileErrorWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 10360 | 10792 |
| 10361 int get code() { return _ptr.code; } | 10793 int get code() { return _ptr.code; } |
| 10362 | |
| 10363 String get typeName() { return "FileError"; } | |
| 10364 } | 10794 } |
| 10365 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 10795 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10366 // for details. All rights reserved. Use of this source code is governed by a | 10796 // for details. All rights reserved. Use of this source code is governed by a |
| 10367 // BSD-style license that can be found in the LICENSE file. | 10797 // BSD-style license that can be found in the LICENSE file. |
| 10368 | 10798 |
| 10369 // WARNING: Do not edit - generated code. | 10799 // WARNING: Do not edit - generated code. |
| 10370 | 10800 |
| 10371 class FileExceptionWrappingImplementation extends DOMWrapperBase implements File
Exception { | 10801 class FileExceptionWrappingImplementation extends DOMWrapperBase implements File
Exception { |
| 10372 FileExceptionWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 10802 FileExceptionWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 10373 | 10803 |
| 10374 int get code() { return _ptr.code; } | 10804 int get code() { return _ptr.code; } |
| 10375 | 10805 |
| 10376 String get message() { return _ptr.message; } | 10806 String get message() { return _ptr.message; } |
| 10377 | 10807 |
| 10378 String get name() { return _ptr.name; } | 10808 String get name() { return _ptr.name; } |
| 10379 | |
| 10380 String get typeName() { return "FileException"; } | |
| 10381 } | 10809 } |
| 10382 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 10810 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10383 // for details. All rights reserved. Use of this source code is governed by a | 10811 // for details. All rights reserved. Use of this source code is governed by a |
| 10384 // BSD-style license that can be found in the LICENSE file. | 10812 // BSD-style license that can be found in the LICENSE file. |
| 10385 | 10813 |
| 10386 // WARNING: Do not edit - generated code. | 10814 // WARNING: Do not edit - generated code. |
| 10387 | 10815 |
| 10388 class FileListWrappingImplementation extends DOMWrapperBase implements FileList
{ | 10816 class FileListWrappingImplementation extends DOMWrapperBase implements FileList
{ |
| 10389 FileListWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 10817 FileListWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 10390 | 10818 |
| 10391 int get length() { return _ptr.length; } | 10819 int get length() { return _ptr.length; } |
| 10392 | 10820 |
| 10393 File item(int index) { | 10821 File item(int index) { |
| 10394 return LevelDom.wrapFile(_ptr.item(index)); | 10822 return LevelDom.wrapFile(_ptr.item(index)); |
| 10395 } | 10823 } |
| 10396 | |
| 10397 String get typeName() { return "FileList"; } | |
| 10398 } | 10824 } |
| 10399 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 10825 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10400 // for details. All rights reserved. Use of this source code is governed by a | 10826 // for details. All rights reserved. Use of this source code is governed by a |
| 10401 // BSD-style license that can be found in the LICENSE file. | 10827 // BSD-style license that can be found in the LICENSE file. |
| 10402 | 10828 |
| 10403 // WARNING: Do not edit - generated code. | 10829 // WARNING: Do not edit - generated code. |
| 10404 | 10830 |
| 10405 class FileReaderSyncWrappingImplementation extends DOMWrapperBase implements Fil
eReaderSync { | 10831 class FileReaderSyncWrappingImplementation extends DOMWrapperBase implements Fil
eReaderSync { |
| 10406 FileReaderSyncWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 10832 FileReaderSyncWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 10407 | 10833 |
| 10408 ArrayBuffer readAsArrayBuffer(Blob blob) { | 10834 ArrayBuffer readAsArrayBuffer(Blob blob) { |
| 10409 return LevelDom.wrapArrayBuffer(_ptr.readAsArrayBuffer(LevelDom.unwrap(blob)
)); | 10835 return LevelDom.wrapArrayBuffer(_ptr.readAsArrayBuffer(LevelDom.unwrap(blob)
)); |
| 10410 } | 10836 } |
| 10411 | 10837 |
| 10412 String readAsBinaryString(Blob blob) { | 10838 String readAsBinaryString(Blob blob) { |
| 10413 return _ptr.readAsBinaryString(LevelDom.unwrap(blob)); | 10839 return _ptr.readAsBinaryString(LevelDom.unwrap(blob)); |
| 10414 } | 10840 } |
| 10415 | 10841 |
| 10416 String readAsDataURL(Blob blob) { | 10842 String readAsDataURL(Blob blob) { |
| 10417 return _ptr.readAsDataURL(LevelDom.unwrap(blob)); | 10843 return _ptr.readAsDataURL(LevelDom.unwrap(blob)); |
| 10418 } | 10844 } |
| 10419 | 10845 |
| 10420 String readAsText(Blob blob, String encoding) { | 10846 String readAsText(Blob blob, [String encoding = null]) { |
| 10421 return _ptr.readAsText(LevelDom.unwrap(blob), encoding); | 10847 if (encoding === null) { |
| 10848 return _ptr.readAsText(LevelDom.unwrap(blob)); |
| 10849 } else { |
| 10850 return _ptr.readAsText(LevelDom.unwrap(blob), encoding); |
| 10851 } |
| 10422 } | 10852 } |
| 10423 | |
| 10424 String get typeName() { return "FileReaderSync"; } | |
| 10425 } | 10853 } |
| 10426 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 10854 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10427 // for details. All rights reserved. Use of this source code is governed by a | 10855 // for details. All rights reserved. Use of this source code is governed by a |
| 10428 // BSD-style license that can be found in the LICENSE file. | 10856 // BSD-style license that can be found in the LICENSE file. |
| 10429 | 10857 |
| 10430 // WARNING: Do not edit - generated code. | 10858 // WARNING: Do not edit - generated code. |
| 10431 | 10859 |
| 10432 class FileReaderWrappingImplementation extends DOMWrapperBase implements FileRea
der { | 10860 class FileReaderWrappingImplementation extends DOMWrapperBase implements FileRea
der { |
| 10433 FileReaderWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 10861 FileReaderWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 10434 | 10862 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10475 void readAsBinaryString(Blob blob) { | 10903 void readAsBinaryString(Blob blob) { |
| 10476 _ptr.readAsBinaryString(LevelDom.unwrap(blob)); | 10904 _ptr.readAsBinaryString(LevelDom.unwrap(blob)); |
| 10477 return; | 10905 return; |
| 10478 } | 10906 } |
| 10479 | 10907 |
| 10480 void readAsDataURL(Blob blob) { | 10908 void readAsDataURL(Blob blob) { |
| 10481 _ptr.readAsDataURL(LevelDom.unwrap(blob)); | 10909 _ptr.readAsDataURL(LevelDom.unwrap(blob)); |
| 10482 return; | 10910 return; |
| 10483 } | 10911 } |
| 10484 | 10912 |
| 10485 void readAsText(Blob blob, String encoding) { | 10913 void readAsText(Blob blob, [String encoding = null]) { |
| 10486 _ptr.readAsText(LevelDom.unwrap(blob), encoding); | 10914 if (encoding === null) { |
| 10487 return; | 10915 _ptr.readAsText(LevelDom.unwrap(blob)); |
| 10916 return; |
| 10917 } else { |
| 10918 _ptr.readAsText(LevelDom.unwrap(blob), encoding); |
| 10919 return; |
| 10920 } |
| 10488 } | 10921 } |
| 10489 | |
| 10490 String get typeName() { return "FileReader"; } | |
| 10491 } | 10922 } |
| 10492 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 10923 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10493 // for details. All rights reserved. Use of this source code is governed by a | 10924 // for details. All rights reserved. Use of this source code is governed by a |
| 10494 // BSD-style license that can be found in the LICENSE file. | 10925 // BSD-style license that can be found in the LICENSE file. |
| 10495 | 10926 |
| 10496 // WARNING: Do not edit - generated code. | 10927 // WARNING: Do not edit - generated code. |
| 10497 | 10928 |
| 10498 class FileSystemCallbackWrappingImplementation extends DOMWrapperBase implements
FileSystemCallback { | 10929 class FileSystemCallbackWrappingImplementation extends DOMWrapperBase implements
FileSystemCallback { |
| 10499 FileSystemCallbackWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 10930 FileSystemCallbackWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 10500 | 10931 |
| 10501 bool handleEvent(DOMFileSystem fileSystem) { | 10932 bool handleEvent(DOMFileSystem fileSystem) { |
| 10502 return _ptr.handleEvent(LevelDom.unwrap(fileSystem)); | 10933 return _ptr.handleEvent(LevelDom.unwrap(fileSystem)); |
| 10503 } | 10934 } |
| 10504 | |
| 10505 String get typeName() { return "FileSystemCallback"; } | |
| 10506 } | 10935 } |
| 10507 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 10936 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10508 // for details. All rights reserved. Use of this source code is governed by a | 10937 // for details. All rights reserved. Use of this source code is governed by a |
| 10509 // BSD-style license that can be found in the LICENSE file. | 10938 // BSD-style license that can be found in the LICENSE file. |
| 10510 | 10939 |
| 10511 // WARNING: Do not edit - generated code. | 10940 // WARNING: Do not edit - generated code. |
| 10512 | 10941 |
| 10513 class FileWrappingImplementation extends BlobWrappingImplementation implements F
ile { | 10942 class FileWrappingImplementation extends BlobWrappingImplementation implements F
ile { |
| 10514 FileWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 10943 FileWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 10515 | 10944 |
| 10516 String get fileName() { return _ptr.fileName; } | 10945 String get fileName() { return _ptr.fileName; } |
| 10517 | 10946 |
| 10518 int get fileSize() { return _ptr.fileSize; } | 10947 int get fileSize() { return _ptr.fileSize; } |
| 10519 | 10948 |
| 10520 Date get lastModifiedDate() { return _ptr.lastModifiedDate; } | 10949 Date get lastModifiedDate() { return _ptr.lastModifiedDate; } |
| 10521 | 10950 |
| 10522 String get name() { return _ptr.name; } | 10951 String get name() { return _ptr.name; } |
| 10523 | |
| 10524 String get typeName() { return "File"; } | |
| 10525 } | 10952 } |
| 10526 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 10953 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10527 // for details. All rights reserved. Use of this source code is governed by a | 10954 // for details. All rights reserved. Use of this source code is governed by a |
| 10528 // BSD-style license that can be found in the LICENSE file. | 10955 // BSD-style license that can be found in the LICENSE file. |
| 10529 | 10956 |
| 10530 // WARNING: Do not edit - generated code. | 10957 // WARNING: Do not edit - generated code. |
| 10531 | 10958 |
| 10532 class FileWriterCallbackWrappingImplementation extends DOMWrapperBase implements
FileWriterCallback { | 10959 class FileWriterCallbackWrappingImplementation extends DOMWrapperBase implements
FileWriterCallback { |
| 10533 FileWriterCallbackWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 10960 FileWriterCallbackWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 10534 | 10961 |
| 10535 bool handleEvent(FileWriter fileWriter) { | 10962 bool handleEvent(FileWriter fileWriter) { |
| 10536 return _ptr.handleEvent(LevelDom.unwrap(fileWriter)); | 10963 return _ptr.handleEvent(LevelDom.unwrap(fileWriter)); |
| 10537 } | 10964 } |
| 10538 | |
| 10539 String get typeName() { return "FileWriterCallback"; } | |
| 10540 } | 10965 } |
| 10541 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 10966 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10542 // for details. All rights reserved. Use of this source code is governed by a | 10967 // for details. All rights reserved. Use of this source code is governed by a |
| 10543 // BSD-style license that can be found in the LICENSE file. | 10968 // BSD-style license that can be found in the LICENSE file. |
| 10544 | 10969 |
| 10545 // WARNING: Do not edit - generated code. | 10970 // WARNING: Do not edit - generated code. |
| 10546 | 10971 |
| 10547 class FileWriterSyncWrappingImplementation extends DOMWrapperBase implements Fil
eWriterSync { | 10972 class FileWriterSyncWrappingImplementation extends DOMWrapperBase implements Fil
eWriterSync { |
| 10548 FileWriterSyncWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 10973 FileWriterSyncWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 10549 | 10974 |
| 10550 int get length() { return _ptr.length; } | 10975 int get length() { return _ptr.length; } |
| 10551 | 10976 |
| 10552 int get position() { return _ptr.position; } | 10977 int get position() { return _ptr.position; } |
| 10553 | 10978 |
| 10554 void seek(int position) { | 10979 void seek(int position) { |
| 10555 _ptr.seek(position); | 10980 _ptr.seek(position); |
| 10556 return; | 10981 return; |
| 10557 } | 10982 } |
| 10558 | 10983 |
| 10559 void truncate(int size) { | 10984 void truncate(int size) { |
| 10560 _ptr.truncate(size); | 10985 _ptr.truncate(size); |
| 10561 return; | 10986 return; |
| 10562 } | 10987 } |
| 10563 | 10988 |
| 10564 void write(Blob data) { | 10989 void write(Blob data) { |
| 10565 _ptr.write(LevelDom.unwrap(data)); | 10990 _ptr.write(LevelDom.unwrap(data)); |
| 10566 return; | 10991 return; |
| 10567 } | 10992 } |
| 10568 | |
| 10569 String get typeName() { return "FileWriterSync"; } | |
| 10570 } | 10993 } |
| 10571 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 10994 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10572 // for details. All rights reserved. Use of this source code is governed by a | 10995 // for details. All rights reserved. Use of this source code is governed by a |
| 10573 // BSD-style license that can be found in the LICENSE file. | 10996 // BSD-style license that can be found in the LICENSE file. |
| 10574 | 10997 |
| 10575 // WARNING: Do not edit - generated code. | 10998 // WARNING: Do not edit - generated code. |
| 10576 | 10999 |
| 10577 class FileWriterWrappingImplementation extends DOMWrapperBase implements FileWri
ter { | 11000 class FileWriterWrappingImplementation extends DOMWrapperBase implements FileWri
ter { |
| 10578 FileWriterWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 11001 FileWriterWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 10579 | 11002 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10621 | 11044 |
| 10622 void truncate(int size) { | 11045 void truncate(int size) { |
| 10623 _ptr.truncate(size); | 11046 _ptr.truncate(size); |
| 10624 return; | 11047 return; |
| 10625 } | 11048 } |
| 10626 | 11049 |
| 10627 void write(Blob data) { | 11050 void write(Blob data) { |
| 10628 _ptr.write(LevelDom.unwrap(data)); | 11051 _ptr.write(LevelDom.unwrap(data)); |
| 10629 return; | 11052 return; |
| 10630 } | 11053 } |
| 10631 | |
| 10632 String get typeName() { return "FileWriter"; } | |
| 10633 } | 11054 } |
| 10634 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 11055 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10635 // for details. All rights reserved. Use of this source code is governed by a | 11056 // for details. All rights reserved. Use of this source code is governed by a |
| 10636 // BSD-style license that can be found in the LICENSE file. | 11057 // BSD-style license that can be found in the LICENSE file. |
| 10637 | 11058 |
| 10638 // WARNING: Do not edit - generated code. | 11059 // WARNING: Do not edit - generated code. |
| 10639 | 11060 |
| 10640 class FlagsWrappingImplementation extends DOMWrapperBase implements Flags { | 11061 class FlagsWrappingImplementation extends DOMWrapperBase implements Flags { |
| 10641 FlagsWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 11062 FlagsWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 10642 | 11063 |
| 10643 bool get create() { return _ptr.create; } | 11064 bool get create() { return _ptr.create; } |
| 10644 | 11065 |
| 10645 void set create(bool value) { _ptr.create = value; } | 11066 void set create(bool value) { _ptr.create = value; } |
| 10646 | 11067 |
| 10647 bool get exclusive() { return _ptr.exclusive; } | 11068 bool get exclusive() { return _ptr.exclusive; } |
| 10648 | 11069 |
| 10649 void set exclusive(bool value) { _ptr.exclusive = value; } | 11070 void set exclusive(bool value) { _ptr.exclusive = value; } |
| 10650 | |
| 10651 String get typeName() { return "Flags"; } | |
| 10652 } | 11071 } |
| 10653 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 11072 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10654 // for details. All rights reserved. Use of this source code is governed by a | 11073 // for details. All rights reserved. Use of this source code is governed by a |
| 10655 // BSD-style license that can be found in the LICENSE file. | 11074 // BSD-style license that can be found in the LICENSE file. |
| 10656 | 11075 |
| 10657 // WARNING: Do not edit - generated code. | 11076 // WARNING: Do not edit - generated code. |
| 10658 | 11077 |
| 10659 class Float32ArrayWrappingImplementation extends ArrayBufferViewWrappingImplemen
tation implements Float32Array { | 11078 class Float32ArrayWrappingImplementation extends ArrayBufferViewWrappingImplemen
tation implements Float32Array { |
| 10660 Float32ArrayWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 11079 Float32ArrayWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 10661 | 11080 |
| 10662 int get length() { return _ptr.length; } | 11081 int get length() { return _ptr.length; } |
| 10663 | 11082 |
| 10664 Float32Array subarray(int start, int end) { | 11083 Float32Array subarray(int start, [int end = null]) { |
| 10665 return LevelDom.wrapFloat32Array(_ptr.subarray(start, end)); | 11084 if (end === null) { |
| 11085 return LevelDom.wrapFloat32Array(_ptr.subarray(start)); |
| 11086 } else { |
| 11087 return LevelDom.wrapFloat32Array(_ptr.subarray(start, end)); |
| 11088 } |
| 10666 } | 11089 } |
| 10667 | |
| 10668 String get typeName() { return "Float32Array"; } | |
| 10669 } | 11090 } |
| 10670 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 11091 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10671 // for details. All rights reserved. Use of this source code is governed by a | 11092 // for details. All rights reserved. Use of this source code is governed by a |
| 10672 // BSD-style license that can be found in the LICENSE file. | 11093 // BSD-style license that can be found in the LICENSE file. |
| 10673 | 11094 |
| 10674 // WARNING: Do not edit - generated code. | 11095 // WARNING: Do not edit - generated code. |
| 10675 | 11096 |
| 10676 class Float64ArrayWrappingImplementation extends ArrayBufferViewWrappingImplemen
tation implements Float64Array { | 11097 class Float64ArrayWrappingImplementation extends ArrayBufferViewWrappingImplemen
tation implements Float64Array { |
| 10677 Float64ArrayWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 11098 Float64ArrayWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 10678 | 11099 |
| 10679 int get length() { return _ptr.length; } | 11100 int get length() { return _ptr.length; } |
| 10680 | 11101 |
| 10681 Float64Array subarray(int start, int end) { | 11102 Float64Array subarray(int start, [int end = null]) { |
| 10682 return LevelDom.wrapFloat64Array(_ptr.subarray(start, end)); | 11103 if (end === null) { |
| 11104 return LevelDom.wrapFloat64Array(_ptr.subarray(start)); |
| 11105 } else { |
| 11106 return LevelDom.wrapFloat64Array(_ptr.subarray(start, end)); |
| 11107 } |
| 10683 } | 11108 } |
| 10684 | |
| 10685 String get typeName() { return "Float64Array"; } | |
| 10686 } | 11109 } |
| 10687 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 11110 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10688 // for details. All rights reserved. Use of this source code is governed by a | 11111 // for details. All rights reserved. Use of this source code is governed by a |
| 10689 // BSD-style license that can be found in the LICENSE file. | 11112 // BSD-style license that can be found in the LICENSE file. |
| 10690 | 11113 |
| 10691 // WARNING: Do not edit - generated code. | 11114 // WARNING: Do not edit - generated code. |
| 10692 | 11115 |
| 10693 class FontElementWrappingImplementation extends ElementWrappingImplementation im
plements FontElement { | 11116 class FontElementWrappingImplementation extends ElementWrappingImplementation im
plements FontElement { |
| 10694 FontElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 11117 FontElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 10695 | 11118 |
| 10696 String get color() { return _ptr.color; } | 11119 String get color() { return _ptr.color; } |
| 10697 | 11120 |
| 10698 void set color(String value) { _ptr.color = value; } | 11121 void set color(String value) { _ptr.color = value; } |
| 10699 | 11122 |
| 10700 String get face() { return _ptr.face; } | 11123 String get face() { return _ptr.face; } |
| 10701 | 11124 |
| 10702 void set face(String value) { _ptr.face = value; } | 11125 void set face(String value) { _ptr.face = value; } |
| 10703 | 11126 |
| 10704 String get size() { return _ptr.size; } | 11127 String get size() { return _ptr.size; } |
| 10705 | 11128 |
| 10706 void set size(String value) { _ptr.size = value; } | 11129 void set size(String value) { _ptr.size = value; } |
| 10707 | |
| 10708 String get typeName() { return "FontElement"; } | |
| 10709 } | 11130 } |
| 10710 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 11131 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10711 // for details. All rights reserved. Use of this source code is governed by a | 11132 // for details. All rights reserved. Use of this source code is governed by a |
| 10712 // BSD-style license that can be found in the LICENSE file. | 11133 // BSD-style license that can be found in the LICENSE file. |
| 10713 | 11134 |
| 10714 // WARNING: Do not edit - generated code. | 11135 // WARNING: Do not edit - generated code. |
| 10715 | 11136 |
| 10716 class FormElementWrappingImplementation extends ElementWrappingImplementation im
plements FormElement { | 11137 class FormElementWrappingImplementation extends ElementWrappingImplementation im
plements FormElement { |
| 10717 FormElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 11138 FormElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 10718 | 11139 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10760 | 11181 |
| 10761 void reset() { | 11182 void reset() { |
| 10762 _ptr.reset(); | 11183 _ptr.reset(); |
| 10763 return; | 11184 return; |
| 10764 } | 11185 } |
| 10765 | 11186 |
| 10766 void submit() { | 11187 void submit() { |
| 10767 _ptr.submit(); | 11188 _ptr.submit(); |
| 10768 return; | 11189 return; |
| 10769 } | 11190 } |
| 10770 | |
| 10771 String get typeName() { return "FormElement"; } | |
| 10772 } | 11191 } |
| 10773 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 11192 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10774 // for details. All rights reserved. Use of this source code is governed by a | 11193 // for details. All rights reserved. Use of this source code is governed by a |
| 10775 // BSD-style license that can be found in the LICENSE file. | 11194 // BSD-style license that can be found in the LICENSE file. |
| 10776 | 11195 |
| 10777 // WARNING: Do not edit - generated code. | 11196 // WARNING: Do not edit - generated code. |
| 10778 | 11197 |
| 10779 class GeolocationWrappingImplementation extends DOMWrapperBase implements Geoloc
ation { | 11198 class GeolocationWrappingImplementation extends DOMWrapperBase implements Geoloc
ation { |
| 10780 GeolocationWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 11199 GeolocationWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 10781 | 11200 |
| 10782 void clearWatch(int watchId) { | 11201 void clearWatch(int watchId) { |
| 10783 _ptr.clearWatch(watchId); | 11202 _ptr.clearWatch(watchId); |
| 10784 return; | 11203 return; |
| 10785 } | 11204 } |
| 10786 | 11205 |
| 10787 void getCurrentPosition(PositionCallback successCallback, PositionErrorCallbac
k errorCallback) { | 11206 void getCurrentPosition(PositionCallback successCallback, [PositionErrorCallba
ck errorCallback = null]) { |
| 10788 _ptr.getCurrentPosition(LevelDom.unwrap(successCallback), LevelDom.unwrap(er
rorCallback)); | 11207 if (errorCallback === null) { |
| 10789 return; | 11208 _ptr.getCurrentPosition(LevelDom.unwrap(successCallback)); |
| 11209 return; |
| 11210 } else { |
| 11211 _ptr.getCurrentPosition(LevelDom.unwrap(successCallback), LevelDom.unwrap(
errorCallback)); |
| 11212 return; |
| 11213 } |
| 10790 } | 11214 } |
| 10791 | 11215 |
| 10792 int watchPosition(PositionCallback successCallback, PositionErrorCallback erro
rCallback) { | 11216 int watchPosition(PositionCallback successCallback, [PositionErrorCallback err
orCallback = null]) { |
| 10793 return _ptr.watchPosition(LevelDom.unwrap(successCallback), LevelDom.unwrap(
errorCallback)); | 11217 if (errorCallback === null) { |
| 11218 return _ptr.watchPosition(LevelDom.unwrap(successCallback)); |
| 11219 } else { |
| 11220 return _ptr.watchPosition(LevelDom.unwrap(successCallback), LevelDom.unwra
p(errorCallback)); |
| 11221 } |
| 10794 } | 11222 } |
| 10795 | |
| 10796 String get typeName() { return "Geolocation"; } | |
| 10797 } | 11223 } |
| 10798 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 11224 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10799 // for details. All rights reserved. Use of this source code is governed by a | 11225 // for details. All rights reserved. Use of this source code is governed by a |
| 10800 // BSD-style license that can be found in the LICENSE file. | 11226 // BSD-style license that can be found in the LICENSE file. |
| 10801 | 11227 |
| 10802 // WARNING: Do not edit - generated code. | 11228 // WARNING: Do not edit - generated code. |
| 10803 | 11229 |
| 10804 class GeopositionWrappingImplementation extends DOMWrapperBase implements Geopos
ition { | 11230 class GeopositionWrappingImplementation extends DOMWrapperBase implements Geopos
ition { |
| 10805 GeopositionWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 11231 GeopositionWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 10806 | 11232 |
| 10807 Coordinates get coords() { return LevelDom.wrapCoordinates(_ptr.coords); } | 11233 Coordinates get coords() { return LevelDom.wrapCoordinates(_ptr.coords); } |
| 10808 | 11234 |
| 10809 int get timestamp() { return _ptr.timestamp; } | 11235 int get timestamp() { return _ptr.timestamp; } |
| 10810 | |
| 10811 String get typeName() { return "Geoposition"; } | |
| 10812 } | 11236 } |
| 10813 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 11237 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10814 // for details. All rights reserved. Use of this source code is governed by a | 11238 // for details. All rights reserved. Use of this source code is governed by a |
| 10815 // BSD-style license that can be found in the LICENSE file. | 11239 // BSD-style license that can be found in the LICENSE file. |
| 10816 | 11240 |
| 10817 // WARNING: Do not edit - generated code. | 11241 // WARNING: Do not edit - generated code. |
| 10818 | 11242 |
| 10819 class HRElementWrappingImplementation extends ElementWrappingImplementation impl
ements HRElement { | 11243 class HRElementWrappingImplementation extends ElementWrappingImplementation impl
ements HRElement { |
| 10820 HRElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 11244 HRElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 10821 | 11245 |
| 10822 String get align() { return _ptr.align; } | 11246 String get align() { return _ptr.align; } |
| 10823 | 11247 |
| 10824 void set align(String value) { _ptr.align = value; } | 11248 void set align(String value) { _ptr.align = value; } |
| 10825 | 11249 |
| 10826 bool get noShade() { return _ptr.noShade; } | 11250 bool get noShade() { return _ptr.noShade; } |
| 10827 | 11251 |
| 10828 void set noShade(bool value) { _ptr.noShade = value; } | 11252 void set noShade(bool value) { _ptr.noShade = value; } |
| 10829 | 11253 |
| 10830 String get size() { return _ptr.size; } | 11254 String get size() { return _ptr.size; } |
| 10831 | 11255 |
| 10832 void set size(String value) { _ptr.size = value; } | 11256 void set size(String value) { _ptr.size = value; } |
| 10833 | 11257 |
| 10834 String get width() { return _ptr.width; } | 11258 String get width() { return _ptr.width; } |
| 10835 | 11259 |
| 10836 void set width(String value) { _ptr.width = value; } | 11260 void set width(String value) { _ptr.width = value; } |
| 10837 | |
| 10838 String get typeName() { return "HRElement"; } | |
| 10839 } | 11261 } |
| 10840 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 11262 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10841 // for details. All rights reserved. Use of this source code is governed by a | 11263 // for details. All rights reserved. Use of this source code is governed by a |
| 10842 // BSD-style license that can be found in the LICENSE file. | 11264 // BSD-style license that can be found in the LICENSE file. |
| 10843 | 11265 |
| 10844 // WARNING: Do not edit - generated code. | 11266 // WARNING: Do not edit - generated code. |
| 10845 | 11267 |
| 10846 class HTMLAllCollectionWrappingImplementation extends DOMWrapperBase implements
HTMLAllCollection { | 11268 class HTMLAllCollectionWrappingImplementation extends DOMWrapperBase implements
HTMLAllCollection { |
| 10847 HTMLAllCollectionWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 11269 HTMLAllCollectionWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 10848 | 11270 |
| 10849 int get length() { return _ptr.length; } | 11271 int get length() { return _ptr.length; } |
| 10850 | 11272 |
| 10851 Node item(int index) { | 11273 Node item(int index) { |
| 10852 return LevelDom.wrapNode(_ptr.item(index)); | 11274 return LevelDom.wrapNode(_ptr.item(index)); |
| 10853 } | 11275 } |
| 10854 | 11276 |
| 10855 Node namedItem(String name) { | 11277 Node namedItem(String name) { |
| 10856 return LevelDom.wrapNode(_ptr.namedItem(name)); | 11278 return LevelDom.wrapNode(_ptr.namedItem(name)); |
| 10857 } | 11279 } |
| 10858 | 11280 |
| 10859 ElementList tags(String name) { | 11281 ElementList tags(String name) { |
| 10860 return LevelDom.wrapElementList(_ptr.tags(name)); | 11282 return LevelDom.wrapElementList(_ptr.tags(name)); |
| 10861 } | 11283 } |
| 10862 | |
| 10863 String get typeName() { return "HTMLAllCollection"; } | |
| 10864 } | 11284 } |
| 10865 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 11285 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10866 // for details. All rights reserved. Use of this source code is governed by a | 11286 // for details. All rights reserved. Use of this source code is governed by a |
| 10867 // BSD-style license that can be found in the LICENSE file. | 11287 // BSD-style license that can be found in the LICENSE file. |
| 10868 | 11288 |
| 10869 // WARNING: Do not edit - generated code. | 11289 // WARNING: Do not edit - generated code. |
| 10870 | 11290 |
| 10871 class HashChangeEventWrappingImplementation extends EventWrappingImplementation
implements HashChangeEvent { | 11291 class HashChangeEventWrappingImplementation extends EventWrappingImplementation
implements HashChangeEvent { |
| 10872 HashChangeEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 11292 HashChangeEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 10873 | 11293 |
| 10874 String get newURL() { return _ptr.newURL; } | 11294 String get newURL() { return _ptr.newURL; } |
| 10875 | 11295 |
| 10876 String get oldURL() { return _ptr.oldURL; } | 11296 String get oldURL() { return _ptr.oldURL; } |
| 10877 | 11297 |
| 10878 void initHashChangeEvent(String type, bool canBubble, bool cancelable, String
oldURL, String newURL) { | 11298 void initHashChangeEvent(String type, bool canBubble, bool cancelable, String
oldURL, String newURL) { |
| 10879 _ptr.initHashChangeEvent(type, canBubble, cancelable, oldURL, newURL); | 11299 _ptr.initHashChangeEvent(type, canBubble, cancelable, oldURL, newURL); |
| 10880 return; | 11300 return; |
| 10881 } | 11301 } |
| 10882 | |
| 10883 String get typeName() { return "HashChangeEvent"; } | |
| 10884 } | 11302 } |
| 10885 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 11303 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10886 // for details. All rights reserved. Use of this source code is governed by a | 11304 // for details. All rights reserved. Use of this source code is governed by a |
| 10887 // BSD-style license that can be found in the LICENSE file. | 11305 // BSD-style license that can be found in the LICENSE file. |
| 10888 | 11306 |
| 10889 // WARNING: Do not edit - generated code. | 11307 // WARNING: Do not edit - generated code. |
| 10890 | 11308 |
| 10891 class HeadElementWrappingImplementation extends ElementWrappingImplementation im
plements HeadElement { | 11309 class HeadElementWrappingImplementation extends ElementWrappingImplementation im
plements HeadElement { |
| 10892 HeadElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 11310 HeadElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 10893 | 11311 |
| 10894 String get profile() { return _ptr.profile; } | 11312 String get profile() { return _ptr.profile; } |
| 10895 | 11313 |
| 10896 void set profile(String value) { _ptr.profile = value; } | 11314 void set profile(String value) { _ptr.profile = value; } |
| 10897 | |
| 10898 String get typeName() { return "HeadElement"; } | |
| 10899 } | 11315 } |
| 10900 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 11316 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10901 // for details. All rights reserved. Use of this source code is governed by a | 11317 // for details. All rights reserved. Use of this source code is governed by a |
| 10902 // BSD-style license that can be found in the LICENSE file. | 11318 // BSD-style license that can be found in the LICENSE file. |
| 10903 | 11319 |
| 10904 // WARNING: Do not edit - generated code. | 11320 // WARNING: Do not edit - generated code. |
| 10905 | 11321 |
| 10906 class HeadingElementWrappingImplementation extends ElementWrappingImplementation
implements HeadingElement { | 11322 class HeadingElementWrappingImplementation extends ElementWrappingImplementation
implements HeadingElement { |
| 10907 HeadingElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 11323 HeadingElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 10908 | 11324 |
| 10909 String get align() { return _ptr.align; } | 11325 String get align() { return _ptr.align; } |
| 10910 | 11326 |
| 10911 void set align(String value) { _ptr.align = value; } | 11327 void set align(String value) { _ptr.align = value; } |
| 10912 | |
| 10913 String get typeName() { return "HeadingElement"; } | |
| 10914 } | 11328 } |
| 10915 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 11329 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10916 // for details. All rights reserved. Use of this source code is governed by a | 11330 // for details. All rights reserved. Use of this source code is governed by a |
| 10917 // BSD-style license that can be found in the LICENSE file. | 11331 // BSD-style license that can be found in the LICENSE file. |
| 10918 | 11332 |
| 10919 // WARNING: Do not edit - generated code. | 11333 // WARNING: Do not edit - generated code. |
| 10920 | 11334 |
| 10921 class HistoryWrappingImplementation extends DOMWrapperBase implements History { | 11335 class HistoryWrappingImplementation extends DOMWrapperBase implements History { |
| 10922 HistoryWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 11336 HistoryWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 10923 | 11337 |
| 10924 int get length() { return _ptr.length; } | 11338 int get length() { return _ptr.length; } |
| 10925 | 11339 |
| 10926 void back() { | 11340 void back() { |
| 10927 _ptr.back(); | 11341 _ptr.back(); |
| 10928 return; | 11342 return; |
| 10929 } | 11343 } |
| 10930 | 11344 |
| 10931 void forward() { | 11345 void forward() { |
| 10932 _ptr.forward(); | 11346 _ptr.forward(); |
| 10933 return; | 11347 return; |
| 10934 } | 11348 } |
| 10935 | 11349 |
| 10936 void go(int distance) { | 11350 void go(int distance) { |
| 10937 _ptr.go(distance); | 11351 _ptr.go(distance); |
| 10938 return; | 11352 return; |
| 10939 } | 11353 } |
| 10940 | 11354 |
| 10941 void pushState(Object data, String title, String url) { | 11355 void pushState(Object data, String title, [String url = null]) { |
| 10942 _ptr.pushState(LevelDom.unwrapMaybePrimitive(data), title, url); | 11356 if (url === null) { |
| 10943 return; | 11357 _ptr.pushState(LevelDom.unwrapMaybePrimitive(data), title); |
| 11358 return; |
| 11359 } else { |
| 11360 _ptr.pushState(LevelDom.unwrapMaybePrimitive(data), title, url); |
| 11361 return; |
| 11362 } |
| 10944 } | 11363 } |
| 10945 | 11364 |
| 10946 void replaceState(Object data, String title, String url) { | 11365 void replaceState(Object data, String title, [String url = null]) { |
| 10947 _ptr.replaceState(LevelDom.unwrapMaybePrimitive(data), title, url); | 11366 if (url === null) { |
| 10948 return; | 11367 _ptr.replaceState(LevelDom.unwrapMaybePrimitive(data), title); |
| 11368 return; |
| 11369 } else { |
| 11370 _ptr.replaceState(LevelDom.unwrapMaybePrimitive(data), title, url); |
| 11371 return; |
| 11372 } |
| 10949 } | 11373 } |
| 10950 | |
| 10951 String get typeName() { return "History"; } | |
| 10952 } | 11374 } |
| 10953 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 11375 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10954 // for details. All rights reserved. Use of this source code is governed by a | 11376 // for details. All rights reserved. Use of this source code is governed by a |
| 10955 // BSD-style license that can be found in the LICENSE file. | 11377 // BSD-style license that can be found in the LICENSE file. |
| 10956 | 11378 |
| 10957 // WARNING: Do not edit - generated code. | 11379 // WARNING: Do not edit - generated code. |
| 10958 | 11380 |
| 10959 class HtmlElementWrappingImplementation extends ElementWrappingImplementation im
plements HtmlElement { | 11381 class HtmlElementWrappingImplementation extends ElementWrappingImplementation im
plements HtmlElement { |
| 10960 HtmlElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 11382 HtmlElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 10961 | 11383 |
| 10962 String get manifest() { return _ptr.manifest; } | 11384 String get manifest() { return _ptr.manifest; } |
| 10963 | 11385 |
| 10964 void set manifest(String value) { _ptr.manifest = value; } | 11386 void set manifest(String value) { _ptr.manifest = value; } |
| 10965 | 11387 |
| 10966 String get version() { return _ptr.version; } | 11388 String get version() { return _ptr.version; } |
| 10967 | 11389 |
| 10968 void set version(String value) { _ptr.version = value; } | 11390 void set version(String value) { _ptr.version = value; } |
| 10969 | |
| 10970 String get typeName() { return "HtmlElement"; } | |
| 10971 } | 11391 } |
| 10972 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 11392 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10973 // for details. All rights reserved. Use of this source code is governed by a | 11393 // for details. All rights reserved. Use of this source code is governed by a |
| 10974 // BSD-style license that can be found in the LICENSE file. | 11394 // BSD-style license that can be found in the LICENSE file. |
| 10975 | 11395 |
| 10976 // WARNING: Do not edit - generated code. | 11396 // WARNING: Do not edit - generated code. |
| 10977 | 11397 |
| 10978 class IDBAnyWrappingImplementation extends DOMWrapperBase implements IDBAny { | 11398 class IDBAnyWrappingImplementation extends DOMWrapperBase implements IDBAny { |
| 10979 IDBAnyWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 11399 IDBAnyWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 10980 | |
| 10981 String get typeName() { return "IDBAny"; } | |
| 10982 } | 11400 } |
| 10983 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 11401 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10984 // for details. All rights reserved. Use of this source code is governed by a | 11402 // for details. All rights reserved. Use of this source code is governed by a |
| 10985 // BSD-style license that can be found in the LICENSE file. | 11403 // BSD-style license that can be found in the LICENSE file. |
| 10986 | 11404 |
| 10987 // WARNING: Do not edit - generated code. | 11405 // WARNING: Do not edit - generated code. |
| 10988 | 11406 |
| 10989 class IDBCursorWithValueWrappingImplementation extends IDBCursorWrappingImplemen
tation implements IDBCursorWithValue { | 11407 class IDBCursorWithValueWrappingImplementation extends IDBCursorWrappingImplemen
tation implements IDBCursorWithValue { |
| 10990 IDBCursorWithValueWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 11408 IDBCursorWithValueWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 10991 | 11409 |
| 10992 String get value() { return _ptr.value; } | 11410 String get value() { return _ptr.value; } |
| 10993 | |
| 10994 String get typeName() { return "IDBCursorWithValue"; } | |
| 10995 } | 11411 } |
| 10996 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 11412 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10997 // for details. All rights reserved. Use of this source code is governed by a | 11413 // for details. All rights reserved. Use of this source code is governed by a |
| 10998 // BSD-style license that can be found in the LICENSE file. | 11414 // BSD-style license that can be found in the LICENSE file. |
| 10999 | 11415 |
| 11000 // WARNING: Do not edit - generated code. | 11416 // WARNING: Do not edit - generated code. |
| 11001 | 11417 |
| 11002 class IDBCursorWrappingImplementation extends DOMWrapperBase implements IDBCurso
r { | 11418 class IDBCursorWrappingImplementation extends DOMWrapperBase implements IDBCurso
r { |
| 11003 IDBCursorWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 11419 IDBCursorWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 11004 | 11420 |
| 11005 int get direction() { return _ptr.direction; } | 11421 int get direction() { return _ptr.direction; } |
| 11006 | 11422 |
| 11007 IDBKey get key() { return LevelDom.wrapIDBKey(_ptr.key); } | 11423 IDBKey get key() { return LevelDom.wrapIDBKey(_ptr.key); } |
| 11008 | 11424 |
| 11009 IDBKey get primaryKey() { return LevelDom.wrapIDBKey(_ptr.primaryKey); } | 11425 IDBKey get primaryKey() { return LevelDom.wrapIDBKey(_ptr.primaryKey); } |
| 11010 | 11426 |
| 11011 IDBAny get source() { return LevelDom.wrapIDBAny(_ptr.source); } | 11427 IDBAny get source() { return LevelDom.wrapIDBAny(_ptr.source); } |
| 11012 | 11428 |
| 11429 void continueFunction([IDBKey key = null]) { |
| 11430 if (key === null) { |
| 11431 _ptr.continueFunction(); |
| 11432 return; |
| 11433 } else { |
| 11434 _ptr.continueFunction(LevelDom.unwrap(key)); |
| 11435 return; |
| 11436 } |
| 11437 } |
| 11438 |
| 11013 IDBRequest delete() { | 11439 IDBRequest delete() { |
| 11014 return LevelDom.wrapIDBRequest(_ptr.delete()); | 11440 return LevelDom.wrapIDBRequest(_ptr.delete()); |
| 11015 } | 11441 } |
| 11016 | 11442 |
| 11017 IDBRequest update(String value) { | 11443 IDBRequest update(String value) { |
| 11018 return LevelDom.wrapIDBRequest(_ptr.update(value)); | 11444 return LevelDom.wrapIDBRequest(_ptr.update(value)); |
| 11019 } | 11445 } |
| 11020 | |
| 11021 String get typeName() { return "IDBCursor"; } | |
| 11022 } | 11446 } |
| 11023 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 11447 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 11024 // for details. All rights reserved. Use of this source code is governed by a | 11448 // for details. All rights reserved. Use of this source code is governed by a |
| 11025 // BSD-style license that can be found in the LICENSE file. | 11449 // BSD-style license that can be found in the LICENSE file. |
| 11026 | 11450 |
| 11027 // WARNING: Do not edit - generated code. | 11451 // WARNING: Do not edit - generated code. |
| 11028 | 11452 |
| 11029 class IDBDatabaseErrorWrappingImplementation extends DOMWrapperBase implements I
DBDatabaseError { | 11453 class IDBDatabaseErrorWrappingImplementation extends DOMWrapperBase implements I
DBDatabaseError { |
| 11030 IDBDatabaseErrorWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 11454 IDBDatabaseErrorWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 11031 | 11455 |
| 11032 int get code() { return _ptr.code; } | 11456 int get code() { return _ptr.code; } |
| 11033 | 11457 |
| 11034 void set code(int value) { _ptr.code = value; } | 11458 void set code(int value) { _ptr.code = value; } |
| 11035 | 11459 |
| 11036 String get message() { return _ptr.message; } | 11460 String get message() { return _ptr.message; } |
| 11037 | 11461 |
| 11038 void set message(String value) { _ptr.message = value; } | 11462 void set message(String value) { _ptr.message = value; } |
| 11039 | |
| 11040 String get typeName() { return "IDBDatabaseError"; } | |
| 11041 } | 11463 } |
| 11042 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 11464 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 11043 // for details. All rights reserved. Use of this source code is governed by a | 11465 // for details. All rights reserved. Use of this source code is governed by a |
| 11044 // BSD-style license that can be found in the LICENSE file. | 11466 // BSD-style license that can be found in the LICENSE file. |
| 11045 | 11467 |
| 11046 // WARNING: Do not edit - generated code. | 11468 // WARNING: Do not edit - generated code. |
| 11047 | 11469 |
| 11048 class IDBDatabaseExceptionWrappingImplementation extends DOMWrapperBase implemen
ts IDBDatabaseException { | 11470 class IDBDatabaseExceptionWrappingImplementation extends DOMWrapperBase implemen
ts IDBDatabaseException { |
| 11049 IDBDatabaseExceptionWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 11471 IDBDatabaseExceptionWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 11050 | 11472 |
| 11051 int get code() { return _ptr.code; } | 11473 int get code() { return _ptr.code; } |
| 11052 | 11474 |
| 11053 String get message() { return _ptr.message; } | 11475 String get message() { return _ptr.message; } |
| 11054 | 11476 |
| 11055 String get name() { return _ptr.name; } | 11477 String get name() { return _ptr.name; } |
| 11056 | |
| 11057 String get typeName() { return "IDBDatabaseException"; } | |
| 11058 } | 11478 } |
| 11059 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 11479 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 11060 // for details. All rights reserved. Use of this source code is governed by a | 11480 // for details. All rights reserved. Use of this source code is governed by a |
| 11061 // BSD-style license that can be found in the LICENSE file. | 11481 // BSD-style license that can be found in the LICENSE file. |
| 11062 | 11482 |
| 11063 // WARNING: Do not edit - generated code. | 11483 // WARNING: Do not edit - generated code. |
| 11064 | 11484 |
| 11065 class IDBDatabaseWrappingImplementation extends DOMWrapperBase implements IDBDat
abase { | 11485 class IDBDatabaseWrappingImplementation extends DOMWrapperBase implements IDBDat
abase { |
| 11066 IDBDatabaseWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 11486 IDBDatabaseWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 11067 | 11487 |
| 11068 String get name() { return _ptr.name; } | 11488 String get name() { return _ptr.name; } |
| 11069 | 11489 |
| 11070 EventListener get onabort() { return LevelDom.wrapEventListener(_ptr.onabort);
} | 11490 EventListener get onabort() { return LevelDom.wrapEventListener(_ptr.onabort);
} |
| 11071 | 11491 |
| 11072 void set onabort(EventListener value) { _ptr.onabort = LevelDom.unwrap(value);
} | 11492 void set onabort(EventListener value) { _ptr.onabort = LevelDom.unwrap(value);
} |
| 11073 | 11493 |
| 11074 EventListener get onerror() { return LevelDom.wrapEventListener(_ptr.onerror);
} | 11494 EventListener get onerror() { return LevelDom.wrapEventListener(_ptr.onerror);
} |
| 11075 | 11495 |
| 11076 void set onerror(EventListener value) { _ptr.onerror = LevelDom.unwrap(value);
} | 11496 void set onerror(EventListener value) { _ptr.onerror = LevelDom.unwrap(value);
} |
| 11077 | 11497 |
| 11078 EventListener get onversionchange() { return LevelDom.wrapEventListener(_ptr.o
nversionchange); } | 11498 EventListener get onversionchange() { return LevelDom.wrapEventListener(_ptr.o
nversionchange); } |
| 11079 | 11499 |
| 11080 void set onversionchange(EventListener value) { _ptr.onversionchange = LevelDo
m.unwrap(value); } | 11500 void set onversionchange(EventListener value) { _ptr.onversionchange = LevelDo
m.unwrap(value); } |
| 11081 | 11501 |
| 11082 String get version() { return _ptr.version; } | 11502 String get version() { return _ptr.version; } |
| 11083 | 11503 |
| 11084 void addEventListener(String type, EventListener listener, bool useCapture) { | 11504 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) { |
| 11085 _ptr.addEventListener(type, LevelDom.unwrap(listener), useCapture); | 11505 if (useCapture === null) { |
| 11086 return; | 11506 _ptr.addEventListener(type, LevelDom.unwrap(listener)); |
| 11507 return; |
| 11508 } else { |
| 11509 _ptr.addEventListener(type, LevelDom.unwrap(listener), useCapture); |
| 11510 return; |
| 11511 } |
| 11087 } | 11512 } |
| 11088 | 11513 |
| 11089 void close() { | 11514 void close() { |
| 11090 _ptr.close(); | 11515 _ptr.close(); |
| 11091 return; | 11516 return; |
| 11092 } | 11517 } |
| 11093 | 11518 |
| 11094 IDBObjectStore createObjectStore(String name) { | 11519 IDBObjectStore createObjectStore(String name) { |
| 11095 return LevelDom.wrapIDBObjectStore(_ptr.createObjectStore(name)); | 11520 return LevelDom.wrapIDBObjectStore(_ptr.createObjectStore(name)); |
| 11096 } | 11521 } |
| 11097 | 11522 |
| 11098 void deleteObjectStore(String name) { | 11523 void deleteObjectStore(String name) { |
| 11099 _ptr.deleteObjectStore(name); | 11524 _ptr.deleteObjectStore(name); |
| 11100 return; | 11525 return; |
| 11101 } | 11526 } |
| 11102 | 11527 |
| 11103 bool dispatchEvent(Event evt) { | 11528 bool dispatchEvent(Event evt) { |
| 11104 return _ptr.dispatchEvent(LevelDom.unwrap(evt)); | 11529 return _ptr.dispatchEvent(LevelDom.unwrap(evt)); |
| 11105 } | 11530 } |
| 11106 | 11531 |
| 11107 void removeEventListener(String type, EventListener listener, bool useCapture)
{ | 11532 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) { |
| 11108 _ptr.removeEventListener(type, LevelDom.unwrap(listener), useCapture); | 11533 if (useCapture === null) { |
| 11109 return; | 11534 _ptr.removeEventListener(type, LevelDom.unwrap(listener)); |
| 11535 return; |
| 11536 } else { |
| 11537 _ptr.removeEventListener(type, LevelDom.unwrap(listener), useCapture); |
| 11538 return; |
| 11539 } |
| 11110 } | 11540 } |
| 11111 | 11541 |
| 11112 IDBVersionChangeRequest setVersion(String version) { | 11542 IDBVersionChangeRequest setVersion(String version) { |
| 11113 return LevelDom.wrapIDBVersionChangeRequest(_ptr.setVersion(version)); | 11543 return LevelDom.wrapIDBVersionChangeRequest(_ptr.setVersion(version)); |
| 11114 } | 11544 } |
| 11115 | |
| 11116 String get typeName() { return "IDBDatabase"; } | |
| 11117 } | 11545 } |
| 11118 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 11546 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 11119 // for details. All rights reserved. Use of this source code is governed by a | 11547 // for details. All rights reserved. Use of this source code is governed by a |
| 11120 // BSD-style license that can be found in the LICENSE file. | 11548 // BSD-style license that can be found in the LICENSE file. |
| 11121 | 11549 |
| 11122 // WARNING: Do not edit - generated code. | 11550 // WARNING: Do not edit - generated code. |
| 11123 | 11551 |
| 11124 class IDBFactoryWrappingImplementation extends DOMWrapperBase implements IDBFact
ory { | 11552 class IDBFactoryWrappingImplementation extends DOMWrapperBase implements IDBFact
ory { |
| 11125 IDBFactoryWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 11553 IDBFactoryWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 11126 | 11554 |
| 11555 IDBRequest getDatabaseNames() { |
| 11556 return LevelDom.wrapIDBRequest(_ptr.getDatabaseNames()); |
| 11557 } |
| 11558 |
| 11127 IDBRequest open(String name) { | 11559 IDBRequest open(String name) { |
| 11128 return LevelDom.wrapIDBRequest(_ptr.open(name)); | 11560 return LevelDom.wrapIDBRequest(_ptr.open(name)); |
| 11129 } | 11561 } |
| 11130 | |
| 11131 String get typeName() { return "IDBFactory"; } | |
| 11132 } | 11562 } |
| 11133 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 11563 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 11134 // for details. All rights reserved. Use of this source code is governed by a | 11564 // for details. All rights reserved. Use of this source code is governed by a |
| 11135 // BSD-style license that can be found in the LICENSE file. | 11565 // BSD-style license that can be found in the LICENSE file. |
| 11136 | 11566 |
| 11137 // WARNING: Do not edit - generated code. | 11567 // WARNING: Do not edit - generated code. |
| 11138 | 11568 |
| 11139 class IDBIndexWrappingImplementation extends DOMWrapperBase implements IDBIndex
{ | 11569 class IDBIndexWrappingImplementation extends DOMWrapperBase implements IDBIndex
{ |
| 11140 IDBIndexWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 11570 IDBIndexWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 11141 | 11571 |
| 11142 String get keyPath() { return _ptr.keyPath; } | 11572 String get keyPath() { return _ptr.keyPath; } |
| 11143 | 11573 |
| 11144 String get name() { return _ptr.name; } | 11574 String get name() { return _ptr.name; } |
| 11145 | 11575 |
| 11146 IDBObjectStore get objectStore() { return LevelDom.wrapIDBObjectStore(_ptr.obj
ectStore); } | 11576 IDBObjectStore get objectStore() { return LevelDom.wrapIDBObjectStore(_ptr.obj
ectStore); } |
| 11147 | 11577 |
| 11148 bool get unique() { return _ptr.unique; } | 11578 bool get unique() { return _ptr.unique; } |
| 11149 | 11579 |
| 11580 IDBRequest getObject(IDBKey key) { |
| 11581 return LevelDom.wrapIDBRequest(_ptr.getObject(LevelDom.unwrap(key))); |
| 11582 } |
| 11583 |
| 11150 IDBRequest getKey(IDBKey key) { | 11584 IDBRequest getKey(IDBKey key) { |
| 11151 return LevelDom.wrapIDBRequest(_ptr.getKey(LevelDom.unwrap(key))); | 11585 return LevelDom.wrapIDBRequest(_ptr.getKey(LevelDom.unwrap(key))); |
| 11152 } | 11586 } |
| 11153 | 11587 |
| 11154 IDBRequest openCursor(IDBKeyRange range, int direction) { | 11588 IDBRequest openCursor([IDBKeyRange range = null, int direction = null]) { |
| 11155 return LevelDom.wrapIDBRequest(_ptr.openCursor(LevelDom.unwrap(range), direc
tion)); | 11589 if (range === null) { |
| 11590 if (direction === null) { |
| 11591 return LevelDom.wrapIDBRequest(_ptr.openCursor()); |
| 11592 } |
| 11593 } else { |
| 11594 if (direction === null) { |
| 11595 return LevelDom.wrapIDBRequest(_ptr.openCursor(LevelDom.unwrap(range))); |
| 11596 } else { |
| 11597 return LevelDom.wrapIDBRequest(_ptr.openCursor(LevelDom.unwrap(range), d
irection)); |
| 11598 } |
| 11599 } |
| 11600 throw "Incorrect number or type of arguments"; |
| 11156 } | 11601 } |
| 11157 | 11602 |
| 11158 IDBRequest openKeyCursor(IDBKeyRange range, int direction) { | 11603 IDBRequest openKeyCursor([IDBKeyRange range = null, int direction = null]) { |
| 11159 return LevelDom.wrapIDBRequest(_ptr.openKeyCursor(LevelDom.unwrap(range), di
rection)); | 11604 if (range === null) { |
| 11605 if (direction === null) { |
| 11606 return LevelDom.wrapIDBRequest(_ptr.openKeyCursor()); |
| 11607 } |
| 11608 } else { |
| 11609 if (direction === null) { |
| 11610 return LevelDom.wrapIDBRequest(_ptr.openKeyCursor(LevelDom.unwrap(range)
)); |
| 11611 } else { |
| 11612 return LevelDom.wrapIDBRequest(_ptr.openKeyCursor(LevelDom.unwrap(range)
, direction)); |
| 11613 } |
| 11614 } |
| 11615 throw "Incorrect number or type of arguments"; |
| 11160 } | 11616 } |
| 11161 | |
| 11162 String get typeName() { return "IDBIndex"; } | |
| 11163 } | 11617 } |
| 11164 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 11618 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 11165 // for details. All rights reserved. Use of this source code is governed by a | 11619 // for details. All rights reserved. Use of this source code is governed by a |
| 11166 // BSD-style license that can be found in the LICENSE file. | 11620 // BSD-style license that can be found in the LICENSE file. |
| 11167 | 11621 |
| 11168 // WARNING: Do not edit - generated code. | 11622 // WARNING: Do not edit - generated code. |
| 11169 | 11623 |
| 11170 class IDBKeyRangeWrappingImplementation extends DOMWrapperBase implements IDBKey
Range { | 11624 class IDBKeyRangeWrappingImplementation extends DOMWrapperBase implements IDBKey
Range { |
| 11171 IDBKeyRangeWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 11625 IDBKeyRangeWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 11172 | 11626 |
| 11173 IDBKey get lower() { return LevelDom.wrapIDBKey(_ptr.lower); } | 11627 IDBKey get lower() { return LevelDom.wrapIDBKey(_ptr.lower); } |
| 11174 | 11628 |
| 11175 bool get lowerOpen() { return _ptr.lowerOpen; } | 11629 bool get lowerOpen() { return _ptr.lowerOpen; } |
| 11176 | 11630 |
| 11177 IDBKey get upper() { return LevelDom.wrapIDBKey(_ptr.upper); } | 11631 IDBKey get upper() { return LevelDom.wrapIDBKey(_ptr.upper); } |
| 11178 | 11632 |
| 11179 bool get upperOpen() { return _ptr.upperOpen; } | 11633 bool get upperOpen() { return _ptr.upperOpen; } |
| 11180 | 11634 |
| 11181 IDBKeyRange bound(IDBKey lower, IDBKey upper, bool lowerOpen, bool upperOpen)
{ | 11635 IDBKeyRange bound(IDBKey lower, IDBKey upper, [bool lowerOpen = null, bool upp
erOpen = null]) { |
| 11182 return LevelDom.wrapIDBKeyRange(_ptr.bound(LevelDom.unwrap(lower), LevelDom.
unwrap(upper), lowerOpen, upperOpen)); | 11636 if (lowerOpen === null) { |
| 11637 if (upperOpen === null) { |
| 11638 return LevelDom.wrapIDBKeyRange(_ptr.bound(LevelDom.unwrap(lower), Level
Dom.unwrap(upper))); |
| 11639 } |
| 11640 } else { |
| 11641 if (upperOpen === null) { |
| 11642 return LevelDom.wrapIDBKeyRange(_ptr.bound(LevelDom.unwrap(lower), Level
Dom.unwrap(upper), lowerOpen)); |
| 11643 } else { |
| 11644 return LevelDom.wrapIDBKeyRange(_ptr.bound(LevelDom.unwrap(lower), Level
Dom.unwrap(upper), lowerOpen, upperOpen)); |
| 11645 } |
| 11646 } |
| 11647 throw "Incorrect number or type of arguments"; |
| 11183 } | 11648 } |
| 11184 | 11649 |
| 11185 IDBKeyRange lowerBound(IDBKey bound, bool open) { | 11650 IDBKeyRange lowerBound(IDBKey bound, [bool open = null]) { |
| 11186 return LevelDom.wrapIDBKeyRange(_ptr.lowerBound(LevelDom.unwrap(bound), open
)); | 11651 if (open === null) { |
| 11652 return LevelDom.wrapIDBKeyRange(_ptr.lowerBound(LevelDom.unwrap(bound))); |
| 11653 } else { |
| 11654 return LevelDom.wrapIDBKeyRange(_ptr.lowerBound(LevelDom.unwrap(bound), op
en)); |
| 11655 } |
| 11187 } | 11656 } |
| 11188 | 11657 |
| 11189 IDBKeyRange only(IDBKey value) { | 11658 IDBKeyRange only(IDBKey value) { |
| 11190 return LevelDom.wrapIDBKeyRange(_ptr.only(LevelDom.unwrap(value))); | 11659 return LevelDom.wrapIDBKeyRange(_ptr.only(LevelDom.unwrap(value))); |
| 11191 } | 11660 } |
| 11192 | 11661 |
| 11193 IDBKeyRange upperBound(IDBKey bound, bool open) { | 11662 IDBKeyRange upperBound(IDBKey bound, [bool open = null]) { |
| 11194 return LevelDom.wrapIDBKeyRange(_ptr.upperBound(LevelDom.unwrap(bound), open
)); | 11663 if (open === null) { |
| 11664 return LevelDom.wrapIDBKeyRange(_ptr.upperBound(LevelDom.unwrap(bound))); |
| 11665 } else { |
| 11666 return LevelDom.wrapIDBKeyRange(_ptr.upperBound(LevelDom.unwrap(bound), op
en)); |
| 11667 } |
| 11195 } | 11668 } |
| 11196 | |
| 11197 String get typeName() { return "IDBKeyRange"; } | |
| 11198 } | 11669 } |
| 11199 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 11670 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 11200 // for details. All rights reserved. Use of this source code is governed by a | 11671 // for details. All rights reserved. Use of this source code is governed by a |
| 11201 // BSD-style license that can be found in the LICENSE file. | 11672 // BSD-style license that can be found in the LICENSE file. |
| 11202 | 11673 |
| 11203 // WARNING: Do not edit - generated code. | 11674 // WARNING: Do not edit - generated code. |
| 11204 | 11675 |
| 11205 class IDBKeyWrappingImplementation extends DOMWrapperBase implements IDBKey { | 11676 class IDBKeyWrappingImplementation extends DOMWrapperBase implements IDBKey { |
| 11206 IDBKeyWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 11677 IDBKeyWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 11207 | |
| 11208 String get typeName() { return "IDBKey"; } | |
| 11209 } | 11678 } |
| 11210 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 11679 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 11211 // for details. All rights reserved. Use of this source code is governed by a | 11680 // for details. All rights reserved. Use of this source code is governed by a |
| 11212 // BSD-style license that can be found in the LICENSE file. | 11681 // BSD-style license that can be found in the LICENSE file. |
| 11213 | 11682 |
| 11214 // WARNING: Do not edit - generated code. | 11683 // WARNING: Do not edit - generated code. |
| 11215 | 11684 |
| 11216 class IDBObjectStoreWrappingImplementation extends DOMWrapperBase implements IDB
ObjectStore { | 11685 class IDBObjectStoreWrappingImplementation extends DOMWrapperBase implements IDB
ObjectStore { |
| 11217 IDBObjectStoreWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 11686 IDBObjectStoreWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 11218 | 11687 |
| 11219 String get keyPath() { return _ptr.keyPath; } | 11688 String get keyPath() { return _ptr.keyPath; } |
| 11220 | 11689 |
| 11221 String get name() { return _ptr.name; } | 11690 String get name() { return _ptr.name; } |
| 11222 | 11691 |
| 11223 IDBRequest add(String value, IDBKey key) { | 11692 IDBRequest add(String value, [IDBKey key = null]) { |
| 11224 return LevelDom.wrapIDBRequest(_ptr.add(value, LevelDom.unwrap(key))); | 11693 if (key === null) { |
| 11694 return LevelDom.wrapIDBRequest(_ptr.add(value)); |
| 11695 } else { |
| 11696 return LevelDom.wrapIDBRequest(_ptr.add(value, LevelDom.unwrap(key))); |
| 11697 } |
| 11225 } | 11698 } |
| 11226 | 11699 |
| 11227 IDBRequest clear() { | 11700 IDBRequest clear() { |
| 11228 return LevelDom.wrapIDBRequest(_ptr.clear()); | 11701 return LevelDom.wrapIDBRequest(_ptr.clear()); |
| 11229 } | 11702 } |
| 11230 | 11703 |
| 11231 IDBIndex createIndex(String name, String keyPath) { | 11704 IDBIndex createIndex(String name, String keyPath) { |
| 11232 return LevelDom.wrapIDBIndex(_ptr.createIndex(name, keyPath)); | 11705 return LevelDom.wrapIDBIndex(_ptr.createIndex(name, keyPath)); |
| 11233 } | 11706 } |
| 11234 | 11707 |
| 11235 IDBRequest delete(IDBKey key) { | 11708 IDBRequest delete(IDBKey key) { |
| 11236 return LevelDom.wrapIDBRequest(_ptr.delete(LevelDom.unwrap(key))); | 11709 return LevelDom.wrapIDBRequest(_ptr.delete(LevelDom.unwrap(key))); |
| 11237 } | 11710 } |
| 11238 | 11711 |
| 11239 void deleteIndex(String name) { | 11712 void deleteIndex(String name) { |
| 11240 _ptr.deleteIndex(name); | 11713 _ptr.deleteIndex(name); |
| 11241 return; | 11714 return; |
| 11242 } | 11715 } |
| 11243 | 11716 |
| 11717 IDBRequest getObject(IDBKey key) { |
| 11718 return LevelDom.wrapIDBRequest(_ptr.getObject(LevelDom.unwrap(key))); |
| 11719 } |
| 11720 |
| 11244 IDBIndex index(String name) { | 11721 IDBIndex index(String name) { |
| 11245 return LevelDom.wrapIDBIndex(_ptr.index(name)); | 11722 return LevelDom.wrapIDBIndex(_ptr.index(name)); |
| 11246 } | 11723 } |
| 11247 | 11724 |
| 11248 IDBRequest openCursor(IDBKeyRange range, int direction) { | 11725 IDBRequest openCursor([IDBKeyRange range = null, int direction = null]) { |
| 11249 return LevelDom.wrapIDBRequest(_ptr.openCursor(LevelDom.unwrap(range), direc
tion)); | 11726 if (range === null) { |
| 11727 if (direction === null) { |
| 11728 return LevelDom.wrapIDBRequest(_ptr.openCursor()); |
| 11729 } |
| 11730 } else { |
| 11731 if (direction === null) { |
| 11732 return LevelDom.wrapIDBRequest(_ptr.openCursor(LevelDom.unwrap(range))); |
| 11733 } else { |
| 11734 return LevelDom.wrapIDBRequest(_ptr.openCursor(LevelDom.unwrap(range), d
irection)); |
| 11735 } |
| 11736 } |
| 11737 throw "Incorrect number or type of arguments"; |
| 11250 } | 11738 } |
| 11251 | 11739 |
| 11252 IDBRequest put(String value, IDBKey key) { | 11740 IDBRequest put(String value, [IDBKey key = null]) { |
| 11253 return LevelDom.wrapIDBRequest(_ptr.put(value, LevelDom.unwrap(key))); | 11741 if (key === null) { |
| 11742 return LevelDom.wrapIDBRequest(_ptr.put(value)); |
| 11743 } else { |
| 11744 return LevelDom.wrapIDBRequest(_ptr.put(value, LevelDom.unwrap(key))); |
| 11745 } |
| 11254 } | 11746 } |
| 11255 | |
| 11256 String get typeName() { return "IDBObjectStore"; } | |
| 11257 } | 11747 } |
| 11258 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 11748 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 11259 // for details. All rights reserved. Use of this source code is governed by a | 11749 // for details. All rights reserved. Use of this source code is governed by a |
| 11260 // BSD-style license that can be found in the LICENSE file. | 11750 // BSD-style license that can be found in the LICENSE file. |
| 11261 | 11751 |
| 11262 // WARNING: Do not edit - generated code. | 11752 // WARNING: Do not edit - generated code. |
| 11263 | 11753 |
| 11264 class IDBRequestWrappingImplementation extends DOMWrapperBase implements IDBRequ
est { | 11754 class IDBRequestWrappingImplementation extends DOMWrapperBase implements IDBRequ
est { |
| 11265 IDBRequestWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 11755 IDBRequestWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 11266 | 11756 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 11277 int get readyState() { return _ptr.readyState; } | 11767 int get readyState() { return _ptr.readyState; } |
| 11278 | 11768 |
| 11279 IDBAny get result() { return LevelDom.wrapIDBAny(_ptr.result); } | 11769 IDBAny get result() { return LevelDom.wrapIDBAny(_ptr.result); } |
| 11280 | 11770 |
| 11281 IDBAny get source() { return LevelDom.wrapIDBAny(_ptr.source); } | 11771 IDBAny get source() { return LevelDom.wrapIDBAny(_ptr.source); } |
| 11282 | 11772 |
| 11283 IDBTransaction get transaction() { return LevelDom.wrapIDBTransaction(_ptr.tra
nsaction); } | 11773 IDBTransaction get transaction() { return LevelDom.wrapIDBTransaction(_ptr.tra
nsaction); } |
| 11284 | 11774 |
| 11285 String get webkitErrorMessage() { return _ptr.webkitErrorMessage; } | 11775 String get webkitErrorMessage() { return _ptr.webkitErrorMessage; } |
| 11286 | 11776 |
| 11287 void addEventListener(String type, EventListener listener, bool useCapture) { | 11777 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) { |
| 11288 _ptr.addEventListener(type, LevelDom.unwrap(listener), useCapture); | 11778 if (useCapture === null) { |
| 11289 return; | 11779 _ptr.addEventListener(type, LevelDom.unwrap(listener)); |
| 11780 return; |
| 11781 } else { |
| 11782 _ptr.addEventListener(type, LevelDom.unwrap(listener), useCapture); |
| 11783 return; |
| 11784 } |
| 11290 } | 11785 } |
| 11291 | 11786 |
| 11292 bool dispatchEvent(Event evt) { | 11787 bool dispatchEvent(Event evt) { |
| 11293 return _ptr.dispatchEvent(LevelDom.unwrap(evt)); | 11788 return _ptr.dispatchEvent(LevelDom.unwrap(evt)); |
| 11294 } | 11789 } |
| 11295 | 11790 |
| 11296 void removeEventListener(String type, EventListener listener, bool useCapture)
{ | 11791 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) { |
| 11297 _ptr.removeEventListener(type, LevelDom.unwrap(listener), useCapture); | 11792 if (useCapture === null) { |
| 11298 return; | 11793 _ptr.removeEventListener(type, LevelDom.unwrap(listener)); |
| 11794 return; |
| 11795 } else { |
| 11796 _ptr.removeEventListener(type, LevelDom.unwrap(listener), useCapture); |
| 11797 return; |
| 11798 } |
| 11299 } | 11799 } |
| 11300 | |
| 11301 String get typeName() { return "IDBRequest"; } | |
| 11302 } | 11800 } |
| 11303 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 11801 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 11304 // for details. All rights reserved. Use of this source code is governed by a | 11802 // for details. All rights reserved. Use of this source code is governed by a |
| 11305 // BSD-style license that can be found in the LICENSE file. | 11803 // BSD-style license that can be found in the LICENSE file. |
| 11306 | 11804 |
| 11307 // WARNING: Do not edit - generated code. | 11805 // WARNING: Do not edit - generated code. |
| 11308 | 11806 |
| 11309 class IDBTransactionWrappingImplementation extends DOMWrapperBase implements IDB
Transaction { | 11807 class IDBTransactionWrappingImplementation extends DOMWrapperBase implements IDB
Transaction { |
| 11310 IDBTransactionWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 11808 IDBTransactionWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 11311 | 11809 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 11323 | 11821 |
| 11324 EventListener get onerror() { return LevelDom.wrapEventListener(_ptr.onerror);
} | 11822 EventListener get onerror() { return LevelDom.wrapEventListener(_ptr.onerror);
} |
| 11325 | 11823 |
| 11326 void set onerror(EventListener value) { _ptr.onerror = LevelDom.unwrap(value);
} | 11824 void set onerror(EventListener value) { _ptr.onerror = LevelDom.unwrap(value);
} |
| 11327 | 11825 |
| 11328 void abort() { | 11826 void abort() { |
| 11329 _ptr.abort(); | 11827 _ptr.abort(); |
| 11330 return; | 11828 return; |
| 11331 } | 11829 } |
| 11332 | 11830 |
| 11333 void addEventListener(String type, EventListener listener, bool useCapture) { | 11831 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) { |
| 11334 _ptr.addEventListener(type, LevelDom.unwrap(listener), useCapture); | 11832 if (useCapture === null) { |
| 11335 return; | 11833 _ptr.addEventListener(type, LevelDom.unwrap(listener)); |
| 11834 return; |
| 11835 } else { |
| 11836 _ptr.addEventListener(type, LevelDom.unwrap(listener), useCapture); |
| 11837 return; |
| 11838 } |
| 11336 } | 11839 } |
| 11337 | 11840 |
| 11338 bool dispatchEvent(Event evt) { | 11841 bool dispatchEvent(Event evt) { |
| 11339 return _ptr.dispatchEvent(LevelDom.unwrap(evt)); | 11842 return _ptr.dispatchEvent(LevelDom.unwrap(evt)); |
| 11340 } | 11843 } |
| 11341 | 11844 |
| 11342 IDBObjectStore objectStore(String name) { | 11845 IDBObjectStore objectStore(String name) { |
| 11343 return LevelDom.wrapIDBObjectStore(_ptr.objectStore(name)); | 11846 return LevelDom.wrapIDBObjectStore(_ptr.objectStore(name)); |
| 11344 } | 11847 } |
| 11345 | 11848 |
| 11346 void removeEventListener(String type, EventListener listener, bool useCapture)
{ | 11849 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) { |
| 11347 _ptr.removeEventListener(type, LevelDom.unwrap(listener), useCapture); | 11850 if (useCapture === null) { |
| 11348 return; | 11851 _ptr.removeEventListener(type, LevelDom.unwrap(listener)); |
| 11852 return; |
| 11853 } else { |
| 11854 _ptr.removeEventListener(type, LevelDom.unwrap(listener), useCapture); |
| 11855 return; |
| 11856 } |
| 11349 } | 11857 } |
| 11350 | |
| 11351 String get typeName() { return "IDBTransaction"; } | |
| 11352 } | 11858 } |
| 11353 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 11859 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 11354 // for details. All rights reserved. Use of this source code is governed by a | 11860 // for details. All rights reserved. Use of this source code is governed by a |
| 11355 // BSD-style license that can be found in the LICENSE file. | 11861 // BSD-style license that can be found in the LICENSE file. |
| 11356 | 11862 |
| 11357 // WARNING: Do not edit - generated code. | 11863 // WARNING: Do not edit - generated code. |
| 11358 | 11864 |
| 11359 class IDBVersionChangeEventWrappingImplementation extends EventWrappingImplement
ation implements IDBVersionChangeEvent { | 11865 class IDBVersionChangeEventWrappingImplementation extends EventWrappingImplement
ation implements IDBVersionChangeEvent { |
| 11360 IDBVersionChangeEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 11866 IDBVersionChangeEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 11361 | 11867 |
| 11362 String get version() { return _ptr.version; } | 11868 String get version() { return _ptr.version; } |
| 11363 | |
| 11364 String get typeName() { return "IDBVersionChangeEvent"; } | |
| 11365 } | 11869 } |
| 11366 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 11870 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 11367 // for details. All rights reserved. Use of this source code is governed by a | 11871 // for details. All rights reserved. Use of this source code is governed by a |
| 11368 // BSD-style license that can be found in the LICENSE file. | 11872 // BSD-style license that can be found in the LICENSE file. |
| 11369 | 11873 |
| 11370 // WARNING: Do not edit - generated code. | 11874 // WARNING: Do not edit - generated code. |
| 11371 | 11875 |
| 11372 class IDBVersionChangeRequestWrappingImplementation extends IDBRequestWrappingIm
plementation implements IDBVersionChangeRequest { | 11876 class IDBVersionChangeRequestWrappingImplementation extends IDBRequestWrappingIm
plementation implements IDBVersionChangeRequest { |
| 11373 IDBVersionChangeRequestWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 11877 IDBVersionChangeRequestWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 11374 | 11878 |
| 11375 EventListener get onblocked() { return LevelDom.wrapEventListener(_ptr.onblock
ed); } | 11879 EventListener get onblocked() { return LevelDom.wrapEventListener(_ptr.onblock
ed); } |
| 11376 | 11880 |
| 11377 void set onblocked(EventListener value) { _ptr.onblocked = LevelDom.unwrap(val
ue); } | 11881 void set onblocked(EventListener value) { _ptr.onblocked = LevelDom.unwrap(val
ue); } |
| 11378 | |
| 11379 String get typeName() { return "IDBVersionChangeRequest"; } | |
| 11380 } | 11882 } |
| 11381 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 11883 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 11382 // for details. All rights reserved. Use of this source code is governed by a | 11884 // for details. All rights reserved. Use of this source code is governed by a |
| 11383 // BSD-style license that can be found in the LICENSE file. | 11885 // BSD-style license that can be found in the LICENSE file. |
| 11384 | 11886 |
| 11385 // WARNING: Do not edit - generated code. | 11887 // WARNING: Do not edit - generated code. |
| 11386 | 11888 |
| 11387 class IFrameElementWrappingImplementation extends ElementWrappingImplementation
implements IFrameElement { | 11889 class IFrameElementWrappingImplementation extends ElementWrappingImplementation
implements IFrameElement { |
| 11388 IFrameElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 11890 IFrameElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 11389 | 11891 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11427 | 11929 |
| 11428 void set scrolling(String value) { _ptr.scrolling = value; } | 11930 void set scrolling(String value) { _ptr.scrolling = value; } |
| 11429 | 11931 |
| 11430 String get src() { return _ptr.src; } | 11932 String get src() { return _ptr.src; } |
| 11431 | 11933 |
| 11432 void set src(String value) { _ptr.src = value; } | 11934 void set src(String value) { _ptr.src = value; } |
| 11433 | 11935 |
| 11434 String get width() { return _ptr.width; } | 11936 String get width() { return _ptr.width; } |
| 11435 | 11937 |
| 11436 void set width(String value) { _ptr.width = value; } | 11938 void set width(String value) { _ptr.width = value; } |
| 11437 | |
| 11438 String get typeName() { return "IFrameElement"; } | |
| 11439 } | 11939 } |
| 11440 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 11940 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 11441 // for details. All rights reserved. Use of this source code is governed by a | 11941 // for details. All rights reserved. Use of this source code is governed by a |
| 11442 // BSD-style license that can be found in the LICENSE file. | 11942 // BSD-style license that can be found in the LICENSE file. |
| 11443 | 11943 |
| 11444 // WARNING: Do not edit - generated code. | 11944 // WARNING: Do not edit - generated code. |
| 11445 | 11945 |
| 11446 class ImageDataWrappingImplementation extends DOMWrapperBase implements ImageDat
a { | 11946 class ImageDataWrappingImplementation extends DOMWrapperBase implements ImageDat
a { |
| 11447 ImageDataWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 11947 ImageDataWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 11448 | 11948 |
| 11449 CanvasPixelArray get data() { return LevelDom.wrapCanvasPixelArray(_ptr.data);
} | 11949 CanvasPixelArray get data() { return LevelDom.wrapCanvasPixelArray(_ptr.data);
} |
| 11450 | 11950 |
| 11451 int get height() { return _ptr.height; } | 11951 int get height() { return _ptr.height; } |
| 11452 | 11952 |
| 11453 int get width() { return _ptr.width; } | 11953 int get width() { return _ptr.width; } |
| 11454 | |
| 11455 String get typeName() { return "ImageData"; } | |
| 11456 } | 11954 } |
| 11457 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 11955 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 11458 // for details. All rights reserved. Use of this source code is governed by a | 11956 // for details. All rights reserved. Use of this source code is governed by a |
| 11459 // BSD-style license that can be found in the LICENSE file. | 11957 // BSD-style license that can be found in the LICENSE file. |
| 11460 | 11958 |
| 11461 // WARNING: Do not edit - generated code. | 11959 // WARNING: Do not edit - generated code. |
| 11462 | 11960 |
| 11463 class ImageElementWrappingImplementation extends ElementWrappingImplementation i
mplements ImageElement { | 11961 class ImageElementWrappingImplementation extends ElementWrappingImplementation i
mplements ImageElement { |
| 11464 ImageElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 11962 ImageElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 11465 | 11963 |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11521 | 12019 |
| 11522 void set vspace(int value) { _ptr.vspace = value; } | 12020 void set vspace(int value) { _ptr.vspace = value; } |
| 11523 | 12021 |
| 11524 int get width() { return _ptr.width; } | 12022 int get width() { return _ptr.width; } |
| 11525 | 12023 |
| 11526 void set width(int value) { _ptr.width = value; } | 12024 void set width(int value) { _ptr.width = value; } |
| 11527 | 12025 |
| 11528 int get x() { return _ptr.x; } | 12026 int get x() { return _ptr.x; } |
| 11529 | 12027 |
| 11530 int get y() { return _ptr.y; } | 12028 int get y() { return _ptr.y; } |
| 11531 | |
| 11532 String get typeName() { return "ImageElement"; } | |
| 11533 } | 12029 } |
| 11534 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 12030 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 11535 // for details. All rights reserved. Use of this source code is governed by a | 12031 // for details. All rights reserved. Use of this source code is governed by a |
| 11536 // BSD-style license that can be found in the LICENSE file. | 12032 // BSD-style license that can be found in the LICENSE file. |
| 11537 | 12033 |
| 11538 // WARNING: Do not edit - generated code. | 12034 // WARNING: Do not edit - generated code. |
| 11539 | 12035 |
| 11540 class InputElementWrappingImplementation extends ElementWrappingImplementation i
mplements InputElement { | 12036 class InputElementWrappingImplementation extends ElementWrappingImplementation i
mplements InputElement { |
| 11541 InputElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 12037 InputElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 11542 | 12038 |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11732 void select() { | 12228 void select() { |
| 11733 _ptr.select(); | 12229 _ptr.select(); |
| 11734 return; | 12230 return; |
| 11735 } | 12231 } |
| 11736 | 12232 |
| 11737 void setCustomValidity(String error) { | 12233 void setCustomValidity(String error) { |
| 11738 _ptr.setCustomValidity(error); | 12234 _ptr.setCustomValidity(error); |
| 11739 return; | 12235 return; |
| 11740 } | 12236 } |
| 11741 | 12237 |
| 11742 void setSelectionRange([int start = null, int end = null, String direction = n
ull]) { | 12238 void setSelectionRange(int start, int end, [String direction = null]) { |
| 11743 _ptr.setSelectionRange(start, end, direction); | 12239 if (direction === null) { |
| 11744 return; | 12240 _ptr.setSelectionRange(start, end); |
| 12241 return; |
| 12242 } else { |
| 12243 _ptr.setSelectionRange(start, end, direction); |
| 12244 return; |
| 12245 } |
| 11745 } | 12246 } |
| 11746 | 12247 |
| 11747 void setValueForUser(String value) { | 12248 void setValueForUser(String value) { |
| 11748 _ptr.setValueForUser(value); | 12249 _ptr.setValueForUser(value); |
| 11749 return; | 12250 return; |
| 11750 } | 12251 } |
| 11751 | 12252 |
| 11752 void stepDown([int n = null]) { | 12253 void stepDown([int n = null]) { |
| 11753 _ptr.stepDown(n); | 12254 if (n === null) { |
| 11754 return; | 12255 _ptr.stepDown(); |
| 12256 return; |
| 12257 } else { |
| 12258 _ptr.stepDown(n); |
| 12259 return; |
| 12260 } |
| 11755 } | 12261 } |
| 11756 | 12262 |
| 11757 void stepUp([int n = null]) { | 12263 void stepUp([int n = null]) { |
| 11758 _ptr.stepUp(n); | 12264 if (n === null) { |
| 11759 return; | 12265 _ptr.stepUp(); |
| 12266 return; |
| 12267 } else { |
| 12268 _ptr.stepUp(n); |
| 12269 return; |
| 12270 } |
| 11760 } | 12271 } |
| 11761 | |
| 11762 String get typeName() { return "InputElement"; } | |
| 11763 } | 12272 } |
| 11764 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 12273 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 11765 // for details. All rights reserved. Use of this source code is governed by a | 12274 // for details. All rights reserved. Use of this source code is governed by a |
| 11766 // BSD-style license that can be found in the LICENSE file. | 12275 // BSD-style license that can be found in the LICENSE file. |
| 11767 | 12276 |
| 11768 // WARNING: Do not edit - generated code. | 12277 // WARNING: Do not edit - generated code. |
| 11769 | 12278 |
| 11770 class Int16ArrayWrappingImplementation extends ArrayBufferViewWrappingImplementa
tion implements Int16Array { | 12279 class Int16ArrayWrappingImplementation extends ArrayBufferViewWrappingImplementa
tion implements Int16Array { |
| 11771 Int16ArrayWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 12280 Int16ArrayWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 11772 | 12281 |
| 11773 int get length() { return _ptr.length; } | 12282 int get length() { return _ptr.length; } |
| 11774 | 12283 |
| 11775 Int16Array subarray(int start, int end) { | 12284 Int16Array subarray(int start, [int end = null]) { |
| 11776 return LevelDom.wrapInt16Array(_ptr.subarray(start, end)); | 12285 if (end === null) { |
| 12286 return LevelDom.wrapInt16Array(_ptr.subarray(start)); |
| 12287 } else { |
| 12288 return LevelDom.wrapInt16Array(_ptr.subarray(start, end)); |
| 12289 } |
| 11777 } | 12290 } |
| 11778 | |
| 11779 String get typeName() { return "Int16Array"; } | |
| 11780 } | 12291 } |
| 11781 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 12292 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 11782 // for details. All rights reserved. Use of this source code is governed by a | 12293 // for details. All rights reserved. Use of this source code is governed by a |
| 11783 // BSD-style license that can be found in the LICENSE file. | 12294 // BSD-style license that can be found in the LICENSE file. |
| 11784 | 12295 |
| 11785 // WARNING: Do not edit - generated code. | 12296 // WARNING: Do not edit - generated code. |
| 11786 | 12297 |
| 11787 class Int32ArrayWrappingImplementation extends ArrayBufferViewWrappingImplementa
tion implements Int32Array { | 12298 class Int32ArrayWrappingImplementation extends ArrayBufferViewWrappingImplementa
tion implements Int32Array { |
| 11788 Int32ArrayWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 12299 Int32ArrayWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 11789 | 12300 |
| 11790 int get length() { return _ptr.length; } | 12301 int get length() { return _ptr.length; } |
| 11791 | 12302 |
| 11792 Int32Array subarray(int start, int end) { | 12303 Int32Array subarray(int start, [int end = null]) { |
| 11793 return LevelDom.wrapInt32Array(_ptr.subarray(start, end)); | 12304 if (end === null) { |
| 12305 return LevelDom.wrapInt32Array(_ptr.subarray(start)); |
| 12306 } else { |
| 12307 return LevelDom.wrapInt32Array(_ptr.subarray(start, end)); |
| 12308 } |
| 11794 } | 12309 } |
| 11795 | |
| 11796 String get typeName() { return "Int32Array"; } | |
| 11797 } | 12310 } |
| 11798 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 12311 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 11799 // for details. All rights reserved. Use of this source code is governed by a | 12312 // for details. All rights reserved. Use of this source code is governed by a |
| 11800 // BSD-style license that can be found in the LICENSE file. | 12313 // BSD-style license that can be found in the LICENSE file. |
| 11801 | 12314 |
| 11802 // WARNING: Do not edit - generated code. | 12315 // WARNING: Do not edit - generated code. |
| 11803 | 12316 |
| 11804 class Int8ArrayWrappingImplementation extends ArrayBufferViewWrappingImplementat
ion implements Int8Array { | 12317 class Int8ArrayWrappingImplementation extends ArrayBufferViewWrappingImplementat
ion implements Int8Array { |
| 11805 Int8ArrayWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 12318 Int8ArrayWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 11806 | 12319 |
| 11807 int get length() { return _ptr.length; } | 12320 int get length() { return _ptr.length; } |
| 11808 | 12321 |
| 11809 Int8Array subarray(int start, int end) { | 12322 Int8Array subarray(int start, [int end = null]) { |
| 11810 return LevelDom.wrapInt8Array(_ptr.subarray(start, end)); | 12323 if (end === null) { |
| 12324 return LevelDom.wrapInt8Array(_ptr.subarray(start)); |
| 12325 } else { |
| 12326 return LevelDom.wrapInt8Array(_ptr.subarray(start, end)); |
| 12327 } |
| 11811 } | 12328 } |
| 11812 | |
| 11813 String get typeName() { return "Int8Array"; } | |
| 11814 } | 12329 } |
| 11815 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 12330 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 11816 // for details. All rights reserved. Use of this source code is governed by a | 12331 // for details. All rights reserved. Use of this source code is governed by a |
| 11817 // BSD-style license that can be found in the LICENSE file. | 12332 // BSD-style license that can be found in the LICENSE file. |
| 11818 | 12333 |
| 11819 // WARNING: Do not edit - generated code. | 12334 // WARNING: Do not edit - generated code. |
| 11820 | 12335 |
| 11821 class KeyboardEventWrappingImplementation extends UIEventWrappingImplementation
implements KeyboardEvent { | 12336 class KeyboardEventWrappingImplementation extends UIEventWrappingImplementation
implements KeyboardEvent { |
| 11822 KeyboardEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 12337 KeyboardEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 11823 | 12338 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 11836 bool get shiftKey() { return _ptr.shiftKey; } | 12351 bool get shiftKey() { return _ptr.shiftKey; } |
| 11837 | 12352 |
| 11838 bool getModifierState(String keyIdentifierArg) { | 12353 bool getModifierState(String keyIdentifierArg) { |
| 11839 return _ptr.getModifierState(keyIdentifierArg); | 12354 return _ptr.getModifierState(keyIdentifierArg); |
| 11840 } | 12355 } |
| 11841 | 12356 |
| 11842 void initKeyboardEvent(String type, bool canBubble, bool cancelable, Window vi
ew, String keyIdentifier, int keyLocation, bool ctrlKey, bool altKey, bool shift
Key, bool metaKey, bool altGraphKey) { | 12357 void initKeyboardEvent(String type, bool canBubble, bool cancelable, Window vi
ew, String keyIdentifier, int keyLocation, bool ctrlKey, bool altKey, bool shift
Key, bool metaKey, bool altGraphKey) { |
| 11843 _ptr.initKeyboardEvent(type, canBubble, cancelable, LevelDom.unwrap(view), k
eyIdentifier, keyLocation, ctrlKey, altKey, shiftKey, metaKey, altGraphKey); | 12358 _ptr.initKeyboardEvent(type, canBubble, cancelable, LevelDom.unwrap(view), k
eyIdentifier, keyLocation, ctrlKey, altKey, shiftKey, metaKey, altGraphKey); |
| 11844 return; | 12359 return; |
| 11845 } | 12360 } |
| 11846 | |
| 11847 String get typeName() { return "KeyboardEvent"; } | |
| 11848 } | 12361 } |
| 11849 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 12362 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 11850 // for details. All rights reserved. Use of this source code is governed by a | 12363 // for details. All rights reserved. Use of this source code is governed by a |
| 11851 // BSD-style license that can be found in the LICENSE file. | 12364 // BSD-style license that can be found in the LICENSE file. |
| 11852 | 12365 |
| 11853 // WARNING: Do not edit - generated code. | 12366 // WARNING: Do not edit - generated code. |
| 11854 | 12367 |
| 11855 class KeygenElementWrappingImplementation extends ElementWrappingImplementation
implements KeygenElement { | 12368 class KeygenElementWrappingImplementation extends ElementWrappingImplementation
implements KeygenElement { |
| 11856 KeygenElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 12369 KeygenElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 11857 | 12370 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 11888 bool get willValidate() { return _ptr.willValidate; } | 12401 bool get willValidate() { return _ptr.willValidate; } |
| 11889 | 12402 |
| 11890 bool checkValidity() { | 12403 bool checkValidity() { |
| 11891 return _ptr.checkValidity(); | 12404 return _ptr.checkValidity(); |
| 11892 } | 12405 } |
| 11893 | 12406 |
| 11894 void setCustomValidity(String error) { | 12407 void setCustomValidity(String error) { |
| 11895 _ptr.setCustomValidity(error); | 12408 _ptr.setCustomValidity(error); |
| 11896 return; | 12409 return; |
| 11897 } | 12410 } |
| 11898 | |
| 11899 String get typeName() { return "KeygenElement"; } | |
| 11900 } | 12411 } |
| 11901 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 12412 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 11902 // for details. All rights reserved. Use of this source code is governed by a | 12413 // for details. All rights reserved. Use of this source code is governed by a |
| 11903 // BSD-style license that can be found in the LICENSE file. | 12414 // BSD-style license that can be found in the LICENSE file. |
| 11904 | 12415 |
| 11905 // WARNING: Do not edit - generated code. | 12416 // WARNING: Do not edit - generated code. |
| 11906 | 12417 |
| 11907 class LIElementWrappingImplementation extends ElementWrappingImplementation impl
ements LIElement { | 12418 class LIElementWrappingImplementation extends ElementWrappingImplementation impl
ements LIElement { |
| 11908 LIElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 12419 LIElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 11909 | 12420 |
| 11910 String get type() { return _ptr.type; } | 12421 String get type() { return _ptr.type; } |
| 11911 | 12422 |
| 11912 void set type(String value) { _ptr.type = value; } | 12423 void set type(String value) { _ptr.type = value; } |
| 11913 | 12424 |
| 11914 int get value() { return _ptr.value; } | 12425 int get value() { return _ptr.value; } |
| 11915 | 12426 |
| 11916 void set value(int value) { _ptr.value = value; } | 12427 void set value(int value) { _ptr.value = value; } |
| 11917 | |
| 11918 String get typeName() { return "LIElement"; } | |
| 11919 } | 12428 } |
| 11920 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 12429 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 11921 // for details. All rights reserved. Use of this source code is governed by a | 12430 // for details. All rights reserved. Use of this source code is governed by a |
| 11922 // BSD-style license that can be found in the LICENSE file. | 12431 // BSD-style license that can be found in the LICENSE file. |
| 11923 | 12432 |
| 11924 // WARNING: Do not edit - generated code. | 12433 // WARNING: Do not edit - generated code. |
| 11925 | 12434 |
| 11926 class LabelElementWrappingImplementation extends ElementWrappingImplementation i
mplements LabelElement { | 12435 class LabelElementWrappingImplementation extends ElementWrappingImplementation i
mplements LabelElement { |
| 11927 LabelElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 12436 LabelElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 11928 | 12437 |
| 11929 String get accessKey() { return _ptr.accessKey; } | 12438 String get accessKey() { return _ptr.accessKey; } |
| 11930 | 12439 |
| 11931 void set accessKey(String value) { _ptr.accessKey = value; } | 12440 void set accessKey(String value) { _ptr.accessKey = value; } |
| 11932 | 12441 |
| 11933 Element get control() { return LevelDom.wrapElement(_ptr.control); } | 12442 Element get control() { return LevelDom.wrapElement(_ptr.control); } |
| 11934 | 12443 |
| 11935 FormElement get form() { return LevelDom.wrapFormElement(_ptr.form); } | 12444 FormElement get form() { return LevelDom.wrapFormElement(_ptr.form); } |
| 11936 | 12445 |
| 11937 String get htmlFor() { return _ptr.htmlFor; } | 12446 String get htmlFor() { return _ptr.htmlFor; } |
| 11938 | 12447 |
| 11939 void set htmlFor(String value) { _ptr.htmlFor = value; } | 12448 void set htmlFor(String value) { _ptr.htmlFor = value; } |
| 11940 | |
| 11941 String get typeName() { return "LabelElement"; } | |
| 11942 } | 12449 } |
| 11943 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 12450 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 11944 // for details. All rights reserved. Use of this source code is governed by a | 12451 // for details. All rights reserved. Use of this source code is governed by a |
| 11945 // BSD-style license that can be found in the LICENSE file. | 12452 // BSD-style license that can be found in the LICENSE file. |
| 11946 | 12453 |
| 11947 // WARNING: Do not edit - generated code. | 12454 // WARNING: Do not edit - generated code. |
| 11948 | 12455 |
| 11949 class LegendElementWrappingImplementation extends ElementWrappingImplementation
implements LegendElement { | 12456 class LegendElementWrappingImplementation extends ElementWrappingImplementation
implements LegendElement { |
| 11950 LegendElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 12457 LegendElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 11951 | 12458 |
| 11952 String get accessKey() { return _ptr.accessKey; } | 12459 String get accessKey() { return _ptr.accessKey; } |
| 11953 | 12460 |
| 11954 void set accessKey(String value) { _ptr.accessKey = value; } | 12461 void set accessKey(String value) { _ptr.accessKey = value; } |
| 11955 | 12462 |
| 11956 String get align() { return _ptr.align; } | 12463 String get align() { return _ptr.align; } |
| 11957 | 12464 |
| 11958 void set align(String value) { _ptr.align = value; } | 12465 void set align(String value) { _ptr.align = value; } |
| 11959 | 12466 |
| 11960 FormElement get form() { return LevelDom.wrapFormElement(_ptr.form); } | 12467 FormElement get form() { return LevelDom.wrapFormElement(_ptr.form); } |
| 11961 | |
| 11962 String get typeName() { return "LegendElement"; } | |
| 11963 } | 12468 } |
| 11964 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 12469 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 11965 // for details. All rights reserved. Use of this source code is governed by a | 12470 // for details. All rights reserved. Use of this source code is governed by a |
| 11966 // BSD-style license that can be found in the LICENSE file. | 12471 // BSD-style license that can be found in the LICENSE file. |
| 11967 | 12472 |
| 11968 // WARNING: Do not edit - generated code. | 12473 // WARNING: Do not edit - generated code. |
| 11969 | 12474 |
| 11970 class LinkElementWrappingImplementation extends ElementWrappingImplementation im
plements LinkElement { | 12475 class LinkElementWrappingImplementation extends ElementWrappingImplementation im
plements LinkElement { |
| 11971 LinkElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 12476 LinkElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 11972 | 12477 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 12000 | 12505 |
| 12001 StyleSheet get sheet() { return LevelDom.wrapStyleSheet(_ptr.sheet); } | 12506 StyleSheet get sheet() { return LevelDom.wrapStyleSheet(_ptr.sheet); } |
| 12002 | 12507 |
| 12003 String get target() { return _ptr.target; } | 12508 String get target() { return _ptr.target; } |
| 12004 | 12509 |
| 12005 void set target(String value) { _ptr.target = value; } | 12510 void set target(String value) { _ptr.target = value; } |
| 12006 | 12511 |
| 12007 String get type() { return _ptr.type; } | 12512 String get type() { return _ptr.type; } |
| 12008 | 12513 |
| 12009 void set type(String value) { _ptr.type = value; } | 12514 void set type(String value) { _ptr.type = value; } |
| 12010 | |
| 12011 String get typeName() { return "LinkElement"; } | |
| 12012 } | 12515 } |
| 12013 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 12516 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 12014 // for details. All rights reserved. Use of this source code is governed by a | 12517 // for details. All rights reserved. Use of this source code is governed by a |
| 12015 // BSD-style license that can be found in the LICENSE file. | 12518 // BSD-style license that can be found in the LICENSE file. |
| 12016 | 12519 |
| 12017 // WARNING: Do not edit - generated code. | 12520 // WARNING: Do not edit - generated code. |
| 12018 | 12521 |
| 12019 class LocalMediaStreamWrappingImplementation extends MediaStreamWrappingImplemen
tation implements LocalMediaStream { | 12522 class LocalMediaStreamWrappingImplementation extends MediaStreamWrappingImplemen
tation implements LocalMediaStream { |
| 12020 LocalMediaStreamWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 12523 LocalMediaStreamWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 12021 | 12524 |
| 12022 void stop() { | 12525 void stop() { |
| 12023 _ptr.stop(); | 12526 _ptr.stop(); |
| 12024 return; | 12527 return; |
| 12025 } | 12528 } |
| 12026 | |
| 12027 String get typeName() { return "LocalMediaStream"; } | |
| 12028 } | 12529 } |
| 12029 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 12530 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 12030 // for details. All rights reserved. Use of this source code is governed by a | 12531 // for details. All rights reserved. Use of this source code is governed by a |
| 12031 // BSD-style license that can be found in the LICENSE file. | 12532 // BSD-style license that can be found in the LICENSE file. |
| 12032 | 12533 |
| 12033 // WARNING: Do not edit - generated code. | 12534 // WARNING: Do not edit - generated code. |
| 12034 | 12535 |
| 12035 class LocationWrappingImplementation extends DOMWrapperBase implements Location
{ | 12536 class LocationWrappingImplementation extends DOMWrapperBase implements Location
{ |
| 12036 LocationWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 12537 LocationWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 12037 | 12538 |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12080 | 12581 |
| 12081 void reload() { | 12582 void reload() { |
| 12082 _ptr.reload(); | 12583 _ptr.reload(); |
| 12083 return; | 12584 return; |
| 12084 } | 12585 } |
| 12085 | 12586 |
| 12086 void replace(String url) { | 12587 void replace(String url) { |
| 12087 _ptr.replace(url); | 12588 _ptr.replace(url); |
| 12088 return; | 12589 return; |
| 12089 } | 12590 } |
| 12090 | |
| 12091 String get typeName() { return "Location"; } | |
| 12092 } | 12591 } |
| 12093 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 12592 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 12094 // for details. All rights reserved. Use of this source code is governed by a | 12593 // for details. All rights reserved. Use of this source code is governed by a |
| 12095 // BSD-style license that can be found in the LICENSE file. | 12594 // BSD-style license that can be found in the LICENSE file. |
| 12096 | 12595 |
| 12097 // WARNING: Do not edit - generated code. | 12596 // WARNING: Do not edit - generated code. |
| 12098 | 12597 |
| 12099 class LoseContextWrappingImplementation extends DOMWrapperBase implements LoseCo
ntext { | 12598 class LoseContextWrappingImplementation extends DOMWrapperBase implements LoseCo
ntext { |
| 12100 LoseContextWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 12599 LoseContextWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 12101 | 12600 |
| 12102 void loseContext() { | 12601 void loseContext() { |
| 12103 _ptr.loseContext(); | 12602 _ptr.loseContext(); |
| 12104 return; | 12603 return; |
| 12105 } | 12604 } |
| 12106 | 12605 |
| 12107 void restoreContext() { | 12606 void restoreContext() { |
| 12108 _ptr.restoreContext(); | 12607 _ptr.restoreContext(); |
| 12109 return; | 12608 return; |
| 12110 } | 12609 } |
| 12111 | |
| 12112 String get typeName() { return "LoseContext"; } | |
| 12113 } | 12610 } |
| 12114 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 12611 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 12115 // for details. All rights reserved. Use of this source code is governed by a | 12612 // for details. All rights reserved. Use of this source code is governed by a |
| 12116 // BSD-style license that can be found in the LICENSE file. | 12613 // BSD-style license that can be found in the LICENSE file. |
| 12117 | 12614 |
| 12118 // WARNING: Do not edit - generated code. | 12615 // WARNING: Do not edit - generated code. |
| 12119 | 12616 |
| 12120 class MapElementWrappingImplementation extends ElementWrappingImplementation imp
lements MapElement { | 12617 class MapElementWrappingImplementation extends ElementWrappingImplementation imp
lements MapElement { |
| 12121 MapElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 12618 MapElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 12122 | 12619 |
| 12123 ElementList get areas() { return LevelDom.wrapElementList(_ptr.areas); } | 12620 ElementList get areas() { return LevelDom.wrapElementList(_ptr.areas); } |
| 12124 | 12621 |
| 12125 String get name() { return _ptr.name; } | 12622 String get name() { return _ptr.name; } |
| 12126 | 12623 |
| 12127 void set name(String value) { _ptr.name = value; } | 12624 void set name(String value) { _ptr.name = value; } |
| 12128 | |
| 12129 String get typeName() { return "MapElement"; } | |
| 12130 } | 12625 } |
| 12131 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 12626 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 12132 // for details. All rights reserved. Use of this source code is governed by a | 12627 // for details. All rights reserved. Use of this source code is governed by a |
| 12133 // BSD-style license that can be found in the LICENSE file. | 12628 // BSD-style license that can be found in the LICENSE file. |
| 12134 | 12629 |
| 12135 // WARNING: Do not edit - generated code. | 12630 // WARNING: Do not edit - generated code. |
| 12136 | 12631 |
| 12137 class MarqueeElementWrappingImplementation extends ElementWrappingImplementation
implements MarqueeElement { | 12632 class MarqueeElementWrappingImplementation extends ElementWrappingImplementation
implements MarqueeElement { |
| 12138 MarqueeElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 12633 MarqueeElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 12139 | 12634 |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12183 | 12678 |
| 12184 void start() { | 12679 void start() { |
| 12185 _ptr.start(); | 12680 _ptr.start(); |
| 12186 return; | 12681 return; |
| 12187 } | 12682 } |
| 12188 | 12683 |
| 12189 void stop() { | 12684 void stop() { |
| 12190 _ptr.stop(); | 12685 _ptr.stop(); |
| 12191 return; | 12686 return; |
| 12192 } | 12687 } |
| 12193 | |
| 12194 String get typeName() { return "MarqueeElement"; } | |
| 12195 } | 12688 } |
| 12196 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 12689 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 12197 // for details. All rights reserved. Use of this source code is governed by a | 12690 // for details. All rights reserved. Use of this source code is governed by a |
| 12198 // BSD-style license that can be found in the LICENSE file. | 12691 // BSD-style license that can be found in the LICENSE file. |
| 12199 | 12692 |
| 12200 // WARNING: Do not edit - generated code. | 12693 // WARNING: Do not edit - generated code. |
| 12201 | 12694 |
| 12202 class MediaElementWrappingImplementation extends ElementWrappingImplementation i
mplements MediaElement { | 12695 class MediaElementWrappingImplementation extends ElementWrappingImplementation i
mplements MediaElement { |
| 12203 MediaElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 12696 MediaElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 12204 | 12697 |
| 12205 bool get autoplay() { return _ptr.autoplay; } | 12698 bool get autoplay() { return _ptr.autoplay; } |
| 12206 | 12699 |
| 12207 void set autoplay(bool value) { _ptr.autoplay = value; } | 12700 void set autoplay(bool value) { _ptr.autoplay = value; } |
| 12208 | 12701 |
| 12209 TimeRanges get buffered() { return LevelDom.wrapTimeRanges(_ptr.buffered); } | 12702 TimeRanges get buffered() { return LevelDom.wrapTimeRanges(_ptr.buffered); } |
| 12210 | 12703 |
| 12211 bool get controls() { return _ptr.controls; } | 12704 bool get controls() { return _ptr.controls; } |
| 12212 | 12705 |
| 12213 void set controls(bool value) { _ptr.controls = value; } | 12706 void set controls(bool value) { _ptr.controls = value; } |
| 12214 | 12707 |
| 12215 String get currentSrc() { return _ptr.currentSrc; } | 12708 String get currentSrc() { return _ptr.currentSrc; } |
| 12216 | 12709 |
| 12217 num get currentTime() { return _ptr.currentTime; } | 12710 num get currentTime() { return _ptr.currentTime; } |
| 12218 | 12711 |
| 12219 void set currentTime(num value) { _ptr.currentTime = value; } | 12712 void set currentTime(num value) { _ptr.currentTime = value; } |
| 12220 | 12713 |
| 12714 bool get defaultMuted() { return _ptr.defaultMuted; } |
| 12715 |
| 12716 void set defaultMuted(bool value) { _ptr.defaultMuted = value; } |
| 12717 |
| 12221 num get defaultPlaybackRate() { return _ptr.defaultPlaybackRate; } | 12718 num get defaultPlaybackRate() { return _ptr.defaultPlaybackRate; } |
| 12222 | 12719 |
| 12223 void set defaultPlaybackRate(num value) { _ptr.defaultPlaybackRate = value; } | 12720 void set defaultPlaybackRate(num value) { _ptr.defaultPlaybackRate = value; } |
| 12224 | 12721 |
| 12225 num get duration() { return _ptr.duration; } | 12722 num get duration() { return _ptr.duration; } |
| 12226 | 12723 |
| 12227 bool get ended() { return _ptr.ended; } | 12724 bool get ended() { return _ptr.ended; } |
| 12228 | 12725 |
| 12229 MediaError get error() { return LevelDom.wrapMediaError(_ptr.error); } | 12726 MediaError get error() { return LevelDom.wrapMediaError(_ptr.error); } |
| 12230 | 12727 |
| 12728 num get initialTime() { return _ptr.initialTime; } |
| 12729 |
| 12231 bool get loop() { return _ptr.loop; } | 12730 bool get loop() { return _ptr.loop; } |
| 12232 | 12731 |
| 12233 void set loop(bool value) { _ptr.loop = value; } | 12732 void set loop(bool value) { _ptr.loop = value; } |
| 12234 | 12733 |
| 12235 bool get muted() { return _ptr.muted; } | 12734 bool get muted() { return _ptr.muted; } |
| 12236 | 12735 |
| 12237 void set muted(bool value) { _ptr.muted = value; } | 12736 void set muted(bool value) { _ptr.muted = value; } |
| 12238 | 12737 |
| 12239 int get networkState() { return _ptr.networkState; } | 12738 int get networkState() { return _ptr.networkState; } |
| 12240 | 12739 |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12291 | 12790 |
| 12292 void pause() { | 12791 void pause() { |
| 12293 _ptr.pause(); | 12792 _ptr.pause(); |
| 12294 return; | 12793 return; |
| 12295 } | 12794 } |
| 12296 | 12795 |
| 12297 void play() { | 12796 void play() { |
| 12298 _ptr.play(); | 12797 _ptr.play(); |
| 12299 return; | 12798 return; |
| 12300 } | 12799 } |
| 12301 | |
| 12302 String get typeName() { return "MediaElement"; } | |
| 12303 } | 12800 } |
| 12304 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 12801 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 12305 // for details. All rights reserved. Use of this source code is governed by a | 12802 // for details. All rights reserved. Use of this source code is governed by a |
| 12306 // BSD-style license that can be found in the LICENSE file. | 12803 // BSD-style license that can be found in the LICENSE file. |
| 12307 | 12804 |
| 12308 // WARNING: Do not edit - generated code. | 12805 // WARNING: Do not edit - generated code. |
| 12309 | 12806 |
| 12310 class MediaErrorWrappingImplementation extends DOMWrapperBase implements MediaEr
ror { | 12807 class MediaErrorWrappingImplementation extends DOMWrapperBase implements MediaEr
ror { |
| 12311 MediaErrorWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 12808 MediaErrorWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 12312 | 12809 |
| 12313 int get code() { return _ptr.code; } | 12810 int get code() { return _ptr.code; } |
| 12314 | |
| 12315 String get typeName() { return "MediaError"; } | |
| 12316 } | 12811 } |
| 12317 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 12812 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 12318 // for details. All rights reserved. Use of this source code is governed by a | 12813 // for details. All rights reserved. Use of this source code is governed by a |
| 12319 // BSD-style license that can be found in the LICENSE file. | 12814 // BSD-style license that can be found in the LICENSE file. |
| 12320 | 12815 |
| 12321 // WARNING: Do not edit - generated code. | 12816 // WARNING: Do not edit - generated code. |
| 12322 | 12817 |
| 12323 class MediaListWrappingImplementation extends DOMWrapperBase implements MediaLis
t { | 12818 class MediaListWrappingImplementation extends DOMWrapperBase implements MediaLis
t { |
| 12324 MediaListWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 12819 MediaListWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 12325 | 12820 |
| 12326 int get length() { return _ptr.length; } | 12821 int get length() { return _ptr.length; } |
| 12327 | 12822 |
| 12328 String get mediaText() { return _ptr.mediaText; } | 12823 String get mediaText() { return _ptr.mediaText; } |
| 12329 | 12824 |
| 12330 void set mediaText(String value) { _ptr.mediaText = value; } | 12825 void set mediaText(String value) { _ptr.mediaText = value; } |
| 12331 | 12826 |
| 12332 String operator[](int index) { | 12827 String operator[](int index) { |
| 12333 return item(index); | 12828 return item(index); |
| 12334 } | 12829 } |
| 12335 | 12830 |
| 12336 void operator[]=(int index, String value) { | 12831 void operator[]=(int index, String value) { |
| 12337 throw new UnsupportedOperationException("Cannot assign element of immutable
Array."); | 12832 throw new UnsupportedOperationException("Cannot assign element of immutable
List."); |
| 12338 } | 12833 } |
| 12339 | 12834 |
| 12340 void add(String value) { | 12835 void add(String value) { |
| 12341 throw new UnsupportedOperationException("Cannot add to immutable Array."); | 12836 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 12342 } | 12837 } |
| 12343 | 12838 |
| 12344 void addLast(String value) { | 12839 void addLast(String value) { |
| 12345 throw new UnsupportedOperationException("Cannot add to immutable Array."); | 12840 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 12346 } | 12841 } |
| 12347 | 12842 |
| 12348 void addAll(Collection<String> collection) { | 12843 void addAll(Collection<String> collection) { |
| 12349 throw new UnsupportedOperationException("Cannot add to immutable Array."); | 12844 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 12350 } | 12845 } |
| 12351 | 12846 |
| 12352 void sort(int compare(String a, String b)) { | 12847 void sort(int compare(String a, String b)) { |
| 12353 throw new UnsupportedOperationException("Cannot sort immutable Array."); | 12848 throw new UnsupportedOperationException("Cannot sort immutable List."); |
| 12354 } | 12849 } |
| 12355 | 12850 |
| 12356 void copyFrom(List<Object> src, int srcStart, int dstStart, int count) { | 12851 void copyFrom(List<Object> src, int srcStart, int dstStart, int count) { |
| 12357 throw new UnsupportedOperationException("This object is immutable."); | 12852 throw new UnsupportedOperationException("This object is immutable."); |
| 12358 } | 12853 } |
| 12359 | 12854 |
| 12360 int indexOf(String element, int startIndex) { | 12855 int indexOf(String element, int startIndex) { |
| 12361 return _Lists.indexOf(this, element, startIndex, this.length); | 12856 return _Lists.indexOf(this, element, startIndex, this.length); |
| 12362 } | 12857 } |
| 12363 | 12858 |
| 12364 int lastIndexOf(String element, int startIndex) { | 12859 int lastIndexOf(String element, int startIndex) { |
| 12365 return _Lists.lastIndexOf(this, element, startIndex); | 12860 return _Lists.lastIndexOf(this, element, startIndex); |
| 12366 } | 12861 } |
| 12367 | 12862 |
| 12368 int clear() { | 12863 int clear() { |
| 12369 throw new UnsupportedOperationException("Cannot clear immutable Array."); | 12864 throw new UnsupportedOperationException("Cannot clear immutable List."); |
| 12370 } | 12865 } |
| 12371 | 12866 |
| 12372 String removeLast() { | 12867 String removeLast() { |
| 12373 throw new UnsupportedOperationException("Cannot removeLast on immutable Arra
y."); | 12868 throw new UnsupportedOperationException("Cannot removeLast on immutable List
."); |
| 12374 } | 12869 } |
| 12375 | 12870 |
| 12376 String last() { | 12871 String last() { |
| 12377 return this[length - 1]; | 12872 return this[length - 1]; |
| 12378 } | 12873 } |
| 12379 | 12874 |
| 12380 void forEach(void f(String element)) { | 12875 void forEach(void f(String element)) { |
| 12381 _Collections.forEach(this, f); | 12876 _Collections.forEach(this, f); |
| 12382 } | 12877 } |
| 12383 | 12878 |
| 12384 Collection<String> filter(bool f(String element)) { | 12879 Collection<String> filter(bool f(String element)) { |
| 12385 return _Collections.filter(this, new List<String>(), f); | 12880 return _Collections.filter(this, new List<String>(), f); |
| 12386 } | 12881 } |
| 12387 | 12882 |
| 12388 bool every(bool f(String element)) { | 12883 bool every(bool f(String element)) { |
| 12389 return _Collections.every(this, f); | 12884 return _Collections.every(this, f); |
| 12390 } | 12885 } |
| 12391 | 12886 |
| 12392 bool some(bool f(String element)) { | 12887 bool some(bool f(String element)) { |
| 12393 return _Collections.some(this, f); | 12888 return _Collections.some(this, f); |
| 12394 } | 12889 } |
| 12395 | 12890 |
| 12891 void setRange(int start, int length, List<String> from, [int startFrom]) { |
| 12892 throw new UnsupportedOperationException("Cannot setRange on immutable List."
); |
| 12893 } |
| 12894 |
| 12895 void removeRange(int start, int length) { |
| 12896 throw new UnsupportedOperationException("Cannot removeRange on immutable Lis
t."); |
| 12897 } |
| 12898 |
| 12899 void insertRange(int start, int length, [String initialValue]) { |
| 12900 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis
t."); |
| 12901 } |
| 12902 |
| 12903 List<String> getRange(int start, int length) { |
| 12904 throw new NotImplementedException(); |
| 12905 } |
| 12906 |
| 12396 bool isEmpty() { | 12907 bool isEmpty() { |
| 12397 return length == 0; | 12908 return length == 0; |
| 12398 } | 12909 } |
| 12399 | 12910 |
| 12400 Iterator<String> iterator() { | 12911 Iterator<String> iterator() { |
| 12401 return new _FixedSizeListIterator<String>(this); | 12912 return new _FixedSizeListIterator<String>(this); |
| 12402 } | 12913 } |
| 12403 | 12914 |
| 12404 void appendMedium(String newMedium) { | 12915 void appendMedium(String newMedium) { |
| 12405 _ptr.appendMedium(newMedium); | 12916 _ptr.appendMedium(newMedium); |
| 12406 return; | 12917 return; |
| 12407 } | 12918 } |
| 12408 | 12919 |
| 12409 void deleteMedium(String oldMedium) { | 12920 void deleteMedium(String oldMedium) { |
| 12410 _ptr.deleteMedium(oldMedium); | 12921 _ptr.deleteMedium(oldMedium); |
| 12411 return; | 12922 return; |
| 12412 } | 12923 } |
| 12413 | 12924 |
| 12414 String item(int index) { | 12925 String item(int index) { |
| 12415 return _ptr.item(index); | 12926 return _ptr.item(index); |
| 12416 } | 12927 } |
| 12417 | |
| 12418 String get typeName() { return "MediaList"; } | |
| 12419 } | 12928 } |
| 12420 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 12929 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 12421 // for details. All rights reserved. Use of this source code is governed by a | 12930 // for details. All rights reserved. Use of this source code is governed by a |
| 12422 // BSD-style license that can be found in the LICENSE file. | 12931 // BSD-style license that can be found in the LICENSE file. |
| 12423 | 12932 |
| 12424 // WARNING: Do not edit - generated code. | 12933 // WARNING: Do not edit - generated code. |
| 12425 | 12934 |
| 12426 class MediaQueryListListenerWrappingImplementation extends DOMWrapperBase implem
ents MediaQueryListListener { | 12935 class MediaQueryListListenerWrappingImplementation extends DOMWrapperBase implem
ents MediaQueryListListener { |
| 12427 MediaQueryListListenerWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 12936 MediaQueryListListenerWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 12428 | 12937 |
| 12429 void queryChanged(MediaQueryList list) { | 12938 void queryChanged(MediaQueryList list) { |
| 12430 _ptr.queryChanged(LevelDom.unwrap(list)); | 12939 _ptr.queryChanged(LevelDom.unwrap(list)); |
| 12431 return; | 12940 return; |
| 12432 } | 12941 } |
| 12433 | |
| 12434 String get typeName() { return "MediaQueryListListener"; } | |
| 12435 } | 12942 } |
| 12436 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 12943 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 12437 // for details. All rights reserved. Use of this source code is governed by a | 12944 // for details. All rights reserved. Use of this source code is governed by a |
| 12438 // BSD-style license that can be found in the LICENSE file. | 12945 // BSD-style license that can be found in the LICENSE file. |
| 12439 | 12946 |
| 12440 // WARNING: Do not edit - generated code. | 12947 // WARNING: Do not edit - generated code. |
| 12441 | 12948 |
| 12442 class MediaQueryListWrappingImplementation extends DOMWrapperBase implements Med
iaQueryList { | 12949 class MediaQueryListWrappingImplementation extends DOMWrapperBase implements Med
iaQueryList { |
| 12443 MediaQueryListWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 12950 MediaQueryListWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 12444 | 12951 |
| 12445 bool get matches() { return _ptr.matches; } | 12952 bool get matches() { return _ptr.matches; } |
| 12446 | 12953 |
| 12447 String get media() { return _ptr.media; } | 12954 String get media() { return _ptr.media; } |
| 12448 | 12955 |
| 12449 void addListener(MediaQueryListListener listener) { | 12956 void addListener(MediaQueryListListener listener) { |
| 12450 _ptr.addListener(LevelDom.unwrap(listener)); | 12957 _ptr.addListener(LevelDom.unwrap(listener)); |
| 12451 return; | 12958 return; |
| 12452 } | 12959 } |
| 12453 | 12960 |
| 12454 void removeListener(MediaQueryListListener listener) { | 12961 void removeListener(MediaQueryListListener listener) { |
| 12455 _ptr.removeListener(LevelDom.unwrap(listener)); | 12962 _ptr.removeListener(LevelDom.unwrap(listener)); |
| 12456 return; | 12963 return; |
| 12457 } | 12964 } |
| 12458 | |
| 12459 String get typeName() { return "MediaQueryList"; } | |
| 12460 } | 12965 } |
| 12461 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 12966 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 12462 // for details. All rights reserved. Use of this source code is governed by a | 12967 // for details. All rights reserved. Use of this source code is governed by a |
| 12463 // BSD-style license that can be found in the LICENSE file. | 12968 // BSD-style license that can be found in the LICENSE file. |
| 12464 | 12969 |
| 12465 // WARNING: Do not edit - generated code. | 12970 // WARNING: Do not edit - generated code. |
| 12466 | 12971 |
| 12467 class MediaStreamListWrappingImplementation extends DOMWrapperBase implements Me
diaStreamList { | 12972 class MediaStreamListWrappingImplementation extends DOMWrapperBase implements Me
diaStreamList { |
| 12468 MediaStreamListWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 12973 MediaStreamListWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 12469 | 12974 |
| 12470 int get length() { return _ptr.length; } | 12975 int get length() { return _ptr.length; } |
| 12471 | 12976 |
| 12472 MediaStream item(int index) { | 12977 MediaStream item(int index) { |
| 12473 return LevelDom.wrapMediaStream(_ptr.item(index)); | 12978 return LevelDom.wrapMediaStream(_ptr.item(index)); |
| 12474 } | 12979 } |
| 12475 | |
| 12476 String get typeName() { return "MediaStreamList"; } | |
| 12477 } | 12980 } |
| 12478 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 12981 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 12479 // for details. All rights reserved. Use of this source code is governed by a | 12982 // for details. All rights reserved. Use of this source code is governed by a |
| 12480 // BSD-style license that can be found in the LICENSE file. | 12983 // BSD-style license that can be found in the LICENSE file. |
| 12481 | 12984 |
| 12482 // WARNING: Do not edit - generated code. | 12985 // WARNING: Do not edit - generated code. |
| 12483 | 12986 |
| 12484 class MediaStreamTrackListWrappingImplementation extends DOMWrapperBase implemen
ts MediaStreamTrackList { | 12987 class MediaStreamTrackListWrappingImplementation extends DOMWrapperBase implemen
ts MediaStreamTrackList { |
| 12485 MediaStreamTrackListWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 12988 MediaStreamTrackListWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 12486 | 12989 |
| 12487 int get length() { return _ptr.length; } | 12990 int get length() { return _ptr.length; } |
| 12488 | 12991 |
| 12489 MediaStreamTrack item(int index) { | 12992 MediaStreamTrack item(int index) { |
| 12490 return LevelDom.wrapMediaStreamTrack(_ptr.item(index)); | 12993 return LevelDom.wrapMediaStreamTrack(_ptr.item(index)); |
| 12491 } | 12994 } |
| 12492 | |
| 12493 String get typeName() { return "MediaStreamTrackList"; } | |
| 12494 } | 12995 } |
| 12495 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 12996 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 12496 // for details. All rights reserved. Use of this source code is governed by a | 12997 // for details. All rights reserved. Use of this source code is governed by a |
| 12497 // BSD-style license that can be found in the LICENSE file. | 12998 // BSD-style license that can be found in the LICENSE file. |
| 12498 | 12999 |
| 12499 // WARNING: Do not edit - generated code. | 13000 // WARNING: Do not edit - generated code. |
| 12500 | 13001 |
| 12501 class MediaStreamTrackWrappingImplementation extends DOMWrapperBase implements M
ediaStreamTrack { | 13002 class MediaStreamTrackWrappingImplementation extends DOMWrapperBase implements M
ediaStreamTrack { |
| 12502 MediaStreamTrackWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 13003 MediaStreamTrackWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 12503 | 13004 |
| 12504 bool get enabled() { return _ptr.enabled; } | 13005 bool get enabled() { return _ptr.enabled; } |
| 12505 | 13006 |
| 12506 void set enabled(bool value) { _ptr.enabled = value; } | 13007 void set enabled(bool value) { _ptr.enabled = value; } |
| 12507 | 13008 |
| 12508 String get kind() { return _ptr.kind; } | 13009 String get kind() { return _ptr.kind; } |
| 12509 | 13010 |
| 12510 String get label() { return _ptr.label; } | 13011 String get label() { return _ptr.label; } |
| 12511 | |
| 12512 String get typeName() { return "MediaStreamTrack"; } | |
| 12513 } | 13012 } |
| 12514 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 13013 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 12515 // for details. All rights reserved. Use of this source code is governed by a | 13014 // for details. All rights reserved. Use of this source code is governed by a |
| 12516 // BSD-style license that can be found in the LICENSE file. | 13015 // BSD-style license that can be found in the LICENSE file. |
| 12517 | 13016 |
| 12518 // WARNING: Do not edit - generated code. | 13017 // WARNING: Do not edit - generated code. |
| 12519 | 13018 |
| 12520 class MediaStreamWrappingImplementation extends DOMWrapperBase implements MediaS
tream { | 13019 class MediaStreamWrappingImplementation extends DOMWrapperBase implements MediaS
tream { |
| 12521 MediaStreamWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 13020 MediaStreamWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 12522 | 13021 |
| 12523 String get label() { return _ptr.label; } | 13022 String get label() { return _ptr.label; } |
| 12524 | 13023 |
| 12525 EventListener get onended() { return LevelDom.wrapEventListener(_ptr.onended);
} | 13024 EventListener get onended() { return LevelDom.wrapEventListener(_ptr.onended);
} |
| 12526 | 13025 |
| 12527 void set onended(EventListener value) { _ptr.onended = LevelDom.unwrap(value);
} | 13026 void set onended(EventListener value) { _ptr.onended = LevelDom.unwrap(value);
} |
| 12528 | 13027 |
| 12529 int get readyState() { return _ptr.readyState; } | 13028 int get readyState() { return _ptr.readyState; } |
| 12530 | 13029 |
| 12531 MediaStreamTrackList get tracks() { return LevelDom.wrapMediaStreamTrackList(_
ptr.tracks); } | 13030 MediaStreamTrackList get tracks() { return LevelDom.wrapMediaStreamTrackList(_
ptr.tracks); } |
| 12532 | 13031 |
| 12533 void addEventListener(String type, EventListener listener, bool useCapture) { | 13032 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) { |
| 12534 _ptr.addEventListener(type, LevelDom.unwrap(listener), useCapture); | 13033 if (useCapture === null) { |
| 12535 return; | 13034 _ptr.addEventListener(type, LevelDom.unwrap(listener)); |
| 13035 return; |
| 13036 } else { |
| 13037 _ptr.addEventListener(type, LevelDom.unwrap(listener), useCapture); |
| 13038 return; |
| 13039 } |
| 12536 } | 13040 } |
| 12537 | 13041 |
| 12538 bool dispatchEvent(Event event) { | 13042 bool dispatchEvent(Event event) { |
| 12539 return _ptr.dispatchEvent(LevelDom.unwrap(event)); | 13043 return _ptr.dispatchEvent(LevelDom.unwrap(event)); |
| 12540 } | 13044 } |
| 12541 | 13045 |
| 12542 void removeEventListener(String type, EventListener listener, bool useCapture)
{ | 13046 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) { |
| 12543 _ptr.removeEventListener(type, LevelDom.unwrap(listener), useCapture); | 13047 if (useCapture === null) { |
| 12544 return; | 13048 _ptr.removeEventListener(type, LevelDom.unwrap(listener)); |
| 13049 return; |
| 13050 } else { |
| 13051 _ptr.removeEventListener(type, LevelDom.unwrap(listener), useCapture); |
| 13052 return; |
| 13053 } |
| 12545 } | 13054 } |
| 12546 | |
| 12547 String get typeName() { return "MediaStream"; } | |
| 12548 } | 13055 } |
| 12549 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 13056 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 12550 // for details. All rights reserved. Use of this source code is governed by a | 13057 // for details. All rights reserved. Use of this source code is governed by a |
| 12551 // BSD-style license that can be found in the LICENSE file. | 13058 // BSD-style license that can be found in the LICENSE file. |
| 12552 | 13059 |
| 12553 // WARNING: Do not edit - generated code. | 13060 // WARNING: Do not edit - generated code. |
| 12554 | 13061 |
| 12555 class MenuElementWrappingImplementation extends ElementWrappingImplementation im
plements MenuElement { | 13062 class MenuElementWrappingImplementation extends ElementWrappingImplementation im
plements MenuElement { |
| 12556 MenuElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 13063 MenuElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 12557 | 13064 |
| 12558 bool get compact() { return _ptr.compact; } | 13065 bool get compact() { return _ptr.compact; } |
| 12559 | 13066 |
| 12560 void set compact(bool value) { _ptr.compact = value; } | 13067 void set compact(bool value) { _ptr.compact = value; } |
| 12561 | |
| 12562 String get typeName() { return "MenuElement"; } | |
| 12563 } | 13068 } |
| 12564 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 13069 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 12565 // for details. All rights reserved. Use of this source code is governed by a | 13070 // for details. All rights reserved. Use of this source code is governed by a |
| 12566 // BSD-style license that can be found in the LICENSE file. | 13071 // BSD-style license that can be found in the LICENSE file. |
| 12567 | 13072 |
| 12568 // WARNING: Do not edit - generated code. | 13073 // WARNING: Do not edit - generated code. |
| 12569 | 13074 |
| 12570 class MessageChannelWrappingImplementation extends DOMWrapperBase implements Mes
sageChannel { | 13075 class MessageChannelWrappingImplementation extends DOMWrapperBase implements Mes
sageChannel { |
| 12571 MessageChannelWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 13076 MessageChannelWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 12572 | 13077 |
| 12573 MessagePort get port1() { return LevelDom.wrapMessagePort(_ptr.port1); } | 13078 MessagePort get port1() { return LevelDom.wrapMessagePort(_ptr.port1); } |
| 12574 | 13079 |
| 12575 MessagePort get port2() { return LevelDom.wrapMessagePort(_ptr.port2); } | 13080 MessagePort get port2() { return LevelDom.wrapMessagePort(_ptr.port2); } |
| 12576 | |
| 12577 String get typeName() { return "MessageChannel"; } | |
| 12578 } | 13081 } |
| 12579 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 13082 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 12580 // for details. All rights reserved. Use of this source code is governed by a | 13083 // for details. All rights reserved. Use of this source code is governed by a |
| 12581 // BSD-style license that can be found in the LICENSE file. | 13084 // BSD-style license that can be found in the LICENSE file. |
| 12582 | 13085 |
| 12583 // WARNING: Do not edit - generated code. | 13086 // WARNING: Do not edit - generated code. |
| 12584 | 13087 |
| 12585 class MessageEventWrappingImplementation extends EventWrappingImplementation imp
lements MessageEvent { | 13088 class MessageEventWrappingImplementation extends EventWrappingImplementation imp
lements MessageEvent { |
| 12586 MessageEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 13089 MessageEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 12587 | 13090 |
| 12588 String get data() { return _ptr.data; } | 13091 String get data() { return _ptr.data; } |
| 12589 | 13092 |
| 12590 String get lastEventId() { return _ptr.lastEventId; } | 13093 String get lastEventId() { return _ptr.lastEventId; } |
| 12591 | 13094 |
| 12592 MessagePort get messagePort() { return LevelDom.wrapMessagePort(_ptr.messagePo
rt); } | 13095 MessagePort get messagePort() { return LevelDom.wrapMessagePort(_ptr.messagePo
rt); } |
| 12593 | 13096 |
| 12594 String get origin() { return _ptr.origin; } | 13097 String get origin() { return _ptr.origin; } |
| 12595 | 13098 |
| 12596 Window get source() { return LevelDom.wrapWindow(_ptr.source); } | 13099 Window get source() { return LevelDom.wrapWindow(_ptr.source); } |
| 12597 | 13100 |
| 12598 void initMessageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, S
tring dataArg, String originArg, String lastEventIdArg, Window sourceArg, Messag
ePort messagePort) { | 13101 void initMessageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, S
tring dataArg, String originArg, String lastEventIdArg, Window sourceArg, Messag
ePort messagePort) { |
| 12599 _ptr.initMessageEvent(typeArg, canBubbleArg, cancelableArg, dataArg, originA
rg, lastEventIdArg, LevelDom.unwrap(sourceArg), LevelDom.unwrap(messagePort)); | 13102 _ptr.initMessageEvent(typeArg, canBubbleArg, cancelableArg, dataArg, originA
rg, lastEventIdArg, LevelDom.unwrap(sourceArg), LevelDom.unwrap(messagePort)); |
| 12600 return; | 13103 return; |
| 12601 } | 13104 } |
| 12602 | |
| 12603 String get typeName() { return "MessageEvent"; } | |
| 12604 } | 13105 } |
| 12605 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 13106 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 12606 // for details. All rights reserved. Use of this source code is governed by a | 13107 // for details. All rights reserved. Use of this source code is governed by a |
| 12607 // BSD-style license that can be found in the LICENSE file. | 13108 // BSD-style license that can be found in the LICENSE file. |
| 12608 | 13109 |
| 12609 // WARNING: Do not edit - generated code. | 13110 // WARNING: Do not edit - generated code. |
| 12610 | 13111 |
| 12611 class MetaElementWrappingImplementation extends ElementWrappingImplementation im
plements MetaElement { | 13112 class MetaElementWrappingImplementation extends ElementWrappingImplementation im
plements MetaElement { |
| 12612 MetaElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 13113 MetaElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 12613 | 13114 |
| 12614 String get content() { return _ptr.content; } | 13115 String get content() { return _ptr.content; } |
| 12615 | 13116 |
| 12616 void set content(String value) { _ptr.content = value; } | 13117 void set content(String value) { _ptr.content = value; } |
| 12617 | 13118 |
| 12618 String get httpEquiv() { return _ptr.httpEquiv; } | 13119 String get httpEquiv() { return _ptr.httpEquiv; } |
| 12619 | 13120 |
| 12620 void set httpEquiv(String value) { _ptr.httpEquiv = value; } | 13121 void set httpEquiv(String value) { _ptr.httpEquiv = value; } |
| 12621 | 13122 |
| 12622 String get name() { return _ptr.name; } | 13123 String get name() { return _ptr.name; } |
| 12623 | 13124 |
| 12624 void set name(String value) { _ptr.name = value; } | 13125 void set name(String value) { _ptr.name = value; } |
| 12625 | 13126 |
| 12626 String get scheme() { return _ptr.scheme; } | 13127 String get scheme() { return _ptr.scheme; } |
| 12627 | 13128 |
| 12628 void set scheme(String value) { _ptr.scheme = value; } | 13129 void set scheme(String value) { _ptr.scheme = value; } |
| 12629 | |
| 12630 String get typeName() { return "MetaElement"; } | |
| 12631 } | 13130 } |
| 12632 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 13131 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 12633 // for details. All rights reserved. Use of this source code is governed by a | 13132 // for details. All rights reserved. Use of this source code is governed by a |
| 12634 // BSD-style license that can be found in the LICENSE file. | 13133 // BSD-style license that can be found in the LICENSE file. |
| 12635 | 13134 |
| 12636 // WARNING: Do not edit - generated code. | 13135 // WARNING: Do not edit - generated code. |
| 12637 | 13136 |
| 12638 class MetadataCallbackWrappingImplementation extends DOMWrapperBase implements M
etadataCallback { | 13137 class MetadataCallbackWrappingImplementation extends DOMWrapperBase implements M
etadataCallback { |
| 12639 MetadataCallbackWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 13138 MetadataCallbackWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 12640 | 13139 |
| 12641 bool handleEvent(Metadata metadata) { | 13140 bool handleEvent(Metadata metadata) { |
| 12642 return _ptr.handleEvent(LevelDom.unwrap(metadata)); | 13141 return _ptr.handleEvent(LevelDom.unwrap(metadata)); |
| 12643 } | 13142 } |
| 12644 | |
| 12645 String get typeName() { return "MetadataCallback"; } | |
| 12646 } | 13143 } |
| 12647 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 13144 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 12648 // for details. All rights reserved. Use of this source code is governed by a | 13145 // for details. All rights reserved. Use of this source code is governed by a |
| 12649 // BSD-style license that can be found in the LICENSE file. | 13146 // BSD-style license that can be found in the LICENSE file. |
| 12650 | 13147 |
| 12651 // WARNING: Do not edit - generated code. | 13148 // WARNING: Do not edit - generated code. |
| 12652 | 13149 |
| 12653 class MetadataWrappingImplementation extends DOMWrapperBase implements Metadata
{ | 13150 class MetadataWrappingImplementation extends DOMWrapperBase implements Metadata
{ |
| 12654 MetadataWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 13151 MetadataWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 12655 | 13152 |
| 12656 Date get modificationTime() { return _ptr.modificationTime; } | 13153 Date get modificationTime() { return _ptr.modificationTime; } |
| 12657 | |
| 12658 String get typeName() { return "Metadata"; } | |
| 12659 } | 13154 } |
| 12660 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 13155 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 12661 // for details. All rights reserved. Use of this source code is governed by a | 13156 // for details. All rights reserved. Use of this source code is governed by a |
| 12662 // BSD-style license that can be found in the LICENSE file. | 13157 // BSD-style license that can be found in the LICENSE file. |
| 12663 | 13158 |
| 12664 // WARNING: Do not edit - generated code. | 13159 // WARNING: Do not edit - generated code. |
| 12665 | 13160 |
| 12666 class MeterElementWrappingImplementation extends ElementWrappingImplementation i
mplements MeterElement { | 13161 class MeterElementWrappingImplementation extends ElementWrappingImplementation i
mplements MeterElement { |
| 12667 MeterElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 13162 MeterElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 12668 | 13163 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 12686 | 13181 |
| 12687 void set min(num value) { _ptr.min = value; } | 13182 void set min(num value) { _ptr.min = value; } |
| 12688 | 13183 |
| 12689 num get optimum() { return _ptr.optimum; } | 13184 num get optimum() { return _ptr.optimum; } |
| 12690 | 13185 |
| 12691 void set optimum(num value) { _ptr.optimum = value; } | 13186 void set optimum(num value) { _ptr.optimum = value; } |
| 12692 | 13187 |
| 12693 num get value() { return _ptr.value; } | 13188 num get value() { return _ptr.value; } |
| 12694 | 13189 |
| 12695 void set value(num value) { _ptr.value = value; } | 13190 void set value(num value) { _ptr.value = value; } |
| 12696 | |
| 12697 String get typeName() { return "MeterElement"; } | |
| 12698 } | 13191 } |
| 12699 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 13192 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 12700 // for details. All rights reserved. Use of this source code is governed by a | 13193 // for details. All rights reserved. Use of this source code is governed by a |
| 12701 // BSD-style license that can be found in the LICENSE file. | 13194 // BSD-style license that can be found in the LICENSE file. |
| 12702 | 13195 |
| 12703 // WARNING: Do not edit - generated code. | 13196 // WARNING: Do not edit - generated code. |
| 12704 | 13197 |
| 12705 class ModElementWrappingImplementation extends ElementWrappingImplementation imp
lements ModElement { | 13198 class ModElementWrappingImplementation extends ElementWrappingImplementation imp
lements ModElement { |
| 12706 ModElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 13199 ModElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 12707 | 13200 |
| 12708 String get cite() { return _ptr.cite; } | 13201 String get cite() { return _ptr.cite; } |
| 12709 | 13202 |
| 12710 void set cite(String value) { _ptr.cite = value; } | 13203 void set cite(String value) { _ptr.cite = value; } |
| 12711 | 13204 |
| 12712 String get dateTime() { return _ptr.dateTime; } | 13205 String get dateTime() { return _ptr.dateTime; } |
| 12713 | 13206 |
| 12714 void set dateTime(String value) { _ptr.dateTime = value; } | 13207 void set dateTime(String value) { _ptr.dateTime = value; } |
| 12715 | |
| 12716 String get typeName() { return "ModElement"; } | |
| 12717 } | 13208 } |
| 12718 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 13209 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 12719 // for details. All rights reserved. Use of this source code is governed by a | 13210 // for details. All rights reserved. Use of this source code is governed by a |
| 12720 // BSD-style license that can be found in the LICENSE file. | 13211 // BSD-style license that can be found in the LICENSE file. |
| 12721 | 13212 |
| 12722 // WARNING: Do not edit - generated code. | 13213 // WARNING: Do not edit - generated code. |
| 12723 | 13214 |
| 12724 class MouseEventWrappingImplementation extends UIEventWrappingImplementation imp
lements MouseEvent { | 13215 class MouseEventWrappingImplementation extends UIEventWrappingImplementation imp
lements MouseEvent { |
| 12725 MouseEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 13216 MouseEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 12726 | 13217 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 12753 Node get toElement() { return LevelDom.wrapNode(_ptr.toElement); } | 13244 Node get toElement() { return LevelDom.wrapNode(_ptr.toElement); } |
| 12754 | 13245 |
| 12755 int get x() { return _ptr.x; } | 13246 int get x() { return _ptr.x; } |
| 12756 | 13247 |
| 12757 int get y() { return _ptr.y; } | 13248 int get y() { return _ptr.y; } |
| 12758 | 13249 |
| 12759 void initMouseEvent(String type, bool canBubble, bool cancelable, Window view,
int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, b
ool altKey, bool shiftKey, bool metaKey, int button, EventTarget relatedTarget)
{ | 13250 void initMouseEvent(String type, bool canBubble, bool cancelable, Window view,
int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, b
ool altKey, bool shiftKey, bool metaKey, int button, EventTarget relatedTarget)
{ |
| 12760 _ptr.initMouseEvent(type, canBubble, cancelable, LevelDom.unwrap(view), deta
il, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, butt
on, LevelDom.unwrap(relatedTarget)); | 13251 _ptr.initMouseEvent(type, canBubble, cancelable, LevelDom.unwrap(view), deta
il, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, butt
on, LevelDom.unwrap(relatedTarget)); |
| 12761 return; | 13252 return; |
| 12762 } | 13253 } |
| 12763 | |
| 12764 String get typeName() { return "MouseEvent"; } | |
| 12765 } | 13254 } |
| 12766 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 13255 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 12767 // for details. All rights reserved. Use of this source code is governed by a | 13256 // for details. All rights reserved. Use of this source code is governed by a |
| 12768 // BSD-style license that can be found in the LICENSE file. | 13257 // BSD-style license that can be found in the LICENSE file. |
| 12769 | 13258 |
| 12770 // WARNING: Do not edit - generated code. | 13259 // WARNING: Do not edit - generated code. |
| 12771 | 13260 |
| 12772 class MutationEventWrappingImplementation extends EventWrappingImplementation im
plements MutationEvent { | 13261 class MutationEventWrappingImplementation extends EventWrappingImplementation im
plements MutationEvent { |
| 12773 MutationEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 13262 MutationEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 12774 | 13263 |
| 12775 int get attrChange() { return _ptr.attrChange; } | 13264 int get attrChange() { return _ptr.attrChange; } |
| 12776 | 13265 |
| 12777 String get attrName() { return _ptr.attrName; } | 13266 String get attrName() { return _ptr.attrName; } |
| 12778 | 13267 |
| 12779 String get newValue() { return _ptr.newValue; } | 13268 String get newValue() { return _ptr.newValue; } |
| 12780 | 13269 |
| 12781 String get prevValue() { return _ptr.prevValue; } | 13270 String get prevValue() { return _ptr.prevValue; } |
| 12782 | 13271 |
| 12783 Node get relatedNode() { return LevelDom.wrapNode(_ptr.relatedNode); } | 13272 Node get relatedNode() { return LevelDom.wrapNode(_ptr.relatedNode); } |
| 12784 | 13273 |
| 12785 void initMutationEvent(String type, bool canBubble, bool cancelable, Node rela
tedNode, String prevValue, String newValue, String attrName, int attrChange) { | 13274 void initMutationEvent(String type, bool canBubble, bool cancelable, Node rela
tedNode, String prevValue, String newValue, String attrName, int attrChange) { |
| 12786 _ptr.initMutationEvent(type, canBubble, cancelable, LevelDom.unwrap(relatedN
ode), prevValue, newValue, attrName, attrChange); | 13275 _ptr.initMutationEvent(type, canBubble, cancelable, LevelDom.unwrap(relatedN
ode), prevValue, newValue, attrName, attrChange); |
| 12787 return; | 13276 return; |
| 12788 } | 13277 } |
| 12789 | |
| 12790 String get typeName() { return "MutationEvent"; } | |
| 12791 } | 13278 } |
| 12792 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 13279 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 12793 // for details. All rights reserved. Use of this source code is governed by a | 13280 // for details. All rights reserved. Use of this source code is governed by a |
| 13281 // BSD-style license that can be found in the LICENSE file. |
| 13282 |
| 13283 // WARNING: Do not edit - generated code. |
| 13284 |
| 13285 class MutationRecordWrappingImplementation extends DOMWrapperBase implements Mut
ationRecord { |
| 13286 MutationRecordWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 13287 |
| 13288 ElementList get addedNodes() { return LevelDom.wrapElementList(_ptr.addedNodes
); } |
| 13289 |
| 13290 String get attributeName() { return _ptr.attributeName; } |
| 13291 |
| 13292 String get attributeNamespace() { return _ptr.attributeNamespace; } |
| 13293 |
| 13294 Node get nextSibling() { return LevelDom.wrapNode(_ptr.nextSibling); } |
| 13295 |
| 13296 String get oldValue() { return _ptr.oldValue; } |
| 13297 |
| 13298 Node get previousSibling() { return LevelDom.wrapNode(_ptr.previousSibling); } |
| 13299 |
| 13300 ElementList get removedNodes() { return LevelDom.wrapElementList(_ptr.removedN
odes); } |
| 13301 |
| 13302 Node get target() { return LevelDom.wrapNode(_ptr.target); } |
| 13303 |
| 13304 String get type() { return _ptr.type; } |
| 13305 } |
| 13306 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 13307 // for details. All rights reserved. Use of this source code is governed by a |
| 12794 // BSD-style license that can be found in the LICENSE file. | 13308 // BSD-style license that can be found in the LICENSE file. |
| 12795 | 13309 |
| 12796 // WARNING: Do not edit - generated code. | 13310 // WARNING: Do not edit - generated code. |
| 12797 | 13311 |
| 12798 class NavigatorUserMediaErrorCallbackWrappingImplementation extends DOMWrapperBa
se implements NavigatorUserMediaErrorCallback { | 13312 class NavigatorUserMediaErrorCallbackWrappingImplementation extends DOMWrapperBa
se implements NavigatorUserMediaErrorCallback { |
| 12799 NavigatorUserMediaErrorCallbackWrappingImplementation._wrap(ptr) : super._wrap
(ptr) {} | 13313 NavigatorUserMediaErrorCallbackWrappingImplementation._wrap(ptr) : super._wrap
(ptr) {} |
| 12800 | 13314 |
| 12801 bool handleEvent(NavigatorUserMediaError error) { | 13315 bool handleEvent(NavigatorUserMediaError error) { |
| 12802 return _ptr.handleEvent(LevelDom.unwrap(error)); | 13316 return _ptr.handleEvent(LevelDom.unwrap(error)); |
| 12803 } | 13317 } |
| 12804 | |
| 12805 String get typeName() { return "NavigatorUserMediaErrorCallback"; } | |
| 12806 } | 13318 } |
| 12807 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 13319 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 12808 // for details. All rights reserved. Use of this source code is governed by a | 13320 // for details. All rights reserved. Use of this source code is governed by a |
| 12809 // BSD-style license that can be found in the LICENSE file. | 13321 // BSD-style license that can be found in the LICENSE file. |
| 12810 | 13322 |
| 12811 // WARNING: Do not edit - generated code. | 13323 // WARNING: Do not edit - generated code. |
| 12812 | 13324 |
| 12813 class NavigatorUserMediaErrorWrappingImplementation extends DOMWrapperBase imple
ments NavigatorUserMediaError { | 13325 class NavigatorUserMediaErrorWrappingImplementation extends DOMWrapperBase imple
ments NavigatorUserMediaError { |
| 12814 NavigatorUserMediaErrorWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 13326 NavigatorUserMediaErrorWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 12815 | 13327 |
| 12816 int get code() { return _ptr.code; } | 13328 int get code() { return _ptr.code; } |
| 12817 | |
| 12818 String get typeName() { return "NavigatorUserMediaError"; } | |
| 12819 } | 13329 } |
| 12820 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 13330 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 12821 // for details. All rights reserved. Use of this source code is governed by a | 13331 // for details. All rights reserved. Use of this source code is governed by a |
| 12822 // BSD-style license that can be found in the LICENSE file. | 13332 // BSD-style license that can be found in the LICENSE file. |
| 12823 | 13333 |
| 12824 // WARNING: Do not edit - generated code. | 13334 // WARNING: Do not edit - generated code. |
| 12825 | 13335 |
| 12826 class NavigatorUserMediaSuccessCallbackWrappingImplementation extends DOMWrapper
Base implements NavigatorUserMediaSuccessCallback { | 13336 class NavigatorUserMediaSuccessCallbackWrappingImplementation extends DOMWrapper
Base implements NavigatorUserMediaSuccessCallback { |
| 12827 NavigatorUserMediaSuccessCallbackWrappingImplementation._wrap(ptr) : super._wr
ap(ptr) {} | 13337 NavigatorUserMediaSuccessCallbackWrappingImplementation._wrap(ptr) : super._wr
ap(ptr) {} |
| 12828 | 13338 |
| 12829 bool handleEvent(LocalMediaStream stream) { | 13339 bool handleEvent(LocalMediaStream stream) { |
| 12830 return _ptr.handleEvent(LevelDom.unwrap(stream)); | 13340 return _ptr.handleEvent(LevelDom.unwrap(stream)); |
| 12831 } | 13341 } |
| 12832 | |
| 12833 String get typeName() { return "NavigatorUserMediaSuccessCallback"; } | |
| 12834 } | 13342 } |
| 12835 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 13343 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 12836 // for details. All rights reserved. Use of this source code is governed by a | 13344 // for details. All rights reserved. Use of this source code is governed by a |
| 12837 // BSD-style license that can be found in the LICENSE file. | 13345 // BSD-style license that can be found in the LICENSE file. |
| 12838 | 13346 |
| 12839 // WARNING: Do not edit - generated code. | 13347 // WARNING: Do not edit - generated code. |
| 12840 | 13348 |
| 12841 class NavigatorWrappingImplementation extends DOMWrapperBase implements Navigato
r { | 13349 class NavigatorWrappingImplementation extends DOMWrapperBase implements Navigato
r { |
| 12842 NavigatorWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 13350 NavigatorWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 12843 | 13351 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 12870 String get vendorSub() { return _ptr.vendorSub; } | 13378 String get vendorSub() { return _ptr.vendorSub; } |
| 12871 | 13379 |
| 12872 void getStorageUpdates() { | 13380 void getStorageUpdates() { |
| 12873 _ptr.getStorageUpdates(); | 13381 _ptr.getStorageUpdates(); |
| 12874 return; | 13382 return; |
| 12875 } | 13383 } |
| 12876 | 13384 |
| 12877 bool javaEnabled() { | 13385 bool javaEnabled() { |
| 12878 return _ptr.javaEnabled(); | 13386 return _ptr.javaEnabled(); |
| 12879 } | 13387 } |
| 12880 | |
| 12881 String get typeName() { return "Navigator"; } | |
| 12882 } | 13388 } |
| 12883 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 13389 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 12884 // for details. All rights reserved. Use of this source code is governed by a | 13390 // for details. All rights reserved. Use of this source code is governed by a |
| 12885 // BSD-style license that can be found in the LICENSE file. | 13391 // BSD-style license that can be found in the LICENSE file. |
| 12886 | 13392 |
| 12887 // WARNING: Do not edit - generated code. | 13393 // WARNING: Do not edit - generated code. |
| 12888 | 13394 |
| 12889 class NotationWrappingImplementation extends NodeWrappingImplementation implemen
ts Notation { | 13395 class NotationWrappingImplementation extends NodeWrappingImplementation implemen
ts Notation { |
| 12890 NotationWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 13396 NotationWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 12891 | 13397 |
| 12892 String get publicId() { return _ptr.publicId; } | 13398 String get publicId() { return _ptr.publicId; } |
| 12893 | 13399 |
| 12894 String get systemId() { return _ptr.systemId; } | 13400 String get systemId() { return _ptr.systemId; } |
| 12895 | |
| 12896 String get typeName() { return "Notation"; } | |
| 12897 } | 13401 } |
| 12898 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 13402 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 12899 // for details. All rights reserved. Use of this source code is governed by a | 13403 // for details. All rights reserved. Use of this source code is governed by a |
| 12900 // BSD-style license that can be found in the LICENSE file. | 13404 // BSD-style license that can be found in the LICENSE file. |
| 12901 | 13405 |
| 12902 // WARNING: Do not edit - generated code. | 13406 // WARNING: Do not edit - generated code. |
| 12903 | 13407 |
| 12904 class NotificationCenterWrappingImplementation extends DOMWrapperBase implements
NotificationCenter { | 13408 class NotificationCenterWrappingImplementation extends DOMWrapperBase implements
NotificationCenter { |
| 12905 NotificationCenterWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 13409 NotificationCenterWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 12906 | 13410 |
| 12907 int checkPermission() { | 13411 int checkPermission() { |
| 12908 return _ptr.checkPermission(); | 13412 return _ptr.checkPermission(); |
| 12909 } | 13413 } |
| 12910 | 13414 |
| 12911 Notification createHTMLNotification(String url) { | 13415 Notification createHTMLNotification(String url) { |
| 12912 return LevelDom.wrapNotification(_ptr.createHTMLNotification(url)); | 13416 return LevelDom.wrapNotification(_ptr.createHTMLNotification(url)); |
| 12913 } | 13417 } |
| 12914 | 13418 |
| 12915 Notification createNotification(String iconUrl, String title, String body) { | 13419 Notification createNotification(String iconUrl, String title, String body) { |
| 12916 return LevelDom.wrapNotification(_ptr.createNotification(iconUrl, title, bod
y)); | 13420 return LevelDom.wrapNotification(_ptr.createNotification(iconUrl, title, bod
y)); |
| 12917 } | 13421 } |
| 12918 | 13422 |
| 12919 void requestPermission(VoidCallback callback) { | 13423 void requestPermission(VoidCallback callback) { |
| 12920 _ptr.requestPermission(LevelDom.unwrap(callback)); | 13424 _ptr.requestPermission(LevelDom.unwrap(callback)); |
| 12921 return; | 13425 return; |
| 12922 } | 13426 } |
| 12923 | |
| 12924 String get typeName() { return "NotificationCenter"; } | |
| 12925 } | 13427 } |
| 12926 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 13428 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 12927 // for details. All rights reserved. Use of this source code is governed by a | 13429 // for details. All rights reserved. Use of this source code is governed by a |
| 12928 // BSD-style license that can be found in the LICENSE file. | 13430 // BSD-style license that can be found in the LICENSE file. |
| 12929 | 13431 |
| 12930 // WARNING: Do not edit - generated code. | 13432 // WARNING: Do not edit - generated code. |
| 12931 | 13433 |
| 12932 class OESStandardDerivativesWrappingImplementation extends DOMWrapperBase implem
ents OESStandardDerivatives { | 13434 class OESStandardDerivativesWrappingImplementation extends DOMWrapperBase implem
ents OESStandardDerivatives { |
| 12933 OESStandardDerivativesWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 13435 OESStandardDerivativesWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 12934 | |
| 12935 String get typeName() { return "OESStandardDerivatives"; } | |
| 12936 } | 13436 } |
| 12937 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 13437 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 12938 // for details. All rights reserved. Use of this source code is governed by a | 13438 // for details. All rights reserved. Use of this source code is governed by a |
| 12939 // BSD-style license that can be found in the LICENSE file. | 13439 // BSD-style license that can be found in the LICENSE file. |
| 12940 | 13440 |
| 12941 // WARNING: Do not edit - generated code. | 13441 // WARNING: Do not edit - generated code. |
| 12942 | 13442 |
| 12943 class OESTextureFloatWrappingImplementation extends DOMWrapperBase implements OE
STextureFloat { | 13443 class OESTextureFloatWrappingImplementation extends DOMWrapperBase implements OE
STextureFloat { |
| 12944 OESTextureFloatWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 13444 OESTextureFloatWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 12945 | |
| 12946 String get typeName() { return "OESTextureFloat"; } | |
| 12947 } | 13445 } |
| 12948 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 13446 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 12949 // for details. All rights reserved. Use of this source code is governed by a | 13447 // for details. All rights reserved. Use of this source code is governed by a |
| 12950 // BSD-style license that can be found in the LICENSE file. | 13448 // BSD-style license that can be found in the LICENSE file. |
| 12951 | 13449 |
| 12952 // WARNING: Do not edit - generated code. | 13450 // WARNING: Do not edit - generated code. |
| 12953 | 13451 |
| 12954 class OESVertexArrayObjectWrappingImplementation extends DOMWrapperBase implemen
ts OESVertexArrayObject { | 13452 class OESVertexArrayObjectWrappingImplementation extends DOMWrapperBase implemen
ts OESVertexArrayObject { |
| 12955 OESVertexArrayObjectWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 13453 OESVertexArrayObjectWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 12956 | 13454 |
| 12957 void bindVertexArrayOES(WebGLVertexArrayObjectOES arrayObject) { | 13455 void bindVertexArrayOES(WebGLVertexArrayObjectOES arrayObject) { |
| 12958 _ptr.bindVertexArrayOES(LevelDom.unwrap(arrayObject)); | 13456 _ptr.bindVertexArrayOES(LevelDom.unwrap(arrayObject)); |
| 12959 return; | 13457 return; |
| 12960 } | 13458 } |
| 12961 | 13459 |
| 12962 WebGLVertexArrayObjectOES createVertexArrayOES() { | 13460 WebGLVertexArrayObjectOES createVertexArrayOES() { |
| 12963 return LevelDom.wrapWebGLVertexArrayObjectOES(_ptr.createVertexArrayOES()); | 13461 return LevelDom.wrapWebGLVertexArrayObjectOES(_ptr.createVertexArrayOES()); |
| 12964 } | 13462 } |
| 12965 | 13463 |
| 12966 void deleteVertexArrayOES(WebGLVertexArrayObjectOES arrayObject) { | 13464 void deleteVertexArrayOES(WebGLVertexArrayObjectOES arrayObject) { |
| 12967 _ptr.deleteVertexArrayOES(LevelDom.unwrap(arrayObject)); | 13465 _ptr.deleteVertexArrayOES(LevelDom.unwrap(arrayObject)); |
| 12968 return; | 13466 return; |
| 12969 } | 13467 } |
| 12970 | 13468 |
| 12971 bool isVertexArrayOES(WebGLVertexArrayObjectOES arrayObject) { | 13469 bool isVertexArrayOES(WebGLVertexArrayObjectOES arrayObject) { |
| 12972 return _ptr.isVertexArrayOES(LevelDom.unwrap(arrayObject)); | 13470 return _ptr.isVertexArrayOES(LevelDom.unwrap(arrayObject)); |
| 12973 } | 13471 } |
| 12974 | |
| 12975 String get typeName() { return "OESVertexArrayObject"; } | |
| 12976 } | 13472 } |
| 12977 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 13473 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 12978 // for details. All rights reserved. Use of this source code is governed by a | 13474 // for details. All rights reserved. Use of this source code is governed by a |
| 12979 // BSD-style license that can be found in the LICENSE file. | 13475 // BSD-style license that can be found in the LICENSE file. |
| 12980 | 13476 |
| 12981 // WARNING: Do not edit - generated code. | 13477 // WARNING: Do not edit - generated code. |
| 12982 | 13478 |
| 12983 class OListElementWrappingImplementation extends ElementWrappingImplementation i
mplements OListElement { | 13479 class OListElementWrappingImplementation extends ElementWrappingImplementation i
mplements OListElement { |
| 12984 OListElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 13480 OListElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 12985 | 13481 |
| 12986 bool get compact() { return _ptr.compact; } | 13482 bool get compact() { return _ptr.compact; } |
| 12987 | 13483 |
| 12988 void set compact(bool value) { _ptr.compact = value; } | 13484 void set compact(bool value) { _ptr.compact = value; } |
| 12989 | 13485 |
| 12990 int get start() { return _ptr.start; } | 13486 int get start() { return _ptr.start; } |
| 12991 | 13487 |
| 12992 void set start(int value) { _ptr.start = value; } | 13488 void set start(int value) { _ptr.start = value; } |
| 12993 | 13489 |
| 12994 String get type() { return _ptr.type; } | 13490 String get type() { return _ptr.type; } |
| 12995 | 13491 |
| 12996 void set type(String value) { _ptr.type = value; } | 13492 void set type(String value) { _ptr.type = value; } |
| 12997 | |
| 12998 String get typeName() { return "OListElement"; } | |
| 12999 } | 13493 } |
| 13000 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 13494 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 13001 // for details. All rights reserved. Use of this source code is governed by a | 13495 // for details. All rights reserved. Use of this source code is governed by a |
| 13002 // BSD-style license that can be found in the LICENSE file. | 13496 // BSD-style license that can be found in the LICENSE file. |
| 13003 | 13497 |
| 13004 // WARNING: Do not edit - generated code. | 13498 // WARNING: Do not edit - generated code. |
| 13005 | 13499 |
| 13006 class ObjectElementWrappingImplementation extends ElementWrappingImplementation
implements ObjectElement { | 13500 class ObjectElementWrappingImplementation extends ElementWrappingImplementation
implements ObjectElement { |
| 13007 ObjectElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 13501 ObjectElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 13008 | 13502 |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13081 bool get willValidate() { return _ptr.willValidate; } | 13575 bool get willValidate() { return _ptr.willValidate; } |
| 13082 | 13576 |
| 13083 bool checkValidity() { | 13577 bool checkValidity() { |
| 13084 return _ptr.checkValidity(); | 13578 return _ptr.checkValidity(); |
| 13085 } | 13579 } |
| 13086 | 13580 |
| 13087 void setCustomValidity(String error) { | 13581 void setCustomValidity(String error) { |
| 13088 _ptr.setCustomValidity(error); | 13582 _ptr.setCustomValidity(error); |
| 13089 return; | 13583 return; |
| 13090 } | 13584 } |
| 13091 | |
| 13092 String get typeName() { return "ObjectElement"; } | |
| 13093 } | 13585 } |
| 13094 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 13586 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 13095 // for details. All rights reserved. Use of this source code is governed by a | 13587 // for details. All rights reserved. Use of this source code is governed by a |
| 13096 // BSD-style license that can be found in the LICENSE file. | 13588 // BSD-style license that can be found in the LICENSE file. |
| 13097 | 13589 |
| 13098 // WARNING: Do not edit - generated code. | 13590 // WARNING: Do not edit - generated code. |
| 13099 | 13591 |
| 13100 class OperationNotAllowedExceptionWrappingImplementation extends DOMWrapperBase
implements OperationNotAllowedException { | 13592 class OperationNotAllowedExceptionWrappingImplementation extends DOMWrapperBase
implements OperationNotAllowedException { |
| 13101 OperationNotAllowedExceptionWrappingImplementation._wrap(ptr) : super._wrap(pt
r) {} | 13593 OperationNotAllowedExceptionWrappingImplementation._wrap(ptr) : super._wrap(pt
r) {} |
| 13102 | 13594 |
| 13103 int get code() { return _ptr.code; } | 13595 int get code() { return _ptr.code; } |
| 13104 | 13596 |
| 13105 String get message() { return _ptr.message; } | 13597 String get message() { return _ptr.message; } |
| 13106 | 13598 |
| 13107 String get name() { return _ptr.name; } | 13599 String get name() { return _ptr.name; } |
| 13108 | |
| 13109 String get typeName() { return "OperationNotAllowedException"; } | |
| 13110 } | 13600 } |
| 13111 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 13601 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 13112 // for details. All rights reserved. Use of this source code is governed by a | 13602 // for details. All rights reserved. Use of this source code is governed by a |
| 13113 // BSD-style license that can be found in the LICENSE file. | 13603 // BSD-style license that can be found in the LICENSE file. |
| 13114 | 13604 |
| 13115 // WARNING: Do not edit - generated code. | 13605 // WARNING: Do not edit - generated code. |
| 13116 | 13606 |
| 13117 class OptGroupElementWrappingImplementation extends ElementWrappingImplementatio
n implements OptGroupElement { | 13607 class OptGroupElementWrappingImplementation extends ElementWrappingImplementatio
n implements OptGroupElement { |
| 13118 OptGroupElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 13608 OptGroupElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 13119 | 13609 |
| 13120 bool get disabled() { return _ptr.disabled; } | 13610 bool get disabled() { return _ptr.disabled; } |
| 13121 | 13611 |
| 13122 void set disabled(bool value) { _ptr.disabled = value; } | 13612 void set disabled(bool value) { _ptr.disabled = value; } |
| 13123 | 13613 |
| 13124 String get label() { return _ptr.label; } | 13614 String get label() { return _ptr.label; } |
| 13125 | 13615 |
| 13126 void set label(String value) { _ptr.label = value; } | 13616 void set label(String value) { _ptr.label = value; } |
| 13127 | |
| 13128 String get typeName() { return "OptGroupElement"; } | |
| 13129 } | 13617 } |
| 13130 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 13618 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 13131 // for details. All rights reserved. Use of this source code is governed by a | 13619 // for details. All rights reserved. Use of this source code is governed by a |
| 13132 // BSD-style license that can be found in the LICENSE file. | 13620 // BSD-style license that can be found in the LICENSE file. |
| 13133 | 13621 |
| 13134 // WARNING: Do not edit - generated code. | 13622 // WARNING: Do not edit - generated code. |
| 13135 | 13623 |
| 13136 class OptionElementWrappingImplementation extends ElementWrappingImplementation
implements OptionElement { | 13624 class OptionElementWrappingImplementation extends ElementWrappingImplementation
implements OptionElement { |
| 13137 OptionElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 13625 OptionElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 13138 | 13626 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 13154 | 13642 |
| 13155 bool get selected() { return _ptr.selected; } | 13643 bool get selected() { return _ptr.selected; } |
| 13156 | 13644 |
| 13157 void set selected(bool value) { _ptr.selected = value; } | 13645 void set selected(bool value) { _ptr.selected = value; } |
| 13158 | 13646 |
| 13159 String get text() { return _ptr.text; } | 13647 String get text() { return _ptr.text; } |
| 13160 | 13648 |
| 13161 String get value() { return _ptr.value; } | 13649 String get value() { return _ptr.value; } |
| 13162 | 13650 |
| 13163 void set value(String value) { _ptr.value = value; } | 13651 void set value(String value) { _ptr.value = value; } |
| 13164 | |
| 13165 String get typeName() { return "OptionElement"; } | |
| 13166 } | 13652 } |
| 13167 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 13653 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 13168 // for details. All rights reserved. Use of this source code is governed by a | 13654 // for details. All rights reserved. Use of this source code is governed by a |
| 13169 // BSD-style license that can be found in the LICENSE file. | 13655 // BSD-style license that can be found in the LICENSE file. |
| 13170 | 13656 |
| 13171 // WARNING: Do not edit - generated code. | 13657 // WARNING: Do not edit - generated code. |
| 13172 | 13658 |
| 13173 class OutputElementWrappingImplementation extends ElementWrappingImplementation
implements OutputElement { | 13659 class OutputElementWrappingImplementation extends ElementWrappingImplementation
implements OutputElement { |
| 13174 OutputElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 13660 OutputElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 13175 | 13661 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 13202 bool get willValidate() { return _ptr.willValidate; } | 13688 bool get willValidate() { return _ptr.willValidate; } |
| 13203 | 13689 |
| 13204 bool checkValidity() { | 13690 bool checkValidity() { |
| 13205 return _ptr.checkValidity(); | 13691 return _ptr.checkValidity(); |
| 13206 } | 13692 } |
| 13207 | 13693 |
| 13208 void setCustomValidity(String error) { | 13694 void setCustomValidity(String error) { |
| 13209 _ptr.setCustomValidity(error); | 13695 _ptr.setCustomValidity(error); |
| 13210 return; | 13696 return; |
| 13211 } | 13697 } |
| 13212 | |
| 13213 String get typeName() { return "OutputElement"; } | |
| 13214 } | 13698 } |
| 13215 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 13699 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 13216 // for details. All rights reserved. Use of this source code is governed by a | 13700 // for details. All rights reserved. Use of this source code is governed by a |
| 13217 // BSD-style license that can be found in the LICENSE file. | 13701 // BSD-style license that can be found in the LICENSE file. |
| 13218 | 13702 |
| 13219 // WARNING: Do not edit - generated code. | 13703 // WARNING: Do not edit - generated code. |
| 13220 | 13704 |
| 13221 class OverflowEventWrappingImplementation extends EventWrappingImplementation im
plements OverflowEvent { | 13705 class OverflowEventWrappingImplementation extends EventWrappingImplementation im
plements OverflowEvent { |
| 13222 OverflowEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 13706 OverflowEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 13223 | 13707 |
| 13224 bool get horizontalOverflow() { return _ptr.horizontalOverflow; } | 13708 bool get horizontalOverflow() { return _ptr.horizontalOverflow; } |
| 13225 | 13709 |
| 13226 int get orient() { return _ptr.orient; } | 13710 int get orient() { return _ptr.orient; } |
| 13227 | 13711 |
| 13228 bool get verticalOverflow() { return _ptr.verticalOverflow; } | 13712 bool get verticalOverflow() { return _ptr.verticalOverflow; } |
| 13229 | 13713 |
| 13230 void initOverflowEvent(int orient, bool horizontalOverflow, bool verticalOverf
low) { | 13714 void initOverflowEvent(int orient, bool horizontalOverflow, bool verticalOverf
low) { |
| 13231 _ptr.initOverflowEvent(orient, horizontalOverflow, verticalOverflow); | 13715 _ptr.initOverflowEvent(orient, horizontalOverflow, verticalOverflow); |
| 13232 return; | 13716 return; |
| 13233 } | 13717 } |
| 13234 | |
| 13235 String get typeName() { return "OverflowEvent"; } | |
| 13236 } | 13718 } |
| 13237 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 13719 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 13238 // for details. All rights reserved. Use of this source code is governed by a | 13720 // for details. All rights reserved. Use of this source code is governed by a |
| 13239 // BSD-style license that can be found in the LICENSE file. | 13721 // BSD-style license that can be found in the LICENSE file. |
| 13240 | 13722 |
| 13241 // WARNING: Do not edit - generated code. | 13723 // WARNING: Do not edit - generated code. |
| 13242 | 13724 |
| 13243 class PageTransitionEventWrappingImplementation extends EventWrappingImplementat
ion implements PageTransitionEvent { | 13725 class PageTransitionEventWrappingImplementation extends EventWrappingImplementat
ion implements PageTransitionEvent { |
| 13244 PageTransitionEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 13726 PageTransitionEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 13245 | 13727 |
| 13246 bool get persisted() { return _ptr.persisted; } | 13728 bool get persisted() { return _ptr.persisted; } |
| 13247 | 13729 |
| 13248 void initPageTransitionEvent(String typeArg, bool canBubbleArg, bool cancelabl
eArg, bool persisted) { | 13730 void initPageTransitionEvent(String typeArg, bool canBubbleArg, bool cancelabl
eArg, bool persisted) { |
| 13249 _ptr.initPageTransitionEvent(typeArg, canBubbleArg, cancelableArg, persisted
); | 13731 _ptr.initPageTransitionEvent(typeArg, canBubbleArg, cancelableArg, persisted
); |
| 13250 return; | 13732 return; |
| 13251 } | 13733 } |
| 13252 | |
| 13253 String get typeName() { return "PageTransitionEvent"; } | |
| 13254 } | 13734 } |
| 13255 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 13735 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 13256 // for details. All rights reserved. Use of this source code is governed by a | 13736 // for details. All rights reserved. Use of this source code is governed by a |
| 13257 // BSD-style license that can be found in the LICENSE file. | 13737 // BSD-style license that can be found in the LICENSE file. |
| 13258 | 13738 |
| 13259 // WARNING: Do not edit - generated code. | 13739 // WARNING: Do not edit - generated code. |
| 13260 | 13740 |
| 13261 class ParagraphElementWrappingImplementation extends ElementWrappingImplementati
on implements ParagraphElement { | 13741 class ParagraphElementWrappingImplementation extends ElementWrappingImplementati
on implements ParagraphElement { |
| 13262 ParagraphElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 13742 ParagraphElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 13263 | 13743 |
| 13264 String get align() { return _ptr.align; } | 13744 String get align() { return _ptr.align; } |
| 13265 | 13745 |
| 13266 void set align(String value) { _ptr.align = value; } | 13746 void set align(String value) { _ptr.align = value; } |
| 13267 | |
| 13268 String get typeName() { return "ParagraphElement"; } | |
| 13269 } | 13747 } |
| 13270 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 13748 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 13271 // for details. All rights reserved. Use of this source code is governed by a | 13749 // for details. All rights reserved. Use of this source code is governed by a |
| 13272 // BSD-style license that can be found in the LICENSE file. | 13750 // BSD-style license that can be found in the LICENSE file. |
| 13273 | 13751 |
| 13274 // WARNING: Do not edit - generated code. | 13752 // WARNING: Do not edit - generated code. |
| 13275 | 13753 |
| 13276 class ParamElementWrappingImplementation extends ElementWrappingImplementation i
mplements ParamElement { | 13754 class ParamElementWrappingImplementation extends ElementWrappingImplementation i
mplements ParamElement { |
| 13277 ParamElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 13755 ParamElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 13278 | 13756 |
| 13279 String get name() { return _ptr.name; } | 13757 String get name() { return _ptr.name; } |
| 13280 | 13758 |
| 13281 void set name(String value) { _ptr.name = value; } | 13759 void set name(String value) { _ptr.name = value; } |
| 13282 | 13760 |
| 13283 String get type() { return _ptr.type; } | 13761 String get type() { return _ptr.type; } |
| 13284 | 13762 |
| 13285 void set type(String value) { _ptr.type = value; } | 13763 void set type(String value) { _ptr.type = value; } |
| 13286 | 13764 |
| 13287 String get value() { return _ptr.value; } | 13765 String get value() { return _ptr.value; } |
| 13288 | 13766 |
| 13289 void set value(String value) { _ptr.value = value; } | 13767 void set value(String value) { _ptr.value = value; } |
| 13290 | 13768 |
| 13291 String get valueType() { return _ptr.valueType; } | 13769 String get valueType() { return _ptr.valueType; } |
| 13292 | 13770 |
| 13293 void set valueType(String value) { _ptr.valueType = value; } | 13771 void set valueType(String value) { _ptr.valueType = value; } |
| 13294 | |
| 13295 String get typeName() { return "ParamElement"; } | |
| 13296 } | 13772 } |
| 13297 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 13773 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 13298 // for details. All rights reserved. Use of this source code is governed by a | 13774 // for details. All rights reserved. Use of this source code is governed by a |
| 13299 // BSD-style license that can be found in the LICENSE file. | 13775 // BSD-style license that can be found in the LICENSE file. |
| 13300 | 13776 |
| 13301 // WARNING: Do not edit - generated code. | 13777 // WARNING: Do not edit - generated code. |
| 13302 | 13778 |
| 13303 class PointWrappingImplementation extends DOMWrapperBase implements Point { | 13779 class PointWrappingImplementation extends DOMWrapperBase implements Point { |
| 13304 PointWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 13780 PointWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 13305 factory PointWrappingImplementation(num x, num y) { | |
| 13306 return LevelDom.wrapPoint(_rawWindow.createWebKitPoint(x, y)); | |
| 13307 } | |
| 13308 | 13781 |
| 13309 num get x() { return _ptr.x; } | 13782 num get x() { return _ptr.x; } |
| 13310 | 13783 |
| 13311 void set x(num value) { _ptr.x = value; } | 13784 void set x(num value) { _ptr.x = value; } |
| 13312 | 13785 |
| 13313 num get y() { return _ptr.y; } | 13786 num get y() { return _ptr.y; } |
| 13314 | 13787 |
| 13315 void set y(num value) { _ptr.y = value; } | 13788 void set y(num value) { _ptr.y = value; } |
| 13316 | |
| 13317 String get typeName() { return "Point"; } | |
| 13318 } | 13789 } |
| 13319 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 13790 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 13320 // for details. All rights reserved. Use of this source code is governed by a | 13791 // for details. All rights reserved. Use of this source code is governed by a |
| 13321 // BSD-style license that can be found in the LICENSE file. | 13792 // BSD-style license that can be found in the LICENSE file. |
| 13322 | 13793 |
| 13323 // WARNING: Do not edit - generated code. | 13794 // WARNING: Do not edit - generated code. |
| 13324 | 13795 |
| 13325 class PopStateEventWrappingImplementation extends EventWrappingImplementation im
plements PopStateEvent { | 13796 class PopStateEventWrappingImplementation extends EventWrappingImplementation im
plements PopStateEvent { |
| 13326 PopStateEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 13797 PopStateEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 13327 | 13798 |
| 13328 String get state() { return _ptr.state; } | 13799 String get state() { return _ptr.state; } |
| 13329 | 13800 |
| 13330 void initPopStateEvent(String typeArg, bool canBubbleArg, bool cancelableArg,
String stateArg) { | 13801 void initPopStateEvent(String typeArg, bool canBubbleArg, bool cancelableArg,
Object stateArg) { |
| 13331 _ptr.initPopStateEvent(typeArg, canBubbleArg, cancelableArg, stateArg); | 13802 _ptr.initPopStateEvent(typeArg, canBubbleArg, cancelableArg, LevelDom.unwrap
MaybePrimitive(stateArg)); |
| 13332 return; | 13803 return; |
| 13333 } | 13804 } |
| 13334 | |
| 13335 String get typeName() { return "PopStateEvent"; } | |
| 13336 } | 13805 } |
| 13337 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 13806 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 13338 // for details. All rights reserved. Use of this source code is governed by a | 13807 // for details. All rights reserved. Use of this source code is governed by a |
| 13339 // BSD-style license that can be found in the LICENSE file. | 13808 // BSD-style license that can be found in the LICENSE file. |
| 13340 | 13809 |
| 13341 // WARNING: Do not edit - generated code. | 13810 // WARNING: Do not edit - generated code. |
| 13342 | 13811 |
| 13343 class PositionCallbackWrappingImplementation extends DOMWrapperBase implements P
ositionCallback { | 13812 class PositionCallbackWrappingImplementation extends DOMWrapperBase implements P
ositionCallback { |
| 13344 PositionCallbackWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 13813 PositionCallbackWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 13345 | 13814 |
| 13346 bool handleEvent(Geoposition position) { | 13815 bool handleEvent(Geoposition position) { |
| 13347 return _ptr.handleEvent(LevelDom.unwrap(position)); | 13816 return _ptr.handleEvent(LevelDom.unwrap(position)); |
| 13348 } | 13817 } |
| 13349 | |
| 13350 String get typeName() { return "PositionCallback"; } | |
| 13351 } | 13818 } |
| 13352 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 13819 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 13353 // for details. All rights reserved. Use of this source code is governed by a | 13820 // for details. All rights reserved. Use of this source code is governed by a |
| 13354 // BSD-style license that can be found in the LICENSE file. | 13821 // BSD-style license that can be found in the LICENSE file. |
| 13355 | 13822 |
| 13356 // WARNING: Do not edit - generated code. | 13823 // WARNING: Do not edit - generated code. |
| 13357 | 13824 |
| 13358 class PositionErrorCallbackWrappingImplementation extends DOMWrapperBase impleme
nts PositionErrorCallback { | 13825 class PositionErrorCallbackWrappingImplementation extends DOMWrapperBase impleme
nts PositionErrorCallback { |
| 13359 PositionErrorCallbackWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 13826 PositionErrorCallbackWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 13360 | 13827 |
| 13361 bool handleEvent(PositionError error) { | 13828 bool handleEvent(PositionError error) { |
| 13362 return _ptr.handleEvent(LevelDom.unwrap(error)); | 13829 return _ptr.handleEvent(LevelDom.unwrap(error)); |
| 13363 } | 13830 } |
| 13364 | |
| 13365 String get typeName() { return "PositionErrorCallback"; } | |
| 13366 } | 13831 } |
| 13367 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 13832 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 13368 // for details. All rights reserved. Use of this source code is governed by a | 13833 // for details. All rights reserved. Use of this source code is governed by a |
| 13369 // BSD-style license that can be found in the LICENSE file. | 13834 // BSD-style license that can be found in the LICENSE file. |
| 13370 | 13835 |
| 13371 // WARNING: Do not edit - generated code. | 13836 // WARNING: Do not edit - generated code. |
| 13372 | 13837 |
| 13373 class PositionErrorWrappingImplementation extends DOMWrapperBase implements Posi
tionError { | 13838 class PositionErrorWrappingImplementation extends DOMWrapperBase implements Posi
tionError { |
| 13374 PositionErrorWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 13839 PositionErrorWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 13375 | 13840 |
| 13376 int get code() { return _ptr.code; } | 13841 int get code() { return _ptr.code; } |
| 13377 | 13842 |
| 13378 String get message() { return _ptr.message; } | 13843 String get message() { return _ptr.message; } |
| 13379 | |
| 13380 String get typeName() { return "PositionError"; } | |
| 13381 } | 13844 } |
| 13382 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 13845 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 13383 // for details. All rights reserved. Use of this source code is governed by a | 13846 // for details. All rights reserved. Use of this source code is governed by a |
| 13384 // BSD-style license that can be found in the LICENSE file. | 13847 // BSD-style license that can be found in the LICENSE file. |
| 13385 | 13848 |
| 13386 // WARNING: Do not edit - generated code. | 13849 // WARNING: Do not edit - generated code. |
| 13387 | 13850 |
| 13388 class PreElementWrappingImplementation extends ElementWrappingImplementation imp
lements PreElement { | 13851 class PreElementWrappingImplementation extends ElementWrappingImplementation imp
lements PreElement { |
| 13389 PreElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 13852 PreElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 13390 | 13853 |
| 13391 int get width() { return _ptr.width; } | 13854 int get width() { return _ptr.width; } |
| 13392 | 13855 |
| 13393 void set width(int value) { _ptr.width = value; } | 13856 void set width(int value) { _ptr.width = value; } |
| 13394 | 13857 |
| 13395 bool get wrap() { return _ptr.wrap; } | 13858 bool get wrap() { return _ptr.wrap; } |
| 13396 | 13859 |
| 13397 void set wrap(bool value) { _ptr.wrap = value; } | 13860 void set wrap(bool value) { _ptr.wrap = value; } |
| 13398 | |
| 13399 String get typeName() { return "PreElement"; } | |
| 13400 } | 13861 } |
| 13401 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 13862 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 13402 // for details. All rights reserved. Use of this source code is governed by a | 13863 // for details. All rights reserved. Use of this source code is governed by a |
| 13403 // BSD-style license that can be found in the LICENSE file. | 13864 // BSD-style license that can be found in the LICENSE file. |
| 13404 | 13865 |
| 13405 // WARNING: Do not edit - generated code. | 13866 // WARNING: Do not edit - generated code. |
| 13406 | 13867 |
| 13407 class ProcessingInstructionWrappingImplementation extends NodeWrappingImplementa
tion implements ProcessingInstruction { | 13868 class ProcessingInstructionWrappingImplementation extends NodeWrappingImplementa
tion implements ProcessingInstruction { |
| 13408 ProcessingInstructionWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 13869 ProcessingInstructionWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 13409 | 13870 |
| 13410 String get data() { return _ptr.data; } | 13871 String get data() { return _ptr.data; } |
| 13411 | 13872 |
| 13412 void set data(String value) { _ptr.data = value; } | 13873 void set data(String value) { _ptr.data = value; } |
| 13413 | 13874 |
| 13414 StyleSheet get sheet() { return LevelDom.wrapStyleSheet(_ptr.sheet); } | 13875 StyleSheet get sheet() { return LevelDom.wrapStyleSheet(_ptr.sheet); } |
| 13415 | 13876 |
| 13416 String get target() { return _ptr.target; } | 13877 String get target() { return _ptr.target; } |
| 13417 | |
| 13418 String get typeName() { return "ProcessingInstruction"; } | |
| 13419 } | 13878 } |
| 13420 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 13879 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 13421 // for details. All rights reserved. Use of this source code is governed by a | 13880 // for details. All rights reserved. Use of this source code is governed by a |
| 13422 // BSD-style license that can be found in the LICENSE file. | 13881 // BSD-style license that can be found in the LICENSE file. |
| 13423 | 13882 |
| 13424 // WARNING: Do not edit - generated code. | 13883 // WARNING: Do not edit - generated code. |
| 13425 | 13884 |
| 13426 class ProgressElementWrappingImplementation extends ElementWrappingImplementatio
n implements ProgressElement { | 13885 class ProgressElementWrappingImplementation extends ElementWrappingImplementatio
n implements ProgressElement { |
| 13427 ProgressElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 13886 ProgressElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 13428 | 13887 |
| 13429 FormElement get form() { return LevelDom.wrapFormElement(_ptr.form); } | 13888 FormElement get form() { return LevelDom.wrapFormElement(_ptr.form); } |
| 13430 | 13889 |
| 13431 ElementList get labels() { return LevelDom.wrapElementList(_ptr.labels); } | 13890 ElementList get labels() { return LevelDom.wrapElementList(_ptr.labels); } |
| 13432 | 13891 |
| 13433 num get max() { return _ptr.max; } | 13892 num get max() { return _ptr.max; } |
| 13434 | 13893 |
| 13435 void set max(num value) { _ptr.max = value; } | 13894 void set max(num value) { _ptr.max = value; } |
| 13436 | 13895 |
| 13437 num get position() { return _ptr.position; } | 13896 num get position() { return _ptr.position; } |
| 13438 | 13897 |
| 13439 num get value() { return _ptr.value; } | 13898 num get value() { return _ptr.value; } |
| 13440 | 13899 |
| 13441 void set value(num value) { _ptr.value = value; } | 13900 void set value(num value) { _ptr.value = value; } |
| 13442 | |
| 13443 String get typeName() { return "ProgressElement"; } | |
| 13444 } | 13901 } |
| 13445 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 13902 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 13446 // for details. All rights reserved. Use of this source code is governed by a | 13903 // for details. All rights reserved. Use of this source code is governed by a |
| 13447 // BSD-style license that can be found in the LICENSE file. | 13904 // BSD-style license that can be found in the LICENSE file. |
| 13448 | 13905 |
| 13449 // WARNING: Do not edit - generated code. | 13906 // WARNING: Do not edit - generated code. |
| 13450 | 13907 |
| 13451 class ProgressEventWrappingImplementation extends EventWrappingImplementation im
plements ProgressEvent { | 13908 class ProgressEventWrappingImplementation extends EventWrappingImplementation im
plements ProgressEvent { |
| 13452 ProgressEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 13909 ProgressEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 13453 | 13910 |
| 13454 bool get lengthComputable() { return _ptr.lengthComputable; } | 13911 bool get lengthComputable() { return _ptr.lengthComputable; } |
| 13455 | 13912 |
| 13456 int get loaded() { return _ptr.loaded; } | 13913 int get loaded() { return _ptr.loaded; } |
| 13457 | 13914 |
| 13458 int get total() { return _ptr.total; } | 13915 int get total() { return _ptr.total; } |
| 13459 | 13916 |
| 13460 void initProgressEvent(String typeArg, bool canBubbleArg, bool cancelableArg,
bool lengthComputableArg, int loadedArg, int totalArg) { | 13917 void initProgressEvent(String typeArg, bool canBubbleArg, bool cancelableArg,
bool lengthComputableArg, int loadedArg, int totalArg) { |
| 13461 _ptr.initProgressEvent(typeArg, canBubbleArg, cancelableArg, lengthComputabl
eArg, loadedArg, totalArg); | 13918 _ptr.initProgressEvent(typeArg, canBubbleArg, cancelableArg, lengthComputabl
eArg, loadedArg, totalArg); |
| 13462 return; | 13919 return; |
| 13463 } | 13920 } |
| 13464 | |
| 13465 String get typeName() { return "ProgressEvent"; } | |
| 13466 } | 13921 } |
| 13467 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 13922 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 13468 // for details. All rights reserved. Use of this source code is governed by a | 13923 // for details. All rights reserved. Use of this source code is governed by a |
| 13469 // BSD-style license that can be found in the LICENSE file. | 13924 // BSD-style license that can be found in the LICENSE file. |
| 13470 | 13925 |
| 13471 // WARNING: Do not edit - generated code. | 13926 // WARNING: Do not edit - generated code. |
| 13472 | 13927 |
| 13473 class QuoteElementWrappingImplementation extends ElementWrappingImplementation i
mplements QuoteElement { | 13928 class QuoteElementWrappingImplementation extends ElementWrappingImplementation i
mplements QuoteElement { |
| 13474 QuoteElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 13929 QuoteElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 13475 | 13930 |
| 13476 String get cite() { return _ptr.cite; } | 13931 String get cite() { return _ptr.cite; } |
| 13477 | 13932 |
| 13478 void set cite(String value) { _ptr.cite = value; } | 13933 void set cite(String value) { _ptr.cite = value; } |
| 13479 | |
| 13480 String get typeName() { return "QuoteElement"; } | |
| 13481 } | 13934 } |
| 13482 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 13935 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 13483 // for details. All rights reserved. Use of this source code is governed by a | 13936 // for details. All rights reserved. Use of this source code is governed by a |
| 13484 // BSD-style license that can be found in the LICENSE file. | 13937 // BSD-style license that can be found in the LICENSE file. |
| 13485 | 13938 |
| 13486 // WARNING: Do not edit - generated code. | 13939 // WARNING: Do not edit - generated code. |
| 13487 | 13940 |
| 13488 class RGBColorWrappingImplementation extends DOMWrapperBase implements RGBColor
{ | 13941 class RGBColorWrappingImplementation extends DOMWrapperBase implements RGBColor
{ |
| 13489 RGBColorWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 13942 RGBColorWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 13490 | 13943 |
| 13491 CSSPrimitiveValue get alpha() { return LevelDom.wrapCSSPrimitiveValue(_ptr.alp
ha); } | 13944 CSSPrimitiveValue get alpha() { return LevelDom.wrapCSSPrimitiveValue(_ptr.alp
ha); } |
| 13492 | 13945 |
| 13493 CSSPrimitiveValue get blue() { return LevelDom.wrapCSSPrimitiveValue(_ptr.blue
); } | 13946 CSSPrimitiveValue get blue() { return LevelDom.wrapCSSPrimitiveValue(_ptr.blue
); } |
| 13494 | 13947 |
| 13495 CSSPrimitiveValue get green() { return LevelDom.wrapCSSPrimitiveValue(_ptr.gre
en); } | 13948 CSSPrimitiveValue get green() { return LevelDom.wrapCSSPrimitiveValue(_ptr.gre
en); } |
| 13496 | 13949 |
| 13497 CSSPrimitiveValue get red() { return LevelDom.wrapCSSPrimitiveValue(_ptr.red);
} | 13950 CSSPrimitiveValue get red() { return LevelDom.wrapCSSPrimitiveValue(_ptr.red);
} |
| 13498 | |
| 13499 String get typeName() { return "RGBColor"; } | |
| 13500 } | 13951 } |
| 13501 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 13952 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 13502 // for details. All rights reserved. Use of this source code is governed by a | 13953 // for details. All rights reserved. Use of this source code is governed by a |
| 13503 // BSD-style license that can be found in the LICENSE file. | 13954 // BSD-style license that can be found in the LICENSE file. |
| 13504 | 13955 |
| 13505 // WARNING: Do not edit - generated code. | 13956 // WARNING: Do not edit - generated code. |
| 13506 | 13957 |
| 13507 class RangeExceptionWrappingImplementation extends DOMWrapperBase implements Ran
geException { | 13958 class RangeExceptionWrappingImplementation extends DOMWrapperBase implements Ran
geException { |
| 13508 RangeExceptionWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 13959 RangeExceptionWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 13509 | 13960 |
| 13510 int get code() { return _ptr.code; } | 13961 int get code() { return _ptr.code; } |
| 13511 | 13962 |
| 13512 String get message() { return _ptr.message; } | 13963 String get message() { return _ptr.message; } |
| 13513 | 13964 |
| 13514 String get name() { return _ptr.name; } | 13965 String get name() { return _ptr.name; } |
| 13515 | |
| 13516 String get typeName() { return "RangeException"; } | |
| 13517 } | 13966 } |
| 13518 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 13967 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 13519 // for details. All rights reserved. Use of this source code is governed by a | 13968 // for details. All rights reserved. Use of this source code is governed by a |
| 13520 // BSD-style license that can be found in the LICENSE file. | 13969 // BSD-style license that can be found in the LICENSE file. |
| 13521 | 13970 |
| 13522 // WARNING: Do not edit - generated code. | 13971 // WARNING: Do not edit - generated code. |
| 13523 | 13972 |
| 13524 class RangeWrappingImplementation extends DOMWrapperBase implements Range { | 13973 class RangeWrappingImplementation extends DOMWrapperBase implements Range { |
| 13525 RangeWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 13974 RangeWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 13526 | 13975 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 13544 | 13993 |
| 13545 Range cloneRange() { | 13994 Range cloneRange() { |
| 13546 return LevelDom.wrapRange(_ptr.cloneRange()); | 13995 return LevelDom.wrapRange(_ptr.cloneRange()); |
| 13547 } | 13996 } |
| 13548 | 13997 |
| 13549 void collapse(bool toStart) { | 13998 void collapse(bool toStart) { |
| 13550 _ptr.collapse(toStart); | 13999 _ptr.collapse(toStart); |
| 13551 return; | 14000 return; |
| 13552 } | 14001 } |
| 13553 | 14002 |
| 13554 int compareBoundaryPoints() { | |
| 13555 return _ptr.compareBoundaryPoints(); | |
| 13556 } | |
| 13557 | |
| 13558 int compareNode(Node refNode) { | 14003 int compareNode(Node refNode) { |
| 13559 return _ptr.compareNode(LevelDom.unwrap(refNode)); | 14004 return _ptr.compareNode(LevelDom.unwrap(refNode)); |
| 13560 } | 14005 } |
| 13561 | 14006 |
| 13562 int comparePoint(Node refNode, int offset) { | 14007 int comparePoint(Node refNode, int offset) { |
| 13563 return _ptr.comparePoint(LevelDom.unwrap(refNode), offset); | 14008 return _ptr.comparePoint(LevelDom.unwrap(refNode), offset); |
| 13564 } | 14009 } |
| 13565 | 14010 |
| 13566 DocumentFragment createContextualFragment(String html) { | 14011 DocumentFragment createContextualFragment(String html) { |
| 13567 return LevelDom.wrapDocumentFragment(_ptr.createContextualFragment(html)); | 14012 return LevelDom.wrapDocumentFragment(_ptr.createContextualFragment(html)); |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13640 } | 14085 } |
| 13641 | 14086 |
| 13642 void surroundContents(Node newParent) { | 14087 void surroundContents(Node newParent) { |
| 13643 _ptr.surroundContents(LevelDom.unwrap(newParent)); | 14088 _ptr.surroundContents(LevelDom.unwrap(newParent)); |
| 13644 return; | 14089 return; |
| 13645 } | 14090 } |
| 13646 | 14091 |
| 13647 String toString() { | 14092 String toString() { |
| 13648 return _ptr.toString(); | 14093 return _ptr.toString(); |
| 13649 } | 14094 } |
| 13650 | |
| 13651 String get typeName() { return "Range"; } | |
| 13652 } | 14095 } |
| 13653 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 14096 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 13654 // for details. All rights reserved. Use of this source code is governed by a | 14097 // for details. All rights reserved. Use of this source code is governed by a |
| 13655 // BSD-style license that can be found in the LICENSE file. | 14098 // BSD-style license that can be found in the LICENSE file. |
| 13656 | 14099 |
| 13657 // WARNING: Do not edit - generated code. | 14100 // WARNING: Do not edit - generated code. |
| 13658 | 14101 |
| 13659 class RectWrappingImplementation extends DOMWrapperBase implements Rect { | 14102 class RectWrappingImplementation extends DOMWrapperBase implements Rect { |
| 13660 RectWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 14103 RectWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 13661 | 14104 |
| 13662 CSSPrimitiveValue get bottom() { return LevelDom.wrapCSSPrimitiveValue(_ptr.bo
ttom); } | 14105 CSSPrimitiveValue get bottom() { return LevelDom.wrapCSSPrimitiveValue(_ptr.bo
ttom); } |
| 13663 | 14106 |
| 13664 CSSPrimitiveValue get left() { return LevelDom.wrapCSSPrimitiveValue(_ptr.left
); } | 14107 CSSPrimitiveValue get left() { return LevelDom.wrapCSSPrimitiveValue(_ptr.left
); } |
| 13665 | 14108 |
| 13666 CSSPrimitiveValue get right() { return LevelDom.wrapCSSPrimitiveValue(_ptr.rig
ht); } | 14109 CSSPrimitiveValue get right() { return LevelDom.wrapCSSPrimitiveValue(_ptr.rig
ht); } |
| 13667 | 14110 |
| 13668 CSSPrimitiveValue get top() { return LevelDom.wrapCSSPrimitiveValue(_ptr.top);
} | 14111 CSSPrimitiveValue get top() { return LevelDom.wrapCSSPrimitiveValue(_ptr.top);
} |
| 13669 | |
| 13670 String get typeName() { return "Rect"; } | |
| 13671 } | 14112 } |
| 13672 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 14113 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 13673 // for details. All rights reserved. Use of this source code is governed by a | 14114 // for details. All rights reserved. Use of this source code is governed by a |
| 13674 // BSD-style license that can be found in the LICENSE file. | 14115 // BSD-style license that can be found in the LICENSE file. |
| 13675 | 14116 |
| 13676 // WARNING: Do not edit - generated code. | 14117 // WARNING: Do not edit - generated code. |
| 13677 | 14118 |
| 13678 class ScreenWrappingImplementation extends DOMWrapperBase implements Screen { | 14119 class ScreenWrappingImplementation extends DOMWrapperBase implements Screen { |
| 13679 ScreenWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 14120 ScreenWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 13680 | 14121 |
| 13681 int get availHeight() { return _ptr.availHeight; } | 14122 int get availHeight() { return _ptr.availHeight; } |
| 13682 | 14123 |
| 13683 int get availLeft() { return _ptr.availLeft; } | 14124 int get availLeft() { return _ptr.availLeft; } |
| 13684 | 14125 |
| 13685 int get availTop() { return _ptr.availTop; } | 14126 int get availTop() { return _ptr.availTop; } |
| 13686 | 14127 |
| 13687 int get availWidth() { return _ptr.availWidth; } | 14128 int get availWidth() { return _ptr.availWidth; } |
| 13688 | 14129 |
| 13689 int get colorDepth() { return _ptr.colorDepth; } | 14130 int get colorDepth() { return _ptr.colorDepth; } |
| 13690 | 14131 |
| 13691 int get height() { return _ptr.height; } | 14132 int get height() { return _ptr.height; } |
| 13692 | 14133 |
| 13693 int get pixelDepth() { return _ptr.pixelDepth; } | 14134 int get pixelDepth() { return _ptr.pixelDepth; } |
| 13694 | 14135 |
| 13695 int get width() { return _ptr.width; } | 14136 int get width() { return _ptr.width; } |
| 13696 | |
| 13697 String get typeName() { return "Screen"; } | |
| 13698 } | 14137 } |
| 13699 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 14138 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 13700 // for details. All rights reserved. Use of this source code is governed by a | 14139 // for details. All rights reserved. Use of this source code is governed by a |
| 13701 // BSD-style license that can be found in the LICENSE file. | 14140 // BSD-style license that can be found in the LICENSE file. |
| 13702 | 14141 |
| 13703 // WARNING: Do not edit - generated code. | 14142 // WARNING: Do not edit - generated code. |
| 13704 | 14143 |
| 13705 class ScriptElementWrappingImplementation extends ElementWrappingImplementation
implements ScriptElement { | 14144 class ScriptElementWrappingImplementation extends ElementWrappingImplementation
implements ScriptElement { |
| 13706 ScriptElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 14145 ScriptElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 13707 | 14146 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 13729 | 14168 |
| 13730 void set src(String value) { _ptr.src = value; } | 14169 void set src(String value) { _ptr.src = value; } |
| 13731 | 14170 |
| 13732 String get text() { return _ptr.text; } | 14171 String get text() { return _ptr.text; } |
| 13733 | 14172 |
| 13734 void set text(String value) { _ptr.text = value; } | 14173 void set text(String value) { _ptr.text = value; } |
| 13735 | 14174 |
| 13736 String get type() { return _ptr.type; } | 14175 String get type() { return _ptr.type; } |
| 13737 | 14176 |
| 13738 void set type(String value) { _ptr.type = value; } | 14177 void set type(String value) { _ptr.type = value; } |
| 13739 | |
| 13740 String get typeName() { return "ScriptElement"; } | |
| 13741 } | 14178 } |
| 13742 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 14179 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 13743 // for details. All rights reserved. Use of this source code is governed by a | 14180 // for details. All rights reserved. Use of this source code is governed by a |
| 13744 // BSD-style license that can be found in the LICENSE file. | 14181 // BSD-style license that can be found in the LICENSE file. |
| 13745 | 14182 |
| 13746 // WARNING: Do not edit - generated code. | 14183 // WARNING: Do not edit - generated code. |
| 13747 | 14184 |
| 13748 class SelectElementWrappingImplementation extends ElementWrappingImplementation
implements SelectElement { | 14185 class SelectElementWrappingImplementation extends ElementWrappingImplementation
implements SelectElement { |
| 13749 SelectElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 14186 SelectElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 13750 | 14187 |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13812 } | 14249 } |
| 13813 | 14250 |
| 13814 Node namedItem(String name) { | 14251 Node namedItem(String name) { |
| 13815 return LevelDom.wrapNode(_ptr.namedItem(name)); | 14252 return LevelDom.wrapNode(_ptr.namedItem(name)); |
| 13816 } | 14253 } |
| 13817 | 14254 |
| 13818 void setCustomValidity(String error) { | 14255 void setCustomValidity(String error) { |
| 13819 _ptr.setCustomValidity(error); | 14256 _ptr.setCustomValidity(error); |
| 13820 return; | 14257 return; |
| 13821 } | 14258 } |
| 13822 | |
| 13823 String get typeName() { return "SelectElement"; } | |
| 13824 } | 14259 } |
| 13825 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 14260 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 13826 // for details. All rights reserved. Use of this source code is governed by a | 14261 // for details. All rights reserved. Use of this source code is governed by a |
| 13827 // BSD-style license that can be found in the LICENSE file. | 14262 // BSD-style license that can be found in the LICENSE file. |
| 13828 | 14263 |
| 13829 // WARNING: Do not edit - generated code. | 14264 // WARNING: Do not edit - generated code. |
| 13830 | 14265 |
| 13831 class SourceElementWrappingImplementation extends ElementWrappingImplementation
implements SourceElement { | 14266 class SourceElementWrappingImplementation extends ElementWrappingImplementation
implements SourceElement { |
| 13832 SourceElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 14267 SourceElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 13833 | 14268 |
| 13834 String get media() { return _ptr.media; } | 14269 String get media() { return _ptr.media; } |
| 13835 | 14270 |
| 13836 void set media(String value) { _ptr.media = value; } | 14271 void set media(String value) { _ptr.media = value; } |
| 13837 | 14272 |
| 13838 String get src() { return _ptr.src; } | 14273 String get src() { return _ptr.src; } |
| 13839 | 14274 |
| 13840 void set src(String value) { _ptr.src = value; } | 14275 void set src(String value) { _ptr.src = value; } |
| 13841 | 14276 |
| 13842 String get type() { return _ptr.type; } | 14277 String get type() { return _ptr.type; } |
| 13843 | 14278 |
| 13844 void set type(String value) { _ptr.type = value; } | 14279 void set type(String value) { _ptr.type = value; } |
| 13845 | |
| 13846 String get typeName() { return "SourceElement"; } | |
| 13847 } | 14280 } |
| 13848 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 14281 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 13849 // for details. All rights reserved. Use of this source code is governed by a | 14282 // for details. All rights reserved. Use of this source code is governed by a |
| 14283 // BSD-style license that can be found in the LICENSE file. |
| 14284 |
| 14285 // WARNING: Do not edit - generated code. |
| 14286 |
| 14287 class SpanElementWrappingImplementation extends ElementWrappingImplementation im
plements SpanElement { |
| 14288 SpanElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 14289 } |
| 14290 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 14291 // for details. All rights reserved. Use of this source code is governed by a |
| 13850 // BSD-style license that can be found in the LICENSE file. | 14292 // BSD-style license that can be found in the LICENSE file. |
| 13851 | 14293 |
| 13852 // WARNING: Do not edit - generated code. | 14294 // WARNING: Do not edit - generated code. |
| 13853 | 14295 |
| 13854 class SpeechInputEventWrappingImplementation extends EventWrappingImplementation
implements SpeechInputEvent { | 14296 class SpeechInputEventWrappingImplementation extends EventWrappingImplementation
implements SpeechInputEvent { |
| 13855 SpeechInputEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 14297 SpeechInputEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 13856 | 14298 |
| 13857 SpeechInputResultList get results() { return LevelDom.wrapSpeechInputResultLis
t(_ptr.results); } | 14299 SpeechInputResultList get results() { return LevelDom.wrapSpeechInputResultLis
t(_ptr.results); } |
| 13858 | |
| 13859 String get typeName() { return "SpeechInputEvent"; } | |
| 13860 } | 14300 } |
| 13861 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 14301 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 13862 // for details. All rights reserved. Use of this source code is governed by a | 14302 // for details. All rights reserved. Use of this source code is governed by a |
| 13863 // BSD-style license that can be found in the LICENSE file. | 14303 // BSD-style license that can be found in the LICENSE file. |
| 13864 | 14304 |
| 13865 // WARNING: Do not edit - generated code. | 14305 // WARNING: Do not edit - generated code. |
| 13866 | 14306 |
| 13867 class SpeechInputResultListWrappingImplementation extends DOMWrapperBase impleme
nts SpeechInputResultList { | 14307 class SpeechInputResultListWrappingImplementation extends DOMWrapperBase impleme
nts SpeechInputResultList { |
| 13868 SpeechInputResultListWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 14308 SpeechInputResultListWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 13869 | 14309 |
| 13870 int get length() { return _ptr.length; } | 14310 int get length() { return _ptr.length; } |
| 13871 | 14311 |
| 13872 SpeechInputResult item(int index) { | 14312 SpeechInputResult item(int index) { |
| 13873 return LevelDom.wrapSpeechInputResult(_ptr.item(index)); | 14313 return LevelDom.wrapSpeechInputResult(_ptr.item(index)); |
| 13874 } | 14314 } |
| 13875 | |
| 13876 String get typeName() { return "SpeechInputResultList"; } | |
| 13877 } | 14315 } |
| 13878 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 14316 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 13879 // for details. All rights reserved. Use of this source code is governed by a | 14317 // for details. All rights reserved. Use of this source code is governed by a |
| 13880 // BSD-style license that can be found in the LICENSE file. | 14318 // BSD-style license that can be found in the LICENSE file. |
| 13881 | 14319 |
| 13882 // WARNING: Do not edit - generated code. | 14320 // WARNING: Do not edit - generated code. |
| 13883 | 14321 |
| 13884 class SpeechInputResultWrappingImplementation extends DOMWrapperBase implements
SpeechInputResult { | 14322 class SpeechInputResultWrappingImplementation extends DOMWrapperBase implements
SpeechInputResult { |
| 13885 SpeechInputResultWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 14323 SpeechInputResultWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 13886 | 14324 |
| 13887 num get confidence() { return _ptr.confidence; } | 14325 num get confidence() { return _ptr.confidence; } |
| 13888 | 14326 |
| 13889 String get utterance() { return _ptr.utterance; } | 14327 String get utterance() { return _ptr.utterance; } |
| 13890 | |
| 13891 String get typeName() { return "SpeechInputResult"; } | |
| 13892 } | 14328 } |
| 13893 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 14329 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 13894 // for details. All rights reserved. Use of this source code is governed by a | 14330 // for details. All rights reserved. Use of this source code is governed by a |
| 13895 // BSD-style license that can be found in the LICENSE file. | 14331 // BSD-style license that can be found in the LICENSE file. |
| 13896 | 14332 |
| 13897 // WARNING: Do not edit - generated code. | 14333 // WARNING: Do not edit - generated code. |
| 13898 | 14334 |
| 13899 class StorageEventWrappingImplementation extends EventWrappingImplementation imp
lements StorageEvent { | 14335 class StorageEventWrappingImplementation extends EventWrappingImplementation imp
lements StorageEvent { |
| 13900 StorageEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 14336 StorageEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 13901 | 14337 |
| 13902 String get key() { return _ptr.key; } | 14338 String get key() { return _ptr.key; } |
| 13903 | 14339 |
| 13904 String get newValue() { return _ptr.newValue; } | 14340 String get newValue() { return _ptr.newValue; } |
| 13905 | 14341 |
| 13906 String get oldValue() { return _ptr.oldValue; } | 14342 String get oldValue() { return _ptr.oldValue; } |
| 13907 | 14343 |
| 13908 Storage get storageArea() { return LevelDom.wrapStorage(_ptr.storageArea); } | 14344 Storage get storageArea() { return LevelDom.wrapStorage(_ptr.storageArea); } |
| 13909 | 14345 |
| 13910 String get url() { return _ptr.url; } | 14346 String get url() { return _ptr.url; } |
| 13911 | 14347 |
| 13912 void initStorageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, S
tring keyArg, String oldValueArg, String newValueArg, String urlArg, Storage sto
rageAreaArg) { | 14348 void initStorageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, S
tring keyArg, String oldValueArg, String newValueArg, String urlArg, Storage sto
rageAreaArg) { |
| 13913 _ptr.initStorageEvent(typeArg, canBubbleArg, cancelableArg, keyArg, oldValue
Arg, newValueArg, urlArg, LevelDom.unwrap(storageAreaArg)); | 14349 _ptr.initStorageEvent(typeArg, canBubbleArg, cancelableArg, keyArg, oldValue
Arg, newValueArg, urlArg, LevelDom.unwrap(storageAreaArg)); |
| 13914 return; | 14350 return; |
| 13915 } | 14351 } |
| 13916 | |
| 13917 String get typeName() { return "StorageEvent"; } | |
| 13918 } | 14352 } |
| 13919 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 14353 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 13920 // for details. All rights reserved. Use of this source code is governed by a | 14354 // for details. All rights reserved. Use of this source code is governed by a |
| 13921 // BSD-style license that can be found in the LICENSE file. | 14355 // BSD-style license that can be found in the LICENSE file. |
| 13922 | 14356 |
| 13923 // WARNING: Do not edit - generated code. | 14357 // WARNING: Do not edit - generated code. |
| 13924 | 14358 |
| 13925 class StorageInfoErrorCallbackWrappingImplementation extends DOMWrapperBase impl
ements StorageInfoErrorCallback { | 14359 class StorageInfoErrorCallbackWrappingImplementation extends DOMWrapperBase impl
ements StorageInfoErrorCallback { |
| 13926 StorageInfoErrorCallbackWrappingImplementation._wrap(ptr) : super._wrap(ptr) {
} | 14360 StorageInfoErrorCallbackWrappingImplementation._wrap(ptr) : super._wrap(ptr) {
} |
| 13927 | 14361 |
| 13928 bool handleEvent(DOMException error) { | 14362 bool handleEvent(DOMException error) { |
| 13929 return _ptr.handleEvent(LevelDom.unwrap(error)); | 14363 return _ptr.handleEvent(LevelDom.unwrap(error)); |
| 13930 } | 14364 } |
| 13931 | |
| 13932 String get typeName() { return "StorageInfoErrorCallback"; } | |
| 13933 } | 14365 } |
| 13934 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 14366 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 13935 // for details. All rights reserved. Use of this source code is governed by a | 14367 // for details. All rights reserved. Use of this source code is governed by a |
| 13936 // BSD-style license that can be found in the LICENSE file. | 14368 // BSD-style license that can be found in the LICENSE file. |
| 13937 | 14369 |
| 13938 // WARNING: Do not edit - generated code. | 14370 // WARNING: Do not edit - generated code. |
| 13939 | 14371 |
| 13940 class StorageInfoQuotaCallbackWrappingImplementation extends DOMWrapperBase impl
ements StorageInfoQuotaCallback { | 14372 class StorageInfoQuotaCallbackWrappingImplementation extends DOMWrapperBase impl
ements StorageInfoQuotaCallback { |
| 13941 StorageInfoQuotaCallbackWrappingImplementation._wrap(ptr) : super._wrap(ptr) {
} | 14373 StorageInfoQuotaCallbackWrappingImplementation._wrap(ptr) : super._wrap(ptr) {
} |
| 13942 | 14374 |
| 13943 bool handleEvent(int grantedQuotaInBytes) { | 14375 bool handleEvent(int grantedQuotaInBytes) { |
| 13944 return _ptr.handleEvent(grantedQuotaInBytes); | 14376 return _ptr.handleEvent(grantedQuotaInBytes); |
| 13945 } | 14377 } |
| 13946 | |
| 13947 String get typeName() { return "StorageInfoQuotaCallback"; } | |
| 13948 } | 14378 } |
| 13949 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 14379 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 13950 // for details. All rights reserved. Use of this source code is governed by a | 14380 // for details. All rights reserved. Use of this source code is governed by a |
| 13951 // BSD-style license that can be found in the LICENSE file. | 14381 // BSD-style license that can be found in the LICENSE file. |
| 13952 | 14382 |
| 13953 // WARNING: Do not edit - generated code. | 14383 // WARNING: Do not edit - generated code. |
| 13954 | 14384 |
| 13955 class StorageInfoUsageCallbackWrappingImplementation extends DOMWrapperBase impl
ements StorageInfoUsageCallback { | 14385 class StorageInfoUsageCallbackWrappingImplementation extends DOMWrapperBase impl
ements StorageInfoUsageCallback { |
| 13956 StorageInfoUsageCallbackWrappingImplementation._wrap(ptr) : super._wrap(ptr) {
} | 14386 StorageInfoUsageCallbackWrappingImplementation._wrap(ptr) : super._wrap(ptr) {
} |
| 13957 | 14387 |
| 13958 bool handleEvent(int currentUsageInBytes, int currentQuotaInBytes) { | 14388 bool handleEvent(int currentUsageInBytes, int currentQuotaInBytes) { |
| 13959 return _ptr.handleEvent(currentUsageInBytes, currentQuotaInBytes); | 14389 return _ptr.handleEvent(currentUsageInBytes, currentQuotaInBytes); |
| 13960 } | 14390 } |
| 13961 | |
| 13962 String get typeName() { return "StorageInfoUsageCallback"; } | |
| 13963 } | 14391 } |
| 13964 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 14392 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 13965 // for details. All rights reserved. Use of this source code is governed by a | 14393 // for details. All rights reserved. Use of this source code is governed by a |
| 13966 // BSD-style license that can be found in the LICENSE file. | 14394 // BSD-style license that can be found in the LICENSE file. |
| 13967 | 14395 |
| 13968 // WARNING: Do not edit - generated code. | 14396 // WARNING: Do not edit - generated code. |
| 13969 | 14397 |
| 13970 class StorageInfoWrappingImplementation extends DOMWrapperBase implements Storag
eInfo { | 14398 class StorageInfoWrappingImplementation extends DOMWrapperBase implements Storag
eInfo { |
| 13971 StorageInfoWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 14399 StorageInfoWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 13972 | 14400 |
| 13973 void queryUsageAndQuota(int storageType, StorageInfoUsageCallback usageCallbac
k, StorageInfoErrorCallback errorCallback) { | 14401 void queryUsageAndQuota(int storageType, [StorageInfoUsageCallback usageCallba
ck = null, StorageInfoErrorCallback errorCallback = null]) { |
| 13974 _ptr.queryUsageAndQuota(storageType, LevelDom.unwrap(usageCallback), LevelDo
m.unwrap(errorCallback)); | 14402 if (usageCallback === null) { |
| 13975 return; | 14403 if (errorCallback === null) { |
| 14404 _ptr.queryUsageAndQuota(storageType); |
| 14405 return; |
| 14406 } |
| 14407 } else { |
| 14408 if (errorCallback === null) { |
| 14409 _ptr.queryUsageAndQuota(storageType, LevelDom.unwrap(usageCallback)); |
| 14410 return; |
| 14411 } else { |
| 14412 _ptr.queryUsageAndQuota(storageType, LevelDom.unwrap(usageCallback), Lev
elDom.unwrap(errorCallback)); |
| 14413 return; |
| 14414 } |
| 14415 } |
| 14416 throw "Incorrect number or type of arguments"; |
| 13976 } | 14417 } |
| 13977 | 14418 |
| 13978 void requestQuota(int storageType, int newQuotaInBytes, StorageInfoQuotaCallba
ck quotaCallback, StorageInfoErrorCallback errorCallback) { | 14419 void requestQuota(int storageType, int newQuotaInBytes, [StorageInfoQuotaCallb
ack quotaCallback = null, StorageInfoErrorCallback errorCallback = null]) { |
| 13979 _ptr.requestQuota(storageType, newQuotaInBytes, LevelDom.unwrap(quotaCallbac
k), LevelDom.unwrap(errorCallback)); | 14420 if (quotaCallback === null) { |
| 13980 return; | 14421 if (errorCallback === null) { |
| 14422 _ptr.requestQuota(storageType, newQuotaInBytes); |
| 14423 return; |
| 14424 } |
| 14425 } else { |
| 14426 if (errorCallback === null) { |
| 14427 _ptr.requestQuota(storageType, newQuotaInBytes, LevelDom.unwrap(quotaCal
lback)); |
| 14428 return; |
| 14429 } else { |
| 14430 _ptr.requestQuota(storageType, newQuotaInBytes, LevelDom.unwrap(quotaCal
lback), LevelDom.unwrap(errorCallback)); |
| 14431 return; |
| 14432 } |
| 14433 } |
| 14434 throw "Incorrect number or type of arguments"; |
| 13981 } | 14435 } |
| 13982 | |
| 13983 String get typeName() { return "StorageInfo"; } | |
| 13984 } | 14436 } |
| 13985 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 14437 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 13986 // for details. All rights reserved. Use of this source code is governed by a | 14438 // for details. All rights reserved. Use of this source code is governed by a |
| 13987 // BSD-style license that can be found in the LICENSE file. | 14439 // BSD-style license that can be found in the LICENSE file. |
| 13988 | 14440 |
| 13989 // WARNING: Do not edit - generated code. | 14441 // WARNING: Do not edit - generated code. |
| 13990 | 14442 |
| 13991 class StorageWrappingImplementation extends DOMWrapperBase implements Storage { | 14443 class StorageWrappingImplementation extends DOMWrapperBase implements Storage { |
| 13992 StorageWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 14444 StorageWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 13993 | 14445 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 14008 | 14460 |
| 14009 void removeItem(String key) { | 14461 void removeItem(String key) { |
| 14010 _ptr.removeItem(key); | 14462 _ptr.removeItem(key); |
| 14011 return; | 14463 return; |
| 14012 } | 14464 } |
| 14013 | 14465 |
| 14014 void setItem(String key, String data) { | 14466 void setItem(String key, String data) { |
| 14015 _ptr.setItem(key, data); | 14467 _ptr.setItem(key, data); |
| 14016 return; | 14468 return; |
| 14017 } | 14469 } |
| 14018 | |
| 14019 String get typeName() { return "Storage"; } | |
| 14020 } | 14470 } |
| 14021 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 14471 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 14022 // for details. All rights reserved. Use of this source code is governed by a | 14472 // for details. All rights reserved. Use of this source code is governed by a |
| 14023 // BSD-style license that can be found in the LICENSE file. | 14473 // BSD-style license that can be found in the LICENSE file. |
| 14024 | 14474 |
| 14025 // WARNING: Do not edit - generated code. | 14475 // WARNING: Do not edit - generated code. |
| 14026 | 14476 |
| 14027 class StringCallbackWrappingImplementation extends DOMWrapperBase implements Str
ingCallback { | 14477 class StringCallbackWrappingImplementation extends DOMWrapperBase implements Str
ingCallback { |
| 14028 StringCallbackWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 14478 StringCallbackWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 14029 | 14479 |
| 14030 bool handleEvent(String data) { | 14480 bool handleEvent(String data) { |
| 14031 return _ptr.handleEvent(data); | 14481 return _ptr.handleEvent(data); |
| 14032 } | 14482 } |
| 14033 | |
| 14034 String get typeName() { return "StringCallback"; } | |
| 14035 } | 14483 } |
| 14036 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 14484 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 14037 // for details. All rights reserved. Use of this source code is governed by a | 14485 // for details. All rights reserved. Use of this source code is governed by a |
| 14038 // BSD-style license that can be found in the LICENSE file. | 14486 // BSD-style license that can be found in the LICENSE file. |
| 14039 | 14487 |
| 14040 // WARNING: Do not edit - generated code. | 14488 // WARNING: Do not edit - generated code. |
| 14041 | 14489 |
| 14042 class StyleElementWrappingImplementation extends ElementWrappingImplementation i
mplements StyleElement { | 14490 class StyleElementWrappingImplementation extends ElementWrappingImplementation i
mplements StyleElement { |
| 14043 StyleElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 14491 StyleElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 14044 | 14492 |
| 14045 bool get disabled() { return _ptr.disabled; } | 14493 bool get disabled() { return _ptr.disabled; } |
| 14046 | 14494 |
| 14047 void set disabled(bool value) { _ptr.disabled = value; } | 14495 void set disabled(bool value) { _ptr.disabled = value; } |
| 14048 | 14496 |
| 14049 String get media() { return _ptr.media; } | 14497 String get media() { return _ptr.media; } |
| 14050 | 14498 |
| 14051 void set media(String value) { _ptr.media = value; } | 14499 void set media(String value) { _ptr.media = value; } |
| 14052 | 14500 |
| 14053 StyleSheet get sheet() { return LevelDom.wrapStyleSheet(_ptr.sheet); } | 14501 StyleSheet get sheet() { return LevelDom.wrapStyleSheet(_ptr.sheet); } |
| 14054 | 14502 |
| 14055 String get type() { return _ptr.type; } | 14503 String get type() { return _ptr.type; } |
| 14056 | 14504 |
| 14057 void set type(String value) { _ptr.type = value; } | 14505 void set type(String value) { _ptr.type = value; } |
| 14058 | |
| 14059 String get typeName() { return "StyleElement"; } | |
| 14060 } | 14506 } |
| 14061 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 14507 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 14062 // for details. All rights reserved. Use of this source code is governed by a | 14508 // for details. All rights reserved. Use of this source code is governed by a |
| 14063 // BSD-style license that can be found in the LICENSE file. | 14509 // BSD-style license that can be found in the LICENSE file. |
| 14064 | 14510 |
| 14065 // WARNING: Do not edit - generated code. | 14511 // WARNING: Do not edit - generated code. |
| 14066 | 14512 |
| 14067 class StyleMediaWrappingImplementation extends DOMWrapperBase implements StyleMe
dia { | 14513 class StyleMediaWrappingImplementation extends DOMWrapperBase implements StyleMe
dia { |
| 14068 StyleMediaWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 14514 StyleMediaWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 14069 | 14515 |
| 14070 String get type() { return _ptr.type; } | 14516 String get type() { return _ptr.type; } |
| 14071 | 14517 |
| 14072 bool matchMedium(String mediaquery) { | 14518 bool matchMedium(String mediaquery) { |
| 14073 return _ptr.matchMedium(mediaquery); | 14519 return _ptr.matchMedium(mediaquery); |
| 14074 } | 14520 } |
| 14075 | |
| 14076 String get typeName() { return "StyleMedia"; } | |
| 14077 } | 14521 } |
| 14078 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 14522 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 14079 // for details. All rights reserved. Use of this source code is governed by a | 14523 // for details. All rights reserved. Use of this source code is governed by a |
| 14080 // BSD-style license that can be found in the LICENSE file. | 14524 // BSD-style license that can be found in the LICENSE file. |
| 14081 | 14525 |
| 14082 // WARNING: Do not edit - generated code. | 14526 // WARNING: Do not edit - generated code. |
| 14083 | 14527 |
| 14084 class StyleSheetListWrappingImplementation extends DOMWrapperBase implements Sty
leSheetList { | 14528 class StyleSheetListWrappingImplementation extends DOMWrapperBase implements Sty
leSheetList { |
| 14085 StyleSheetListWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 14529 StyleSheetListWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 14086 | 14530 |
| 14087 int get length() { return _ptr.length; } | 14531 int get length() { return _ptr.length; } |
| 14088 | 14532 |
| 14089 StyleSheet operator[](int index) { | 14533 StyleSheet operator[](int index) { |
| 14090 return item(index); | 14534 return item(index); |
| 14091 } | 14535 } |
| 14092 | 14536 |
| 14093 void operator[]=(int index, StyleSheet value) { | 14537 void operator[]=(int index, StyleSheet value) { |
| 14094 throw new UnsupportedOperationException("Cannot assign element of immutable
Array."); | 14538 throw new UnsupportedOperationException("Cannot assign element of immutable
List."); |
| 14095 } | 14539 } |
| 14096 | 14540 |
| 14097 void add(StyleSheet value) { | 14541 void add(StyleSheet value) { |
| 14098 throw new UnsupportedOperationException("Cannot add to immutable Array."); | 14542 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 14099 } | 14543 } |
| 14100 | 14544 |
| 14101 void addLast(StyleSheet value) { | 14545 void addLast(StyleSheet value) { |
| 14102 throw new UnsupportedOperationException("Cannot add to immutable Array."); | 14546 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 14103 } | 14547 } |
| 14104 | 14548 |
| 14105 void addAll(Collection<StyleSheet> collection) { | 14549 void addAll(Collection<StyleSheet> collection) { |
| 14106 throw new UnsupportedOperationException("Cannot add to immutable Array."); | 14550 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 14107 } | 14551 } |
| 14108 | 14552 |
| 14109 void sort(int compare(StyleSheet a, StyleSheet b)) { | 14553 void sort(int compare(StyleSheet a, StyleSheet b)) { |
| 14110 throw new UnsupportedOperationException("Cannot sort immutable Array."); | 14554 throw new UnsupportedOperationException("Cannot sort immutable List."); |
| 14111 } | 14555 } |
| 14112 | 14556 |
| 14113 void copyFrom(List<Object> src, int srcStart, int dstStart, int count) { | 14557 void copyFrom(List<Object> src, int srcStart, int dstStart, int count) { |
| 14114 throw new UnsupportedOperationException("This object is immutable."); | 14558 throw new UnsupportedOperationException("This object is immutable."); |
| 14115 } | 14559 } |
| 14116 | 14560 |
| 14117 int indexOf(StyleSheet element, int startIndex) { | 14561 int indexOf(StyleSheet element, int startIndex) { |
| 14118 return _Lists.indexOf(this, element, startIndex, this.length); | 14562 return _Lists.indexOf(this, element, startIndex, this.length); |
| 14119 } | 14563 } |
| 14120 | 14564 |
| 14121 int lastIndexOf(StyleSheet element, int startIndex) { | 14565 int lastIndexOf(StyleSheet element, int startIndex) { |
| 14122 return _Lists.lastIndexOf(this, element, startIndex); | 14566 return _Lists.lastIndexOf(this, element, startIndex); |
| 14123 } | 14567 } |
| 14124 | 14568 |
| 14125 int clear() { | 14569 int clear() { |
| 14126 throw new UnsupportedOperationException("Cannot clear immutable Array."); | 14570 throw new UnsupportedOperationException("Cannot clear immutable List."); |
| 14127 } | 14571 } |
| 14128 | 14572 |
| 14129 StyleSheet removeLast() { | 14573 StyleSheet removeLast() { |
| 14130 throw new UnsupportedOperationException("Cannot removeLast on immutable Arra
y."); | 14574 throw new UnsupportedOperationException("Cannot removeLast on immutable List
."); |
| 14131 } | 14575 } |
| 14132 | 14576 |
| 14133 StyleSheet last() { | 14577 StyleSheet last() { |
| 14134 return this[length - 1]; | 14578 return this[length - 1]; |
| 14135 } | 14579 } |
| 14136 | 14580 |
| 14137 void forEach(void f(StyleSheet element)) { | 14581 void forEach(void f(StyleSheet element)) { |
| 14138 _Collections.forEach(this, f); | 14582 _Collections.forEach(this, f); |
| 14139 } | 14583 } |
| 14140 | 14584 |
| 14141 Collection<StyleSheet> filter(bool f(StyleSheet element)) { | 14585 Collection<StyleSheet> filter(bool f(StyleSheet element)) { |
| 14142 return _Collections.filter(this, new List<StyleSheet>(), f); | 14586 return _Collections.filter(this, new List<StyleSheet>(), f); |
| 14143 } | 14587 } |
| 14144 | 14588 |
| 14145 bool every(bool f(StyleSheet element)) { | 14589 bool every(bool f(StyleSheet element)) { |
| 14146 return _Collections.every(this, f); | 14590 return _Collections.every(this, f); |
| 14147 } | 14591 } |
| 14148 | 14592 |
| 14149 bool some(bool f(StyleSheet element)) { | 14593 bool some(bool f(StyleSheet element)) { |
| 14150 return _Collections.some(this, f); | 14594 return _Collections.some(this, f); |
| 14151 } | 14595 } |
| 14152 | 14596 |
| 14597 void setRange(int start, int length, List<StyleSheet> from, [int startFrom]) { |
| 14598 throw new UnsupportedOperationException("Cannot setRange on immutable List."
); |
| 14599 } |
| 14600 |
| 14601 void removeRange(int start, int length) { |
| 14602 throw new UnsupportedOperationException("Cannot removeRange on immutable Lis
t."); |
| 14603 } |
| 14604 |
| 14605 void insertRange(int start, int length, [StyleSheet initialValue]) { |
| 14606 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis
t."); |
| 14607 } |
| 14608 |
| 14609 List<StyleSheet> getRange(int start, int length) { |
| 14610 throw new NotImplementedException(); |
| 14611 } |
| 14612 |
| 14153 bool isEmpty() { | 14613 bool isEmpty() { |
| 14154 return length == 0; | 14614 return length == 0; |
| 14155 } | 14615 } |
| 14156 | 14616 |
| 14157 Iterator<StyleSheet> iterator() { | 14617 Iterator<StyleSheet> iterator() { |
| 14158 return new _FixedSizeListIterator<StyleSheet>(this); | 14618 return new _FixedSizeListIterator<StyleSheet>(this); |
| 14159 } | 14619 } |
| 14160 | 14620 |
| 14161 StyleSheet item(int index) { | 14621 StyleSheet item(int index) { |
| 14162 return LevelDom.wrapStyleSheet(_ptr.item(index)); | 14622 return LevelDom.wrapStyleSheet(_ptr.item(index)); |
| 14163 } | 14623 } |
| 14164 | |
| 14165 String get typeName() { return "StyleSheetList"; } | |
| 14166 } | 14624 } |
| 14167 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 14625 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 14168 // for details. All rights reserved. Use of this source code is governed by a | 14626 // for details. All rights reserved. Use of this source code is governed by a |
| 14169 // BSD-style license that can be found in the LICENSE file. | 14627 // BSD-style license that can be found in the LICENSE file. |
| 14170 | 14628 |
| 14171 // WARNING: Do not edit - generated code. | 14629 // WARNING: Do not edit - generated code. |
| 14172 | 14630 |
| 14173 class StyleSheetWrappingImplementation extends DOMWrapperBase implements StyleSh
eet { | 14631 class StyleSheetWrappingImplementation extends DOMWrapperBase implements StyleSh
eet { |
| 14174 StyleSheetWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 14632 StyleSheetWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 14175 | 14633 |
| 14176 bool get disabled() { return _ptr.disabled; } | 14634 bool get disabled() { return _ptr.disabled; } |
| 14177 | 14635 |
| 14178 void set disabled(bool value) { _ptr.disabled = value; } | 14636 void set disabled(bool value) { _ptr.disabled = value; } |
| 14179 | 14637 |
| 14180 String get href() { return _ptr.href; } | 14638 String get href() { return _ptr.href; } |
| 14181 | 14639 |
| 14182 MediaList get media() { return LevelDom.wrapMediaList(_ptr.media); } | 14640 MediaList get media() { return LevelDom.wrapMediaList(_ptr.media); } |
| 14183 | 14641 |
| 14184 Node get ownerNode() { return LevelDom.wrapNode(_ptr.ownerNode); } | 14642 Node get ownerNode() { return LevelDom.wrapNode(_ptr.ownerNode); } |
| 14185 | 14643 |
| 14186 StyleSheet get parentStyleSheet() { return LevelDom.wrapStyleSheet(_ptr.parent
StyleSheet); } | 14644 StyleSheet get parentStyleSheet() { return LevelDom.wrapStyleSheet(_ptr.parent
StyleSheet); } |
| 14187 | 14645 |
| 14188 String get title() { return _ptr.title; } | 14646 String get title() { return _ptr.title; } |
| 14189 | 14647 |
| 14190 String get type() { return _ptr.type; } | 14648 String get type() { return _ptr.type; } |
| 14191 | |
| 14192 String get typeName() { return "StyleSheet"; } | |
| 14193 } | 14649 } |
| 14194 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 14650 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 14195 // for details. All rights reserved. Use of this source code is governed by a | 14651 // for details. All rights reserved. Use of this source code is governed by a |
| 14196 // BSD-style license that can be found in the LICENSE file. | 14652 // BSD-style license that can be found in the LICENSE file. |
| 14197 | 14653 |
| 14198 // WARNING: Do not edit - generated code. | 14654 // WARNING: Do not edit - generated code. |
| 14199 | 14655 |
| 14200 class TableCaptionElementWrappingImplementation extends ElementWrappingImplement
ation implements TableCaptionElement { | 14656 class TableCaptionElementWrappingImplementation extends ElementWrappingImplement
ation implements TableCaptionElement { |
| 14201 TableCaptionElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 14657 TableCaptionElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 14202 | 14658 |
| 14203 String get align() { return _ptr.align; } | 14659 String get align() { return _ptr.align; } |
| 14204 | 14660 |
| 14205 void set align(String value) { _ptr.align = value; } | 14661 void set align(String value) { _ptr.align = value; } |
| 14206 | |
| 14207 String get typeName() { return "TableCaptionElement"; } | |
| 14208 } | 14662 } |
| 14209 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 14663 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 14210 // for details. All rights reserved. Use of this source code is governed by a | 14664 // for details. All rights reserved. Use of this source code is governed by a |
| 14211 // BSD-style license that can be found in the LICENSE file. | 14665 // BSD-style license that can be found in the LICENSE file. |
| 14212 | 14666 |
| 14213 // WARNING: Do not edit - generated code. | 14667 // WARNING: Do not edit - generated code. |
| 14214 | 14668 |
| 14215 class TableCellElementWrappingImplementation extends ElementWrappingImplementati
on implements TableCellElement { | 14669 class TableCellElementWrappingImplementation extends ElementWrappingImplementati
on implements TableCellElement { |
| 14216 TableCellElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 14670 TableCellElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 14217 | 14671 |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14265 | 14719 |
| 14266 void set scope(String value) { _ptr.scope = value; } | 14720 void set scope(String value) { _ptr.scope = value; } |
| 14267 | 14721 |
| 14268 String get vAlign() { return _ptr.vAlign; } | 14722 String get vAlign() { return _ptr.vAlign; } |
| 14269 | 14723 |
| 14270 void set vAlign(String value) { _ptr.vAlign = value; } | 14724 void set vAlign(String value) { _ptr.vAlign = value; } |
| 14271 | 14725 |
| 14272 String get width() { return _ptr.width; } | 14726 String get width() { return _ptr.width; } |
| 14273 | 14727 |
| 14274 void set width(String value) { _ptr.width = value; } | 14728 void set width(String value) { _ptr.width = value; } |
| 14275 | |
| 14276 String get typeName() { return "TableCellElement"; } | |
| 14277 } | 14729 } |
| 14278 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 14730 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 14279 // for details. All rights reserved. Use of this source code is governed by a | 14731 // for details. All rights reserved. Use of this source code is governed by a |
| 14280 // BSD-style license that can be found in the LICENSE file. | 14732 // BSD-style license that can be found in the LICENSE file. |
| 14281 | 14733 |
| 14282 // WARNING: Do not edit - generated code. | 14734 // WARNING: Do not edit - generated code. |
| 14283 | 14735 |
| 14284 class TableColElementWrappingImplementation extends ElementWrappingImplementatio
n implements TableColElement { | 14736 class TableColElementWrappingImplementation extends ElementWrappingImplementatio
n implements TableColElement { |
| 14285 TableColElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 14737 TableColElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 14286 | 14738 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 14300 | 14752 |
| 14301 void set span(int value) { _ptr.span = value; } | 14753 void set span(int value) { _ptr.span = value; } |
| 14302 | 14754 |
| 14303 String get vAlign() { return _ptr.vAlign; } | 14755 String get vAlign() { return _ptr.vAlign; } |
| 14304 | 14756 |
| 14305 void set vAlign(String value) { _ptr.vAlign = value; } | 14757 void set vAlign(String value) { _ptr.vAlign = value; } |
| 14306 | 14758 |
| 14307 String get width() { return _ptr.width; } | 14759 String get width() { return _ptr.width; } |
| 14308 | 14760 |
| 14309 void set width(String value) { _ptr.width = value; } | 14761 void set width(String value) { _ptr.width = value; } |
| 14310 | |
| 14311 String get typeName() { return "TableColElement"; } | |
| 14312 } | 14762 } |
| 14313 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 14763 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 14314 // for details. All rights reserved. Use of this source code is governed by a | 14764 // for details. All rights reserved. Use of this source code is governed by a |
| 14315 // BSD-style license that can be found in the LICENSE file. | 14765 // BSD-style license that can be found in the LICENSE file. |
| 14316 | 14766 |
| 14317 // WARNING: Do not edit - generated code. | 14767 // WARNING: Do not edit - generated code. |
| 14318 | 14768 |
| 14319 class TableElementWrappingImplementation extends ElementWrappingImplementation i
mplements TableElement { | 14769 class TableElementWrappingImplementation extends ElementWrappingImplementation i
mplements TableElement { |
| 14320 TableElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 14770 TableElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 14321 | 14771 |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14399 } | 14849 } |
| 14400 | 14850 |
| 14401 void deleteTHead() { | 14851 void deleteTHead() { |
| 14402 _ptr.deleteTHead(); | 14852 _ptr.deleteTHead(); |
| 14403 return; | 14853 return; |
| 14404 } | 14854 } |
| 14405 | 14855 |
| 14406 Element insertRow(int index) { | 14856 Element insertRow(int index) { |
| 14407 return LevelDom.wrapElement(_ptr.insertRow(index)); | 14857 return LevelDom.wrapElement(_ptr.insertRow(index)); |
| 14408 } | 14858 } |
| 14409 | |
| 14410 String get typeName() { return "TableElement"; } | |
| 14411 } | 14859 } |
| 14412 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 14860 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 14413 // for details. All rights reserved. Use of this source code is governed by a | 14861 // for details. All rights reserved. Use of this source code is governed by a |
| 14414 // BSD-style license that can be found in the LICENSE file. | 14862 // BSD-style license that can be found in the LICENSE file. |
| 14415 | 14863 |
| 14416 // WARNING: Do not edit - generated code. | 14864 // WARNING: Do not edit - generated code. |
| 14417 | 14865 |
| 14418 class TableRowElementWrappingImplementation extends ElementWrappingImplementatio
n implements TableRowElement { | 14866 class TableRowElementWrappingImplementation extends ElementWrappingImplementatio
n implements TableRowElement { |
| 14419 TableRowElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 14867 TableRowElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 14420 | 14868 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 14445 void set vAlign(String value) { _ptr.vAlign = value; } | 14893 void set vAlign(String value) { _ptr.vAlign = value; } |
| 14446 | 14894 |
| 14447 void deleteCell(int index) { | 14895 void deleteCell(int index) { |
| 14448 _ptr.deleteCell(index); | 14896 _ptr.deleteCell(index); |
| 14449 return; | 14897 return; |
| 14450 } | 14898 } |
| 14451 | 14899 |
| 14452 Element insertCell(int index) { | 14900 Element insertCell(int index) { |
| 14453 return LevelDom.wrapElement(_ptr.insertCell(index)); | 14901 return LevelDom.wrapElement(_ptr.insertCell(index)); |
| 14454 } | 14902 } |
| 14455 | |
| 14456 String get typeName() { return "TableRowElement"; } | |
| 14457 } | 14903 } |
| 14458 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 14904 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 14459 // for details. All rights reserved. Use of this source code is governed by a | 14905 // for details. All rights reserved. Use of this source code is governed by a |
| 14460 // BSD-style license that can be found in the LICENSE file. | 14906 // BSD-style license that can be found in the LICENSE file. |
| 14461 | 14907 |
| 14462 // WARNING: Do not edit - generated code. | 14908 // WARNING: Do not edit - generated code. |
| 14463 | 14909 |
| 14464 class TableSectionElementWrappingImplementation extends ElementWrappingImplement
ation implements TableSectionElement { | 14910 class TableSectionElementWrappingImplementation extends ElementWrappingImplement
ation implements TableSectionElement { |
| 14465 TableSectionElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 14911 TableSectionElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 14466 | 14912 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 14483 void set vAlign(String value) { _ptr.vAlign = value; } | 14929 void set vAlign(String value) { _ptr.vAlign = value; } |
| 14484 | 14930 |
| 14485 void deleteRow(int index) { | 14931 void deleteRow(int index) { |
| 14486 _ptr.deleteRow(index); | 14932 _ptr.deleteRow(index); |
| 14487 return; | 14933 return; |
| 14488 } | 14934 } |
| 14489 | 14935 |
| 14490 Element insertRow(int index) { | 14936 Element insertRow(int index) { |
| 14491 return LevelDom.wrapElement(_ptr.insertRow(index)); | 14937 return LevelDom.wrapElement(_ptr.insertRow(index)); |
| 14492 } | 14938 } |
| 14493 | |
| 14494 String get typeName() { return "TableSectionElement"; } | |
| 14495 } | 14939 } |
| 14496 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 14940 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 14497 // for details. All rights reserved. Use of this source code is governed by a | 14941 // for details. All rights reserved. Use of this source code is governed by a |
| 14498 // BSD-style license that can be found in the LICENSE file. | 14942 // BSD-style license that can be found in the LICENSE file. |
| 14499 | 14943 |
| 14500 // WARNING: Do not edit - generated code. | 14944 // WARNING: Do not edit - generated code. |
| 14501 | 14945 |
| 14502 class TextAreaElementWrappingImplementation extends ElementWrappingImplementatio
n implements TextAreaElement { | 14946 class TextAreaElementWrappingImplementation extends ElementWrappingImplementatio
n implements TextAreaElement { |
| 14503 TextAreaElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 14947 TextAreaElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 14504 | 14948 |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14569 String get validationMessage() { return _ptr.validationMessage; } | 15013 String get validationMessage() { return _ptr.validationMessage; } |
| 14570 | 15014 |
| 14571 ValidityState get validity() { return LevelDom.wrapValidityState(_ptr.validity
); } | 15015 ValidityState get validity() { return LevelDom.wrapValidityState(_ptr.validity
); } |
| 14572 | 15016 |
| 14573 String get value() { return _ptr.value; } | 15017 String get value() { return _ptr.value; } |
| 14574 | 15018 |
| 14575 void set value(String value) { _ptr.value = value; } | 15019 void set value(String value) { _ptr.value = value; } |
| 14576 | 15020 |
| 14577 bool get willValidate() { return _ptr.willValidate; } | 15021 bool get willValidate() { return _ptr.willValidate; } |
| 14578 | 15022 |
| 15023 String get wrap() { return _ptr.wrap; } |
| 15024 |
| 15025 void set wrap(String value) { _ptr.wrap = value; } |
| 15026 |
| 14579 bool checkValidity() { | 15027 bool checkValidity() { |
| 14580 return _ptr.checkValidity(); | 15028 return _ptr.checkValidity(); |
| 14581 } | 15029 } |
| 14582 | 15030 |
| 14583 void select() { | 15031 void select() { |
| 14584 _ptr.select(); | 15032 _ptr.select(); |
| 14585 return; | 15033 return; |
| 14586 } | 15034 } |
| 14587 | 15035 |
| 14588 void setCustomValidity(String error) { | 15036 void setCustomValidity(String error) { |
| 14589 _ptr.setCustomValidity(error); | 15037 _ptr.setCustomValidity(error); |
| 14590 return; | 15038 return; |
| 14591 } | 15039 } |
| 14592 | 15040 |
| 14593 void setSelectionRange(int start, int end, String direction) { | 15041 void setSelectionRange(int start, int end, [String direction = null]) { |
| 14594 _ptr.setSelectionRange(start, end, direction); | 15042 if (direction === null) { |
| 14595 return; | 15043 _ptr.setSelectionRange(start, end); |
| 15044 return; |
| 15045 } else { |
| 15046 _ptr.setSelectionRange(start, end, direction); |
| 15047 return; |
| 15048 } |
| 14596 } | 15049 } |
| 14597 | |
| 14598 String get typeName() { return "TextAreaElement"; } | |
| 14599 } | 15050 } |
| 14600 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 15051 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 14601 // for details. All rights reserved. Use of this source code is governed by a | 15052 // for details. All rights reserved. Use of this source code is governed by a |
| 14602 // BSD-style license that can be found in the LICENSE file. | 15053 // BSD-style license that can be found in the LICENSE file. |
| 14603 | 15054 |
| 14604 // WARNING: Do not edit - generated code. | 15055 // WARNING: Do not edit - generated code. |
| 14605 | 15056 |
| 14606 class TextEventWrappingImplementation extends UIEventWrappingImplementation impl
ements TextEvent { | 15057 class TextEventWrappingImplementation extends UIEventWrappingImplementation impl
ements TextEvent { |
| 14607 TextEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 15058 TextEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 14608 | 15059 |
| 14609 String get data() { return _ptr.data; } | 15060 String get data() { return _ptr.data; } |
| 14610 | 15061 |
| 14611 void initTextEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Wind
ow viewArg, String dataArg) { | 15062 void initTextEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Wind
ow viewArg, String dataArg) { |
| 14612 _ptr.initTextEvent(typeArg, canBubbleArg, cancelableArg, LevelDom.unwrap(vie
wArg), dataArg); | 15063 _ptr.initTextEvent(typeArg, canBubbleArg, cancelableArg, LevelDom.unwrap(vie
wArg), dataArg); |
| 14613 return; | 15064 return; |
| 14614 } | 15065 } |
| 14615 | |
| 14616 String get typeName() { return "TextEvent"; } | |
| 14617 } | 15066 } |
| 14618 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 15067 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 14619 // for details. All rights reserved. Use of this source code is governed by a | 15068 // for details. All rights reserved. Use of this source code is governed by a |
| 14620 // BSD-style license that can be found in the LICENSE file. | 15069 // BSD-style license that can be found in the LICENSE file. |
| 14621 | 15070 |
| 14622 // WARNING: Do not edit - generated code. | 15071 // WARNING: Do not edit - generated code. |
| 14623 | 15072 |
| 14624 class TextMetricsWrappingImplementation extends DOMWrapperBase implements TextMe
trics { | 15073 class TextMetricsWrappingImplementation extends DOMWrapperBase implements TextMe
trics { |
| 14625 TextMetricsWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 15074 TextMetricsWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 14626 | 15075 |
| 14627 num get width() { return _ptr.width; } | 15076 num get width() { return _ptr.width; } |
| 14628 | |
| 14629 String get typeName() { return "TextMetrics"; } | |
| 14630 } | 15077 } |
| 14631 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 15078 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 14632 // for details. All rights reserved. Use of this source code is governed by a | 15079 // for details. All rights reserved. Use of this source code is governed by a |
| 14633 // BSD-style license that can be found in the LICENSE file. | 15080 // BSD-style license that can be found in the LICENSE file. |
| 14634 | 15081 |
| 14635 // WARNING: Do not edit - generated code. | 15082 // WARNING: Do not edit - generated code. |
| 14636 | 15083 |
| 14637 class TimeRangesWrappingImplementation extends DOMWrapperBase implements TimeRan
ges { | 15084 class TimeRangesWrappingImplementation extends DOMWrapperBase implements TimeRan
ges { |
| 14638 TimeRangesWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 15085 TimeRangesWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 14639 | 15086 |
| 14640 int get length() { return _ptr.length; } | 15087 int get length() { return _ptr.length; } |
| 14641 | 15088 |
| 14642 num end(int index) { | 15089 num end(int index) { |
| 14643 return _ptr.end(index); | 15090 return _ptr.end(index); |
| 14644 } | 15091 } |
| 14645 | 15092 |
| 14646 num start(int index) { | 15093 num start(int index) { |
| 14647 return _ptr.start(index); | 15094 return _ptr.start(index); |
| 14648 } | 15095 } |
| 14649 | |
| 14650 String get typeName() { return "TimeRanges"; } | |
| 14651 } | 15096 } |
| 14652 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 15097 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 14653 // for details. All rights reserved. Use of this source code is governed by a | 15098 // for details. All rights reserved. Use of this source code is governed by a |
| 14654 // BSD-style license that can be found in the LICENSE file. | 15099 // BSD-style license that can be found in the LICENSE file. |
| 14655 | 15100 |
| 14656 // WARNING: Do not edit - generated code. | 15101 // WARNING: Do not edit - generated code. |
| 14657 | 15102 |
| 14658 class TitleElementWrappingImplementation extends ElementWrappingImplementation i
mplements TitleElement { | 15103 class TitleElementWrappingImplementation extends ElementWrappingImplementation i
mplements TitleElement { |
| 14659 TitleElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 15104 TitleElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 14660 | 15105 |
| 14661 String get text() { return _ptr.text; } | 15106 String get text() { return _ptr.text; } |
| 14662 | 15107 |
| 14663 void set text(String value) { _ptr.text = value; } | 15108 void set text(String value) { _ptr.text = value; } |
| 14664 | |
| 14665 String get typeName() { return "TitleElement"; } | |
| 14666 } | 15109 } |
| 14667 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 15110 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 14668 // for details. All rights reserved. Use of this source code is governed by a | 15111 // for details. All rights reserved. Use of this source code is governed by a |
| 14669 // BSD-style license that can be found in the LICENSE file. | 15112 // BSD-style license that can be found in the LICENSE file. |
| 14670 | 15113 |
| 14671 // WARNING: Do not edit - generated code. | 15114 // WARNING: Do not edit - generated code. |
| 14672 | 15115 |
| 14673 class TouchEventWrappingImplementation extends UIEventWrappingImplementation imp
lements TouchEvent { | 15116 class TouchEventWrappingImplementation extends UIEventWrappingImplementation imp
lements TouchEvent { |
| 14674 TouchEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 15117 TouchEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 14675 | 15118 |
| 14676 bool get altKey() { return _ptr.altKey; } | 15119 bool get altKey() { return _ptr.altKey; } |
| 14677 | 15120 |
| 14678 TouchList get changedTouches() { return LevelDom.wrapTouchList(_ptr.changedTou
ches); } | 15121 TouchList get changedTouches() { return LevelDom.wrapTouchList(_ptr.changedTou
ches); } |
| 14679 | 15122 |
| 14680 bool get ctrlKey() { return _ptr.ctrlKey; } | 15123 bool get ctrlKey() { return _ptr.ctrlKey; } |
| 14681 | 15124 |
| 14682 bool get metaKey() { return _ptr.metaKey; } | 15125 bool get metaKey() { return _ptr.metaKey; } |
| 14683 | 15126 |
| 14684 bool get shiftKey() { return _ptr.shiftKey; } | 15127 bool get shiftKey() { return _ptr.shiftKey; } |
| 14685 | 15128 |
| 14686 TouchList get targetTouches() { return LevelDom.wrapTouchList(_ptr.targetTouch
es); } | 15129 TouchList get targetTouches() { return LevelDom.wrapTouchList(_ptr.targetTouch
es); } |
| 14687 | 15130 |
| 14688 TouchList get touches() { return LevelDom.wrapTouchList(_ptr.touches); } | 15131 TouchList get touches() { return LevelDom.wrapTouchList(_ptr.touches); } |
| 14689 | 15132 |
| 14690 void initTouchEvent(TouchList touches, TouchList targetTouches, TouchList chan
gedTouches, String type, Window view, int screenX, int screenY, int clientX, int
clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) { | 15133 void initTouchEvent(TouchList touches, TouchList targetTouches, TouchList chan
gedTouches, String type, Window view, int screenX, int screenY, int clientX, int
clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) { |
| 14691 _ptr.initTouchEvent(LevelDom.unwrap(touches), LevelDom.unwrap(targetTouches)
, LevelDom.unwrap(changedTouches), type, LevelDom.unwrap(view), screenX, screenY
, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey); | 15134 _ptr.initTouchEvent(LevelDom.unwrap(touches), LevelDom.unwrap(targetTouches)
, LevelDom.unwrap(changedTouches), type, LevelDom.unwrap(view), screenX, screenY
, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey); |
| 14692 return; | 15135 return; |
| 14693 } | 15136 } |
| 14694 | |
| 14695 String get typeName() { return "TouchEvent"; } | |
| 14696 } | 15137 } |
| 14697 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 15138 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 14698 // for details. All rights reserved. Use of this source code is governed by a | 15139 // for details. All rights reserved. Use of this source code is governed by a |
| 14699 // BSD-style license that can be found in the LICENSE file. | 15140 // BSD-style license that can be found in the LICENSE file. |
| 14700 | 15141 |
| 14701 // WARNING: Do not edit - generated code. | 15142 // WARNING: Do not edit - generated code. |
| 14702 | 15143 |
| 14703 class TouchListWrappingImplementation extends DOMWrapperBase implements TouchLis
t { | 15144 class TouchListWrappingImplementation extends DOMWrapperBase implements TouchLis
t { |
| 14704 TouchListWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 15145 TouchListWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 14705 | 15146 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14762 } | 15203 } |
| 14763 | 15204 |
| 14764 bool every(bool f(Touch element)) { | 15205 bool every(bool f(Touch element)) { |
| 14765 return _Collections.every(this, f); | 15206 return _Collections.every(this, f); |
| 14766 } | 15207 } |
| 14767 | 15208 |
| 14768 bool some(bool f(Touch element)) { | 15209 bool some(bool f(Touch element)) { |
| 14769 return _Collections.some(this, f); | 15210 return _Collections.some(this, f); |
| 14770 } | 15211 } |
| 14771 | 15212 |
| 15213 void setRange(int start, int length, List<Touch> from, [int startFrom]) { |
| 15214 throw new UnsupportedOperationException("Cannot setRange on immutable List."
); |
| 15215 } |
| 15216 |
| 15217 void removeRange(int start, int length) { |
| 15218 throw new UnsupportedOperationException("Cannot removeRange on immutable Lis
t."); |
| 15219 } |
| 15220 |
| 15221 void insertRange(int start, int length, [Touch initialValue]) { |
| 15222 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis
t."); |
| 15223 } |
| 15224 |
| 15225 List<Touch> getRange(int start, int length) { |
| 15226 throw new NotImplementedException(); |
| 15227 } |
| 15228 |
| 14772 bool isEmpty() { | 15229 bool isEmpty() { |
| 14773 return length == 0; | 15230 return length == 0; |
| 14774 } | 15231 } |
| 14775 | 15232 |
| 14776 Iterator<Touch> iterator() { | 15233 Iterator<Touch> iterator() { |
| 14777 return new _FixedSizeListIterator<Touch>(this); | 15234 return new _FixedSizeListIterator<Touch>(this); |
| 14778 } | 15235 } |
| 14779 | 15236 |
| 14780 Touch item(int index) { | 15237 Touch item(int index) { |
| 14781 return LevelDom.wrapTouch(_ptr.item(index)); | 15238 return LevelDom.wrapTouch(_ptr.item(index)); |
| 14782 } | 15239 } |
| 14783 | |
| 14784 String get typeName() { return "TouchList"; } | |
| 14785 } | 15240 } |
| 14786 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 15241 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 14787 // for details. All rights reserved. Use of this source code is governed by a | 15242 // for details. All rights reserved. Use of this source code is governed by a |
| 14788 // BSD-style license that can be found in the LICENSE file. | 15243 // BSD-style license that can be found in the LICENSE file. |
| 14789 | 15244 |
| 14790 // WARNING: Do not edit - generated code. | 15245 // WARNING: Do not edit - generated code. |
| 14791 | 15246 |
| 14792 class TouchWrappingImplementation extends DOMWrapperBase implements Touch { | 15247 class TouchWrappingImplementation extends DOMWrapperBase implements Touch { |
| 14793 TouchWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 15248 TouchWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 14794 | 15249 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 14808 | 15263 |
| 14809 EventTarget get target() { return LevelDom.wrapEventTarget(_ptr.target); } | 15264 EventTarget get target() { return LevelDom.wrapEventTarget(_ptr.target); } |
| 14810 | 15265 |
| 14811 num get webkitForce() { return _ptr.webkitForce; } | 15266 num get webkitForce() { return _ptr.webkitForce; } |
| 14812 | 15267 |
| 14813 int get webkitRadiusX() { return _ptr.webkitRadiusX; } | 15268 int get webkitRadiusX() { return _ptr.webkitRadiusX; } |
| 14814 | 15269 |
| 14815 int get webkitRadiusY() { return _ptr.webkitRadiusY; } | 15270 int get webkitRadiusY() { return _ptr.webkitRadiusY; } |
| 14816 | 15271 |
| 14817 num get webkitRotationAngle() { return _ptr.webkitRotationAngle; } | 15272 num get webkitRotationAngle() { return _ptr.webkitRotationAngle; } |
| 14818 | |
| 14819 String get typeName() { return "Touch"; } | |
| 14820 } | 15273 } |
| 14821 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 15274 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 14822 // for details. All rights reserved. Use of this source code is governed by a | 15275 // for details. All rights reserved. Use of this source code is governed by a |
| 14823 // BSD-style license that can be found in the LICENSE file. | 15276 // BSD-style license that can be found in the LICENSE file. |
| 14824 | 15277 |
| 14825 // WARNING: Do not edit - generated code. | 15278 // WARNING: Do not edit - generated code. |
| 14826 | 15279 |
| 14827 class TrackElementWrappingImplementation extends ElementWrappingImplementation i
mplements TrackElement { | 15280 class TrackElementWrappingImplementation extends ElementWrappingImplementation i
mplements TrackElement { |
| 14828 TrackElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 15281 TrackElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 14829 | 15282 |
| 14830 bool get isDefault() { return _ptr.isDefault; } | 15283 bool get isDefault() { return _ptr.isDefault; } |
| 14831 | 15284 |
| 14832 void set isDefault(bool value) { _ptr.isDefault = value; } | 15285 void set isDefault(bool value) { _ptr.isDefault = value; } |
| 14833 | 15286 |
| 14834 String get kind() { return _ptr.kind; } | 15287 String get kind() { return _ptr.kind; } |
| 14835 | 15288 |
| 14836 void set kind(String value) { _ptr.kind = value; } | 15289 void set kind(String value) { _ptr.kind = value; } |
| 14837 | 15290 |
| 14838 String get label() { return _ptr.label; } | 15291 String get label() { return _ptr.label; } |
| 14839 | 15292 |
| 14840 void set label(String value) { _ptr.label = value; } | 15293 void set label(String value) { _ptr.label = value; } |
| 14841 | 15294 |
| 14842 String get src() { return _ptr.src; } | 15295 String get src() { return _ptr.src; } |
| 14843 | 15296 |
| 14844 void set src(String value) { _ptr.src = value; } | 15297 void set src(String value) { _ptr.src = value; } |
| 14845 | 15298 |
| 14846 String get srclang() { return _ptr.srclang; } | 15299 String get srclang() { return _ptr.srclang; } |
| 14847 | 15300 |
| 14848 void set srclang(String value) { _ptr.srclang = value; } | 15301 void set srclang(String value) { _ptr.srclang = value; } |
| 14849 | |
| 14850 String get typeName() { return "TrackElement"; } | |
| 14851 } | 15302 } |
| 14852 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 15303 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 14853 // for details. All rights reserved. Use of this source code is governed by a | 15304 // for details. All rights reserved. Use of this source code is governed by a |
| 14854 // BSD-style license that can be found in the LICENSE file. | 15305 // BSD-style license that can be found in the LICENSE file. |
| 14855 | 15306 |
| 14856 // WARNING: Do not edit - generated code. | 15307 // WARNING: Do not edit - generated code. |
| 14857 | 15308 |
| 14858 class TransitionEventWrappingImplementation extends EventWrappingImplementation
implements TransitionEvent { | 15309 class TransitionEventWrappingImplementation extends EventWrappingImplementation
implements TransitionEvent { |
| 14859 TransitionEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 15310 TransitionEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 14860 | 15311 |
| 14861 num get elapsedTime() { return _ptr.elapsedTime; } | 15312 num get elapsedTime() { return _ptr.elapsedTime; } |
| 14862 | 15313 |
| 14863 String get propertyName() { return _ptr.propertyName; } | 15314 String get propertyName() { return _ptr.propertyName; } |
| 14864 | 15315 |
| 14865 void initWebKitTransitionEvent(String typeArg, bool canBubbleArg, bool cancela
bleArg, String propertyNameArg, num elapsedTimeArg) { | 15316 void initWebKitTransitionEvent(String typeArg, bool canBubbleArg, bool cancela
bleArg, String propertyNameArg, num elapsedTimeArg) { |
| 14866 _ptr.initWebKitTransitionEvent(typeArg, canBubbleArg, cancelableArg, propert
yNameArg, elapsedTimeArg); | 15317 _ptr.initWebKitTransitionEvent(typeArg, canBubbleArg, cancelableArg, propert
yNameArg, elapsedTimeArg); |
| 14867 return; | 15318 return; |
| 14868 } | 15319 } |
| 14869 | |
| 14870 String get typeName() { return "TransitionEvent"; } | |
| 14871 } | 15320 } |
| 14872 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 15321 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 14873 // for details. All rights reserved. Use of this source code is governed by a | 15322 // for details. All rights reserved. Use of this source code is governed by a |
| 14874 // BSD-style license that can be found in the LICENSE file. | 15323 // BSD-style license that can be found in the LICENSE file. |
| 14875 | 15324 |
| 14876 // WARNING: Do not edit - generated code. | 15325 // WARNING: Do not edit - generated code. |
| 14877 | 15326 |
| 14878 class UIEventWrappingImplementation extends EventWrappingImplementation implemen
ts UIEvent { | 15327 class UIEventWrappingImplementation extends EventWrappingImplementation implemen
ts UIEvent { |
| 14879 UIEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 15328 UIEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 14880 | 15329 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 14893 int get pageY() { return _ptr.pageY; } | 15342 int get pageY() { return _ptr.pageY; } |
| 14894 | 15343 |
| 14895 Window get view() { return LevelDom.wrapWindow(_ptr.view); } | 15344 Window get view() { return LevelDom.wrapWindow(_ptr.view); } |
| 14896 | 15345 |
| 14897 int get which() { return _ptr.which; } | 15346 int get which() { return _ptr.which; } |
| 14898 | 15347 |
| 14899 void initUIEvent(String type, bool canBubble, bool cancelable, Window view, in
t detail) { | 15348 void initUIEvent(String type, bool canBubble, bool cancelable, Window view, in
t detail) { |
| 14900 _ptr.initUIEvent(type, canBubble, cancelable, LevelDom.unwrap(view), detail)
; | 15349 _ptr.initUIEvent(type, canBubble, cancelable, LevelDom.unwrap(view), detail)
; |
| 14901 return; | 15350 return; |
| 14902 } | 15351 } |
| 14903 | |
| 14904 String get typeName() { return "UIEvent"; } | |
| 14905 } | 15352 } |
| 14906 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 15353 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 14907 // for details. All rights reserved. Use of this source code is governed by a | 15354 // for details. All rights reserved. Use of this source code is governed by a |
| 14908 // BSD-style license that can be found in the LICENSE file. | 15355 // BSD-style license that can be found in the LICENSE file. |
| 14909 | 15356 |
| 14910 // WARNING: Do not edit - generated code. | 15357 // WARNING: Do not edit - generated code. |
| 14911 | 15358 |
| 14912 class UListElementWrappingImplementation extends ElementWrappingImplementation i
mplements UListElement { | 15359 class UListElementWrappingImplementation extends ElementWrappingImplementation i
mplements UListElement { |
| 14913 UListElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 15360 UListElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 14914 | 15361 |
| 14915 bool get compact() { return _ptr.compact; } | 15362 bool get compact() { return _ptr.compact; } |
| 14916 | 15363 |
| 14917 void set compact(bool value) { _ptr.compact = value; } | 15364 void set compact(bool value) { _ptr.compact = value; } |
| 14918 | 15365 |
| 14919 String get type() { return _ptr.type; } | 15366 String get type() { return _ptr.type; } |
| 14920 | 15367 |
| 14921 void set type(String value) { _ptr.type = value; } | 15368 void set type(String value) { _ptr.type = value; } |
| 14922 | |
| 14923 String get typeName() { return "UListElement"; } | |
| 14924 } | 15369 } |
| 14925 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 15370 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 14926 // for details. All rights reserved. Use of this source code is governed by a | 15371 // for details. All rights reserved. Use of this source code is governed by a |
| 14927 // BSD-style license that can be found in the LICENSE file. | 15372 // BSD-style license that can be found in the LICENSE file. |
| 14928 | 15373 |
| 14929 // WARNING: Do not edit - generated code. | 15374 // WARNING: Do not edit - generated code. |
| 14930 | 15375 |
| 14931 class Uint16ArrayWrappingImplementation extends ArrayBufferViewWrappingImplement
ation implements Uint16Array { | 15376 class Uint16ArrayWrappingImplementation extends ArrayBufferViewWrappingImplement
ation implements Uint16Array { |
| 14932 Uint16ArrayWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 15377 Uint16ArrayWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 14933 | 15378 |
| 14934 int get length() { return _ptr.length; } | 15379 int get length() { return _ptr.length; } |
| 14935 | 15380 |
| 14936 Uint16Array subarray(int start, int end) { | 15381 Uint16Array subarray(int start, [int end = null]) { |
| 14937 return LevelDom.wrapUint16Array(_ptr.subarray(start, end)); | 15382 if (end === null) { |
| 15383 return LevelDom.wrapUint16Array(_ptr.subarray(start)); |
| 15384 } else { |
| 15385 return LevelDom.wrapUint16Array(_ptr.subarray(start, end)); |
| 15386 } |
| 14938 } | 15387 } |
| 14939 | |
| 14940 String get typeName() { return "Uint16Array"; } | |
| 14941 } | 15388 } |
| 14942 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 15389 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 14943 // for details. All rights reserved. Use of this source code is governed by a | 15390 // for details. All rights reserved. Use of this source code is governed by a |
| 14944 // BSD-style license that can be found in the LICENSE file. | 15391 // BSD-style license that can be found in the LICENSE file. |
| 14945 | 15392 |
| 14946 // WARNING: Do not edit - generated code. | 15393 // WARNING: Do not edit - generated code. |
| 14947 | 15394 |
| 14948 class Uint32ArrayWrappingImplementation extends ArrayBufferViewWrappingImplement
ation implements Uint32Array { | 15395 class Uint32ArrayWrappingImplementation extends ArrayBufferViewWrappingImplement
ation implements Uint32Array { |
| 14949 Uint32ArrayWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 15396 Uint32ArrayWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 14950 | 15397 |
| 14951 int get length() { return _ptr.length; } | 15398 int get length() { return _ptr.length; } |
| 14952 | 15399 |
| 14953 Uint32Array subarray(int start, int end) { | 15400 Uint32Array subarray(int start, [int end = null]) { |
| 14954 return LevelDom.wrapUint32Array(_ptr.subarray(start, end)); | 15401 if (end === null) { |
| 15402 return LevelDom.wrapUint32Array(_ptr.subarray(start)); |
| 15403 } else { |
| 15404 return LevelDom.wrapUint32Array(_ptr.subarray(start, end)); |
| 15405 } |
| 14955 } | 15406 } |
| 14956 | |
| 14957 String get typeName() { return "Uint32Array"; } | |
| 14958 } | 15407 } |
| 14959 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 15408 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 14960 // for details. All rights reserved. Use of this source code is governed by a | 15409 // for details. All rights reserved. Use of this source code is governed by a |
| 14961 // BSD-style license that can be found in the LICENSE file. | 15410 // BSD-style license that can be found in the LICENSE file. |
| 14962 | 15411 |
| 14963 // WARNING: Do not edit - generated code. | 15412 // WARNING: Do not edit - generated code. |
| 14964 | 15413 |
| 14965 class Uint8ArrayWrappingImplementation extends ArrayBufferViewWrappingImplementa
tion implements Uint8Array { | 15414 class Uint8ArrayWrappingImplementation extends ArrayBufferViewWrappingImplementa
tion implements Uint8Array { |
| 14966 Uint8ArrayWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 15415 Uint8ArrayWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 14967 | 15416 |
| 14968 int get length() { return _ptr.length; } | 15417 int get length() { return _ptr.length; } |
| 14969 | 15418 |
| 14970 Uint8Array subarray(int start, int end) { | 15419 Uint8Array subarray(int start, [int end = null]) { |
| 14971 return LevelDom.wrapUint8Array(_ptr.subarray(start, end)); | 15420 if (end === null) { |
| 15421 return LevelDom.wrapUint8Array(_ptr.subarray(start)); |
| 15422 } else { |
| 15423 return LevelDom.wrapUint8Array(_ptr.subarray(start, end)); |
| 15424 } |
| 14972 } | 15425 } |
| 14973 | |
| 14974 String get typeName() { return "Uint8Array"; } | |
| 14975 } | 15426 } |
| 14976 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 15427 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 14977 // for details. All rights reserved. Use of this source code is governed by a | 15428 // for details. All rights reserved. Use of this source code is governed by a |
| 14978 // BSD-style license that can be found in the LICENSE file. | 15429 // BSD-style license that can be found in the LICENSE file. |
| 14979 | 15430 |
| 14980 // WARNING: Do not edit - generated code. | 15431 // WARNING: Do not edit - generated code. |
| 14981 | 15432 |
| 14982 class UnknownElementWrappingImplementation extends ElementWrappingImplementation
implements UnknownElement { | 15433 class UnknownElementWrappingImplementation extends ElementWrappingImplementation
implements UnknownElement { |
| 14983 UnknownElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 15434 UnknownElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 14984 | |
| 14985 String get typeName() { return "UnknownElement"; } | |
| 14986 } | 15435 } |
| 14987 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 15436 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 14988 // for details. All rights reserved. Use of this source code is governed by a | 15437 // for details. All rights reserved. Use of this source code is governed by a |
| 14989 // BSD-style license that can be found in the LICENSE file. | 15438 // BSD-style license that can be found in the LICENSE file. |
| 14990 | 15439 |
| 14991 // WARNING: Do not edit - generated code. | 15440 // WARNING: Do not edit - generated code. |
| 14992 | 15441 |
| 14993 class ValidityStateWrappingImplementation extends DOMWrapperBase implements Vali
dityState { | 15442 class ValidityStateWrappingImplementation extends DOMWrapperBase implements Vali
dityState { |
| 14994 ValidityStateWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 15443 ValidityStateWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 14995 | 15444 |
| 14996 bool get customError() { return _ptr.customError; } | 15445 bool get customError() { return _ptr.customError; } |
| 14997 | 15446 |
| 14998 bool get patternMismatch() { return _ptr.patternMismatch; } | 15447 bool get patternMismatch() { return _ptr.patternMismatch; } |
| 14999 | 15448 |
| 15000 bool get rangeOverflow() { return _ptr.rangeOverflow; } | 15449 bool get rangeOverflow() { return _ptr.rangeOverflow; } |
| 15001 | 15450 |
| 15002 bool get rangeUnderflow() { return _ptr.rangeUnderflow; } | 15451 bool get rangeUnderflow() { return _ptr.rangeUnderflow; } |
| 15003 | 15452 |
| 15004 bool get stepMismatch() { return _ptr.stepMismatch; } | 15453 bool get stepMismatch() { return _ptr.stepMismatch; } |
| 15005 | 15454 |
| 15006 bool get tooLong() { return _ptr.tooLong; } | 15455 bool get tooLong() { return _ptr.tooLong; } |
| 15007 | 15456 |
| 15008 bool get typeMismatch() { return _ptr.typeMismatch; } | 15457 bool get typeMismatch() { return _ptr.typeMismatch; } |
| 15009 | 15458 |
| 15010 bool get valid() { return _ptr.valid; } | 15459 bool get valid() { return _ptr.valid; } |
| 15011 | 15460 |
| 15012 bool get valueMissing() { return _ptr.valueMissing; } | 15461 bool get valueMissing() { return _ptr.valueMissing; } |
| 15013 | |
| 15014 String get typeName() { return "ValidityState"; } | |
| 15015 } | 15462 } |
| 15016 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 15463 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 15017 // for details. All rights reserved. Use of this source code is governed by a | 15464 // for details. All rights reserved. Use of this source code is governed by a |
| 15018 // BSD-style license that can be found in the LICENSE file. | 15465 // BSD-style license that can be found in the LICENSE file. |
| 15019 | 15466 |
| 15020 // WARNING: Do not edit - generated code. | 15467 // WARNING: Do not edit - generated code. |
| 15021 | 15468 |
| 15022 class VideoElementWrappingImplementation extends MediaElementWrappingImplementat
ion implements VideoElement { | 15469 class VideoElementWrappingImplementation extends MediaElementWrappingImplementat
ion implements VideoElement { |
| 15023 VideoElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 15470 VideoElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 15024 | 15471 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15058 | 15505 |
| 15059 void webkitExitFullScreen() { | 15506 void webkitExitFullScreen() { |
| 15060 _ptr.webkitExitFullScreen(); | 15507 _ptr.webkitExitFullScreen(); |
| 15061 return; | 15508 return; |
| 15062 } | 15509 } |
| 15063 | 15510 |
| 15064 void webkitExitFullscreen() { | 15511 void webkitExitFullscreen() { |
| 15065 _ptr.webkitExitFullscreen(); | 15512 _ptr.webkitExitFullscreen(); |
| 15066 return; | 15513 return; |
| 15067 } | 15514 } |
| 15068 | |
| 15069 String get typeName() { return "VideoElement"; } | |
| 15070 } | 15515 } |
| 15071 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 15516 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 15072 // for details. All rights reserved. Use of this source code is governed by a | 15517 // for details. All rights reserved. Use of this source code is governed by a |
| 15073 // BSD-style license that can be found in the LICENSE file. | 15518 // BSD-style license that can be found in the LICENSE file. |
| 15074 | 15519 |
| 15075 // WARNING: Do not edit - generated code. | 15520 // WARNING: Do not edit - generated code. |
| 15076 | 15521 |
| 15077 class VoidCallbackWrappingImplementation extends DOMWrapperBase implements VoidC
allback { | 15522 class VoidCallbackWrappingImplementation extends DOMWrapperBase implements VoidC
allback { |
| 15078 VoidCallbackWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 15523 VoidCallbackWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 15079 | 15524 |
| 15080 void handleEvent() { | 15525 void handleEvent() { |
| 15081 _ptr.handleEvent(); | 15526 _ptr.handleEvent(); |
| 15082 return; | 15527 return; |
| 15083 } | 15528 } |
| 15084 | |
| 15085 String get typeName() { return "VoidCallback"; } | |
| 15086 } | 15529 } |
| 15087 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 15530 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 15088 // for details. All rights reserved. Use of this source code is governed by a | 15531 // for details. All rights reserved. Use of this source code is governed by a |
| 15089 // BSD-style license that can be found in the LICENSE file. | 15532 // BSD-style license that can be found in the LICENSE file. |
| 15090 | 15533 |
| 15091 // WARNING: Do not edit - generated code. | 15534 // WARNING: Do not edit - generated code. |
| 15092 | 15535 |
| 15093 class WebGLActiveInfoWrappingImplementation extends DOMWrapperBase implements We
bGLActiveInfo { | 15536 class WebGLActiveInfoWrappingImplementation extends DOMWrapperBase implements We
bGLActiveInfo { |
| 15094 WebGLActiveInfoWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 15537 WebGLActiveInfoWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 15095 | 15538 |
| 15096 String get name() { return _ptr.name; } | 15539 String get name() { return _ptr.name; } |
| 15097 | 15540 |
| 15098 int get size() { return _ptr.size; } | 15541 int get size() { return _ptr.size; } |
| 15099 | 15542 |
| 15100 int get type() { return _ptr.type; } | 15543 int get type() { return _ptr.type; } |
| 15101 | |
| 15102 String get typeName() { return "WebGLActiveInfo"; } | |
| 15103 } | 15544 } |
| 15104 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 15545 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 15105 // for details. All rights reserved. Use of this source code is governed by a | 15546 // for details. All rights reserved. Use of this source code is governed by a |
| 15106 // BSD-style license that can be found in the LICENSE file. | 15547 // BSD-style license that can be found in the LICENSE file. |
| 15107 | 15548 |
| 15108 // WARNING: Do not edit - generated code. | 15549 // WARNING: Do not edit - generated code. |
| 15109 | 15550 |
| 15110 class WebGLBufferWrappingImplementation extends DOMWrapperBase implements WebGLB
uffer { | 15551 class WebGLBufferWrappingImplementation extends DOMWrapperBase implements WebGLB
uffer { |
| 15111 WebGLBufferWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 15552 WebGLBufferWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 15112 | |
| 15113 String get typeName() { return "WebGLBuffer"; } | |
| 15114 } | 15553 } |
| 15115 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 15554 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 15116 // for details. All rights reserved. Use of this source code is governed by a | 15555 // for details. All rights reserved. Use of this source code is governed by a |
| 15117 // BSD-style license that can be found in the LICENSE file. | 15556 // BSD-style license that can be found in the LICENSE file. |
| 15118 | 15557 |
| 15119 // WARNING: Do not edit - generated code. | 15558 // WARNING: Do not edit - generated code. |
| 15120 | 15559 |
| 15121 class WebGLContextAttributesWrappingImplementation extends DOMWrapperBase implem
ents WebGLContextAttributes { | 15560 class WebGLContextAttributesWrappingImplementation extends DOMWrapperBase implem
ents WebGLContextAttributes { |
| 15122 WebGLContextAttributesWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 15561 WebGLContextAttributesWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 15123 | 15562 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 15137 | 15576 |
| 15138 void set premultipliedAlpha(bool value) { _ptr.premultipliedAlpha = value; } | 15577 void set premultipliedAlpha(bool value) { _ptr.premultipliedAlpha = value; } |
| 15139 | 15578 |
| 15140 bool get preserveDrawingBuffer() { return _ptr.preserveDrawingBuffer; } | 15579 bool get preserveDrawingBuffer() { return _ptr.preserveDrawingBuffer; } |
| 15141 | 15580 |
| 15142 void set preserveDrawingBuffer(bool value) { _ptr.preserveDrawingBuffer = valu
e; } | 15581 void set preserveDrawingBuffer(bool value) { _ptr.preserveDrawingBuffer = valu
e; } |
| 15143 | 15582 |
| 15144 bool get stencil() { return _ptr.stencil; } | 15583 bool get stencil() { return _ptr.stencil; } |
| 15145 | 15584 |
| 15146 void set stencil(bool value) { _ptr.stencil = value; } | 15585 void set stencil(bool value) { _ptr.stencil = value; } |
| 15147 | |
| 15148 String get typeName() { return "WebGLContextAttributes"; } | |
| 15149 } | 15586 } |
| 15150 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 15587 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 15151 // for details. All rights reserved. Use of this source code is governed by a | 15588 // for details. All rights reserved. Use of this source code is governed by a |
| 15152 // BSD-style license that can be found in the LICENSE file. | 15589 // BSD-style license that can be found in the LICENSE file. |
| 15153 | 15590 |
| 15154 // WARNING: Do not edit - generated code. | 15591 // WARNING: Do not edit - generated code. |
| 15155 | 15592 |
| 15156 class WebGLContextEventWrappingImplementation extends EventWrappingImplementatio
n implements WebGLContextEvent { | 15593 class WebGLContextEventWrappingImplementation extends EventWrappingImplementatio
n implements WebGLContextEvent { |
| 15157 WebGLContextEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 15594 WebGLContextEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 15158 | 15595 |
| 15159 String get statusMessage() { return _ptr.statusMessage; } | 15596 String get statusMessage() { return _ptr.statusMessage; } |
| 15160 | |
| 15161 String get typeName() { return "WebGLContextEvent"; } | |
| 15162 } | 15597 } |
| 15163 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 15598 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 15164 // for details. All rights reserved. Use of this source code is governed by a | 15599 // for details. All rights reserved. Use of this source code is governed by a |
| 15165 // BSD-style license that can be found in the LICENSE file. | 15600 // BSD-style license that can be found in the LICENSE file. |
| 15166 | 15601 |
| 15167 // WARNING: Do not edit - generated code. | 15602 // WARNING: Do not edit - generated code. |
| 15168 | 15603 |
| 15169 class WebGLFramebufferWrappingImplementation extends DOMWrapperBase implements W
ebGLFramebuffer { | 15604 class WebGLFramebufferWrappingImplementation extends DOMWrapperBase implements W
ebGLFramebuffer { |
| 15170 WebGLFramebufferWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 15605 WebGLFramebufferWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 15171 | |
| 15172 String get typeName() { return "WebGLFramebuffer"; } | |
| 15173 } | 15606 } |
| 15174 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 15607 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 15175 // for details. All rights reserved. Use of this source code is governed by a | 15608 // for details. All rights reserved. Use of this source code is governed by a |
| 15176 // BSD-style license that can be found in the LICENSE file. | 15609 // BSD-style license that can be found in the LICENSE file. |
| 15177 | 15610 |
| 15178 // WARNING: Do not edit - generated code. | 15611 // WARNING: Do not edit - generated code. |
| 15179 | 15612 |
| 15180 class WebGLProgramWrappingImplementation extends DOMWrapperBase implements WebGL
Program { | 15613 class WebGLProgramWrappingImplementation extends DOMWrapperBase implements WebGL
Program { |
| 15181 WebGLProgramWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 15614 WebGLProgramWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 15182 | |
| 15183 String get typeName() { return "WebGLProgram"; } | |
| 15184 } | 15615 } |
| 15185 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 15616 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 15186 // for details. All rights reserved. Use of this source code is governed by a | 15617 // for details. All rights reserved. Use of this source code is governed by a |
| 15187 // BSD-style license that can be found in the LICENSE file. | 15618 // BSD-style license that can be found in the LICENSE file. |
| 15188 | 15619 |
| 15189 // WARNING: Do not edit - generated code. | 15620 // WARNING: Do not edit - generated code. |
| 15190 | 15621 |
| 15191 class WebGLRenderbufferWrappingImplementation extends DOMWrapperBase implements
WebGLRenderbuffer { | 15622 class WebGLRenderbufferWrappingImplementation extends DOMWrapperBase implements
WebGLRenderbuffer { |
| 15192 WebGLRenderbufferWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 15623 WebGLRenderbufferWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 15193 | |
| 15194 String get typeName() { return "WebGLRenderbuffer"; } | |
| 15195 } | 15624 } |
| 15196 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 15625 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 15197 // for details. All rights reserved. Use of this source code is governed by a | 15626 // for details. All rights reserved. Use of this source code is governed by a |
| 15198 // BSD-style license that can be found in the LICENSE file. | 15627 // BSD-style license that can be found in the LICENSE file. |
| 15199 | 15628 |
| 15200 // WARNING: Do not edit - generated code. | 15629 // WARNING: Do not edit - generated code. |
| 15201 | 15630 |
| 15202 class WebGLRenderingContextWrappingImplementation extends CanvasRenderingContext
WrappingImplementation implements WebGLRenderingContext { | 15631 class WebGLRenderingContextWrappingImplementation extends CanvasRenderingContext
WrappingImplementation implements WebGLRenderingContext { |
| 15203 WebGLRenderingContextWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 15632 WebGLRenderingContextWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 15204 | 15633 |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15260 _ptr.blendFunc(sfactor, dfactor); | 15689 _ptr.blendFunc(sfactor, dfactor); |
| 15261 return; | 15690 return; |
| 15262 } | 15691 } |
| 15263 | 15692 |
| 15264 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) { | 15693 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) { |
| 15265 _ptr.blendFuncSeparate(srcRGB, dstRGB, srcAlpha, dstAlpha); | 15694 _ptr.blendFuncSeparate(srcRGB, dstRGB, srcAlpha, dstAlpha); |
| 15266 return; | 15695 return; |
| 15267 } | 15696 } |
| 15268 | 15697 |
| 15269 void bufferData(int target, var data_OR_size, int usage) { | 15698 void bufferData(int target, var data_OR_size, int usage) { |
| 15270 if (data_OR_size is int) { | 15699 if (data_OR_size is ArrayBuffer) { |
| 15271 _ptr.bufferData(target, LevelDom.unwrap(data_OR_size), usage); | 15700 _ptr.bufferData(target, LevelDom.unwrap(data_OR_size), usage); |
| 15272 return; | 15701 return; |
| 15702 } else { |
| 15703 if (data_OR_size is ArrayBufferView) { |
| 15704 _ptr.bufferData(target, LevelDom.unwrap(data_OR_size), usage); |
| 15705 return; |
| 15706 } else { |
| 15707 if (data_OR_size is int) { |
| 15708 _ptr.bufferData(target, LevelDom.unwrap(data_OR_size), usage); |
| 15709 return; |
| 15710 } |
| 15711 } |
| 15273 } | 15712 } |
| 15274 throw "Incorrect number or type of arguments"; | 15713 throw "Incorrect number or type of arguments"; |
| 15275 } | 15714 } |
| 15276 | 15715 |
| 15277 void bufferSubData(int target, int offset, var data) { | 15716 void bufferSubData(int target, int offset, var data) { |
| 15278 if (data is ArrayBufferView) { | 15717 if (data is ArrayBuffer) { |
| 15279 _ptr.bufferSubData(target, offset, LevelDom.unwrap(data)); | 15718 _ptr.bufferSubData(target, offset, LevelDom.unwrap(data)); |
| 15280 return; | 15719 return; |
| 15720 } else { |
| 15721 if (data is ArrayBufferView) { |
| 15722 _ptr.bufferSubData(target, offset, LevelDom.unwrap(data)); |
| 15723 return; |
| 15724 } |
| 15281 } | 15725 } |
| 15282 throw "Incorrect number or type of arguments"; | 15726 throw "Incorrect number or type of arguments"; |
| 15283 } | 15727 } |
| 15284 | 15728 |
| 15285 int checkFramebufferStatus(int target) { | 15729 int checkFramebufferStatus(int target) { |
| 15286 return _ptr.checkFramebufferStatus(target); | 15730 return _ptr.checkFramebufferStatus(target); |
| 15287 } | 15731 } |
| 15288 | 15732 |
| 15289 void clear(int mask) { | 15733 void clear(int mask) { |
| 15290 _ptr.clear(mask); | 15734 _ptr.clear(mask); |
| (...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15675 void stencilOp(int fail, int zfail, int zpass) { | 16119 void stencilOp(int fail, int zfail, int zpass) { |
| 15676 _ptr.stencilOp(fail, zfail, zpass); | 16120 _ptr.stencilOp(fail, zfail, zpass); |
| 15677 return; | 16121 return; |
| 15678 } | 16122 } |
| 15679 | 16123 |
| 15680 void stencilOpSeparate(int face, int fail, int zfail, int zpass) { | 16124 void stencilOpSeparate(int face, int fail, int zfail, int zpass) { |
| 15681 _ptr.stencilOpSeparate(face, fail, zfail, zpass); | 16125 _ptr.stencilOpSeparate(face, fail, zfail, zpass); |
| 15682 return; | 16126 return; |
| 15683 } | 16127 } |
| 15684 | 16128 |
| 15685 void texImage2D(int target, int level, int internalformat, int format_OR_width
, int height_OR_type, var border_OR_canvas_OR_image_OR_pixels, int format, int t
ype, ArrayBufferView pixels) { | 16129 void texImage2D(int target, int level, int internalformat, int format_OR_width
, int height_OR_type, var border_OR_canvas_OR_image_OR_pixels, [int format = nul
l, int type = null, ArrayBufferView pixels = null]) { |
| 15686 if (border_OR_canvas_OR_image_OR_pixels is int) { | 16130 if (border_OR_canvas_OR_image_OR_pixels is ImageData) { |
| 15687 _ptr.texImage2D(target, level, internalformat, format_OR_width, height_OR_
type, LevelDom.unwrap(border_OR_canvas_OR_image_OR_pixels), format, type, LevelD
om.unwrap(pixels)); | 16131 if (format === null) { |
| 15688 return; | 16132 if (type === null) { |
| 16133 if (pixels === null) { |
| 16134 _ptr.texImage2D(target, level, internalformat, format_OR_width, heig
ht_OR_type, LevelDom.unwrap(border_OR_canvas_OR_image_OR_pixels)); |
| 16135 return; |
| 16136 } |
| 16137 } |
| 16138 } |
| 16139 } else { |
| 16140 if (border_OR_canvas_OR_image_OR_pixels is ImageElement) { |
| 16141 if (format === null) { |
| 16142 if (type === null) { |
| 16143 if (pixels === null) { |
| 16144 _ptr.texImage2D(target, level, internalformat, format_OR_width, he
ight_OR_type, LevelDom.unwrap(border_OR_canvas_OR_image_OR_pixels)); |
| 16145 return; |
| 16146 } |
| 16147 } |
| 16148 } |
| 16149 } else { |
| 16150 if (border_OR_canvas_OR_image_OR_pixels is CanvasElement) { |
| 16151 if (format === null) { |
| 16152 if (type === null) { |
| 16153 if (pixels === null) { |
| 16154 _ptr.texImage2D(target, level, internalformat, format_OR_width,
height_OR_type, LevelDom.unwrap(border_OR_canvas_OR_image_OR_pixels)); |
| 16155 return; |
| 16156 } |
| 16157 } |
| 16158 } |
| 16159 } else { |
| 16160 if (border_OR_canvas_OR_image_OR_pixels is int) { |
| 16161 _ptr.texImage2D(target, level, internalformat, format_OR_width, heig
ht_OR_type, LevelDom.unwrap(border_OR_canvas_OR_image_OR_pixels), format, type,
LevelDom.unwrap(pixels)); |
| 16162 return; |
| 16163 } |
| 16164 } |
| 16165 } |
| 15689 } | 16166 } |
| 15690 throw "Incorrect number or type of arguments"; | 16167 throw "Incorrect number or type of arguments"; |
| 15691 } | 16168 } |
| 15692 | 16169 |
| 15693 void texParameterf(int target, int pname, num param) { | 16170 void texParameterf(int target, int pname, num param) { |
| 15694 _ptr.texParameterf(target, pname, param); | 16171 _ptr.texParameterf(target, pname, param); |
| 15695 return; | 16172 return; |
| 15696 } | 16173 } |
| 15697 | 16174 |
| 15698 void texParameteri(int target, int pname, int param) { | 16175 void texParameteri(int target, int pname, int param) { |
| 15699 _ptr.texParameteri(target, pname, param); | 16176 _ptr.texParameteri(target, pname, param); |
| 15700 return; | 16177 return; |
| 15701 } | 16178 } |
| 15702 | 16179 |
| 15703 void texSubImage2D(int target, int level, int xoffset, int yoffset, int format
_OR_width, int height_OR_type, var canvas_OR_format_OR_image_OR_pixels, int type
, ArrayBufferView pixels) { | 16180 void texSubImage2D(int target, int level, int xoffset, int yoffset, int format
_OR_width, int height_OR_type, var canvas_OR_format_OR_image_OR_pixels, [int typ
e = null, ArrayBufferView pixels = null]) { |
| 15704 if (canvas_OR_format_OR_image_OR_pixels is int) { | 16181 if (canvas_OR_format_OR_image_OR_pixels is ImageData) { |
| 15705 _ptr.texSubImage2D(target, level, xoffset, yoffset, format_OR_width, heigh
t_OR_type, LevelDom.unwrap(canvas_OR_format_OR_image_OR_pixels), type, LevelDom.
unwrap(pixels)); | 16182 if (type === null) { |
| 15706 return; | 16183 if (pixels === null) { |
| 16184 _ptr.texSubImage2D(target, level, xoffset, yoffset, format_OR_width, h
eight_OR_type, LevelDom.unwrap(canvas_OR_format_OR_image_OR_pixels)); |
| 16185 return; |
| 16186 } |
| 16187 } |
| 16188 } else { |
| 16189 if (canvas_OR_format_OR_image_OR_pixels is ImageElement) { |
| 16190 if (type === null) { |
| 16191 if (pixels === null) { |
| 16192 _ptr.texSubImage2D(target, level, xoffset, yoffset, format_OR_width,
height_OR_type, LevelDom.unwrap(canvas_OR_format_OR_image_OR_pixels)); |
| 16193 return; |
| 16194 } |
| 16195 } |
| 16196 } else { |
| 16197 if (canvas_OR_format_OR_image_OR_pixels is CanvasElement) { |
| 16198 if (type === null) { |
| 16199 if (pixels === null) { |
| 16200 _ptr.texSubImage2D(target, level, xoffset, yoffset, format_OR_widt
h, height_OR_type, LevelDom.unwrap(canvas_OR_format_OR_image_OR_pixels)); |
| 16201 return; |
| 16202 } |
| 16203 } |
| 16204 } else { |
| 16205 if (canvas_OR_format_OR_image_OR_pixels is int) { |
| 16206 _ptr.texSubImage2D(target, level, xoffset, yoffset, format_OR_width,
height_OR_type, LevelDom.unwrap(canvas_OR_format_OR_image_OR_pixels), type, Lev
elDom.unwrap(pixels)); |
| 16207 return; |
| 16208 } |
| 16209 } |
| 16210 } |
| 15707 } | 16211 } |
| 15708 throw "Incorrect number or type of arguments"; | 16212 throw "Incorrect number or type of arguments"; |
| 15709 } | 16213 } |
| 15710 | 16214 |
| 15711 void uniform1f(WebGLUniformLocation location, num x) { | 16215 void uniform1f(WebGLUniformLocation location, num x) { |
| 15712 _ptr.uniform1f(LevelDom.unwrap(location), x); | 16216 _ptr.uniform1f(LevelDom.unwrap(location), x); |
| 15713 return; | 16217 return; |
| 15714 } | 16218 } |
| 15715 | 16219 |
| 15716 void uniform1fv(WebGLUniformLocation location, Float32Array v) { | 16220 void uniform1fv(WebGLUniformLocation location, Float32Array v) { |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15855 | 16359 |
| 15856 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st
ride, int offset) { | 16360 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st
ride, int offset) { |
| 15857 _ptr.vertexAttribPointer(indx, size, type, normalized, stride, offset); | 16361 _ptr.vertexAttribPointer(indx, size, type, normalized, stride, offset); |
| 15858 return; | 16362 return; |
| 15859 } | 16363 } |
| 15860 | 16364 |
| 15861 void viewport(int x, int y, int width, int height) { | 16365 void viewport(int x, int y, int width, int height) { |
| 15862 _ptr.viewport(x, y, width, height); | 16366 _ptr.viewport(x, y, width, height); |
| 15863 return; | 16367 return; |
| 15864 } | 16368 } |
| 15865 | |
| 15866 String get typeName() { return "WebGLRenderingContext"; } | |
| 15867 } | 16369 } |
| 15868 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 16370 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 15869 // for details. All rights reserved. Use of this source code is governed by a | 16371 // for details. All rights reserved. Use of this source code is governed by a |
| 15870 // BSD-style license that can be found in the LICENSE file. | 16372 // BSD-style license that can be found in the LICENSE file. |
| 15871 | 16373 |
| 15872 // WARNING: Do not edit - generated code. | 16374 // WARNING: Do not edit - generated code. |
| 15873 | 16375 |
| 15874 class WebGLShaderWrappingImplementation extends DOMWrapperBase implements WebGLS
hader { | 16376 class WebGLShaderWrappingImplementation extends DOMWrapperBase implements WebGLS
hader { |
| 15875 WebGLShaderWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 16377 WebGLShaderWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 15876 | |
| 15877 String get typeName() { return "WebGLShader"; } | |
| 15878 } | 16378 } |
| 15879 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 16379 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 15880 // for details. All rights reserved. Use of this source code is governed by a | 16380 // for details. All rights reserved. Use of this source code is governed by a |
| 15881 // BSD-style license that can be found in the LICENSE file. | 16381 // BSD-style license that can be found in the LICENSE file. |
| 15882 | 16382 |
| 15883 // WARNING: Do not edit - generated code. | 16383 // WARNING: Do not edit - generated code. |
| 15884 | 16384 |
| 15885 class WebGLTextureWrappingImplementation extends DOMWrapperBase implements WebGL
Texture { | 16385 class WebGLTextureWrappingImplementation extends DOMWrapperBase implements WebGL
Texture { |
| 15886 WebGLTextureWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 16386 WebGLTextureWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 15887 | |
| 15888 String get typeName() { return "WebGLTexture"; } | |
| 15889 } | 16387 } |
| 15890 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 16388 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 15891 // for details. All rights reserved. Use of this source code is governed by a | 16389 // for details. All rights reserved. Use of this source code is governed by a |
| 15892 // BSD-style license that can be found in the LICENSE file. | 16390 // BSD-style license that can be found in the LICENSE file. |
| 15893 | 16391 |
| 15894 // WARNING: Do not edit - generated code. | 16392 // WARNING: Do not edit - generated code. |
| 15895 | 16393 |
| 15896 class WebGLUniformLocationWrappingImplementation extends DOMWrapperBase implemen
ts WebGLUniformLocation { | 16394 class WebGLUniformLocationWrappingImplementation extends DOMWrapperBase implemen
ts WebGLUniformLocation { |
| 15897 WebGLUniformLocationWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 16395 WebGLUniformLocationWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 15898 | |
| 15899 String get typeName() { return "WebGLUniformLocation"; } | |
| 15900 } | 16396 } |
| 15901 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 16397 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 15902 // for details. All rights reserved. Use of this source code is governed by a | 16398 // for details. All rights reserved. Use of this source code is governed by a |
| 15903 // BSD-style license that can be found in the LICENSE file. | 16399 // BSD-style license that can be found in the LICENSE file. |
| 15904 | 16400 |
| 15905 // WARNING: Do not edit - generated code. | 16401 // WARNING: Do not edit - generated code. |
| 15906 | 16402 |
| 15907 class WebGLVertexArrayObjectOESWrappingImplementation extends DOMWrapperBase imp
lements WebGLVertexArrayObjectOES { | 16403 class WebGLVertexArrayObjectOESWrappingImplementation extends DOMWrapperBase imp
lements WebGLVertexArrayObjectOES { |
| 15908 WebGLVertexArrayObjectOESWrappingImplementation._wrap(ptr) : super._wrap(ptr)
{} | 16404 WebGLVertexArrayObjectOESWrappingImplementation._wrap(ptr) : super._wrap(ptr)
{} |
| 15909 | |
| 15910 String get typeName() { return "WebGLVertexArrayObjectOES"; } | |
| 15911 } | 16405 } |
| 15912 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 16406 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 15913 // for details. All rights reserved. Use of this source code is governed by a | 16407 // for details. All rights reserved. Use of this source code is governed by a |
| 15914 // BSD-style license that can be found in the LICENSE file. | 16408 // BSD-style license that can be found in the LICENSE file. |
| 15915 | 16409 |
| 15916 // WARNING: Do not edit - generated code. | 16410 // WARNING: Do not edit - generated code. |
| 15917 | 16411 |
| 15918 class WheelEventWrappingImplementation extends UIEventWrappingImplementation imp
lements WheelEvent { | 16412 class WheelEventWrappingImplementation extends UIEventWrappingImplementation imp
lements WheelEvent { |
| 15919 WheelEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 16413 WheelEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 15920 | 16414 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 15945 int get wheelDeltaY() { return _ptr.wheelDeltaY; } | 16439 int get wheelDeltaY() { return _ptr.wheelDeltaY; } |
| 15946 | 16440 |
| 15947 int get x() { return _ptr.x; } | 16441 int get x() { return _ptr.x; } |
| 15948 | 16442 |
| 15949 int get y() { return _ptr.y; } | 16443 int get y() { return _ptr.y; } |
| 15950 | 16444 |
| 15951 void initWheelEvent(int wheelDeltaX, int wheelDeltaY, Window view, int screenX
, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKe
y, bool metaKey) { | 16445 void initWheelEvent(int wheelDeltaX, int wheelDeltaY, Window view, int screenX
, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKe
y, bool metaKey) { |
| 15952 _ptr.initWheelEvent(wheelDeltaX, wheelDeltaY, LevelDom.unwrap(view), screenX
, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey); | 16446 _ptr.initWheelEvent(wheelDeltaX, wheelDeltaY, LevelDom.unwrap(view), screenX
, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey); |
| 15953 return; | 16447 return; |
| 15954 } | 16448 } |
| 15955 | |
| 15956 String get typeName() { return "WheelEvent"; } | |
| 15957 } | 16449 } |
| 15958 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 16450 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 15959 // for details. All rights reserved. Use of this source code is governed by a | 16451 // for details. All rights reserved. Use of this source code is governed by a |
| 15960 // BSD-style license that can be found in the LICENSE file. | 16452 // BSD-style license that can be found in the LICENSE file. |
| 15961 | 16453 |
| 15962 // WARNING: Do not edit - generated code. | 16454 // WARNING: Do not edit - generated code. |
| 15963 | 16455 |
| 15964 class XMLHttpRequestExceptionWrappingImplementation extends DOMWrapperBase imple
ments XMLHttpRequestException { | 16456 class XMLHttpRequestExceptionWrappingImplementation extends DOMWrapperBase imple
ments XMLHttpRequestException { |
| 15965 XMLHttpRequestExceptionWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 16457 XMLHttpRequestExceptionWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 15966 | 16458 |
| 15967 int get code() { return _ptr.code; } | 16459 int get code() { return _ptr.code; } |
| 15968 | 16460 |
| 15969 String get message() { return _ptr.message; } | 16461 String get message() { return _ptr.message; } |
| 15970 | 16462 |
| 15971 String get name() { return _ptr.name; } | 16463 String get name() { return _ptr.name; } |
| 15972 | |
| 15973 String get typeName() { return "XMLHttpRequestException"; } | |
| 15974 } | 16464 } |
| 15975 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 16465 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 15976 // for details. All rights reserved. Use of this source code is governed by a | 16466 // for details. All rights reserved. Use of this source code is governed by a |
| 15977 // BSD-style license that can be found in the LICENSE file. | 16467 // BSD-style license that can be found in the LICENSE file. |
| 15978 | 16468 |
| 15979 // WARNING: Do not edit - generated code. | 16469 // WARNING: Do not edit - generated code. |
| 15980 | 16470 |
| 15981 class XMLHttpRequestProgressEventWrappingImplementation extends ProgressEventWra
ppingImplementation implements XMLHttpRequestProgressEvent { | 16471 class XMLHttpRequestProgressEventWrappingImplementation extends ProgressEventWra
ppingImplementation implements XMLHttpRequestProgressEvent { |
| 15982 XMLHttpRequestProgressEventWrappingImplementation._wrap(ptr) : super._wrap(ptr
) {} | 16472 XMLHttpRequestProgressEventWrappingImplementation._wrap(ptr) : super._wrap(ptr
) {} |
| 15983 | 16473 |
| 15984 int get position() { return _ptr.position; } | 16474 int get position() { return _ptr.position; } |
| 15985 | 16475 |
| 15986 int get totalSize() { return _ptr.totalSize; } | 16476 int get totalSize() { return _ptr.totalSize; } |
| 15987 | |
| 15988 String get typeName() { return "XMLHttpRequestProgressEvent"; } | |
| 15989 } | 16477 } |
| 15990 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 16478 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 15991 // for details. All rights reserved. Use of this source code is governed by a | 16479 // for details. All rights reserved. Use of this source code is governed by a |
| 15992 // BSD-style license that can be found in the LICENSE file. | 16480 // BSD-style license that can be found in the LICENSE file. |
| 15993 | 16481 |
| 15994 // WARNING: Do not edit - generated code. | 16482 // WARNING: Do not edit - generated code. |
| 15995 | 16483 |
| 15996 class LevelDom { | 16484 class LevelDom { |
| 15997 static AnchorElement wrapAnchorElement(raw) { | 16485 static AnchorElement wrapAnchorElement(raw) { |
| 15998 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO
bjectLocalStorage : new AnchorElementWrappingImplementation._wrap(raw); | 16486 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO
bjectLocalStorage : new AnchorElementWrappingImplementation._wrap(raw); |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16062 } | 16550 } |
| 16063 | 16551 |
| 16064 static BaseElement wrapBaseElement(raw) { | 16552 static BaseElement wrapBaseElement(raw) { |
| 16065 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO
bjectLocalStorage : new BaseElementWrappingImplementation._wrap(raw); | 16553 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO
bjectLocalStorage : new BaseElementWrappingImplementation._wrap(raw); |
| 16066 } | 16554 } |
| 16067 | 16555 |
| 16068 static BeforeLoadEvent wrapBeforeLoadEvent(raw) { | 16556 static BeforeLoadEvent wrapBeforeLoadEvent(raw) { |
| 16069 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO
bjectLocalStorage : new BeforeLoadEventWrappingImplementation._wrap(raw); | 16557 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO
bjectLocalStorage : new BeforeLoadEventWrappingImplementation._wrap(raw); |
| 16070 } | 16558 } |
| 16071 | 16559 |
| 16072 static BeforeProcessEvent wrapBeforeProcessEvent(raw) { | |
| 16073 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO
bjectLocalStorage : new BeforeProcessEventWrappingImplementation._wrap(raw); | |
| 16074 } | |
| 16075 | |
| 16076 static Blob wrapBlob(raw) { | 16560 static Blob wrapBlob(raw) { |
| 16077 if (raw === null) { return null; } | 16561 if (raw === null) { return null; } |
| 16078 if (raw.dartObjectLocalStorage !== null) { | 16562 if (raw.dartObjectLocalStorage !== null) { |
| 16079 return raw.dartObjectLocalStorage; | 16563 return raw.dartObjectLocalStorage; |
| 16080 } | 16564 } |
| 16081 switch (raw.typeName) { | 16565 switch (raw.typeName) { |
| 16082 case "Blob": | 16566 case "Blob": |
| 16083 return new BlobWrappingImplementation._wrap(raw); | 16567 return new BlobWrappingImplementation._wrap(raw); |
| 16084 case "File": | 16568 case "File": |
| 16085 return new FileWrappingImplementation._wrap(raw); | 16569 return new FileWrappingImplementation._wrap(raw); |
| 16086 default: | 16570 default: |
| 16087 throw new UnsupportedOperationException("Unknown type:" + raw.toString()
); | 16571 throw new UnsupportedOperationException("Unknown type:" + raw.toString()
); |
| 16088 } | 16572 } |
| 16089 } | 16573 } |
| 16090 | 16574 |
| 16091 static BlobBuilder wrapBlobBuilder(raw) { | 16575 static BlobBuilder wrapBlobBuilder(raw) { |
| 16092 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO
bjectLocalStorage : new BlobBuilderWrappingImplementation._wrap(raw); | 16576 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO
bjectLocalStorage : new BlobBuilderWrappingImplementation._wrap(raw); |
| 16093 } | 16577 } |
| 16094 | 16578 |
| 16095 static BlockquoteElement wrapBlockquoteElement(raw) { | |
| 16096 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO
bjectLocalStorage : new BlockquoteElementWrappingImplementation._wrap(raw); | |
| 16097 } | |
| 16098 | |
| 16099 static BodyElement wrapBodyElement(raw) { | 16579 static BodyElement wrapBodyElement(raw) { |
| 16100 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO
bjectLocalStorage : new BodyElementWrappingImplementation._wrap(raw); | 16580 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO
bjectLocalStorage : new BodyElementWrappingImplementation._wrap(raw); |
| 16101 } | 16581 } |
| 16102 | 16582 |
| 16103 static ButtonElement wrapButtonElement(raw) { | 16583 static ButtonElement wrapButtonElement(raw) { |
| 16104 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO
bjectLocalStorage : new ButtonElementWrappingImplementation._wrap(raw); | 16584 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO
bjectLocalStorage : new ButtonElementWrappingImplementation._wrap(raw); |
| 16105 } | 16585 } |
| 16106 | 16586 |
| 16107 static CDATASection wrapCDATASection(raw) { | 16587 static CDATASection wrapCDATASection(raw) { |
| 16108 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO
bjectLocalStorage : new CDATASectionWrappingImplementation._wrap(raw); | 16588 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO
bjectLocalStorage : new CDATASectionWrappingImplementation._wrap(raw); |
| (...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16471 /* Skipping HTMLAppletElement*/ | 16951 /* Skipping HTMLAppletElement*/ |
| 16472 case "HTMLAreaElement": | 16952 case "HTMLAreaElement": |
| 16473 return new AreaElementWrappingImplementation._wrap(raw); | 16953 return new AreaElementWrappingImplementation._wrap(raw); |
| 16474 case "HTMLAudioElement": | 16954 case "HTMLAudioElement": |
| 16475 return new AudioElementWrappingImplementation._wrap(raw); | 16955 return new AudioElementWrappingImplementation._wrap(raw); |
| 16476 case "HTMLBRElement": | 16956 case "HTMLBRElement": |
| 16477 return new BRElementWrappingImplementation._wrap(raw); | 16957 return new BRElementWrappingImplementation._wrap(raw); |
| 16478 case "HTMLBaseElement": | 16958 case "HTMLBaseElement": |
| 16479 return new BaseElementWrappingImplementation._wrap(raw); | 16959 return new BaseElementWrappingImplementation._wrap(raw); |
| 16480 /* Skipping HTMLBaseFontElement*/ | 16960 /* Skipping HTMLBaseFontElement*/ |
| 16481 case "HTMLBlockquoteElement": | |
| 16482 return new BlockquoteElementWrappingImplementation._wrap(raw); | |
| 16483 case "HTMLBodyElement": | 16961 case "HTMLBodyElement": |
| 16484 return new BodyElementWrappingImplementation._wrap(raw); | 16962 return new BodyElementWrappingImplementation._wrap(raw); |
| 16485 case "HTMLButtonElement": | 16963 case "HTMLButtonElement": |
| 16486 return new ButtonElementWrappingImplementation._wrap(raw); | 16964 return new ButtonElementWrappingImplementation._wrap(raw); |
| 16487 case "HTMLCanvasElement": | 16965 case "HTMLCanvasElement": |
| 16488 return new CanvasElementWrappingImplementation._wrap(raw); | 16966 return new CanvasElementWrappingImplementation._wrap(raw); |
| 16489 case "HTMLDListElement": | 16967 case "HTMLDListElement": |
| 16490 return new DListElementWrappingImplementation._wrap(raw); | 16968 return new DListElementWrappingImplementation._wrap(raw); |
| 16491 case "HTMLDataListElement": | 16969 case "HTMLDataListElement": |
| 16492 return new DataListElementWrappingImplementation._wrap(raw); | 16970 return new DataListElementWrappingImplementation._wrap(raw); |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16565 case "HTMLProgressElement": | 17043 case "HTMLProgressElement": |
| 16566 return new ProgressElementWrappingImplementation._wrap(raw); | 17044 return new ProgressElementWrappingImplementation._wrap(raw); |
| 16567 case "HTMLQuoteElement": | 17045 case "HTMLQuoteElement": |
| 16568 return new QuoteElementWrappingImplementation._wrap(raw); | 17046 return new QuoteElementWrappingImplementation._wrap(raw); |
| 16569 case "HTMLScriptElement": | 17047 case "HTMLScriptElement": |
| 16570 return new ScriptElementWrappingImplementation._wrap(raw); | 17048 return new ScriptElementWrappingImplementation._wrap(raw); |
| 16571 case "HTMLSelectElement": | 17049 case "HTMLSelectElement": |
| 16572 return new SelectElementWrappingImplementation._wrap(raw); | 17050 return new SelectElementWrappingImplementation._wrap(raw); |
| 16573 case "HTMLSourceElement": | 17051 case "HTMLSourceElement": |
| 16574 return new SourceElementWrappingImplementation._wrap(raw); | 17052 return new SourceElementWrappingImplementation._wrap(raw); |
| 17053 case "HTMLSpanElement": |
| 17054 return new SpanElementWrappingImplementation._wrap(raw); |
| 16575 case "HTMLStyleElement": | 17055 case "HTMLStyleElement": |
| 16576 return new StyleElementWrappingImplementation._wrap(raw); | 17056 return new StyleElementWrappingImplementation._wrap(raw); |
| 16577 case "HTMLTableCaptionElement": | 17057 case "HTMLTableCaptionElement": |
| 16578 return new TableCaptionElementWrappingImplementation._wrap(raw); | 17058 return new TableCaptionElementWrappingImplementation._wrap(raw); |
| 16579 case "HTMLTableCellElement": | 17059 case "HTMLTableCellElement": |
| 16580 return new TableCellElementWrappingImplementation._wrap(raw); | 17060 return new TableCellElementWrappingImplementation._wrap(raw); |
| 16581 case "HTMLTableColElement": | 17061 case "HTMLTableColElement": |
| 16582 return new TableColElementWrappingImplementation._wrap(raw); | 17062 return new TableColElementWrappingImplementation._wrap(raw); |
| 16583 case "HTMLTableElement": | 17063 case "HTMLTableElement": |
| 16584 return new TableElementWrappingImplementation._wrap(raw); | 17064 return new TableElementWrappingImplementation._wrap(raw); |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16680 static Event wrapEvent(raw) { | 17160 static Event wrapEvent(raw) { |
| 16681 if (raw === null) { return null; } | 17161 if (raw === null) { return null; } |
| 16682 if (raw.dartObjectLocalStorage !== null) { | 17162 if (raw.dartObjectLocalStorage !== null) { |
| 16683 return raw.dartObjectLocalStorage; | 17163 return raw.dartObjectLocalStorage; |
| 16684 } | 17164 } |
| 16685 switch (raw.typeName) { | 17165 switch (raw.typeName) { |
| 16686 case "WebKitAnimationEvent": | 17166 case "WebKitAnimationEvent": |
| 16687 return new AnimationEventWrappingImplementation._wrap(raw); | 17167 return new AnimationEventWrappingImplementation._wrap(raw); |
| 16688 case "BeforeLoadEvent": | 17168 case "BeforeLoadEvent": |
| 16689 return new BeforeLoadEventWrappingImplementation._wrap(raw); | 17169 return new BeforeLoadEventWrappingImplementation._wrap(raw); |
| 16690 case "BeforeProcessEvent": | |
| 16691 return new BeforeProcessEventWrappingImplementation._wrap(raw); | |
| 16692 case "CloseEvent": | 17170 case "CloseEvent": |
| 16693 return new CloseEventWrappingImplementation._wrap(raw); | 17171 return new CloseEventWrappingImplementation._wrap(raw); |
| 16694 case "CompositionEvent": | 17172 case "CompositionEvent": |
| 16695 return new CompositionEventWrappingImplementation._wrap(raw); | 17173 return new CompositionEventWrappingImplementation._wrap(raw); |
| 16696 case "CustomEvent": | 17174 case "CustomEvent": |
| 16697 return new CustomEventWrappingImplementation._wrap(raw); | 17175 return new CustomEventWrappingImplementation._wrap(raw); |
| 16698 case "DeviceMotionEvent": | 17176 case "DeviceMotionEvent": |
| 16699 return new DeviceMotionEventWrappingImplementation._wrap(raw); | 17177 return new DeviceMotionEventWrappingImplementation._wrap(raw); |
| 16700 case "DeviceOrientationEvent": | 17178 case "DeviceOrientationEvent": |
| 16701 return new DeviceOrientationEventWrappingImplementation._wrap(raw); | 17179 return new DeviceOrientationEventWrappingImplementation._wrap(raw); |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16771 case "HTMLAreaElement": | 17249 case "HTMLAreaElement": |
| 16772 return new AreaElementWrappingImplementation._wrap(raw); | 17250 return new AreaElementWrappingImplementation._wrap(raw); |
| 16773 /* Skipping Attr*/ | 17251 /* Skipping Attr*/ |
| 16774 case "HTMLAudioElement": | 17252 case "HTMLAudioElement": |
| 16775 return new AudioElementWrappingImplementation._wrap(raw); | 17253 return new AudioElementWrappingImplementation._wrap(raw); |
| 16776 case "HTMLBRElement": | 17254 case "HTMLBRElement": |
| 16777 return new BRElementWrappingImplementation._wrap(raw); | 17255 return new BRElementWrappingImplementation._wrap(raw); |
| 16778 case "HTMLBaseElement": | 17256 case "HTMLBaseElement": |
| 16779 return new BaseElementWrappingImplementation._wrap(raw); | 17257 return new BaseElementWrappingImplementation._wrap(raw); |
| 16780 /* Skipping HTMLBaseFontElement*/ | 17258 /* Skipping HTMLBaseFontElement*/ |
| 16781 case "HTMLBlockquoteElement": | |
| 16782 return new BlockquoteElementWrappingImplementation._wrap(raw); | |
| 16783 case "HTMLBodyElement": | 17259 case "HTMLBodyElement": |
| 16784 return new BodyElementWrappingImplementation._wrap(raw); | 17260 return new BodyElementWrappingImplementation._wrap(raw); |
| 16785 case "HTMLButtonElement": | 17261 case "HTMLButtonElement": |
| 16786 return new ButtonElementWrappingImplementation._wrap(raw); | 17262 return new ButtonElementWrappingImplementation._wrap(raw); |
| 16787 case "CDATASection": | 17263 case "CDATASection": |
| 16788 return new CDATASectionWrappingImplementation._wrap(raw); | 17264 return new CDATASectionWrappingImplementation._wrap(raw); |
| 16789 case "HTMLCanvasElement": | 17265 case "HTMLCanvasElement": |
| 16790 return new CanvasElementWrappingImplementation._wrap(raw); | 17266 return new CanvasElementWrappingImplementation._wrap(raw); |
| 16791 case "CharacterData": | 17267 case "CharacterData": |
| 16792 return new CharacterDataWrappingImplementation._wrap(raw); | 17268 return new CharacterDataWrappingImplementation._wrap(raw); |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16898 case "HTMLQuoteElement": | 17374 case "HTMLQuoteElement": |
| 16899 return new QuoteElementWrappingImplementation._wrap(raw); | 17375 return new QuoteElementWrappingImplementation._wrap(raw); |
| 16900 case "HTMLScriptElement": | 17376 case "HTMLScriptElement": |
| 16901 return new ScriptElementWrappingImplementation._wrap(raw); | 17377 return new ScriptElementWrappingImplementation._wrap(raw); |
| 16902 case "HTMLSelectElement": | 17378 case "HTMLSelectElement": |
| 16903 return new SelectElementWrappingImplementation._wrap(raw); | 17379 return new SelectElementWrappingImplementation._wrap(raw); |
| 16904 case "SharedWorker": | 17380 case "SharedWorker": |
| 16905 return new SharedWorkerWrappingImplementation._wrap(raw); | 17381 return new SharedWorkerWrappingImplementation._wrap(raw); |
| 16906 case "HTMLSourceElement": | 17382 case "HTMLSourceElement": |
| 16907 return new SourceElementWrappingImplementation._wrap(raw); | 17383 return new SourceElementWrappingImplementation._wrap(raw); |
| 17384 case "HTMLSpanElement": |
| 17385 return new SpanElementWrappingImplementation._wrap(raw); |
| 16908 case "HTMLStyleElement": | 17386 case "HTMLStyleElement": |
| 16909 return new StyleElementWrappingImplementation._wrap(raw); | 17387 return new StyleElementWrappingImplementation._wrap(raw); |
| 16910 case "HTMLTableCaptionElement": | 17388 case "HTMLTableCaptionElement": |
| 16911 return new TableCaptionElementWrappingImplementation._wrap(raw); | 17389 return new TableCaptionElementWrappingImplementation._wrap(raw); |
| 16912 case "HTMLTableCellElement": | 17390 case "HTMLTableCellElement": |
| 16913 return new TableCellElementWrappingImplementation._wrap(raw); | 17391 return new TableCellElementWrappingImplementation._wrap(raw); |
| 16914 case "HTMLTableColElement": | 17392 case "HTMLTableColElement": |
| 16915 return new TableColElementWrappingImplementation._wrap(raw); | 17393 return new TableColElementWrappingImplementation._wrap(raw); |
| 16916 case "HTMLTableElement": | 17394 case "HTMLTableElement": |
| 16917 return new TableElementWrappingImplementation._wrap(raw); | 17395 return new TableElementWrappingImplementation._wrap(raw); |
| (...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17317 } | 17795 } |
| 17318 | 17796 |
| 17319 static MouseEvent wrapMouseEvent(raw) { | 17797 static MouseEvent wrapMouseEvent(raw) { |
| 17320 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO
bjectLocalStorage : new MouseEventWrappingImplementation._wrap(raw); | 17798 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO
bjectLocalStorage : new MouseEventWrappingImplementation._wrap(raw); |
| 17321 } | 17799 } |
| 17322 | 17800 |
| 17323 static MutationEvent wrapMutationEvent(raw) { | 17801 static MutationEvent wrapMutationEvent(raw) { |
| 17324 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO
bjectLocalStorage : new MutationEventWrappingImplementation._wrap(raw); | 17802 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO
bjectLocalStorage : new MutationEventWrappingImplementation._wrap(raw); |
| 17325 } | 17803 } |
| 17326 | 17804 |
| 17805 static MutationRecord wrapMutationRecord(raw) { |
| 17806 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO
bjectLocalStorage : new MutationRecordWrappingImplementation._wrap(raw); |
| 17807 } |
| 17808 |
| 17327 static Navigator wrapNavigator(raw) { | 17809 static Navigator wrapNavigator(raw) { |
| 17328 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO
bjectLocalStorage : new NavigatorWrappingImplementation._wrap(raw); | 17810 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO
bjectLocalStorage : new NavigatorWrappingImplementation._wrap(raw); |
| 17329 } | 17811 } |
| 17330 | 17812 |
| 17331 static NavigatorUserMediaError wrapNavigatorUserMediaError(raw) { | 17813 static NavigatorUserMediaError wrapNavigatorUserMediaError(raw) { |
| 17332 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO
bjectLocalStorage : new NavigatorUserMediaErrorWrappingImplementation._wrap(raw)
; | 17814 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO
bjectLocalStorage : new NavigatorUserMediaErrorWrappingImplementation._wrap(raw)
; |
| 17333 } | 17815 } |
| 17334 | 17816 |
| 17335 static NavigatorUserMediaErrorCallback wrapNavigatorUserMediaErrorCallback(raw
) { | 17817 static NavigatorUserMediaErrorCallback wrapNavigatorUserMediaErrorCallback(raw
) { |
| 17336 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO
bjectLocalStorage : new NavigatorUserMediaErrorCallbackWrappingImplementation._w
rap(raw); | 17818 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO
bjectLocalStorage : new NavigatorUserMediaErrorCallbackWrappingImplementation._w
rap(raw); |
| (...skipping 15 matching lines...) Expand all Loading... |
| 17352 case "HTMLAreaElement": | 17834 case "HTMLAreaElement": |
| 17353 return new AreaElementWrappingImplementation._wrap(raw); | 17835 return new AreaElementWrappingImplementation._wrap(raw); |
| 17354 /* Skipping Attr*/ | 17836 /* Skipping Attr*/ |
| 17355 case "HTMLAudioElement": | 17837 case "HTMLAudioElement": |
| 17356 return new AudioElementWrappingImplementation._wrap(raw); | 17838 return new AudioElementWrappingImplementation._wrap(raw); |
| 17357 case "HTMLBRElement": | 17839 case "HTMLBRElement": |
| 17358 return new BRElementWrappingImplementation._wrap(raw); | 17840 return new BRElementWrappingImplementation._wrap(raw); |
| 17359 case "HTMLBaseElement": | 17841 case "HTMLBaseElement": |
| 17360 return new BaseElementWrappingImplementation._wrap(raw); | 17842 return new BaseElementWrappingImplementation._wrap(raw); |
| 17361 /* Skipping HTMLBaseFontElement*/ | 17843 /* Skipping HTMLBaseFontElement*/ |
| 17362 case "HTMLBlockquoteElement": | |
| 17363 return new BlockquoteElementWrappingImplementation._wrap(raw); | |
| 17364 case "HTMLBodyElement": | 17844 case "HTMLBodyElement": |
| 17365 return new BodyElementWrappingImplementation._wrap(raw); | 17845 return new BodyElementWrappingImplementation._wrap(raw); |
| 17366 case "HTMLButtonElement": | 17846 case "HTMLButtonElement": |
| 17367 return new ButtonElementWrappingImplementation._wrap(raw); | 17847 return new ButtonElementWrappingImplementation._wrap(raw); |
| 17368 case "CDATASection": | 17848 case "CDATASection": |
| 17369 return new CDATASectionWrappingImplementation._wrap(raw); | 17849 return new CDATASectionWrappingImplementation._wrap(raw); |
| 17370 case "HTMLCanvasElement": | 17850 case "HTMLCanvasElement": |
| 17371 return new CanvasElementWrappingImplementation._wrap(raw); | 17851 return new CanvasElementWrappingImplementation._wrap(raw); |
| 17372 case "CharacterData": | 17852 case "CharacterData": |
| 17373 return new CharacterDataWrappingImplementation._wrap(raw); | 17853 return new CharacterDataWrappingImplementation._wrap(raw); |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17467 case "HTMLProgressElement": | 17947 case "HTMLProgressElement": |
| 17468 return new ProgressElementWrappingImplementation._wrap(raw); | 17948 return new ProgressElementWrappingImplementation._wrap(raw); |
| 17469 case "HTMLQuoteElement": | 17949 case "HTMLQuoteElement": |
| 17470 return new QuoteElementWrappingImplementation._wrap(raw); | 17950 return new QuoteElementWrappingImplementation._wrap(raw); |
| 17471 case "HTMLScriptElement": | 17951 case "HTMLScriptElement": |
| 17472 return new ScriptElementWrappingImplementation._wrap(raw); | 17952 return new ScriptElementWrappingImplementation._wrap(raw); |
| 17473 case "HTMLSelectElement": | 17953 case "HTMLSelectElement": |
| 17474 return new SelectElementWrappingImplementation._wrap(raw); | 17954 return new SelectElementWrappingImplementation._wrap(raw); |
| 17475 case "HTMLSourceElement": | 17955 case "HTMLSourceElement": |
| 17476 return new SourceElementWrappingImplementation._wrap(raw); | 17956 return new SourceElementWrappingImplementation._wrap(raw); |
| 17957 case "HTMLSpanElement": |
| 17958 return new SpanElementWrappingImplementation._wrap(raw); |
| 17477 case "HTMLStyleElement": | 17959 case "HTMLStyleElement": |
| 17478 return new StyleElementWrappingImplementation._wrap(raw); | 17960 return new StyleElementWrappingImplementation._wrap(raw); |
| 17479 case "HTMLTableCaptionElement": | 17961 case "HTMLTableCaptionElement": |
| 17480 return new TableCaptionElementWrappingImplementation._wrap(raw); | 17962 return new TableCaptionElementWrappingImplementation._wrap(raw); |
| 17481 case "HTMLTableCellElement": | 17963 case "HTMLTableCellElement": |
| 17482 return new TableCellElementWrappingImplementation._wrap(raw); | 17964 return new TableCellElementWrappingImplementation._wrap(raw); |
| 17483 case "HTMLTableColElement": | 17965 case "HTMLTableColElement": |
| 17484 return new TableColElementWrappingImplementation._wrap(raw); | 17966 return new TableColElementWrappingImplementation._wrap(raw); |
| 17485 case "HTMLTableElement": | 17967 case "HTMLTableElement": |
| 17486 return new TableElementWrappingImplementation._wrap(raw); | 17968 return new TableElementWrappingImplementation._wrap(raw); |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17651 } | 18133 } |
| 17652 | 18134 |
| 17653 static SharedWorker wrapSharedWorker(raw) { | 18135 static SharedWorker wrapSharedWorker(raw) { |
| 17654 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO
bjectLocalStorage : new SharedWorkerWrappingImplementation._wrap(raw); | 18136 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO
bjectLocalStorage : new SharedWorkerWrappingImplementation._wrap(raw); |
| 17655 } | 18137 } |
| 17656 | 18138 |
| 17657 static SourceElement wrapSourceElement(raw) { | 18139 static SourceElement wrapSourceElement(raw) { |
| 17658 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO
bjectLocalStorage : new SourceElementWrappingImplementation._wrap(raw); | 18140 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO
bjectLocalStorage : new SourceElementWrappingImplementation._wrap(raw); |
| 17659 } | 18141 } |
| 17660 | 18142 |
| 18143 static SpanElement wrapSpanElement(raw) { |
| 18144 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO
bjectLocalStorage : new SpanElementWrappingImplementation._wrap(raw); |
| 18145 } |
| 18146 |
| 17661 static SpeechInputEvent wrapSpeechInputEvent(raw) { | 18147 static SpeechInputEvent wrapSpeechInputEvent(raw) { |
| 17662 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO
bjectLocalStorage : new SpeechInputEventWrappingImplementation._wrap(raw); | 18148 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO
bjectLocalStorage : new SpeechInputEventWrappingImplementation._wrap(raw); |
| 17663 } | 18149 } |
| 17664 | 18150 |
| 17665 static SpeechInputResult wrapSpeechInputResult(raw) { | 18151 static SpeechInputResult wrapSpeechInputResult(raw) { |
| 17666 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO
bjectLocalStorage : new SpeechInputResultWrappingImplementation._wrap(raw); | 18152 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO
bjectLocalStorage : new SpeechInputResultWrappingImplementation._wrap(raw); |
| 17667 } | 18153 } |
| 17668 | 18154 |
| 17669 static SpeechInputResultList wrapSpeechInputResultList(raw) { | 18155 static SpeechInputResultList wrapSpeechInputResultList(raw) { |
| 17670 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO
bjectLocalStorage : new SpeechInputResultListWrappingImplementation._wrap(raw); | 18156 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO
bjectLocalStorage : new SpeechInputResultListWrappingImplementation._wrap(raw); |
| (...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18147 | 18633 |
| 18148 class DOMWrapperBase { | 18634 class DOMWrapperBase { |
| 18149 final _ptr; | 18635 final _ptr; |
| 18150 | 18636 |
| 18151 DOMWrapperBase._wrap(this._ptr) { | 18637 DOMWrapperBase._wrap(this._ptr) { |
| 18152 // We should never be creating duplicate wrappers. | 18638 // We should never be creating duplicate wrappers. |
| 18153 assert(_ptr.dartObjectLocalStorage === null); | 18639 assert(_ptr.dartObjectLocalStorage === null); |
| 18154 _ptr.dartObjectLocalStorage = this; | 18640 _ptr.dartObjectLocalStorage = this; |
| 18155 } | 18641 } |
| 18156 } | 18642 } |
| 18643 |
| 18157 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 18644 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 18158 // for details. All rights reserved. Use of this source code is governed by a | 18645 // for details. All rights reserved. Use of this source code is governed by a |
| 18159 // BSD-style license that can be found in the LICENSE file. | 18646 // BSD-style license that can be found in the LICENSE file. |
| 18160 | 18647 |
| 18161 interface DocumentEvents extends ElementEvents { | 18648 interface DocumentEvents extends ElementEvents { |
| 18162 EventListenerList get readyStateChange(); | 18649 EventListenerList get readyStateChange(); |
| 18163 EventListenerList get selectionChange(); | 18650 EventListenerList get selectionChange(); |
| 18164 EventListenerList get contentLoaded(); | 18651 EventListenerList get contentLoaded(); |
| 18165 } | 18652 } |
| 18166 | 18653 |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18241 String get manifest(); | 18728 String get manifest(); |
| 18242 | 18729 |
| 18243 void set manifest(String value); | 18730 void set manifest(String value); |
| 18244 | 18731 |
| 18245 DocumentEvents get on(); | 18732 DocumentEvents get on(); |
| 18246 } | 18733 } |
| 18247 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 18734 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 18248 // for details. All rights reserved. Use of this source code is governed by a | 18735 // for details. All rights reserved. Use of this source code is governed by a |
| 18249 // BSD-style license that can be found in the LICENSE file. | 18736 // BSD-style license that can be found in the LICENSE file. |
| 18250 | 18737 |
| 18738 /** |
| 18739 * Provides a Map abstraction on top of data-* attributes, similar to the |
| 18740 * dataSet in the old DOM. |
| 18741 */ |
| 18742 class _DataAttributeMap implements Map<String, String> { |
| 18743 |
| 18744 final Map<String, String> _attributes; |
| 18745 |
| 18746 _DataAttributeMap(this._attributes); |
| 18747 |
| 18748 // interface Map |
| 18749 |
| 18750 // TODO: Use lazy iterator when it is available on Map. |
| 18751 bool containsValue(String value) => getValues().some((v) => v == value); |
| 18752 |
| 18753 bool containsKey(String key) => _attributes.containsKey(_attr(key)); |
| 18754 |
| 18755 String operator [](String key) => _attributes[_attr(key)]; |
| 18756 |
| 18757 void operator []=(String key, String value) { |
| 18758 _attributes[_attr(key)] = value; |
| 18759 } |
| 18760 |
| 18761 String putIfAbsent(String key, String ifAbsent()) { |
| 18762 if (!containsKey(key)) { |
| 18763 return this[key] = ifAbsent(); |
| 18764 } |
| 18765 return this[key]; |
| 18766 } |
| 18767 |
| 18768 String remove(String key) => _attributes.remove(_attr(key)); |
| 18769 |
| 18770 void clear() { |
| 18771 // Needs to operate on a snapshot since we are mutatiting the collection. |
| 18772 for (String key in getKeys()) { |
| 18773 remove(key); |
| 18774 } |
| 18775 } |
| 18776 |
| 18777 void forEach(void f(String key, String value)) { |
| 18778 _attributes.forEach((String key, String value) { |
| 18779 if (_matches(key)) { |
| 18780 f(_strip(key), value); |
| 18781 } |
| 18782 }); |
| 18783 } |
| 18784 |
| 18785 Collection<String> getKeys() { |
| 18786 final keys = new List<String>(); |
| 18787 _attributes.forEach((String key, String value) { |
| 18788 if (_matches(key)) { |
| 18789 keys.add(_strip(key)); |
| 18790 } |
| 18791 }); |
| 18792 return keys; |
| 18793 } |
| 18794 |
| 18795 Collection<String> getValues() { |
| 18796 final values = new List<String>(); |
| 18797 _attributes.forEach((String key, String value) { |
| 18798 if (_matches(key)) { |
| 18799 values.add(value); |
| 18800 } |
| 18801 }); |
| 18802 return values; |
| 18803 } |
| 18804 |
| 18805 int get length() => getKeys().length; |
| 18806 |
| 18807 // TODO: Use lazy iterator when it is available on Map. |
| 18808 bool isEmpty() => length == 0; |
| 18809 |
| 18810 // Helpers. |
| 18811 String _attr(String key) => 'data-$key'; |
| 18812 bool _matches(String key) => key.startsWith('data-'); |
| 18813 String _strip(String key) => key.substring(5); |
| 18814 } |
| 18815 |
| 18816 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 18817 // for details. All rights reserved. Use of this source code is governed by a |
| 18818 // BSD-style license that can be found in the LICENSE file. |
| 18819 |
| 18251 interface BodyElementEvents extends ElementEvents { | 18820 interface BodyElementEvents extends ElementEvents { |
| 18252 EventListenerList get beforeUnload(); | 18821 EventListenerList get beforeUnload(); |
| 18253 EventListenerList get hashChange(); | 18822 EventListenerList get hashChange(); |
| 18254 EventListenerList get message(); | 18823 EventListenerList get message(); |
| 18255 EventListenerList get offline(); | 18824 EventListenerList get offline(); |
| 18256 EventListenerList get online(); | 18825 EventListenerList get online(); |
| 18257 EventListenerList get orientationChange(); | 18826 EventListenerList get orientationChange(); |
| 18258 EventListenerList get popState(); | 18827 EventListenerList get popState(); |
| 18259 EventListenerList get resize(); | 18828 EventListenerList get resize(); |
| 18260 EventListenerList get storage(); | 18829 EventListenerList get storage(); |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18434 List list = new List.from(s); | 19003 List list = new List.from(s); |
| 18435 return Strings.join(list, ' '); | 19004 return Strings.join(list, ' '); |
| 18436 } | 19005 } |
| 18437 | 19006 |
| 18438 } | 19007 } |
| 18439 | 19008 |
| 18440 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 19009 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 18441 // for details. All rights reserved. Use of this source code is governed by a | 19010 // for details. All rights reserved. Use of this source code is governed by a |
| 18442 // BSD-style license that can be found in the LICENSE file. | 19011 // BSD-style license that can be found in the LICENSE file. |
| 18443 | 19012 |
| 18444 /** | |
| 18445 * Provides a Map abstraction on top of data-* attributes, similar to the | |
| 18446 * dataSet in the old DOM. | |
| 18447 */ | |
| 18448 class _DataAttributeMap implements Map<String, String> { | |
| 18449 | |
| 18450 final Map<String, String> _attributes; | |
| 18451 | |
| 18452 _DataAttributeMap(this._attributes); | |
| 18453 | |
| 18454 // interface Map | |
| 18455 | |
| 18456 // TODO: Use lazy iterator when it is available on Map. | |
| 18457 bool containsValue(String value) => getValues().some((v) => v == value); | |
| 18458 | |
| 18459 bool containsKey(String key) => _attributes.containsKey(_attr(key)); | |
| 18460 | |
| 18461 String operator [](String key) => _attributes[_attr(key)]; | |
| 18462 | |
| 18463 void operator []=(String key, String value) { | |
| 18464 _attributes[_attr(key)] = value; | |
| 18465 } | |
| 18466 | |
| 18467 String putIfAbsent(String key, String ifAbsent()) { | |
| 18468 if (!containsKey(key)) { | |
| 18469 return this[key] = ifAbsent(); | |
| 18470 } | |
| 18471 return this[key]; | |
| 18472 } | |
| 18473 | |
| 18474 String remove(String key) => _attributes.remove(_attr(key)); | |
| 18475 | |
| 18476 void clear() { | |
| 18477 // Needs to operate on a snapshot since we are mutatiting the collection. | |
| 18478 for (String key in getKeys()) { | |
| 18479 remove(key); | |
| 18480 } | |
| 18481 } | |
| 18482 | |
| 18483 void forEach(void f(String key, String value)) { | |
| 18484 _attributes.forEach((String key, String value) { | |
| 18485 if (_matches(key)) { | |
| 18486 f(_strip(key), value); | |
| 18487 } | |
| 18488 }); | |
| 18489 } | |
| 18490 | |
| 18491 Collection<String> getKeys() { | |
| 18492 final keys = new List<String>(); | |
| 18493 _attributes.forEach((String key, String value) { | |
| 18494 if (_matches(key)) { | |
| 18495 keys.add(_strip(key)); | |
| 18496 } | |
| 18497 }); | |
| 18498 return keys; | |
| 18499 } | |
| 18500 | |
| 18501 Collection<String> getValues() { | |
| 18502 final values = new List<String>(); | |
| 18503 _attributes.forEach((String key, String value) { | |
| 18504 if (_matches(key)) { | |
| 18505 values.add(value); | |
| 18506 } | |
| 18507 }); | |
| 18508 return values; | |
| 18509 } | |
| 18510 | |
| 18511 int get length() => getKeys().length; | |
| 18512 | |
| 18513 // TODO: Use lazy iterator when it is available on Map. | |
| 18514 bool isEmpty() => length == 0; | |
| 18515 | |
| 18516 // Helpers. | |
| 18517 String _attr(String key) => 'data-$key'; | |
| 18518 bool _matches(String key) => key.startsWith('data-'); | |
| 18519 String _strip(String key) => key.substringToEnd(5); | |
| 18520 } | |
| 18521 | |
| 18522 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | |
| 18523 // for details. All rights reserved. Use of this source code is governed by a | |
| 18524 // BSD-style license that can be found in the LICENSE file. | |
| 18525 | |
| 18526 interface DocumentFragment extends Node factory DocumentFragmentWrappingImplemen
tation { | 19013 interface DocumentFragment extends Node factory DocumentFragmentWrappingImplemen
tation { |
| 18527 | 19014 |
| 18528 DocumentFragment(); | 19015 DocumentFragment(); |
| 18529 | 19016 |
| 18530 Element query(String selectors); | 19017 Element query(String selectors); |
| 18531 | 19018 |
| 18532 ElementList queryAll(String selectors); | 19019 ElementList queryAll(String selectors); |
| 18533 } | 19020 } |
| 18534 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 19021 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 18535 // for details. All rights reserved. Use of this source code is governed by a | 19022 // for details. All rights reserved. Use of this source code is governed by a |
| 18536 // BSD-style license that can be found in the LICENSE file. | 19023 // BSD-style license that can be found in the LICENSE file. |
| 18537 | 19024 |
| 18538 class DocumentFragmentWrappingImplementation extends NodeWrappingImplementation
implements DocumentFragment { | 19025 class DocumentFragmentWrappingImplementation extends NodeWrappingImplementation
implements DocumentFragment { |
| 18539 DocumentFragmentWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 19026 DocumentFragmentWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 18540 | 19027 |
| 18541 factory DocumentFragmentWrappingImplementation() { | 19028 factory DocumentFragmentWrappingImplementation() { |
| 18542 return new DocumentFragmentWrappingImplementation._wrap( | 19029 return new DocumentFragmentWrappingImplementation._wrap( |
| 18543 » _rawDocument.createDocumentFragment()); | 19030 » dom.document.createDocumentFragment()); |
| 18544 } | 19031 } |
| 18545 | 19032 |
| 18546 Element query(String selectors) { | 19033 Element query(String selectors) { |
| 18547 return LevelDom.wrapElement(_ptr.querySelector(selectors)); | 19034 return LevelDom.wrapElement(_ptr.querySelector(selectors)); |
| 18548 } | 19035 } |
| 18549 | 19036 |
| 18550 ElementList queryAll(String selectors) { | 19037 ElementList queryAll(String selectors) { |
| 18551 return LevelDom.wrapElementList(_ptr.querySelectorAll(selectors)); | 19038 return LevelDom.wrapElementList(_ptr.querySelectorAll(selectors)); |
| 18552 } | 19039 } |
| 18553 } | 19040 } |
| 18554 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 19041 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 18555 // for details. All rights reserved. Use of this source code is governed by a | 19042 // for details. All rights reserved. Use of this source code is governed by a |
| 18556 // BSD-style license that can be found in the LICENSE file. | 19043 // BSD-style license that can be found in the LICENSE file. |
| 18557 | 19044 |
| 18558 class DocumentEventsImplementation extends ElementEventsImplementation | 19045 class DocumentEventsImplementation extends ElementEventsImplementation |
| 18559 implements DocumentEvents { | 19046 implements DocumentEvents { |
| 18560 | 19047 |
| 18561 DocumentEventsImplementation._wrap(_ptr) : super._wrap(_ptr); | 19048 DocumentEventsImplementation._wrap(_ptr) : super._wrap(_ptr); |
| 18562 | 19049 |
| 18563 EventListenerList get readyStateChange() => _get('readystatechange'); | 19050 EventListenerList get readyStateChange() => _get('readystatechange'); |
| 18564 | 19051 |
| 18565 EventListenerList get selectionChange() => _get('selectionchange'); | 19052 EventListenerList get selectionChange() => _get('selectionchange'); |
| 18566 | 19053 |
| 18567 EventListenerList get contentLoaded() => _get('DOMContentLoaded'); | 19054 EventListenerList get contentLoaded() => _get('DOMContentLoaded'); |
| 18568 } | 19055 } |
| 18569 | 19056 |
| 18570 class DocumentWrappingImplementation extends ElementWrappingImplementation imple
ments Document { | 19057 class DocumentWrappingImplementation extends ElementWrappingImplementation imple
ments Document { |
| 19058 |
| 18571 final _documentPtr; | 19059 final _documentPtr; |
| 18572 | 19060 |
| 18573 DocumentWrappingImplementation._wrap(this._documentPtr, ptr) : super._wrap(ptr
) { | 19061 DocumentWrappingImplementation._wrap(this._documentPtr, ptr) : super._wrap(ptr
) { |
| 18574 // We have to set the back ptr on the document as well as the documentElemen
t | 19062 // We have to set the back ptr on the document as well as the documentElemen
t |
| 18575 // so that it is always simple to detect when an existing wrapper exists. | 19063 // so that it is always simple to detect when an existing wrapper exists. |
| 18576 _documentPtr.dartObjectLocalStorage = this; | 19064 _documentPtr.dartObjectLocalStorage = this; |
| 18577 } | 19065 } |
| 18578 | 19066 |
| 18579 Element get activeElement() => LevelDom.wrapElement(_documentPtr.activeElement
); | 19067 Element get activeElement() => LevelDom.wrapElement(_documentPtr.activeElement
); |
| 18580 | 19068 |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18749 factory ElementWrappingImplementation { | 19237 factory ElementWrappingImplementation { |
| 18750 | 19238 |
| 18751 Element.html(String html); | 19239 Element.html(String html); |
| 18752 Element.tag(String tag); | 19240 Element.tag(String tag); |
| 18753 | 19241 |
| 18754 Map<String, String> get attributes(); | 19242 Map<String, String> get attributes(); |
| 18755 void set attributes(Map<String, String> value); | 19243 void set attributes(Map<String, String> value); |
| 18756 | 19244 |
| 18757 ElementList get elements(); | 19245 ElementList get elements(); |
| 18758 | 19246 |
| 19247 // TODO: The type of value should be Collection<Element>. See http://b/5392897 |
| 19248 void set elements(value); |
| 19249 |
| 18759 _CssClassSet get classes(); | 19250 _CssClassSet get classes(); |
| 18760 | 19251 |
| 18761 // TODO: The type of value should be Collection<String>. See http://b/5392897 | 19252 // TODO: The type of value should be Collection<String>. See http://b/5392897 |
| 18762 void set classes(value); | 19253 void set classes(value); |
| 18763 | 19254 |
| 18764 Map<String, String> get dataAttributes(); | 19255 Map<String, String> get dataAttributes(); |
| 18765 void set dataAttributes(Map<String, String> value); | 19256 void set dataAttributes(Map<String, String> value); |
| 18766 | 19257 |
| 18767 int get clientHeight(); | 19258 int get clientHeight(); |
| 18768 | 19259 |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18865 Element insertAdjacentElement([String where, Element element]); | 19356 Element insertAdjacentElement([String where, Element element]); |
| 18866 | 19357 |
| 18867 void insertAdjacentHTML([String position_OR_where, String text]); | 19358 void insertAdjacentHTML([String position_OR_where, String text]); |
| 18868 | 19359 |
| 18869 void insertAdjacentText([String where, String text]); | 19360 void insertAdjacentText([String where, String text]); |
| 18870 | 19361 |
| 18871 Element query(String selectors); | 19362 Element query(String selectors); |
| 18872 | 19363 |
| 18873 ElementList queryAll(String selectors); | 19364 ElementList queryAll(String selectors); |
| 18874 | 19365 |
| 19366 Element get parent(); |
| 19367 |
| 18875 void scrollByLines([int lines]); | 19368 void scrollByLines([int lines]); |
| 18876 | 19369 |
| 18877 void scrollByPages([int pages]); | 19370 void scrollByPages([int pages]); |
| 18878 | 19371 |
| 18879 void scrollIntoView([bool centerIfNeeded]); | 19372 void scrollIntoView([bool centerIfNeeded]); |
| 18880 | 19373 |
| 18881 bool matchesSelector([String selectors]); | 19374 bool matchesSelector([String selectors]); |
| 18882 | 19375 |
| 18883 ElementEvents get on(); | 19376 ElementEvents get on(); |
| 18884 } | 19377 } |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18961 void set length(int newLength) { | 19454 void set length(int newLength) { |
| 18962 // TODO(jacobr): remove children when length is reduced. | 19455 // TODO(jacobr): remove children when length is reduced. |
| 18963 throw const UnsupportedOperationException(''); | 19456 throw const UnsupportedOperationException(''); |
| 18964 } | 19457 } |
| 18965 | 19458 |
| 18966 Element add(Element value) { | 19459 Element add(Element value) { |
| 18967 _element.appendChild(LevelDom.unwrap(value)); | 19460 _element.appendChild(LevelDom.unwrap(value)); |
| 18968 return value; | 19461 return value; |
| 18969 } | 19462 } |
| 18970 | 19463 |
| 18971 Element addLast(Element value) { | 19464 Element addLast(Element value) => add(value); |
| 18972 _element.appendChild(LevelDom.unwrap(value)); | |
| 18973 return value; | |
| 18974 } | |
| 18975 | 19465 |
| 18976 Iterator<Element> iterator() { | 19466 Iterator<Element> iterator() => _toList().iterator(); |
| 18977 return _toList().iterator(); | |
| 18978 } | |
| 18979 | 19467 |
| 18980 void addAll(Collection<Element> collection) { | 19468 void addAll(Collection<Element> collection) { |
| 18981 for (Element element in collection) { | 19469 for (Element element in collection) { |
| 18982 _element.appendChild(LevelDom.unwrap(element)); | 19470 _element.appendChild(LevelDom.unwrap(element)); |
| 18983 } | 19471 } |
| 18984 } | 19472 } |
| 18985 | 19473 |
| 18986 void sort(int compare(Element a, Element b)) { | 19474 void sort(int compare(Element a, Element b)) { |
| 18987 throw const UnsupportedOperationException('TODO(jacobr): should we impl?'); | 19475 throw const UnsupportedOperationException('TODO(jacobr): should we impl?'); |
| 18988 } | 19476 } |
| 18989 | 19477 |
| 18990 void copyFrom(List<Object> src, int srcStart, int dstStart, int count) { | 19478 void copyFrom(List<Object> src, int srcStart, int dstStart, int count) { |
| 18991 throw 'Not impl yet. todo(jacobr)'; | 19479 throw 'Not impl yet. todo(jacobr)'; |
| 18992 } | 19480 } |
| 18993 | 19481 |
| 19482 void setRange(int start, int length, List from, [int startFrom = 0]) { |
| 19483 throw const NotImplementedException(); |
| 19484 } |
| 19485 |
| 19486 void removeRange(int start, int length) { |
| 19487 throw const NotImplementedException(); |
| 19488 } |
| 19489 |
| 19490 void insertRange(int start, int length, [initialValue = null]) { |
| 19491 throw const NotImplementedException(); |
| 19492 } |
| 19493 |
| 19494 List getRange(int start, int length) { |
| 19495 throw const NotImplementedException(); |
| 19496 } |
| 19497 |
| 18994 int indexOf(Element element, int startIndex) { | 19498 int indexOf(Element element, int startIndex) { |
| 18995 throw 'Not impl yet. todo(jacobr)'; | 19499 return _Lists.indexOf(this, element, startIndex, this.length); |
| 18996 } | 19500 } |
| 18997 | 19501 |
| 18998 int lastIndexOf(Element element, int startIndex) { | 19502 int lastIndexOf(Element element, int startIndex) { |
| 18999 throw 'Not impl yet. todo(jacobr)'; | 19503 return _Lists.lastIndexOf(this, element, startIndex); |
| 19000 } | 19504 } |
| 19001 | 19505 |
| 19002 void clear() { | 19506 void clear() { |
| 19003 throw 'Not impl yet. todo(jacobr)'; | 19507 // It is unclear if we want to keep non element nodes? |
| 19508 _element.textContent = ''; |
| 19004 } | 19509 } |
| 19005 | 19510 |
| 19006 Element removeLast() { | 19511 Element removeLast() { |
| 19007 throw 'Not impl yet. todo(jacobr)'; | 19512 final last = this.last(); |
| 19513 if (last != null) { |
| 19514 _element.removeChild(LevelDom.unwrap(last)); |
| 19515 } |
| 19516 return last; |
| 19008 } | 19517 } |
| 19009 | 19518 |
| 19010 Element last() { | 19519 Element last() { |
| 19011 return LevelDom.wrapElement(_element.lastElementChild); | 19520 return LevelDom.wrapElement(_element.lastElementChild); |
| 19012 } | 19521 } |
| 19013 } | 19522 } |
| 19014 | 19523 |
| 19015 class FrozenElementList implements ElementList { | 19524 class FrozenElementList implements ElementList { |
| 19016 final _ptr; | 19525 final _ptr; |
| 19017 | 19526 |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19075 } | 19584 } |
| 19076 | 19585 |
| 19077 void sort(int compare(Element a, Element b)) { | 19586 void sort(int compare(Element a, Element b)) { |
| 19078 throw const UnsupportedOperationException(''); | 19587 throw const UnsupportedOperationException(''); |
| 19079 } | 19588 } |
| 19080 | 19589 |
| 19081 void copyFrom(List<Object> src, int srcStart, int dstStart, int count) { | 19590 void copyFrom(List<Object> src, int srcStart, int dstStart, int count) { |
| 19082 throw 'Not impl yet. todo(jacobr)'; | 19591 throw 'Not impl yet. todo(jacobr)'; |
| 19083 } | 19592 } |
| 19084 | 19593 |
| 19594 void setRange(int start, int length, List from, [int startFrom = 0]) { |
| 19595 throw const NotImplementedException(); |
| 19596 } |
| 19597 |
| 19598 void removeRange(int start, int length) { |
| 19599 throw const NotImplementedException(); |
| 19600 } |
| 19601 |
| 19602 void insertRange(int start, int length, [initialValue = null]) { |
| 19603 throw const NotImplementedException(); |
| 19604 } |
| 19605 |
| 19606 List getRange(int start, int length) { |
| 19607 throw const NotImplementedException(); |
| 19608 } |
| 19609 |
| 19085 int indexOf(Element element, int startIndex) { | 19610 int indexOf(Element element, int startIndex) { |
| 19086 throw 'Not impl yet. todo(jacobr)'; | 19611 throw 'Not impl yet. todo(jacobr)'; |
| 19087 } | 19612 } |
| 19088 | 19613 |
| 19089 int lastIndexOf(Element element, int startIndex) { | 19614 int lastIndexOf(Element element, int startIndex) { |
| 19090 throw 'Not impl yet. todo(jacobr)'; | 19615 throw 'Not impl yet. todo(jacobr)'; |
| 19091 } | 19616 } |
| 19092 | 19617 |
| 19093 void clear() { | 19618 void clear() { |
| 19094 throw 'Not impl yet. todo(jacobr)'; | 19619 throw 'Not impl yet. todo(jacobr)'; |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19260 EventListenerList get touchCancel() => _get("touchcancel"); | 19785 EventListenerList get touchCancel() => _get("touchcancel"); |
| 19261 EventListenerList get touchEnd() => _get("touchend"); | 19786 EventListenerList get touchEnd() => _get("touchend"); |
| 19262 EventListenerList get touchLeave() => _get("touchleave"); | 19787 EventListenerList get touchLeave() => _get("touchleave"); |
| 19263 EventListenerList get touchMove() => _get("touchmove"); | 19788 EventListenerList get touchMove() => _get("touchmove"); |
| 19264 EventListenerList get touchStart() => _get("touchstart"); | 19789 EventListenerList get touchStart() => _get("touchstart"); |
| 19265 EventListenerList get transitionEnd() => _get("webkitTransitionEnd"); | 19790 EventListenerList get transitionEnd() => _get("webkitTransitionEnd"); |
| 19266 EventListenerList get fullscreenChange() => _get("fullscreenchange"); | 19791 EventListenerList get fullscreenChange() => _get("fullscreenchange"); |
| 19267 } | 19792 } |
| 19268 | 19793 |
| 19269 class ElementWrappingImplementation extends NodeWrappingImplementation implement
s Element { | 19794 class ElementWrappingImplementation extends NodeWrappingImplementation implement
s Element { |
| 19270 | 19795 |
| 19271 factory ElementWrappingImplementation.html(String html) { | 19796 factory ElementWrappingImplementation.html(String html) { |
| 19272 final temp = _rawDocument.createElement('div'); | 19797 final temp = dom.document.createElement('div'); |
| 19273 temp.innerHTML = html; | 19798 temp.innerHTML = html; |
| 19274 | 19799 |
| 19275 if (temp.childElementCount != 1) { | 19800 if (temp.childElementCount != 1) { |
| 19276 throw 'HTML had ${temp.childElementCount} top level elements but 1 expecte
d'; | 19801 throw 'HTML had ${temp.childElementCount} top level elements but 1 expecte
d'; |
| 19277 } | 19802 } |
| 19278 | 19803 |
| 19279 return LevelDom.wrapElement(temp.firstElementChild); | 19804 return LevelDom.wrapElement(temp.firstElementChild); |
| 19280 } | 19805 } |
| 19281 | 19806 |
| 19282 factory ElementWrappingImplementation.tag(String tag) { | 19807 factory ElementWrappingImplementation.tag(String tag) { |
| 19283 return LevelDom.wrapElement(_rawDocument.createElement(tag)); | 19808 return LevelDom.wrapElement(dom.document.createElement(tag)); |
| 19284 } | 19809 } |
| 19285 | 19810 |
| 19286 ElementWrappingImplementation._wrap(ptr) : super._wrap(ptr); | 19811 ElementWrappingImplementation._wrap(ptr) : super._wrap(ptr); |
| 19287 | 19812 |
| 19288 ElementAttributeMap _elementAttributeMap; | 19813 ElementAttributeMap _elementAttributeMap; |
| 19814 ElementList _elements; |
| 19289 _CssClassSet _cssClassSet; | 19815 _CssClassSet _cssClassSet; |
| 19290 _DataAttributeMap _dataAttributes; | 19816 _DataAttributeMap _dataAttributes; |
| 19291 | 19817 |
| 19292 Map<String, String> get attributes() { | 19818 Map<String, String> get attributes() { |
| 19293 if (_elementAttributeMap === null) { | 19819 if (_elementAttributeMap === null) { |
| 19294 _elementAttributeMap = new ElementAttributeMap._wrap(_ptr); | 19820 _elementAttributeMap = new ElementAttributeMap._wrap(_ptr); |
| 19295 } | 19821 } |
| 19296 return _elementAttributeMap; | 19822 return _elementAttributeMap; |
| 19297 } | 19823 } |
| 19298 | 19824 |
| 19299 void set attributes(Map<String, String> value) { | 19825 void set attributes(Map<String, String> value) { |
| 19300 Map<String, String> attributes = this.attributes; | 19826 Map<String, String> attributes = this.attributes; |
| 19301 attributes.clear(); | 19827 attributes.clear(); |
| 19302 for (String key in value.getKeys()) { | 19828 for (String key in value.getKeys()) { |
| 19303 attributes[key] = value[key]; | 19829 attributes[key] = value[key]; |
| 19304 } | 19830 } |
| 19305 } | 19831 } |
| 19306 | 19832 |
| 19307 ElementList get elements() => new _ChildrenElementList._wrap(_ptr); | 19833 void set elements(Collection<Element> value) { |
| 19834 // Copy list first since we don't want liveness during iteration. |
| 19835 List copy = new List.from(value); |
| 19836 final elements = this.elements; |
| 19837 elements.clear(); |
| 19838 elements.addAll(copy); |
| 19839 } |
| 19840 |
| 19841 ElementList get elements() { |
| 19842 if (_elements == null) { |
| 19843 _elements = new _ChildrenElementList._wrap(_ptr); |
| 19844 } |
| 19845 return _elements; |
| 19846 } |
| 19308 | 19847 |
| 19309 Set<String> get classes() { | 19848 Set<String> get classes() { |
| 19310 if (_cssClassSet === null) { | 19849 if (_cssClassSet === null) { |
| 19311 _cssClassSet = new _CssClassSet(_ptr); | 19850 _cssClassSet = new _CssClassSet(_ptr); |
| 19312 } | 19851 } |
| 19313 return _cssClassSet; | 19852 return _cssClassSet; |
| 19314 } | 19853 } |
| 19315 | 19854 |
| 19316 void set classes(Collection<String> value) { | 19855 void set classes(Collection<String> value) { |
| 19317 _CssClassSet classSet = classes; | 19856 _CssClassSet classSet = classes; |
| (...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19699 } | 20238 } |
| 19700 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 20239 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 19701 // for details. All rights reserved. Use of this source code is governed by a | 20240 // for details. All rights reserved. Use of this source code is governed by a |
| 19702 // BSD-style license that can be found in the LICENSE file. | 20241 // BSD-style license that can be found in the LICENSE file. |
| 19703 | 20242 |
| 19704 var secretWindow; | 20243 var secretWindow; |
| 19705 var secretDocument; | 20244 var secretDocument; |
| 19706 | 20245 |
| 19707 Window get window() { | 20246 Window get window() { |
| 19708 if (secretWindow === null) { | 20247 if (secretWindow === null) { |
| 19709 LevelDom.initialize(BootstrapHacks.getWindow()); | 20248 LevelDom.initialize(dom.window); |
| 19710 } | 20249 } |
| 19711 return secretWindow; | 20250 return secretWindow; |
| 19712 } | 20251 } |
| 19713 | 20252 |
| 19714 Document get document() { | 20253 Document get document() { |
| 19715 if (secretWindow === null) { | 20254 if (secretWindow === null) { |
| 19716 LevelDom.initialize(BootstrapHacks.getWindow()); | 20255 LevelDom.initialize(dom.window); |
| 19717 } | 20256 } |
| 19718 return secretDocument; | 20257 return secretDocument; |
| 19719 } | 20258 } |
| 19720 | |
| 19721 get _rawDocument() { | |
| 19722 return document.dynamic._documentPtr; | |
| 19723 } | |
| 19724 | |
| 19725 get _rawWindow() { | |
| 19726 return BootstrapHacks.getWindow(); | |
| 19727 } | |
| 19728 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 20259 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 19729 // for details. All rights reserved. Use of this source code is governed by a | 20260 // for details. All rights reserved. Use of this source code is governed by a |
| 19730 // BSD-style license that can be found in the LICENSE file. | 20261 // BSD-style license that can be found in the LICENSE file. |
| 19731 | 20262 |
| 19732 interface MessagePort extends EventTarget { | 20263 interface MessagePort extends EventTarget { |
| 19733 } | 20264 } |
| 19734 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 20265 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 19735 // for details. All rights reserved. Use of this source code is governed by a | 20266 // for details. All rights reserved. Use of this source code is governed by a |
| 19736 // BSD-style license that can be found in the LICENSE file. | 20267 // BSD-style license that can be found in the LICENSE file. |
| 19737 | 20268 |
| 19738 class MessagePortWrappingImplementation extends EventTargetWrappingImplementatio
n implements MessagePort { | 20269 class MessagePortWrappingImplementation extends EventTargetWrappingImplementatio
n implements MessagePort { |
| 19739 MessagePortWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 20270 MessagePortWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 19740 } | 20271 } |
| 19741 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 20272 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 19742 // for details. All rights reserved. Use of this source code is governed by a | 20273 // for details. All rights reserved. Use of this source code is governed by a |
| 19743 // BSD-style license that can be found in the LICENSE file. | 20274 // BSD-style license that can be found in the LICENSE file. |
| 19744 | 20275 |
| 19745 // TODO(jacobr): stop extending eventTarget. | 20276 // TODO(jacobr): stop extending eventTarget. |
| 19746 interface Node extends EventTarget { | 20277 interface Node extends EventTarget { |
| 19747 | 20278 |
| 19748 NodeList get nodes(); | 20279 NodeList get nodes(); |
| 19749 // TODO(jacobr): add nodes setter that replaces all children. | 20280 |
| 20281 // TODO: The type of value should be Collection<Node>. See http://b/5392897 |
| 20282 void set nodes(value); |
| 19750 | 20283 |
| 19751 Node get nextNode(); | 20284 Node get nextNode(); |
| 19752 | 20285 |
| 19753 Document get document(); | 20286 Document get document(); |
| 19754 | 20287 |
| 19755 // TODO(jacobr): should we remove parentElement? | |
| 19756 Element get parentElement(); | |
| 19757 | |
| 19758 Node get parent(); | 20288 Node get parent(); |
| 19759 | 20289 |
| 19760 Node get previousNode(); | 20290 Node get previousNode(); |
| 19761 | 20291 |
| 19762 String get text(); | 20292 String get text(); |
| 19763 | 20293 |
| 19764 void set text(String value); | 20294 void set text(String value); |
| 19765 | 20295 |
| 19766 Node replaceWith(Node otherNode); | 20296 Node replaceWith(Node otherNode); |
| 19767 | 20297 |
| 19768 Node remove(); | 20298 Node remove(); |
| 19769 | 20299 |
| 19770 bool get inDocument(); | |
| 19771 | |
| 19772 bool contains(Node otherNode); | 20300 bool contains(Node otherNode); |
| 19773 | 20301 |
| 19774 // TODO(jacobr): remove when/if Array supports a method similar to | 20302 // TODO(jacobr): remove when/if Array supports a method similar to |
| 19775 // insertBefore or we switch NodeList to implement LinkedList rather than | 20303 // insertBefore or we switch NodeList to implement LinkedList rather than |
| 19776 // array. | 20304 // array. |
| 19777 Node insertBefore(Node newChild, Node refChild); | 20305 Node insertBefore(Node newChild, Node refChild); |
| 19778 } | 20306 } |
| 19779 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 20307 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 19780 // for details. All rights reserved. Use of this source code is governed by a | 20308 // for details. All rights reserved. Use of this source code is governed by a |
| 19781 // BSD-style license that can be found in the LICENSE file. | 20309 // BSD-style license that can be found in the LICENSE file. |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19883 } | 20411 } |
| 19884 | 20412 |
| 19885 void sort(int compare(Node a, Node b)) { | 20413 void sort(int compare(Node a, Node b)) { |
| 19886 throw const UnsupportedOperationException('TODO(jacobr): should we impl?'); | 20414 throw const UnsupportedOperationException('TODO(jacobr): should we impl?'); |
| 19887 } | 20415 } |
| 19888 | 20416 |
| 19889 void copyFrom(List<Object> src, int srcStart, int dstStart, int count) { | 20417 void copyFrom(List<Object> src, int srcStart, int dstStart, int count) { |
| 19890 throw 'Not impl yet. todo(jacobr)'; | 20418 throw 'Not impl yet. todo(jacobr)'; |
| 19891 } | 20419 } |
| 19892 | 20420 |
| 20421 void setRange(int start, int length, List from, [int startFrom = 0]) { |
| 20422 throw const NotImplementedException(); |
| 20423 } |
| 20424 |
| 20425 void removeRange(int start, int length) { |
| 20426 throw const NotImplementedException(); |
| 20427 } |
| 20428 |
| 20429 void insertRange(int start, int length, [initialValue = null]) { |
| 20430 throw const NotImplementedException(); |
| 20431 } |
| 20432 |
| 20433 List getRange(int start, int length) { |
| 20434 throw const NotImplementedException(); |
| 20435 } |
| 20436 |
| 19893 int indexOf(Node element, int startIndex) { | 20437 int indexOf(Node element, int startIndex) { |
| 19894 throw 'Not impl yet. todo(jacobr)'; | 20438 return _Lists.indexOf(this, element, startIndex, this.length); |
| 19895 } | 20439 } |
| 19896 | 20440 |
| 19897 int lastIndexOf(Node element, int startIndex) { | 20441 int lastIndexOf(Node element, int startIndex) { |
| 19898 throw 'Not impl yet. todo(jacobr)'; | 20442 return _Lists.lastIndexOf(this, element, startIndex); |
| 19899 } | 20443 } |
| 19900 | 20444 |
| 19901 void clear() { | 20445 void clear() { |
| 19902 throw 'Not impl yet. todo(jacobr)'; | 20446 _node.textContent = ''; |
| 19903 } | 20447 } |
| 19904 | 20448 |
| 19905 Node removeLast() { | 20449 Node removeLast() { |
| 19906 throw 'Not impl yet. todo(jacobr)'; | 20450 final last = this.last(); |
| 20451 if (last != null) { |
| 20452 _node.removeChild(LevelDom.unwrap(last)); |
| 20453 } |
| 20454 return last; |
| 19907 } | 20455 } |
| 19908 | 20456 |
| 19909 Node last() { | 20457 Node last() { |
| 19910 return LevelDom.wrapNode(_node.lastChild); | 20458 return LevelDom.wrapNode(_node.lastChild); |
| 19911 } | 20459 } |
| 19912 } | 20460 } |
| 19913 | 20461 |
| 19914 class NodeWrappingImplementation extends EventTargetWrappingImplementation imple
ments Node { | 20462 class NodeWrappingImplementation extends EventTargetWrappingImplementation imple
ments Node { |
| 19915 NodeList _nodes; | 20463 NodeList _nodes; |
| 19916 | 20464 |
| 19917 NodeWrappingImplementation._wrap(ptr) : super._wrap(ptr); | 20465 NodeWrappingImplementation._wrap(ptr) : super._wrap(ptr); |
| 19918 | 20466 |
| 20467 void set nodes(Collection<Node> value) { |
| 20468 // Copy list first since we don't want liveness during iteration. |
| 20469 List copy = new List.from(value); |
| 20470 nodes.clear(); |
| 20471 nodes.addAll(copy); |
| 20472 } |
| 20473 |
| 19919 NodeList get nodes() { | 20474 NodeList get nodes() { |
| 19920 if (_nodes === null) { | 20475 if (_nodes === null) { |
| 19921 _nodes = new _ChildrenNodeList._wrap(_ptr); | 20476 _nodes = new _ChildrenNodeList._wrap(_ptr); |
| 19922 } | 20477 } |
| 19923 return _nodes; | 20478 return _nodes; |
| 19924 } | 20479 } |
| 19925 | 20480 |
| 19926 Node get nextNode() => LevelDom.wrapNode(_ptr.nextSibling); | 20481 Node get nextNode() => LevelDom.wrapNode(_ptr.nextSibling); |
| 19927 | 20482 |
| 19928 Document get document() => LevelDom.wrapDocument(_ptr.ownerDocument); | 20483 Document get document() => LevelDom.wrapDocument(_ptr.ownerDocument); |
| 19929 | 20484 |
| 19930 // TODO(jacobr): should we remove parentElement? | |
| 19931 Element get parentElement() => LevelDom.wrapElement(_ptr.parentElement); | |
| 19932 | |
| 19933 Node get parent() => LevelDom.wrapNode(_ptr.parentNode); | 20485 Node get parent() => LevelDom.wrapNode(_ptr.parentNode); |
| 19934 | 20486 |
| 19935 Node get previousNode() => LevelDom.wrapNode(_ptr.previousSibling); | 20487 Node get previousNode() => LevelDom.wrapNode(_ptr.previousSibling); |
| 19936 | 20488 |
| 19937 String get text() => _ptr.textContent; | 20489 String get text() => _ptr.textContent; |
| 19938 | 20490 |
| 19939 void set text(String value) { _ptr.textContent = value; } | 20491 void set text(String value) { _ptr.textContent = value; } |
| 19940 | 20492 |
| 19941 // New methods implemented. | 20493 // New methods implemented. |
| 19942 Node replaceWith(Node otherNode) { | 20494 Node replaceWith(Node otherNode) { |
| 19943 try { | 20495 try { |
| 19944 _ptr.parentNode.replaceChild(LevelDom.unwrap(otherNode), _ptr); | 20496 _ptr.parentNode.replaceChild(LevelDom.unwrap(otherNode), _ptr); |
| 19945 } catch(var e) { | 20497 } catch(var e) { |
| 19946 // TODO(jacobr): what should we return on failure? | 20498 // TODO(jacobr): what should we return on failure? |
| 19947 } | 20499 } |
| 19948 return this; | 20500 return this; |
| 19949 } | 20501 } |
| 19950 | 20502 |
| 19951 Node remove() { | 20503 Node remove() { |
| 19952 // TODO(jacobr): should we throw an exception if parent is already null? | 20504 // TODO(jacobr): should we throw an exception if parent is already null? |
| 19953 if (_ptr.parentNode !== null) { | 20505 if (_ptr.parentNode !== null) { |
| 19954 _ptr.parentNode.removeChild(_ptr); | 20506 _ptr.parentNode.removeChild(_ptr); |
| 19955 } | 20507 } |
| 19956 return this; | 20508 return this; |
| 19957 } | 20509 } |
| 19958 | 20510 |
| 19959 /** | 20511 bool contains(Node otherNode) { |
| 19960 * Returns whether the node is attached to a document. | 20512 // TODO: Feature detect and use built in. |
| 19961 */ | 20513 while (otherNode != null && otherNode != this) { |
| 19962 bool get inDocument() { | 20514 otherNode = otherNode.parent; |
| 19963 var node = _ptr; | |
| 19964 // TODO(jacobr): is there a faster way to compute this? | |
| 19965 while(node !== null) { | |
| 19966 if (node.nodeType == 9) { | |
| 19967 return true; | |
| 19968 } | |
| 19969 node = node.parentNode; | |
| 19970 } | 20515 } |
| 19971 return false; | 20516 return otherNode == this; |
| 19972 } | |
| 19973 | |
| 19974 // TODO(jacobr): implement this. It is supported by Element. | |
| 19975 bool contains(Node otherNode) { | |
| 19976 if (nodes.length > 0) { | |
| 19977 // TODO(jacobr): implement. | |
| 19978 throw 'Contains not implemented yet for non-leaf and non-element nodes.'; | |
| 19979 } else { | |
| 19980 return false; | |
| 19981 } | |
| 19982 } | 20517 } |
| 19983 | 20518 |
| 19984 // TODO(jacobr): remove when/if List supports a method similar to | 20519 // TODO(jacobr): remove when/if List supports a method similar to |
| 19985 // insertBefore or we switch NodeList to implement LinkedList rather than | 20520 // insertBefore or we switch NodeList to implement LinkedList rather than |
| 19986 // array. | 20521 // array. |
| 19987 Node insertBefore(Node newChild, Node refChild) { | 20522 Node insertBefore(Node newChild, Node refChild) { |
| 19988 return LevelDom.wrapNode(_ptr.insertBefore( | 20523 return LevelDom.wrapNode(_ptr.insertBefore( |
| 19989 LevelDom.unwrap(newChild), LevelDom.unwrap(refChild))); | 20524 LevelDom.unwrap(newChild), LevelDom.unwrap(refChild))); |
| 19990 } | 20525 } |
| 19991 | 20526 |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20108 Text replaceWholeText([String content]); | 20643 Text replaceWholeText([String content]); |
| 20109 | 20644 |
| 20110 Text splitText([int offset]); | 20645 Text splitText([int offset]); |
| 20111 } | 20646 } |
| 20112 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 20647 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 20113 // for details. All rights reserved. Use of this source code is governed by a | 20648 // for details. All rights reserved. Use of this source code is governed by a |
| 20114 // BSD-style license that can be found in the LICENSE file. | 20649 // BSD-style license that can be found in the LICENSE file. |
| 20115 | 20650 |
| 20116 class TextWrappingImplementation extends CharacterDataWrappingImplementation imp
lements Text { | 20651 class TextWrappingImplementation extends CharacterDataWrappingImplementation imp
lements Text { |
| 20117 factory TextWrappingImplementation(String content) { | 20652 factory TextWrappingImplementation(String content) { |
| 20118 return new TextWrappingImplementation._wrap(_rawDocument.createTextNode(cont
ent)); | 20653 return new TextWrappingImplementation._wrap( |
| 20654 dom.document.createTextNode(content)); |
| 20119 } | 20655 } |
| 20120 | 20656 |
| 20121 TextWrappingImplementation._wrap(ptr) : super._wrap(ptr); | 20657 TextWrappingImplementation._wrap(ptr) : super._wrap(ptr); |
| 20122 | 20658 |
| 20123 String get wholeText() => _ptr.wholeText; | 20659 String get wholeText() => _ptr.wholeText; |
| 20124 | 20660 |
| 20125 Text replaceWholeText([String content = null]) { | 20661 Text replaceWholeText([String content = null]) { |
| 20126 if (content === null) { | 20662 if (content === null) { |
| 20127 return LevelDom.wrapText(_ptr.replaceWholeText()); | 20663 return LevelDom.wrapText(_ptr.replaceWholeText()); |
| 20128 } else { | 20664 } else { |
| (...skipping 1313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21442 void postMessage(String message, [MessagePort messagePort]); | 21978 void postMessage(String message, [MessagePort messagePort]); |
| 21443 | 21979 |
| 21444 void terminate(); | 21980 void terminate(); |
| 21445 | 21981 |
| 21446 WorkerEvents get on(); | 21982 WorkerEvents get on(); |
| 21447 } | 21983 } |
| 21448 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 21984 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 21449 // for details. All rights reserved. Use of this source code is governed by a | 21985 // for details. All rights reserved. Use of this source code is governed by a |
| 21450 // BSD-style license that can be found in the LICENSE file. | 21986 // BSD-style license that can be found in the LICENSE file. |
| 21451 | 21987 |
| 21452 // TODO(jacobr): move into a core library or at least merge with the copy | |
| 21453 // in client/dom/src | |
| 21454 class _Lists { | |
| 21455 | |
| 21456 /** | |
| 21457 * Returns the index in the array [a] of the given [element], starting | |
| 21458 * the search at index [startIndex] to [endIndex] (exclusive). | |
| 21459 * Returns -1 if [element] is not found. | |
| 21460 */ | |
| 21461 static int indexOf(List a, | |
| 21462 Object element, | |
| 21463 int startIndex, | |
| 21464 int endIndex) { | |
| 21465 if (startIndex >= a.length) { | |
| 21466 return -1; | |
| 21467 } | |
| 21468 if (startIndex < 0) { | |
| 21469 startIndex = 0; | |
| 21470 } | |
| 21471 for (int i = startIndex; i < endIndex; i++) { | |
| 21472 if (a[i] == element) { | |
| 21473 return i; | |
| 21474 } | |
| 21475 } | |
| 21476 return -1; | |
| 21477 } | |
| 21478 | |
| 21479 /** | |
| 21480 * Returns the last index in the array [a] of the given [element], starting | |
| 21481 * the search at index [startIndex] to 0. | |
| 21482 * Returns -1 if [element] is not found. | |
| 21483 */ | |
| 21484 static int lastIndexOf(List a, Object element, int startIndex) { | |
| 21485 if (startIndex < 0) { | |
| 21486 return -1; | |
| 21487 } | |
| 21488 if (startIndex >= a.length) { | |
| 21489 startIndex = a.length - 1; | |
| 21490 } | |
| 21491 for (int i = startIndex; i >= 0; i--) { | |
| 21492 if (a[i] == element) { | |
| 21493 return i; | |
| 21494 } | |
| 21495 } | |
| 21496 return -1; | |
| 21497 } | |
| 21498 } | |
| 21499 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | |
| 21500 // for details. All rights reserved. Use of this source code is governed by a | |
| 21501 // BSD-style license that can be found in the LICENSE file. | |
| 21502 | |
| 21503 // Iterator for lists with fixed size. | |
| 21504 class _FixedSizeListIterator<T> extends _VariableSizeListIterator<T> { | |
| 21505 _FixedSizeListIterator(List<T> list) | |
| 21506 : super(list), | |
| 21507 _length = list.length; | |
| 21508 | |
| 21509 bool hasNext() => _length > _pos; | |
| 21510 | |
| 21511 final int _length; // Cache list length for faster access. | |
| 21512 } | |
| 21513 | |
| 21514 // Iterator for lists with variable size. | |
| 21515 class _VariableSizeListIterator<T> implements Iterator<T> { | |
| 21516 _VariableSizeListIterator(List<T> list) | |
| 21517 : _list = list, | |
| 21518 _pos = 0; | |
| 21519 | |
| 21520 bool hasNext() => _list.length > _pos; | |
| 21521 | |
| 21522 T next() { | |
| 21523 if (!hasNext()) { | |
| 21524 throw const NoMoreElementsException(); | |
| 21525 } | |
| 21526 return _list[_pos++]; | |
| 21527 } | |
| 21528 | |
| 21529 final List<T> _list; | |
| 21530 int _pos; | |
| 21531 } | |
| 21532 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | |
| 21533 // for details. All rights reserved. Use of this source code is governed by a | |
| 21534 // BSD-style license that can be found in the LICENSE file. | |
| 21535 | |
| 21536 /** | |
| 21537 * The [Collections] class implements static methods useful when | |
| 21538 * writing a class that implements [Collection] and the [iterator] | |
| 21539 * method. | |
| 21540 */ | |
| 21541 class _Collections { | |
| 21542 static void forEach(Iterable<Object> iterable, void f(Object o)) { | |
| 21543 for (final e in iterable) { | |
| 21544 f(e); | |
| 21545 } | |
| 21546 } | |
| 21547 | |
| 21548 static bool some(Iterable<Object> iterable, bool f(Object o)) { | |
| 21549 for (final e in iterable) { | |
| 21550 if (f(e)) return true; | |
| 21551 } | |
| 21552 return false; | |
| 21553 } | |
| 21554 | |
| 21555 static bool every(Iterable<Object> iterable, bool f(Object o)) { | |
| 21556 for (final e in iterable) { | |
| 21557 if (!f(e)) return false; | |
| 21558 } | |
| 21559 return true; | |
| 21560 } | |
| 21561 | |
| 21562 static List filter(Iterable<Object> source, | |
| 21563 List<Object> destination, | |
| 21564 bool f(o)) { | |
| 21565 for (final e in source) { | |
| 21566 if (f(e)) destination.add(e); | |
| 21567 } | |
| 21568 return destination; | |
| 21569 } | |
| 21570 | |
| 21571 static bool isEmpty(Iterable<Object> iterable) { | |
| 21572 return !iterable.iterator().hasNext(); | |
| 21573 } | |
| 21574 } | |
| 21575 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | |
| 21576 // for details. All rights reserved. Use of this source code is governed by a | |
| 21577 // BSD-style license that can be found in the LICENSE file. | |
| 21578 | |
| 21579 class WorkerEventsImplementation extends AbstractWorkerEventsImplementation | 21988 class WorkerEventsImplementation extends AbstractWorkerEventsImplementation |
| 21580 implements WorkerEvents { | 21989 implements WorkerEvents { |
| 21581 WorkerEventsImplementation._wrap(_ptr) : super._wrap(_ptr); | 21990 WorkerEventsImplementation._wrap(_ptr) : super._wrap(_ptr); |
| 21582 | 21991 |
| 21583 EventListenerList get message() => _get('message'); | 21992 EventListenerList get message() => _get('message'); |
| 21584 } | 21993 } |
| 21585 | 21994 |
| 21586 class WorkerWrappingImplementation extends EventTargetWrappingImplementation imp
lements Worker { | 21995 class WorkerWrappingImplementation extends EventTargetWrappingImplementation imp
lements Worker { |
| 21587 WorkerWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 21996 WorkerWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 21588 | 21997 |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21724 | 22133 |
| 21725 EventListenerList get abort() => _get('abort'); | 22134 EventListenerList get abort() => _get('abort'); |
| 21726 EventListenerList get error() => _get('error'); | 22135 EventListenerList get error() => _get('error'); |
| 21727 EventListenerList get load() => _get('load'); | 22136 EventListenerList get load() => _get('load'); |
| 21728 EventListenerList get loadStart() => _get('loadstart'); | 22137 EventListenerList get loadStart() => _get('loadstart'); |
| 21729 EventListenerList get progress() => _get('progress'); | 22138 EventListenerList get progress() => _get('progress'); |
| 21730 EventListenerList get readyStateChange() => _get('readystatechange'); | 22139 EventListenerList get readyStateChange() => _get('readystatechange'); |
| 21731 } | 22140 } |
| 21732 | 22141 |
| 21733 class XMLHttpRequestWrappingImplementation extends EventTargetWrappingImplementa
tion implements XMLHttpRequest { | 22142 class XMLHttpRequestWrappingImplementation extends EventTargetWrappingImplementa
tion implements XMLHttpRequest { |
| 21734 XMLHttpRequestWrappingImplementation._wrap(ptr) : super._wrap(ptr); | 22143 XMLHttpRequestWrappingImplementation._wrap( |
| 22144 dom.XMLHttpRequest ptr) : super._wrap(ptr); |
| 21735 | 22145 |
| 21736 factory XMLHttpRequestWrappingImplementation() { | 22146 factory XMLHttpRequestWrappingImplementation() { |
| 21737 return LevelDom.wrapXMLHttpRequest(_rawWindow.createXMLHttpRequest()); | 22147 return new XMLHttpRequestWrappingImplementation._wrap( |
| 22148 new dom.XMLHttpRequest()); |
| 21738 } | 22149 } |
| 21739 | 22150 |
| 21740 factory XMLHttpRequestWrappingImplementation.getTEMPNAME(String url, | 22151 factory XMLHttpRequestWrappingImplementation.getTEMPNAME(String url, |
| 21741 onSuccess(XMLHttpRequest request)) { | 22152 onSuccess(XMLHttpRequest request)) { |
| 21742 final request = new XMLHttpRequest(); | 22153 final request = new XMLHttpRequest(); |
| 21743 request.open('GET', url, true); | 22154 request.open('GET', url, true); |
| 21744 | 22155 |
| 21745 // TODO(terry): Validate after client login added if necessary to forward | 22156 // TODO(terry): Validate after client login added if necessary to forward |
| 21746 // cookies to server. | 22157 // cookies to server. |
| 21747 request.withCredentials = true; | 22158 request.withCredentials = true; |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21836 _ptr.setRequestHeader(header, value); | 22247 _ptr.setRequestHeader(header, value); |
| 21837 } | 22248 } |
| 21838 | 22249 |
| 21839 XMLHttpRequestEvents get on() { | 22250 XMLHttpRequestEvents get on() { |
| 21840 if (_on === null) { | 22251 if (_on === null) { |
| 21841 _on = new XMLHttpRequestEventsImplementation._wrap(_ptr); | 22252 _on = new XMLHttpRequestEventsImplementation._wrap(_ptr); |
| 21842 } | 22253 } |
| 21843 return _on; | 22254 return _on; |
| 21844 } | 22255 } |
| 21845 } | 22256 } |
| 22257 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 22258 // for details. All rights reserved. Use of this source code is governed by a |
| 22259 // BSD-style license that can be found in the LICENSE file. |
| 22260 |
| 22261 /** |
| 22262 * The [Collections] class implements static methods useful when |
| 22263 * writing a class that implements [Collection] and the [iterator] |
| 22264 * method. |
| 22265 */ |
| 22266 class _Collections { |
| 22267 static void forEach(Iterable<Object> iterable, void f(Object o)) { |
| 22268 for (final e in iterable) { |
| 22269 f(e); |
| 22270 } |
| 22271 } |
| 22272 |
| 22273 static bool some(Iterable<Object> iterable, bool f(Object o)) { |
| 22274 for (final e in iterable) { |
| 22275 if (f(e)) return true; |
| 22276 } |
| 22277 return false; |
| 22278 } |
| 22279 |
| 22280 static bool every(Iterable<Object> iterable, bool f(Object o)) { |
| 22281 for (final e in iterable) { |
| 22282 if (!f(e)) return false; |
| 22283 } |
| 22284 return true; |
| 22285 } |
| 22286 |
| 22287 static List filter(Iterable<Object> source, |
| 22288 List<Object> destination, |
| 22289 bool f(o)) { |
| 22290 for (final e in source) { |
| 22291 if (f(e)) destination.add(e); |
| 22292 } |
| 22293 return destination; |
| 22294 } |
| 22295 |
| 22296 static bool isEmpty(Iterable<Object> iterable) { |
| 22297 return !iterable.iterator().hasNext(); |
| 22298 } |
| 22299 } |
| 22300 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 22301 // for details. All rights reserved. Use of this source code is governed by a |
| 22302 // BSD-style license that can be found in the LICENSE file. |
| 22303 |
| 22304 |
| 22305 // These factory methods could all live in one factory provider class but dartc |
| 22306 // has a bug (5399939) preventing that. |
| 22307 |
| 22308 class _FileReaderFactoryProvider { |
| 22309 |
| 22310 factory FileReader() { |
| 22311 return new dom.FileReader(); |
| 22312 } |
| 22313 } |
| 22314 |
| 22315 class _CSSMatrixFactoryProvider { |
| 22316 |
| 22317 factory CSSMatrix([String spec = '']) { |
| 22318 return new CSSMatrixWrappingImplementation._wrap( |
| 22319 new dom.WebKitCSSMatrix(spec)); |
| 22320 } |
| 22321 } |
| 22322 |
| 22323 class _PointFactoryProvider { |
| 22324 |
| 22325 factory Point(num x, num y) { |
| 22326 return new PointWrappingImplementation._wrap(new dom.WebKitPoint(x, y)); |
| 22327 } |
| 22328 } |
| 22329 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 22330 // for details. All rights reserved. Use of this source code is governed by a |
| 22331 // BSD-style license that can be found in the LICENSE file. |
| 22332 |
| 22333 // Iterator for lists with fixed size. |
| 22334 class _FixedSizeListIterator<T> extends _VariableSizeListIterator<T> { |
| 22335 _FixedSizeListIterator(List<T> list) |
| 22336 : super(list), |
| 22337 _length = list.length; |
| 22338 |
| 22339 bool hasNext() => _length > _pos; |
| 22340 |
| 22341 final int _length; // Cache list length for faster access. |
| 22342 } |
| 22343 |
| 22344 // Iterator for lists with variable size. |
| 22345 class _VariableSizeListIterator<T> implements Iterator<T> { |
| 22346 _VariableSizeListIterator(List<T> list) |
| 22347 : _list = list, |
| 22348 _pos = 0; |
| 22349 |
| 22350 bool hasNext() => _list.length > _pos; |
| 22351 |
| 22352 T next() { |
| 22353 if (!hasNext()) { |
| 22354 throw const NoMoreElementsException(); |
| 22355 } |
| 22356 return _list[_pos++]; |
| 22357 } |
| 22358 |
| 22359 final List<T> _list; |
| 22360 int _pos; |
| 22361 } |
| 22362 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 22363 // for details. All rights reserved. Use of this source code is governed by a |
| 22364 // BSD-style license that can be found in the LICENSE file. |
| 22365 |
| 22366 // TODO(jacobr): move into a core library or at least merge with the copy |
| 22367 // in client/dom/src |
| 22368 class _Lists { |
| 22369 |
| 22370 /** |
| 22371 * Returns the index in the array [a] of the given [element], starting |
| 22372 * the search at index [startIndex] to [endIndex] (exclusive). |
| 22373 * Returns -1 if [element] is not found. |
| 22374 */ |
| 22375 static int indexOf(List a, |
| 22376 Object element, |
| 22377 int startIndex, |
| 22378 int endIndex) { |
| 22379 if (startIndex >= a.length) { |
| 22380 return -1; |
| 22381 } |
| 22382 if (startIndex < 0) { |
| 22383 startIndex = 0; |
| 22384 } |
| 22385 for (int i = startIndex; i < endIndex; i++) { |
| 22386 if (a[i] == element) { |
| 22387 return i; |
| 22388 } |
| 22389 } |
| 22390 return -1; |
| 22391 } |
| 22392 |
| 22393 /** |
| 22394 * Returns the last index in the array [a] of the given [element], starting |
| 22395 * the search at index [startIndex] to 0. |
| 22396 * Returns -1 if [element] is not found. |
| 22397 */ |
| 22398 static int lastIndexOf(List a, Object element, int startIndex) { |
| 22399 if (startIndex < 0) { |
| 22400 return -1; |
| 22401 } |
| 22402 if (startIndex >= a.length) { |
| 22403 startIndex = a.length - 1; |
| 22404 } |
| 22405 for (int i = startIndex; i >= 0; i--) { |
| 22406 if (a[i] == element) { |
| 22407 return i; |
| 22408 } |
| 22409 } |
| 22410 return -1; |
| 22411 } |
| 22412 } |
| OLD | NEW |