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

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

Issue 9181010: Refactor DOM generator. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « client/dom/dom_frog.dart ('k') | client/dom/generated/src/frog/AudioBufferCallback.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #library('dom'); 1 #library('dom');
2 2
3 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 3 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4 // for details. All rights reserved. Use of this source code is governed by a 4 // for details. All rights reserved. Use of this source code is governed by a
5 // BSD-style license that can be found in the LICENSE file. 5 // BSD-style license that can be found in the LICENSE file.
6 6
7 // DO NOT EDIT 7 // DO NOT EDIT
8 // Auto-generated Dart DOM library. 8 // Auto-generated Dart DOM library.
9 9
10 10
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 int numberOfChannels; 80 int numberOfChannels;
81 81
82 num sampleRate; 82 num sampleRate;
83 83
84 Float32Array getChannelData(int channelIndex) native; 84 Float32Array getChannelData(int channelIndex) native;
85 85
86 var dartObjectLocalStorage; 86 var dartObjectLocalStorage;
87 87
88 String get typeName() native; 88 String get typeName() native;
89 } 89 }
90 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
91 // for details. All rights reserved. Use of this source code is governed by a
92 // BSD-style license that can be found in the LICENSE file.
93
94 // WARNING: Do not edit - generated code.
95
96 typedef bool AudioBufferCallback(AudioBuffer audioBuffer);
90 97
91 class AudioBufferSourceNode extends AudioSourceNode native "*AudioBufferSourceNo de" { 98 class AudioBufferSourceNode extends AudioSourceNode native "*AudioBufferSourceNo de" {
92 99
93 AudioBuffer buffer; 100 AudioBuffer buffer;
94 101
95 AudioGain gain; 102 AudioGain gain;
96 103
97 bool loop; 104 bool loop;
98 105
99 bool looping; 106 bool looping;
(...skipping 1426 matching lines...) Expand 10 before | Expand all | Expand 10 after
1526 void changeVersion(String oldVersion, String newVersion, [SQLTransactionCallba ck callback = null, SQLTransactionErrorCallback errorCallback = null, VoidCallba ck successCallback = null]) native; 1533 void changeVersion(String oldVersion, String newVersion, [SQLTransactionCallba ck callback = null, SQLTransactionErrorCallback errorCallback = null, VoidCallba ck successCallback = null]) native;
1527 1534
1528 void readTransaction(SQLTransactionCallback callback, [SQLTransactionErrorCall back errorCallback = null, VoidCallback successCallback = null]) native; 1535 void readTransaction(SQLTransactionCallback callback, [SQLTransactionErrorCall back errorCallback = null, VoidCallback successCallback = null]) native;
1529 1536
1530 void transaction(SQLTransactionCallback callback, [SQLTransactionErrorCallback errorCallback = null, VoidCallback successCallback = null]) native; 1537 void transaction(SQLTransactionCallback callback, [SQLTransactionErrorCallback errorCallback = null, VoidCallback successCallback = null]) native;
1531 1538
1532 var dartObjectLocalStorage; 1539 var dartObjectLocalStorage;
1533 1540
1534 String get typeName() native; 1541 String get typeName() native;
1535 } 1542 }
1543 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
1544 // for details. All rights reserved. Use of this source code is governed by a
1545 // BSD-style license that can be found in the LICENSE file.
1546
1547 // WARNING: Do not edit - generated code.
1548
1549 typedef bool DatabaseCallback(var database);
1536 1550
1537 class DatabaseSync native "*DatabaseSync" { 1551 class DatabaseSync native "*DatabaseSync" {
1538 1552
1539 String lastErrorMessage; 1553 String lastErrorMessage;
1540 1554
1541 String version; 1555 String version;
1542 1556
1543 void changeVersion(String oldVersion, String newVersion, [SQLTransactionSyncCa llback callback = null]) native; 1557 void changeVersion(String oldVersion, String newVersion, [SQLTransactionSyncCa llback callback = null]) native;
1544 1558
1545 void readTransaction(SQLTransactionSyncCallback callback) native; 1559 void readTransaction(SQLTransactionSyncCallback callback) native;
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
1940 1954
1941 String notationName; 1955 String notationName;
1942 1956
1943 String publicId; 1957 String publicId;
1944 1958
1945 String systemId; 1959 String systemId;
1946 } 1960 }
1947 1961
1948 class EntityReference extends Node native "*EntityReference" { 1962 class EntityReference extends Node native "*EntityReference" {
1949 } 1963 }
1964 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
1965 // for details. All rights reserved. Use of this source code is governed by a
1966 // BSD-style license that can be found in the LICENSE file.
1967
1968 // WARNING: Do not edit - generated code.
1969
1970 typedef bool EntriesCallback(EntryArray entries);
1950 1971
1951 class Entry native "*Entry" { 1972 class Entry native "*Entry" {
1952 1973
1953 DOMFileSystem filesystem; 1974 DOMFileSystem filesystem;
1954 1975
1955 String fullPath; 1976 String fullPath;
1956 1977
1957 bool isDirectory; 1978 bool isDirectory;
1958 1979
1959 bool isFile; 1980 bool isFile;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
1991 class EntryArraySync native "*EntryArraySync" { 2012 class EntryArraySync native "*EntryArraySync" {
1992 2013
1993 int length; 2014 int length;
1994 2015
1995 EntrySync item(int index) native; 2016 EntrySync item(int index) native;
1996 2017
1997 var dartObjectLocalStorage; 2018 var dartObjectLocalStorage;
1998 2019
1999 String get typeName() native; 2020 String get typeName() native;
2000 } 2021 }
2022 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2023 // for details. All rights reserved. Use of this source code is governed by a
2024 // BSD-style license that can be found in the LICENSE file.
2025
2026 // WARNING: Do not edit - generated code.
2027
2028 typedef bool EntryCallback(Entry entry);
2001 2029
2002 class EntrySync native "*EntrySync" { 2030 class EntrySync native "*EntrySync" {
2003 2031
2004 DOMFileSystemSync filesystem; 2032 DOMFileSystemSync filesystem;
2005 2033
2006 String fullPath; 2034 String fullPath;
2007 2035
2008 bool isDirectory; 2036 bool isDirectory;
2009 2037
2010 bool isFile; 2038 bool isFile;
2011 2039
2012 String name; 2040 String name;
2013 2041
2014 EntrySync copyTo(DirectoryEntrySync parent, String name) native; 2042 EntrySync copyTo(DirectoryEntrySync parent, String name) native;
2015 2043
2016 Metadata getMetadata() native; 2044 Metadata getMetadata() native;
2017 2045
2018 DirectoryEntrySync getParent() native; 2046 DirectoryEntrySync getParent() native;
2019 2047
2020 EntrySync moveTo(DirectoryEntrySync parent, String name) native; 2048 EntrySync moveTo(DirectoryEntrySync parent, String name) native;
2021 2049
2022 void remove() native; 2050 void remove() native;
2023 2051
2024 String toURL() native; 2052 String toURL() native;
2025 2053
2026 var dartObjectLocalStorage; 2054 var dartObjectLocalStorage;
2027 2055
2028 String get typeName() native; 2056 String get typeName() native;
2029 } 2057 }
2058 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2059 // for details. All rights reserved. Use of this source code is governed by a
2060 // BSD-style license that can be found in the LICENSE file.
2061
2062 // WARNING: Do not edit - generated code.
2063
2064 typedef bool ErrorCallback(FileError error);
2030 2065
2031 class ErrorEvent extends Event native "*ErrorEvent" { 2066 class ErrorEvent extends Event native "*ErrorEvent" {
2032 2067
2033 String filename; 2068 String filename;
2034 2069
2035 int lineno; 2070 int lineno;
2036 2071
2037 String message; 2072 String message;
2038 } 2073 }
2039 2074
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
2176 String fileName; 2211 String fileName;
2177 2212
2178 int fileSize; 2213 int fileSize;
2179 2214
2180 Date lastModifiedDate; 2215 Date lastModifiedDate;
2181 2216
2182 String name; 2217 String name;
2183 2218
2184 String webkitRelativePath; 2219 String webkitRelativePath;
2185 } 2220 }
2221 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2222 // for details. All rights reserved. Use of this source code is governed by a
2223 // BSD-style license that can be found in the LICENSE file.
2224
2225 // WARNING: Do not edit - generated code.
2226
2227 typedef bool FileCallback(File file);
2186 2228
2187 class FileEntry extends Entry native "*FileEntry" { 2229 class FileEntry extends Entry native "*FileEntry" {
2188 2230
2189 void createWriter(FileWriterCallback successCallback, [ErrorCallback errorCall back = null]) native; 2231 void createWriter(FileWriterCallback successCallback, [ErrorCallback errorCall back = null]) native;
2190 2232
2191 void file(FileCallback successCallback, [ErrorCallback errorCallback = null]) native; 2233 void file(FileCallback successCallback, [ErrorCallback errorCallback = null]) native;
2192 } 2234 }
2193 2235
2194 class FileEntrySync extends EntrySync native "*FileEntrySync" { 2236 class FileEntrySync extends EntrySync native "*FileEntrySync" {
2195 2237
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
2331 String readAsBinaryString(Blob blob) native; 2373 String readAsBinaryString(Blob blob) native;
2332 2374
2333 String readAsDataURL(Blob blob) native; 2375 String readAsDataURL(Blob blob) native;
2334 2376
2335 String readAsText(Blob blob, [String encoding = null]) native; 2377 String readAsText(Blob blob, [String encoding = null]) native;
2336 2378
2337 var dartObjectLocalStorage; 2379 var dartObjectLocalStorage;
2338 2380
2339 String get typeName() native; 2381 String get typeName() native;
2340 } 2382 }
2383 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2384 // for details. All rights reserved. Use of this source code is governed by a
2385 // BSD-style license that can be found in the LICENSE file.
2386
2387 // WARNING: Do not edit - generated code.
2388
2389 typedef bool FileSystemCallback(DOMFileSystem fileSystem);
2341 2390
2342 class FileWriter native "*FileWriter" { 2391 class FileWriter native "*FileWriter" {
2343 2392
2344 static final int DONE = 2; 2393 static final int DONE = 2;
2345 2394
2346 static final int INIT = 0; 2395 static final int INIT = 0;
2347 2396
2348 static final int WRITING = 1; 2397 static final int WRITING = 1;
2349 2398
2350 FileError error; 2399 FileError error;
(...skipping 21 matching lines...) Expand all
2372 void seek(int position) native; 2421 void seek(int position) native;
2373 2422
2374 void truncate(int size) native; 2423 void truncate(int size) native;
2375 2424
2376 void write(Blob data) native; 2425 void write(Blob data) native;
2377 2426
2378 var dartObjectLocalStorage; 2427 var dartObjectLocalStorage;
2379 2428
2380 String get typeName() native; 2429 String get typeName() native;
2381 } 2430 }
2431 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2432 // for details. All rights reserved. Use of this source code is governed by a
2433 // BSD-style license that can be found in the LICENSE file.
2434
2435 // WARNING: Do not edit - generated code.
2436
2437 typedef bool FileWriterCallback(FileWriter fileWriter);
2382 2438
2383 class FileWriterSync native "*FileWriterSync" { 2439 class FileWriterSync native "*FileWriterSync" {
2384 2440
2385 int length; 2441 int length;
2386 2442
2387 int position; 2443 int position;
2388 2444
2389 void seek(int position) native; 2445 void seek(int position) native;
2390 2446
2391 void truncate(int size) native; 2447 void truncate(int size) native;
(...skipping 2331 matching lines...) Expand 10 before | Expand all | Expand 10 after
4723 } 4779 }
4724 4780
4725 class Metadata native "*Metadata" { 4781 class Metadata native "*Metadata" {
4726 4782
4727 Date modificationTime; 4783 Date modificationTime;
4728 4784
4729 var dartObjectLocalStorage; 4785 var dartObjectLocalStorage;
4730 4786
4731 String get typeName() native; 4787 String get typeName() native;
4732 } 4788 }
4789 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4790 // for details. All rights reserved. Use of this source code is governed by a
4791 // BSD-style license that can be found in the LICENSE file.
4792
4793 // WARNING: Do not edit - generated code.
4794
4795 typedef bool MetadataCallback(Metadata metadata);
4733 4796
4734 class MouseEvent extends UIEvent native "*MouseEvent" { 4797 class MouseEvent extends UIEvent native "*MouseEvent" {
4735 4798
4736 bool altKey; 4799 bool altKey;
4737 4800
4738 int button; 4801 int button;
4739 4802
4740 int clientX; 4803 int clientX;
4741 4804
4742 int clientY; 4805 int clientY;
(...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after
5317 5380
5318 var dartObjectLocalStorage; 5381 var dartObjectLocalStorage;
5319 5382
5320 String get typeName() native; 5383 String get typeName() native;
5321 } 5384 }
5322 5385
5323 class PopStateEvent extends Event native "*PopStateEvent" { 5386 class PopStateEvent extends Event native "*PopStateEvent" {
5324 5387
5325 Object state; 5388 Object state;
5326 } 5389 }
5390 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5391 // for details. All rights reserved. Use of this source code is governed by a
5392 // BSD-style license that can be found in the LICENSE file.
5393
5394 // WARNING: Do not edit - generated code.
5395
5396 typedef bool PositionCallback(Geoposition position);
5327 5397
5328 class PositionError native "*PositionError" { 5398 class PositionError native "*PositionError" {
5329 5399
5330 static final int PERMISSION_DENIED = 1; 5400 static final int PERMISSION_DENIED = 1;
5331 5401
5332 static final int POSITION_UNAVAILABLE = 2; 5402 static final int POSITION_UNAVAILABLE = 2;
5333 5403
5334 static final int TIMEOUT = 3; 5404 static final int TIMEOUT = 3;
5335 5405
5336 int code; 5406 int code;
5337 5407
5338 String message; 5408 String message;
5339 5409
5340 var dartObjectLocalStorage; 5410 var dartObjectLocalStorage;
5341 5411
5342 String get typeName() native; 5412 String get typeName() native;
5343 } 5413 }
5414 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5415 // for details. All rights reserved. Use of this source code is governed by a
5416 // BSD-style license that can be found in the LICENSE file.
5417
5418 // WARNING: Do not edit - generated code.
5419
5420 typedef bool PositionErrorCallback(PositionError error);
5344 5421
5345 class ProcessingInstruction extends Node native "*ProcessingInstruction" { 5422 class ProcessingInstruction extends Node native "*ProcessingInstruction" {
5346 5423
5347 String data; 5424 String data;
5348 5425
5349 StyleSheet sheet; 5426 StyleSheet sheet;
5350 5427
5351 String target; 5428 String target;
5352 } 5429 }
5353 5430
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
5581 class SQLResultSetRowList native "*SQLResultSetRowList" { 5658 class SQLResultSetRowList native "*SQLResultSetRowList" {
5582 5659
5583 int length; 5660 int length;
5584 5661
5585 Object item(int index) native; 5662 Object item(int index) native;
5586 5663
5587 var dartObjectLocalStorage; 5664 var dartObjectLocalStorage;
5588 5665
5589 String get typeName() native; 5666 String get typeName() native;
5590 } 5667 }
5668 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5669 // for details. All rights reserved. Use of this source code is governed by a
5670 // BSD-style license that can be found in the LICENSE file.
5671
5672 // WARNING: Do not edit - generated code.
5673
5674 typedef bool SQLStatementCallback(SQLTransaction transaction, SQLResultSet resul tSet);
5675 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5676 // for details. All rights reserved. Use of this source code is governed by a
5677 // BSD-style license that can be found in the LICENSE file.
5678
5679 // WARNING: Do not edit - generated code.
5680
5681 typedef bool SQLStatementErrorCallback(SQLTransaction transaction, SQLError erro r);
5591 5682
5592 class SQLTransaction native "*SQLTransaction" { 5683 class SQLTransaction native "*SQLTransaction" {
5593 5684
5594 var dartObjectLocalStorage; 5685 var dartObjectLocalStorage;
5595 5686
5596 String get typeName() native; 5687 String get typeName() native;
5597 } 5688 }
5689 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5690 // for details. All rights reserved. Use of this source code is governed by a
5691 // BSD-style license that can be found in the LICENSE file.
5692
5693 // WARNING: Do not edit - generated code.
5694
5695 typedef bool SQLTransactionCallback(SQLTransaction transaction);
5696 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5697 // for details. All rights reserved. Use of this source code is governed by a
5698 // BSD-style license that can be found in the LICENSE file.
5699
5700 // WARNING: Do not edit - generated code.
5701
5702 typedef bool SQLTransactionErrorCallback(SQLError error);
5598 5703
5599 class SQLTransactionSync native "*SQLTransactionSync" { 5704 class SQLTransactionSync native "*SQLTransactionSync" {
5600 5705
5601 var dartObjectLocalStorage; 5706 var dartObjectLocalStorage;
5602 5707
5603 String get typeName() native; 5708 String get typeName() native;
5604 } 5709 }
5710 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5711 // for details. All rights reserved. Use of this source code is governed by a
5712 // BSD-style license that can be found in the LICENSE file.
5713
5714 // WARNING: Do not edit - generated code.
5715
5716 typedef bool SQLTransactionSyncCallback(SQLTransactionSync transaction);
5605 5717
5606 class SVGAElement extends SVGElement native "*SVGAElement" { 5718 class SVGAElement extends SVGElement native "*SVGAElement" {
5607 5719
5608 SVGAnimatedString target; 5720 SVGAnimatedString target;
5609 5721
5610 // From SVGURIReference 5722 // From SVGURIReference
5611 5723
5612 SVGAnimatedString href; 5724 SVGAnimatedString href;
5613 5725
5614 // From SVGTests 5726 // From SVGTests
(...skipping 3533 matching lines...) Expand 10 before | Expand all | Expand 10 after
9148 static final int TEMPORARY = 0; 9260 static final int TEMPORARY = 0;
9149 9261
9150 void queryUsageAndQuota(int storageType, [StorageInfoUsageCallback usageCallba ck = null, StorageInfoErrorCallback errorCallback = null]) native; 9262 void queryUsageAndQuota(int storageType, [StorageInfoUsageCallback usageCallba ck = null, StorageInfoErrorCallback errorCallback = null]) native;
9151 9263
9152 void requestQuota(int storageType, int newQuotaInBytes, [StorageInfoQuotaCallb ack quotaCallback = null, StorageInfoErrorCallback errorCallback = null]) native ; 9264 void requestQuota(int storageType, int newQuotaInBytes, [StorageInfoQuotaCallb ack quotaCallback = null, StorageInfoErrorCallback errorCallback = null]) native ;
9153 9265
9154 var dartObjectLocalStorage; 9266 var dartObjectLocalStorage;
9155 9267
9156 String get typeName() native; 9268 String get typeName() native;
9157 } 9269 }
9270 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
9271 // for details. All rights reserved. Use of this source code is governed by a
9272 // BSD-style license that can be found in the LICENSE file.
9273
9274 // WARNING: Do not edit - generated code.
9275
9276 typedef bool StorageInfoErrorCallback(DOMException error);
9277 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
9278 // for details. All rights reserved. Use of this source code is governed by a
9279 // BSD-style license that can be found in the LICENSE file.
9280
9281 // WARNING: Do not edit - generated code.
9282
9283 typedef bool StorageInfoQuotaCallback(int grantedQuotaInBytes);
9284 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
9285 // for details. All rights reserved. Use of this source code is governed by a
9286 // BSD-style license that can be found in the LICENSE file.
9287
9288 // WARNING: Do not edit - generated code.
9289
9290 typedef bool StorageInfoUsageCallback(int currentUsageInBytes, int currentQuotaI nBytes);
9291 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
9292 // for details. All rights reserved. Use of this source code is governed by a
9293 // BSD-style license that can be found in the LICENSE file.
9294
9295 // WARNING: Do not edit - generated code.
9296
9297 typedef bool StringCallback(String data);
9158 9298
9159 class StyleMedia native "*StyleMedia" { 9299 class StyleMedia native "*StyleMedia" {
9160 9300
9161 String type; 9301 String type;
9162 9302
9163 bool matchMedium(String mediaquery) native; 9303 bool matchMedium(String mediaquery) native;
9164 9304
9165 var dartObjectLocalStorage; 9305 var dartObjectLocalStorage;
9166 9306
9167 String get typeName() native; 9307 String get typeName() native;
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
9561 bool typeMismatch; 9701 bool typeMismatch;
9562 9702
9563 bool valid; 9703 bool valid;
9564 9704
9565 bool valueMissing; 9705 bool valueMissing;
9566 9706
9567 var dartObjectLocalStorage; 9707 var dartObjectLocalStorage;
9568 9708
9569 String get typeName() native; 9709 String get typeName() native;
9570 } 9710 }
9711 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
9712 // for details. All rights reserved. Use of this source code is governed by a
9713 // BSD-style license that can be found in the LICENSE file.
9714
9715 // WARNING: Do not edit - generated code.
9716
9717 typedef void VoidCallback();
9571 9718
9572 class WaveShaperNode extends AudioNode native "*WaveShaperNode" { 9719 class WaveShaperNode extends AudioNode native "*WaveShaperNode" {
9573 9720
9574 Float32Array curve; 9721 Float32Array curve;
9575 } 9722 }
9576 9723
9577 class WebGLActiveInfo native "*WebGLActiveInfo" { 9724 class WebGLActiveInfo native "*WebGLActiveInfo" {
9578 9725
9579 String name; 9726 String name;
9580 9727
(...skipping 1698 matching lines...) Expand 10 before | Expand all | Expand 10 after
11279 DocumentFragment transformToFragment(Node source, Document docVal) native; 11426 DocumentFragment transformToFragment(Node source, Document docVal) native;
11280 11427
11281 var dartObjectLocalStorage; 11428 var dartObjectLocalStorage;
11282 11429
11283 String get typeName() native; 11430 String get typeName() native;
11284 } 11431 }
11285 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 11432 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11286 // for details. All rights reserved. Use of this source code is governed by a 11433 // for details. All rights reserved. Use of this source code is governed by a
11287 // BSD-style license that can be found in the LICENSE file. 11434 // BSD-style license that can be found in the LICENSE file.
11288 11435
11289 // WARNING: Do not edit - generated code.
11290
11291 typedef bool AudioBufferCallback(AudioBuffer audioBuffer);
11292 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11293 // for details. All rights reserved. Use of this source code is governed by a
11294 // BSD-style license that can be found in the LICENSE file.
11295
11296 // WARNING: Do not edit - generated code.
11297
11298 typedef bool DatabaseCallback(var database);
11299 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11300 // for details. All rights reserved. Use of this source code is governed by a
11301 // BSD-style license that can be found in the LICENSE file.
11302
11303 // WARNING: Do not edit - generated code.
11304
11305 typedef bool EntriesCallback(EntryArray entries);
11306 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11307 // for details. All rights reserved. Use of this source code is governed by a
11308 // BSD-style license that can be found in the LICENSE file.
11309
11310 // WARNING: Do not edit - generated code.
11311
11312 typedef bool EntryCallback(Entry entry);
11313 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11314 // for details. All rights reserved. Use of this source code is governed by a
11315 // BSD-style license that can be found in the LICENSE file.
11316
11317 // WARNING: Do not edit - generated code.
11318
11319 typedef bool ErrorCallback(FileError error);
11320 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11321 // for details. All rights reserved. Use of this source code is governed by a
11322 // BSD-style license that can be found in the LICENSE file.
11323
11324 // WARNING: Do not edit - generated code.
11325
11326 typedef bool FileCallback(File file);
11327 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11328 // for details. All rights reserved. Use of this source code is governed by a
11329 // BSD-style license that can be found in the LICENSE file.
11330
11331 // WARNING: Do not edit - generated code.
11332
11333 typedef bool FileSystemCallback(DOMFileSystem fileSystem);
11334 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11335 // for details. All rights reserved. Use of this source code is governed by a
11336 // BSD-style license that can be found in the LICENSE file.
11337
11338 // WARNING: Do not edit - generated code.
11339
11340 typedef bool FileWriterCallback(FileWriter fileWriter);
11341 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11342 // for details. All rights reserved. Use of this source code is governed by a
11343 // BSD-style license that can be found in the LICENSE file.
11344
11345 // WARNING: Do not edit - generated code.
11346
11347 typedef bool MetadataCallback(Metadata metadata);
11348 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11349 // for details. All rights reserved. Use of this source code is governed by a
11350 // BSD-style license that can be found in the LICENSE file.
11351
11352 // WARNING: Do not edit - generated code.
11353
11354 typedef bool PositionCallback(Geoposition position);
11355 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11356 // for details. All rights reserved. Use of this source code is governed by a
11357 // BSD-style license that can be found in the LICENSE file.
11358
11359 // WARNING: Do not edit - generated code.
11360
11361 typedef bool PositionErrorCallback(PositionError error);
11362 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11363 // for details. All rights reserved. Use of this source code is governed by a
11364 // BSD-style license that can be found in the LICENSE file.
11365
11366 // WARNING: Do not edit - generated code.
11367
11368 typedef bool SQLStatementCallback(SQLTransaction transaction, SQLResultSet resul tSet);
11369 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11370 // for details. All rights reserved. Use of this source code is governed by a
11371 // BSD-style license that can be found in the LICENSE file.
11372
11373 // WARNING: Do not edit - generated code.
11374
11375 typedef bool SQLStatementErrorCallback(SQLTransaction transaction, SQLError erro r);
11376 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11377 // for details. All rights reserved. Use of this source code is governed by a
11378 // BSD-style license that can be found in the LICENSE file.
11379
11380 // WARNING: Do not edit - generated code.
11381
11382 typedef bool SQLTransactionCallback(SQLTransaction transaction);
11383 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11384 // for details. All rights reserved. Use of this source code is governed by a
11385 // BSD-style license that can be found in the LICENSE file.
11386
11387 // WARNING: Do not edit - generated code.
11388
11389 typedef bool SQLTransactionErrorCallback(SQLError error);
11390 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11391 // for details. All rights reserved. Use of this source code is governed by a
11392 // BSD-style license that can be found in the LICENSE file.
11393
11394 // WARNING: Do not edit - generated code.
11395
11396 typedef bool SQLTransactionSyncCallback(SQLTransactionSync transaction);
11397 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11398 // for details. All rights reserved. Use of this source code is governed by a
11399 // BSD-style license that can be found in the LICENSE file.
11400
11401 // WARNING: Do not edit - generated code.
11402
11403 typedef bool StorageInfoErrorCallback(DOMException error);
11404 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11405 // for details. All rights reserved. Use of this source code is governed by a
11406 // BSD-style license that can be found in the LICENSE file.
11407
11408 // WARNING: Do not edit - generated code.
11409
11410 typedef bool StorageInfoQuotaCallback(int grantedQuotaInBytes);
11411 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11412 // for details. All rights reserved. Use of this source code is governed by a
11413 // BSD-style license that can be found in the LICENSE file.
11414
11415 // WARNING: Do not edit - generated code.
11416
11417 typedef bool StorageInfoUsageCallback(int currentUsageInBytes, int currentQuotaI nBytes);
11418 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11419 // for details. All rights reserved. Use of this source code is governed by a
11420 // BSD-style license that can be found in the LICENSE file.
11421
11422 // WARNING: Do not edit - generated code.
11423
11424 typedef bool StringCallback(String data);
11425 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11426 // for details. All rights reserved. Use of this source code is governed by a
11427 // BSD-style license that can be found in the LICENSE file.
11428
11429 // WARNING: Do not edit - generated code.
11430
11431 typedef void VoidCallback();
11432 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11433 // for details. All rights reserved. Use of this source code is governed by a
11434 // BSD-style license that can be found in the LICENSE file.
11435
11436 typedef void EventListener(Event event); 11436 typedef void EventListener(Event event);
11437 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 11437 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11438 // for details. All rights reserved. Use of this source code is governed by a 11438 // for details. All rights reserved. Use of this source code is governed by a
11439 // BSD-style license that can be found in the LICENSE file. 11439 // BSD-style license that can be found in the LICENSE file.
11440 11440
11441 /** 11441 /**
11442 * Defines the standard key locations returned by 11442 * Defines the standard key locations returned by
11443 * KeyboardEvent.getKeyLocation. 11443 * KeyboardEvent.getKeyLocation.
11444 */ 11444 */
11445 interface KeyLocation { 11445 interface KeyLocation {
(...skipping 687 matching lines...) Expand 10 before | Expand all | Expand 10 after
12133 startIndex = a.length - 1; 12133 startIndex = a.length - 1;
12134 } 12134 }
12135 for (int i = startIndex; i >= 0; i--) { 12135 for (int i = startIndex; i >= 0; i--) {
12136 if (a[i] == element) { 12136 if (a[i] == element) {
12137 return i; 12137 return i;
12138 } 12138 }
12139 } 12139 }
12140 return -1; 12140 return -1;
12141 } 12141 }
12142 } 12142 }
OLDNEW
« no previous file with comments | « client/dom/dom_frog.dart ('k') | client/dom/generated/src/frog/AudioBufferCallback.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698