| OLD | NEW |
| 1 #library('dom'); | 1 #library('dom'); |
| 2 | 2 |
| 3 #native('frog_dom.js'); | 3 #native('frog_dom.js'); |
| 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 DOM library. | 9 // Auto-generated Dart DOM library. |
| 10 | 10 |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 | 78 |
| 79 num sampleRate; | 79 num sampleRate; |
| 80 | 80 |
| 81 Float32Array getChannelData(int channelIndex) native; | 81 Float32Array getChannelData(int channelIndex) native; |
| 82 | 82 |
| 83 var dartObjectLocalStorage; | 83 var dartObjectLocalStorage; |
| 84 | 84 |
| 85 String get typeName() native; | 85 String get typeName() native; |
| 86 } | 86 } |
| 87 | 87 |
| 88 class AudioBufferCallback native "*AudioBufferCallback" { | |
| 89 | |
| 90 bool handleEvent(AudioBuffer audioBuffer) native; | |
| 91 | |
| 92 var dartObjectLocalStorage; | |
| 93 | |
| 94 String get typeName() native; | |
| 95 } | |
| 96 | |
| 97 class AudioBufferSourceNode extends AudioSourceNode native "*AudioBufferSourceNo
de" { | 88 class AudioBufferSourceNode extends AudioSourceNode native "*AudioBufferSourceNo
de" { |
| 98 | 89 |
| 99 AudioBuffer buffer; | 90 AudioBuffer buffer; |
| 100 | 91 |
| 101 AudioGain gain; | 92 AudioGain gain; |
| 102 | 93 |
| 103 bool loop; | 94 bool loop; |
| 104 | 95 |
| 105 bool looping; | 96 bool looping; |
| 106 | 97 |
| (...skipping 1398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1505 | 1496 |
| 1506 void readTransaction(SQLTransactionCallback callback, [SQLTransactionErrorCall
back errorCallback = null, VoidCallback successCallback = null]) native; | 1497 void readTransaction(SQLTransactionCallback callback, [SQLTransactionErrorCall
back errorCallback = null, VoidCallback successCallback = null]) native; |
| 1507 | 1498 |
| 1508 void transaction(SQLTransactionCallback callback, [SQLTransactionErrorCallback
errorCallback = null, VoidCallback successCallback = null]) native; | 1499 void transaction(SQLTransactionCallback callback, [SQLTransactionErrorCallback
errorCallback = null, VoidCallback successCallback = null]) native; |
| 1509 | 1500 |
| 1510 var dartObjectLocalStorage; | 1501 var dartObjectLocalStorage; |
| 1511 | 1502 |
| 1512 String get typeName() native; | 1503 String get typeName() native; |
| 1513 } | 1504 } |
| 1514 | 1505 |
| 1515 class DatabaseCallback native "*DatabaseCallback" { | |
| 1516 | |
| 1517 bool handleEvent(var database) native; | |
| 1518 | |
| 1519 var dartObjectLocalStorage; | |
| 1520 | |
| 1521 String get typeName() native; | |
| 1522 } | |
| 1523 | |
| 1524 class DatabaseSync native "*DatabaseSync" { | 1506 class DatabaseSync native "*DatabaseSync" { |
| 1525 | 1507 |
| 1526 String version; | 1508 String version; |
| 1527 | 1509 |
| 1528 void changeVersion(String oldVersion, String newVersion, [SQLTransactionSyncCa
llback callback = null]) native; | 1510 void changeVersion(String oldVersion, String newVersion, [SQLTransactionSyncCa
llback callback = null]) native; |
| 1529 | 1511 |
| 1530 void readTransaction(SQLTransactionSyncCallback callback) native; | 1512 void readTransaction(SQLTransactionSyncCallback callback) native; |
| 1531 | 1513 |
| 1532 void transaction(SQLTransactionSyncCallback callback) native; | 1514 void transaction(SQLTransactionSyncCallback callback) native; |
| 1533 | 1515 |
| (...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1906 String notationName; | 1888 String notationName; |
| 1907 | 1889 |
| 1908 String publicId; | 1890 String publicId; |
| 1909 | 1891 |
| 1910 String systemId; | 1892 String systemId; |
| 1911 } | 1893 } |
| 1912 | 1894 |
| 1913 class EntityReference extends Node native "*EntityReference" { | 1895 class EntityReference extends Node native "*EntityReference" { |
| 1914 } | 1896 } |
| 1915 | 1897 |
| 1916 class EntriesCallback native "*EntriesCallback" { | |
| 1917 | |
| 1918 bool handleEvent(EntryArray entries) native; | |
| 1919 | |
| 1920 var dartObjectLocalStorage; | |
| 1921 | |
| 1922 String get typeName() native; | |
| 1923 } | |
| 1924 | |
| 1925 class Entry native "*Entry" { | 1898 class Entry native "*Entry" { |
| 1926 | 1899 |
| 1927 DOMFileSystem filesystem; | 1900 DOMFileSystem filesystem; |
| 1928 | 1901 |
| 1929 String fullPath; | 1902 String fullPath; |
| 1930 | 1903 |
| 1931 bool isDirectory; | 1904 bool isDirectory; |
| 1932 | 1905 |
| 1933 bool isFile; | 1906 bool isFile; |
| 1934 | 1907 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1966 | 1939 |
| 1967 int length; | 1940 int length; |
| 1968 | 1941 |
| 1969 EntrySync item(int index) native; | 1942 EntrySync item(int index) native; |
| 1970 | 1943 |
| 1971 var dartObjectLocalStorage; | 1944 var dartObjectLocalStorage; |
| 1972 | 1945 |
| 1973 String get typeName() native; | 1946 String get typeName() native; |
| 1974 } | 1947 } |
| 1975 | 1948 |
| 1976 class EntryCallback native "*EntryCallback" { | |
| 1977 | |
| 1978 bool handleEvent(Entry entry) native; | |
| 1979 | |
| 1980 var dartObjectLocalStorage; | |
| 1981 | |
| 1982 String get typeName() native; | |
| 1983 } | |
| 1984 | |
| 1985 class EntrySync native "*EntrySync" { | 1949 class EntrySync native "*EntrySync" { |
| 1986 | 1950 |
| 1987 DOMFileSystemSync filesystem; | 1951 DOMFileSystemSync filesystem; |
| 1988 | 1952 |
| 1989 String fullPath; | 1953 String fullPath; |
| 1990 | 1954 |
| 1991 bool isDirectory; | 1955 bool isDirectory; |
| 1992 | 1956 |
| 1993 bool isFile; | 1957 bool isFile; |
| 1994 | 1958 |
| 1995 String name; | 1959 String name; |
| 1996 | 1960 |
| 1997 EntrySync copyTo(DirectoryEntrySync parent, String name) native; | 1961 EntrySync copyTo(DirectoryEntrySync parent, String name) native; |
| 1998 | 1962 |
| 1999 Metadata getMetadata() native; | 1963 Metadata getMetadata() native; |
| 2000 | 1964 |
| 2001 DirectoryEntrySync getParent() native; | 1965 DirectoryEntrySync getParent() native; |
| 2002 | 1966 |
| 2003 EntrySync moveTo(DirectoryEntrySync parent, String name) native; | 1967 EntrySync moveTo(DirectoryEntrySync parent, String name) native; |
| 2004 | 1968 |
| 2005 void remove() native; | 1969 void remove() native; |
| 2006 | 1970 |
| 2007 String toURL() native; | 1971 String toURL() native; |
| 2008 | 1972 |
| 2009 var dartObjectLocalStorage; | 1973 var dartObjectLocalStorage; |
| 2010 | 1974 |
| 2011 String get typeName() native; | 1975 String get typeName() native; |
| 2012 } | 1976 } |
| 2013 | 1977 |
| 2014 class ErrorCallback native "*ErrorCallback" { | |
| 2015 | |
| 2016 bool handleEvent(FileError error) native; | |
| 2017 | |
| 2018 var dartObjectLocalStorage; | |
| 2019 | |
| 2020 String get typeName() native; | |
| 2021 } | |
| 2022 | |
| 2023 class ErrorEvent extends Event native "*ErrorEvent" { | 1978 class ErrorEvent extends Event native "*ErrorEvent" { |
| 2024 | 1979 |
| 2025 String filename; | 1980 String filename; |
| 2026 | 1981 |
| 2027 int lineno; | 1982 int lineno; |
| 2028 | 1983 |
| 2029 String message; | 1984 String message; |
| 2030 | 1985 |
| 2031 void initErrorEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Str
ing messageArg, String filenameArg, int linenoArg) native; | 1986 void initErrorEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Str
ing messageArg, String filenameArg, int linenoArg) native; |
| 2032 } | 1987 } |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2169 | 2124 |
| 2170 String fileName; | 2125 String fileName; |
| 2171 | 2126 |
| 2172 int fileSize; | 2127 int fileSize; |
| 2173 | 2128 |
| 2174 Date lastModifiedDate; | 2129 Date lastModifiedDate; |
| 2175 | 2130 |
| 2176 String name; | 2131 String name; |
| 2177 } | 2132 } |
| 2178 | 2133 |
| 2179 class FileCallback native "*FileCallback" { | |
| 2180 | |
| 2181 bool handleEvent(File file) native; | |
| 2182 | |
| 2183 var dartObjectLocalStorage; | |
| 2184 | |
| 2185 String get typeName() native; | |
| 2186 } | |
| 2187 | |
| 2188 class FileEntry extends Entry native "*FileEntry" { | 2134 class FileEntry extends Entry native "*FileEntry" { |
| 2189 | 2135 |
| 2190 void createWriter(FileWriterCallback successCallback, [ErrorCallback errorCall
back = null]) native; | 2136 void createWriter(FileWriterCallback successCallback, [ErrorCallback errorCall
back = null]) native; |
| 2191 | 2137 |
| 2192 void file(FileCallback successCallback, [ErrorCallback errorCallback = null])
native; | 2138 void file(FileCallback successCallback, [ErrorCallback errorCallback = null])
native; |
| 2193 } | 2139 } |
| 2194 | 2140 |
| 2195 class FileEntrySync extends EntrySync native "*FileEntrySync" { | 2141 class FileEntrySync extends EntrySync native "*FileEntrySync" { |
| 2196 | 2142 |
| 2197 FileWriterSync createWriter() native; | 2143 FileWriterSync createWriter() native; |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2321 | 2267 |
| 2322 String readAsDataURL(Blob blob) native; | 2268 String readAsDataURL(Blob blob) native; |
| 2323 | 2269 |
| 2324 String readAsText(Blob blob, [String encoding = null]) native; | 2270 String readAsText(Blob blob, [String encoding = null]) native; |
| 2325 | 2271 |
| 2326 var dartObjectLocalStorage; | 2272 var dartObjectLocalStorage; |
| 2327 | 2273 |
| 2328 String get typeName() native; | 2274 String get typeName() native; |
| 2329 } | 2275 } |
| 2330 | 2276 |
| 2331 class FileSystemCallback native "*FileSystemCallback" { | |
| 2332 | |
| 2333 bool handleEvent(DOMFileSystem fileSystem) native; | |
| 2334 | |
| 2335 var dartObjectLocalStorage; | |
| 2336 | |
| 2337 String get typeName() native; | |
| 2338 } | |
| 2339 | |
| 2340 class FileWriter native "*FileWriter" { | 2277 class FileWriter native "*FileWriter" { |
| 2341 | 2278 |
| 2342 static final int DONE = 2; | 2279 static final int DONE = 2; |
| 2343 | 2280 |
| 2344 static final int INIT = 0; | 2281 static final int INIT = 0; |
| 2345 | 2282 |
| 2346 static final int WRITING = 1; | 2283 static final int WRITING = 1; |
| 2347 | 2284 |
| 2348 FileError error; | 2285 FileError error; |
| 2349 | 2286 |
| 2350 int length; | 2287 int length; |
| 2351 | 2288 |
| 2352 int position; | 2289 int position; |
| 2353 | 2290 |
| 2354 int readyState; | 2291 int readyState; |
| 2355 | 2292 |
| 2356 void abort() native; | 2293 void abort() native; |
| 2357 | 2294 |
| 2358 void seek(int position) native; | 2295 void seek(int position) native; |
| 2359 | 2296 |
| 2360 void truncate(int size) native; | 2297 void truncate(int size) native; |
| 2361 | 2298 |
| 2362 void write(Blob data) native; | 2299 void write(Blob data) native; |
| 2363 | 2300 |
| 2364 var dartObjectLocalStorage; | 2301 var dartObjectLocalStorage; |
| 2365 | 2302 |
| 2366 String get typeName() native; | 2303 String get typeName() native; |
| 2367 } | 2304 } |
| 2368 | 2305 |
| 2369 class FileWriterCallback native "*FileWriterCallback" { | |
| 2370 | |
| 2371 bool handleEvent(FileWriter fileWriter) native; | |
| 2372 | |
| 2373 var dartObjectLocalStorage; | |
| 2374 | |
| 2375 String get typeName() native; | |
| 2376 } | |
| 2377 | |
| 2378 class FileWriterSync native "*FileWriterSync" { | 2306 class FileWriterSync native "*FileWriterSync" { |
| 2379 | 2307 |
| 2380 int length; | 2308 int length; |
| 2381 | 2309 |
| 2382 int position; | 2310 int position; |
| 2383 | 2311 |
| 2384 void seek(int position) native; | 2312 void seek(int position) native; |
| 2385 | 2313 |
| 2386 void truncate(int size) native; | 2314 void truncate(int size) native; |
| 2387 | 2315 |
| (...skipping 2149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4537 | 4465 |
| 4538 class Metadata native "*Metadata" { | 4466 class Metadata native "*Metadata" { |
| 4539 | 4467 |
| 4540 Date modificationTime; | 4468 Date modificationTime; |
| 4541 | 4469 |
| 4542 var dartObjectLocalStorage; | 4470 var dartObjectLocalStorage; |
| 4543 | 4471 |
| 4544 String get typeName() native; | 4472 String get typeName() native; |
| 4545 } | 4473 } |
| 4546 | 4474 |
| 4547 class MetadataCallback native "*MetadataCallback" { | |
| 4548 | |
| 4549 bool handleEvent(Metadata metadata) native; | |
| 4550 | |
| 4551 var dartObjectLocalStorage; | |
| 4552 | |
| 4553 String get typeName() native; | |
| 4554 } | |
| 4555 | |
| 4556 class MouseEvent extends UIEvent native "*MouseEvent" { | 4475 class MouseEvent extends UIEvent native "*MouseEvent" { |
| 4557 | 4476 |
| 4558 bool altKey; | 4477 bool altKey; |
| 4559 | 4478 |
| 4560 int button; | 4479 int button; |
| 4561 | 4480 |
| 4562 int clientX; | 4481 int clientX; |
| 4563 | 4482 |
| 4564 int clientY; | 4483 int clientY; |
| 4565 | 4484 |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4713 | 4632 |
| 4714 static final int PERMISSION_DENIED = 1; | 4633 static final int PERMISSION_DENIED = 1; |
| 4715 | 4634 |
| 4716 int code; | 4635 int code; |
| 4717 | 4636 |
| 4718 var dartObjectLocalStorage; | 4637 var dartObjectLocalStorage; |
| 4719 | 4638 |
| 4720 String get typeName() native; | 4639 String get typeName() native; |
| 4721 } | 4640 } |
| 4722 | 4641 |
| 4723 class NavigatorUserMediaErrorCallback native "*NavigatorUserMediaErrorCallback"
{ | |
| 4724 | |
| 4725 bool handleEvent(NavigatorUserMediaError error) native; | |
| 4726 | |
| 4727 var dartObjectLocalStorage; | |
| 4728 | |
| 4729 String get typeName() native; | |
| 4730 } | |
| 4731 | |
| 4732 class NavigatorUserMediaSuccessCallback native "*NavigatorUserMediaSuccessCallba
ck" { | 4642 class NavigatorUserMediaSuccessCallback native "*NavigatorUserMediaSuccessCallba
ck" { |
| 4733 | 4643 |
| 4734 var dartObjectLocalStorage; | 4644 var dartObjectLocalStorage; |
| 4735 | 4645 |
| 4736 String get typeName() native; | 4646 String get typeName() native; |
| 4737 } | 4647 } |
| 4738 | 4648 |
| 4739 class Node native "*Node" { | 4649 class Node native "*Node" { |
| 4740 | 4650 |
| 4741 static final int ATTRIBUTE_NODE = 2; | 4651 static final int ATTRIBUTE_NODE = 2; |
| (...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5144 String get typeName() native; | 5054 String get typeName() native; |
| 5145 } | 5055 } |
| 5146 | 5056 |
| 5147 class PopStateEvent extends Event native "*PopStateEvent" { | 5057 class PopStateEvent extends Event native "*PopStateEvent" { |
| 5148 | 5058 |
| 5149 Object state; | 5059 Object state; |
| 5150 | 5060 |
| 5151 void initPopStateEvent(String typeArg, bool canBubbleArg, bool cancelableArg,
Object stateArg) native; | 5061 void initPopStateEvent(String typeArg, bool canBubbleArg, bool cancelableArg,
Object stateArg) native; |
| 5152 } | 5062 } |
| 5153 | 5063 |
| 5154 class PositionCallback native "*PositionCallback" { | |
| 5155 | |
| 5156 bool handleEvent(Geoposition position) native; | |
| 5157 | |
| 5158 var dartObjectLocalStorage; | |
| 5159 | |
| 5160 String get typeName() native; | |
| 5161 } | |
| 5162 | |
| 5163 class PositionError native "*PositionError" { | 5064 class PositionError native "*PositionError" { |
| 5164 | 5065 |
| 5165 static final int PERMISSION_DENIED = 1; | 5066 static final int PERMISSION_DENIED = 1; |
| 5166 | 5067 |
| 5167 static final int POSITION_UNAVAILABLE = 2; | 5068 static final int POSITION_UNAVAILABLE = 2; |
| 5168 | 5069 |
| 5169 static final int TIMEOUT = 3; | 5070 static final int TIMEOUT = 3; |
| 5170 | 5071 |
| 5171 int code; | 5072 int code; |
| 5172 | 5073 |
| 5173 String message; | 5074 String message; |
| 5174 | 5075 |
| 5175 var dartObjectLocalStorage; | 5076 var dartObjectLocalStorage; |
| 5176 | 5077 |
| 5177 String get typeName() native; | 5078 String get typeName() native; |
| 5178 } | 5079 } |
| 5179 | 5080 |
| 5180 class PositionErrorCallback native "*PositionErrorCallback" { | |
| 5181 | |
| 5182 bool handleEvent(PositionError error) native; | |
| 5183 | |
| 5184 var dartObjectLocalStorage; | |
| 5185 | |
| 5186 String get typeName() native; | |
| 5187 } | |
| 5188 | |
| 5189 class ProcessingInstruction extends Node native "*ProcessingInstruction" { | 5081 class ProcessingInstruction extends Node native "*ProcessingInstruction" { |
| 5190 | 5082 |
| 5191 String data; | 5083 String data; |
| 5192 | 5084 |
| 5193 StyleSheet sheet; | 5085 StyleSheet sheet; |
| 5194 | 5086 |
| 5195 String target; | 5087 String target; |
| 5196 } | 5088 } |
| 5197 | 5089 |
| 5198 class ProgressEvent extends Event native "*ProgressEvent" { | 5090 class ProgressEvent extends Event native "*ProgressEvent" { |
| (...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5428 | 5320 |
| 5429 int length; | 5321 int length; |
| 5430 | 5322 |
| 5431 Object item(int index) native; | 5323 Object item(int index) native; |
| 5432 | 5324 |
| 5433 var dartObjectLocalStorage; | 5325 var dartObjectLocalStorage; |
| 5434 | 5326 |
| 5435 String get typeName() native; | 5327 String get typeName() native; |
| 5436 } | 5328 } |
| 5437 | 5329 |
| 5438 class SQLStatementCallback native "*SQLStatementCallback" { | |
| 5439 | |
| 5440 bool handleEvent(SQLTransaction transaction, SQLResultSet resultSet) native; | |
| 5441 | |
| 5442 var dartObjectLocalStorage; | |
| 5443 | |
| 5444 String get typeName() native; | |
| 5445 } | |
| 5446 | |
| 5447 class SQLStatementErrorCallback native "*SQLStatementErrorCallback" { | |
| 5448 | |
| 5449 bool handleEvent(SQLTransaction transaction, SQLError error) native; | |
| 5450 | |
| 5451 var dartObjectLocalStorage; | |
| 5452 | |
| 5453 String get typeName() native; | |
| 5454 } | |
| 5455 | |
| 5456 class SQLTransaction native "*SQLTransaction" { | 5330 class SQLTransaction native "*SQLTransaction" { |
| 5457 | 5331 |
| 5458 var dartObjectLocalStorage; | 5332 var dartObjectLocalStorage; |
| 5459 | 5333 |
| 5460 String get typeName() native; | 5334 String get typeName() native; |
| 5461 } | 5335 } |
| 5462 | 5336 |
| 5463 class SQLTransactionCallback native "*SQLTransactionCallback" { | |
| 5464 | |
| 5465 bool handleEvent(SQLTransaction transaction) native; | |
| 5466 | |
| 5467 var dartObjectLocalStorage; | |
| 5468 | |
| 5469 String get typeName() native; | |
| 5470 } | |
| 5471 | |
| 5472 class SQLTransactionErrorCallback native "*SQLTransactionErrorCallback" { | |
| 5473 | |
| 5474 bool handleEvent(SQLError error) native; | |
| 5475 | |
| 5476 var dartObjectLocalStorage; | |
| 5477 | |
| 5478 String get typeName() native; | |
| 5479 } | |
| 5480 | |
| 5481 class SQLTransactionSync native "*SQLTransactionSync" { | 5337 class SQLTransactionSync native "*SQLTransactionSync" { |
| 5482 | 5338 |
| 5483 var dartObjectLocalStorage; | 5339 var dartObjectLocalStorage; |
| 5484 | 5340 |
| 5485 String get typeName() native; | 5341 String get typeName() native; |
| 5486 } | 5342 } |
| 5487 | 5343 |
| 5488 class SQLTransactionSyncCallback native "*SQLTransactionSyncCallback" { | |
| 5489 | |
| 5490 bool handleEvent(SQLTransactionSync transaction) native; | |
| 5491 | |
| 5492 var dartObjectLocalStorage; | |
| 5493 | |
| 5494 String get typeName() native; | |
| 5495 } | |
| 5496 | |
| 5497 class SVGAElement extends SVGElement native "*SVGAElement" { | 5344 class SVGAElement extends SVGElement native "*SVGAElement" { |
| 5498 | 5345 |
| 5499 SVGAnimatedString target; | 5346 SVGAnimatedString target; |
| 5500 | 5347 |
| 5501 // From SVGURIReference | 5348 // From SVGURIReference |
| 5502 | 5349 |
| 5503 SVGAnimatedString href; | 5350 SVGAnimatedString href; |
| 5504 | 5351 |
| 5505 // From SVGTests | 5352 // From SVGTests |
| 5506 | 5353 |
| (...skipping 3531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9038 | 8885 |
| 9039 void queryUsageAndQuota(int storageType, [StorageInfoUsageCallback usageCallba
ck = null, StorageInfoErrorCallback errorCallback = null]) native; | 8886 void queryUsageAndQuota(int storageType, [StorageInfoUsageCallback usageCallba
ck = null, StorageInfoErrorCallback errorCallback = null]) native; |
| 9040 | 8887 |
| 9041 void requestQuota(int storageType, int newQuotaInBytes, [StorageInfoQuotaCallb
ack quotaCallback = null, StorageInfoErrorCallback errorCallback = null]) native
; | 8888 void requestQuota(int storageType, int newQuotaInBytes, [StorageInfoQuotaCallb
ack quotaCallback = null, StorageInfoErrorCallback errorCallback = null]) native
; |
| 9042 | 8889 |
| 9043 var dartObjectLocalStorage; | 8890 var dartObjectLocalStorage; |
| 9044 | 8891 |
| 9045 String get typeName() native; | 8892 String get typeName() native; |
| 9046 } | 8893 } |
| 9047 | 8894 |
| 9048 class StorageInfoErrorCallback native "*StorageInfoErrorCallback" { | |
| 9049 | |
| 9050 bool handleEvent(DOMException error) native; | |
| 9051 | |
| 9052 var dartObjectLocalStorage; | |
| 9053 | |
| 9054 String get typeName() native; | |
| 9055 } | |
| 9056 | |
| 9057 class StorageInfoQuotaCallback native "*StorageInfoQuotaCallback" { | |
| 9058 | |
| 9059 bool handleEvent(int grantedQuotaInBytes) native; | |
| 9060 | |
| 9061 var dartObjectLocalStorage; | |
| 9062 | |
| 9063 String get typeName() native; | |
| 9064 } | |
| 9065 | |
| 9066 class StorageInfoUsageCallback native "*StorageInfoUsageCallback" { | |
| 9067 | |
| 9068 bool handleEvent(int currentUsageInBytes, int currentQuotaInBytes) native; | |
| 9069 | |
| 9070 var dartObjectLocalStorage; | |
| 9071 | |
| 9072 String get typeName() native; | |
| 9073 } | |
| 9074 | |
| 9075 class StringCallback native "*StringCallback" { | |
| 9076 | |
| 9077 bool handleEvent(String data) native; | |
| 9078 | |
| 9079 var dartObjectLocalStorage; | |
| 9080 | |
| 9081 String get typeName() native; | |
| 9082 } | |
| 9083 | |
| 9084 class StyleMedia native "*StyleMedia" { | 8895 class StyleMedia native "*StyleMedia" { |
| 9085 | 8896 |
| 9086 String type; | 8897 String type; |
| 9087 | 8898 |
| 9088 bool matchMedium(String mediaquery) native; | 8899 bool matchMedium(String mediaquery) native; |
| 9089 | 8900 |
| 9090 var dartObjectLocalStorage; | 8901 var dartObjectLocalStorage; |
| 9091 | 8902 |
| 9092 String get typeName() native; | 8903 String get typeName() native; |
| 9093 } | 8904 } |
| (...skipping 1991 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11085 DocumentFragment transformToFragment(Node source, Document docVal) native; | 10896 DocumentFragment transformToFragment(Node source, Document docVal) native; |
| 11086 | 10897 |
| 11087 var dartObjectLocalStorage; | 10898 var dartObjectLocalStorage; |
| 11088 | 10899 |
| 11089 String get typeName() native; | 10900 String get typeName() native; |
| 11090 } | 10901 } |
| 11091 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 10902 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 11092 // for details. All rights reserved. Use of this source code is governed by a | 10903 // for details. All rights reserved. Use of this source code is governed by a |
| 11093 // BSD-style license that can be found in the LICENSE file. | 10904 // BSD-style license that can be found in the LICENSE file. |
| 11094 | 10905 |
| 10906 // WARNING: Do not edit - generated code. |
| 10907 |
| 10908 typedef bool AudioBufferCallback(AudioBuffer audioBuffer); |
| 10909 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10910 // for details. All rights reserved. Use of this source code is governed by a |
| 10911 // BSD-style license that can be found in the LICENSE file. |
| 10912 |
| 10913 // WARNING: Do not edit - generated code. |
| 10914 |
| 10915 typedef bool DatabaseCallback(var database); |
| 10916 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10917 // for details. All rights reserved. Use of this source code is governed by a |
| 10918 // BSD-style license that can be found in the LICENSE file. |
| 10919 |
| 10920 // WARNING: Do not edit - generated code. |
| 10921 |
| 10922 typedef bool EntriesCallback(EntryArray entries); |
| 10923 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10924 // for details. All rights reserved. Use of this source code is governed by a |
| 10925 // BSD-style license that can be found in the LICENSE file. |
| 10926 |
| 10927 // WARNING: Do not edit - generated code. |
| 10928 |
| 10929 typedef bool EntryCallback(Entry entry); |
| 10930 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10931 // for details. All rights reserved. Use of this source code is governed by a |
| 10932 // BSD-style license that can be found in the LICENSE file. |
| 10933 |
| 10934 // WARNING: Do not edit - generated code. |
| 10935 |
| 10936 typedef bool ErrorCallback(FileError error); |
| 10937 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10938 // for details. All rights reserved. Use of this source code is governed by a |
| 10939 // BSD-style license that can be found in the LICENSE file. |
| 10940 |
| 10941 // WARNING: Do not edit - generated code. |
| 10942 |
| 10943 typedef bool FileCallback(File file); |
| 10944 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10945 // for details. All rights reserved. Use of this source code is governed by a |
| 10946 // BSD-style license that can be found in the LICENSE file. |
| 10947 |
| 10948 // WARNING: Do not edit - generated code. |
| 10949 |
| 10950 typedef bool FileSystemCallback(DOMFileSystem fileSystem); |
| 10951 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10952 // for details. All rights reserved. Use of this source code is governed by a |
| 10953 // BSD-style license that can be found in the LICENSE file. |
| 10954 |
| 10955 // WARNING: Do not edit - generated code. |
| 10956 |
| 10957 typedef bool FileWriterCallback(FileWriter fileWriter); |
| 10958 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10959 // for details. All rights reserved. Use of this source code is governed by a |
| 10960 // BSD-style license that can be found in the LICENSE file. |
| 10961 |
| 10962 // WARNING: Do not edit - generated code. |
| 10963 |
| 10964 typedef bool MetadataCallback(Metadata metadata); |
| 10965 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10966 // for details. All rights reserved. Use of this source code is governed by a |
| 10967 // BSD-style license that can be found in the LICENSE file. |
| 10968 |
| 10969 // WARNING: Do not edit - generated code. |
| 10970 |
| 10971 typedef bool NavigatorUserMediaErrorCallback(NavigatorUserMediaError error); |
| 10972 // 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 |
| 10974 // BSD-style license that can be found in the LICENSE file. |
| 10975 |
| 10976 // WARNING: Do not edit - generated code. |
| 10977 |
| 10978 typedef bool PositionCallback(Geoposition position); |
| 10979 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10980 // for details. All rights reserved. Use of this source code is governed by a |
| 10981 // BSD-style license that can be found in the LICENSE file. |
| 10982 |
| 10983 // WARNING: Do not edit - generated code. |
| 10984 |
| 10985 typedef bool PositionErrorCallback(PositionError error); |
| 10986 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10987 // for details. All rights reserved. Use of this source code is governed by a |
| 10988 // BSD-style license that can be found in the LICENSE file. |
| 10989 |
| 10990 // WARNING: Do not edit - generated code. |
| 10991 |
| 10992 typedef bool SQLStatementCallback(SQLTransaction transaction, SQLResultSet resul
tSet); |
| 10993 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 10994 // for details. All rights reserved. Use of this source code is governed by a |
| 10995 // BSD-style license that can be found in the LICENSE file. |
| 10996 |
| 10997 // WARNING: Do not edit - generated code. |
| 10998 |
| 10999 typedef bool SQLStatementErrorCallback(SQLTransaction transaction, SQLError erro
r); |
| 11000 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 11001 // for details. All rights reserved. Use of this source code is governed by a |
| 11002 // BSD-style license that can be found in the LICENSE file. |
| 11003 |
| 11004 // WARNING: Do not edit - generated code. |
| 11005 |
| 11006 typedef bool SQLTransactionCallback(SQLTransaction transaction); |
| 11007 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 11008 // for details. All rights reserved. Use of this source code is governed by a |
| 11009 // BSD-style license that can be found in the LICENSE file. |
| 11010 |
| 11011 // WARNING: Do not edit - generated code. |
| 11012 |
| 11013 typedef bool SQLTransactionErrorCallback(SQLError error); |
| 11014 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 11015 // for details. All rights reserved. Use of this source code is governed by a |
| 11016 // BSD-style license that can be found in the LICENSE file. |
| 11017 |
| 11018 // WARNING: Do not edit - generated code. |
| 11019 |
| 11020 typedef bool SQLTransactionSyncCallback(SQLTransactionSync transaction); |
| 11021 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 11022 // for details. All rights reserved. Use of this source code is governed by a |
| 11023 // BSD-style license that can be found in the LICENSE file. |
| 11024 |
| 11025 // WARNING: Do not edit - generated code. |
| 11026 |
| 11027 typedef bool StorageInfoErrorCallback(DOMException error); |
| 11028 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 11029 // for details. All rights reserved. Use of this source code is governed by a |
| 11030 // BSD-style license that can be found in the LICENSE file. |
| 11031 |
| 11032 // WARNING: Do not edit - generated code. |
| 11033 |
| 11034 typedef bool StorageInfoQuotaCallback(int grantedQuotaInBytes); |
| 11035 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 11036 // for details. All rights reserved. Use of this source code is governed by a |
| 11037 // BSD-style license that can be found in the LICENSE file. |
| 11038 |
| 11039 // WARNING: Do not edit - generated code. |
| 11040 |
| 11041 typedef bool StorageInfoUsageCallback(int currentUsageInBytes, int currentQuotaI
nBytes); |
| 11042 // 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 |
| 11044 // BSD-style license that can be found in the LICENSE file. |
| 11045 |
| 11046 // WARNING: Do not edit - generated code. |
| 11047 |
| 11048 typedef bool StringCallback(String data); |
| 11049 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 11050 // for details. All rights reserved. Use of this source code is governed by a |
| 11051 // BSD-style license that can be found in the LICENSE file. |
| 11052 |
| 11095 typedef void EventListener(Event event); | 11053 typedef void EventListener(Event event); |
| 11096 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 11054 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 11097 // for details. All rights reserved. Use of this source code is governed by a | 11055 // for details. All rights reserved. Use of this source code is governed by a |
| 11098 // BSD-style license that can be found in the LICENSE file. | 11056 // BSD-style license that can be found in the LICENSE file. |
| 11099 | 11057 |
| 11100 typedef bool RequestAnimationFrameCallback(int time); | 11058 typedef bool RequestAnimationFrameCallback(int time); |
| 11101 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 11059 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 11102 // for details. All rights reserved. Use of this source code is governed by a | 11060 // for details. All rights reserved. Use of this source code is governed by a |
| 11103 // BSD-style license that can be found in the LICENSE file. | 11061 // BSD-style license that can be found in the LICENSE file. |
| 11104 | 11062 |
| 11105 typedef void TimeoutHandler(); | 11063 typedef void TimeoutHandler(); |
| OLD | NEW |