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

Side by Side Diff: lib/dom/dom.dart

Issue 10831389: Roll IDL to mutlivm@775. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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 | « lib/dom/dart2js/dom_dart2js.dart ('k') | lib/html/dart2js/html_dart2js.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('dart:dom_deprecated'); 1 #library('dart:dom_deprecated');
2 2
3 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4 // for details. All rights reserved. Use of this source code is governed by a 4 // for details. All rights reserved. Use of this source code is governed by a
5 // BSD-style license that can be found in the LICENSE file. 5 // BSD-style license that can be found in the LICENSE file.
6 6
7 // DO NOT EDIT 7 // DO NOT EDIT
8 // Auto-generated Dart DOM library with no implementation. 8 // Auto-generated Dart DOM library with no implementation.
9 9
10 10
(...skipping 2127 matching lines...) Expand 10 before | Expand all | Expand 10 after
2138 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2138 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2139 // for details. All rights reserved. Use of this source code is governed by a 2139 // for details. All rights reserved. Use of this source code is governed by a
2140 // BSD-style license that can be found in the LICENSE file. 2140 // BSD-style license that can be found in the LICENSE file.
2141 2141
2142 // WARNING: Do not edit - generated code. 2142 // WARNING: Do not edit - generated code.
2143 2143
2144 interface DirectoryEntry extends Entry { 2144 interface DirectoryEntry extends Entry {
2145 2145
2146 DirectoryReader createReader(); 2146 DirectoryReader createReader();
2147 2147
2148 void getDirectory(String path, [Object flags, EntryCallback successCallback, E rrorCallback errorCallback]); 2148 void getDirectory(String path, [Map options, EntryCallback successCallback, Er rorCallback errorCallback]);
2149 2149
2150 void getFile(String path, [Object flags, EntryCallback successCallback, ErrorC allback errorCallback]); 2150 void getFile(String path, [Map options, EntryCallback successCallback, ErrorCa llback errorCallback]);
2151 2151
2152 void removeRecursively(VoidCallback successCallback, [ErrorCallback errorCallb ack]); 2152 void removeRecursively(VoidCallback successCallback, [ErrorCallback errorCallb ack]);
2153 } 2153 }
2154 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2154 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2155 // for details. All rights reserved. Use of this source code is governed by a 2155 // 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. 2156 // BSD-style license that can be found in the LICENSE file.
2157 2157
2158 // WARNING: Do not edit - generated code. 2158 // WARNING: Do not edit - generated code.
2159 2159
2160 interface DirectoryEntrySync extends EntrySync { 2160 interface DirectoryEntrySync extends EntrySync {
2161 2161
2162 DirectoryReaderSync createReader(); 2162 DirectoryReaderSync createReader();
2163 2163
2164 DirectoryEntrySync getDirectory(String path, Object flags); 2164 DirectoryEntrySync getDirectory(String path, Map flags);
2165 2165
2166 FileEntrySync getFile(String path, Object flags); 2166 FileEntrySync getFile(String path, Map flags);
2167 2167
2168 void removeRecursively(); 2168 void removeRecursively();
2169 } 2169 }
2170 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2170 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2171 // for details. All rights reserved. Use of this source code is governed by a 2171 // for details. All rights reserved. Use of this source code is governed by a
2172 // BSD-style license that can be found in the LICENSE file. 2172 // BSD-style license that can be found in the LICENSE file.
2173 2173
2174 // WARNING: Do not edit - generated code. 2174 // WARNING: Do not edit - generated code.
2175 2175
2176 interface DirectoryReader { 2176 interface DirectoryReader {
(...skipping 2101 matching lines...) Expand 10 before | Expand all | Expand 10 after
4278 final TextTrackList textTracks; 4278 final TextTrackList textTracks;
4279 4279
4280 num volume; 4280 num volume;
4281 4281
4282 final int webkitAudioDecodedByteCount; 4282 final int webkitAudioDecodedByteCount;
4283 4283
4284 bool webkitClosedCaptionsVisible; 4284 bool webkitClosedCaptionsVisible;
4285 4285
4286 final bool webkitHasClosedCaptions; 4286 final bool webkitHasClosedCaptions;
4287 4287
4288 final String webkitMediaSourceURL;
4289
4290 bool webkitPreservesPitch; 4288 bool webkitPreservesPitch;
4291 4289
4292 final int webkitVideoDecodedByteCount; 4290 final int webkitVideoDecodedByteCount;
4293 4291
4294 TextTrack addTextTrack(String kind, [String label, String language]); 4292 TextTrack addTextTrack(String kind, [String label, String language]);
4295 4293
4296 String canPlayType(String type, String keySystem); 4294 String canPlayType(String type, String keySystem);
4297 4295
4298 void load(); 4296 void load();
4299 4297
(...skipping 906 matching lines...) Expand 10 before | Expand all | Expand 10 after
5206 // BSD-style license that can be found in the LICENSE file. 5204 // BSD-style license that can be found in the LICENSE file.
5207 5205
5208 // WARNING: Do not edit - generated code. 5206 // WARNING: Do not edit - generated code.
5209 5207
5210 interface IDBFactory { 5208 interface IDBFactory {
5211 5209
5212 int cmp(/*IDBKey*/ first, /*IDBKey*/ second); 5210 int cmp(/*IDBKey*/ first, /*IDBKey*/ second);
5213 5211
5214 IDBVersionChangeRequest deleteDatabase(String name); 5212 IDBVersionChangeRequest deleteDatabase(String name);
5215 5213
5216 IDBRequest open(String name); 5214 IDBOpenDBRequest open(String name, [int version]);
5217 5215
5218 IDBRequest webkitGetDatabaseNames(); 5216 IDBRequest webkitGetDatabaseNames();
5219 } 5217 }
5220 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 5218 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5221 // for details. All rights reserved. Use of this source code is governed by a 5219 // for details. All rights reserved. Use of this source code is governed by a
5222 // BSD-style license that can be found in the LICENSE file. 5220 // BSD-style license that can be found in the LICENSE file.
5223 5221
5224 // WARNING: Do not edit - generated code. 5222 // WARNING: Do not edit - generated code.
5225 5223
5226 interface IDBIndex { 5224 interface IDBIndex {
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
5316 IDBRequest openCursor([key_OR_range, direction]); 5314 IDBRequest openCursor([key_OR_range, direction]);
5317 5315
5318 IDBRequest put(/*SerializedScriptValue*/ value, [/*IDBKey*/ key]); 5316 IDBRequest put(/*SerializedScriptValue*/ value, [/*IDBKey*/ key]);
5319 } 5317 }
5320 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 5318 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5321 // for details. All rights reserved. Use of this source code is governed by a 5319 // for details. All rights reserved. Use of this source code is governed by a
5322 // BSD-style license that can be found in the LICENSE file. 5320 // BSD-style license that can be found in the LICENSE file.
5323 5321
5324 // WARNING: Do not edit - generated code. 5322 // WARNING: Do not edit - generated code.
5325 5323
5324 interface IDBOpenDBRequest extends IDBRequest, EventTarget {
5325 }
5326 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5327 // for details. All rights reserved. Use of this source code is governed by a
5328 // BSD-style license that can be found in the LICENSE file.
5329
5330 // WARNING: Do not edit - generated code.
5331
5326 interface IDBRequest extends EventTarget { 5332 interface IDBRequest extends EventTarget {
5327 5333
5328 final DOMError error; 5334 final DOMError error;
5329 5335
5330 final int errorCode; 5336 final int errorCode;
5331 5337
5332 final String readyState; 5338 final String readyState;
5333 5339
5334 final /*IDBAny*/ result; 5340 final /*IDBAny*/ result;
5335 5341
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
5374 IDBObjectStore objectStore(String name); 5380 IDBObjectStore objectStore(String name);
5375 5381
5376 void removeEventListener(String type, EventListener listener, [bool useCapture ]); 5382 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
5377 } 5383 }
5378 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 5384 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5379 // for details. All rights reserved. Use of this source code is governed by a 5385 // for details. All rights reserved. Use of this source code is governed by a
5380 // BSD-style license that can be found in the LICENSE file. 5386 // BSD-style license that can be found in the LICENSE file.
5381 5387
5382 // WARNING: Do not edit - generated code. 5388 // WARNING: Do not edit - generated code.
5383 5389
5390 interface IDBUpgradeNeededEvent extends Event {
5391
5392 final int newVersion;
5393
5394 final int oldVersion;
5395 }
5396 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5397 // for details. All rights reserved. Use of this source code is governed by a
5398 // BSD-style license that can be found in the LICENSE file.
5399
5400 // WARNING: Do not edit - generated code.
5401
5384 interface IDBVersionChangeEvent extends Event { 5402 interface IDBVersionChangeEvent extends Event {
5385 5403
5386 final String version; 5404 final String version;
5387 } 5405 }
5388 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 5406 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5389 // for details. All rights reserved. Use of this source code is governed by a 5407 // for details. All rights reserved. Use of this source code is governed by a
5390 // BSD-style license that can be found in the LICENSE file. 5408 // BSD-style license that can be found in the LICENSE file.
5391 5409
5392 // WARNING: Do not edit - generated code. 5410 // WARNING: Do not edit - generated code.
5393 5411
(...skipping 1206 matching lines...) Expand 10 before | Expand all | Expand 10 after
6600 final bool verticalOverflow; 6618 final bool verticalOverflow;
6601 } 6619 }
6602 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6620 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6603 // for details. All rights reserved. Use of this source code is governed by a 6621 // for details. All rights reserved. Use of this source code is governed by a
6604 // BSD-style license that can be found in the LICENSE file. 6622 // BSD-style license that can be found in the LICENSE file.
6605 6623
6606 // WARNING: Do not edit - generated code. 6624 // WARNING: Do not edit - generated code.
6607 6625
6608 interface PagePopupController { 6626 interface PagePopupController {
6609 6627
6628 String localizeNumberString(String numberString);
6629
6610 void setValueAndClosePopup(int numberValue, String stringValue); 6630 void setValueAndClosePopup(int numberValue, String stringValue);
6611 } 6631 }
6612 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6632 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6613 // for details. All rights reserved. Use of this source code is governed by a 6633 // for details. All rights reserved. Use of this source code is governed by a
6614 // BSD-style license that can be found in the LICENSE file. 6634 // BSD-style license that can be found in the LICENSE file.
6615 6635
6616 // WARNING: Do not edit - generated code. 6636 // WARNING: Do not edit - generated code.
6617 6637
6618 interface PageTransitionEvent extends Event { 6638 interface PageTransitionEvent extends Event {
6619 6639
(...skipping 3247 matching lines...) Expand 10 before | Expand all | Expand 10 after
9867 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 9887 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9868 // for details. All rights reserved. Use of this source code is governed by a 9888 // for details. All rights reserved. Use of this source code is governed by a
9869 // BSD-style license that can be found in the LICENSE file. 9889 // BSD-style license that can be found in the LICENSE file.
9870 9890
9871 // WARNING: Do not edit - generated code. 9891 // WARNING: Do not edit - generated code.
9872 9892
9873 interface SourceBuffer { 9893 interface SourceBuffer {
9874 9894
9875 final TimeRanges buffered; 9895 final TimeRanges buffered;
9876 9896
9897 num timestampOffset;
9898
9877 void abort(); 9899 void abort();
9878 9900
9879 void append(Uint8Array data); 9901 void append(Uint8Array data);
9880 } 9902 }
9881 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 9903 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9882 // for details. All rights reserved. Use of this source code is governed by a 9904 // for details. All rights reserved. Use of this source code is governed by a
9883 // BSD-style license that can be found in the LICENSE file. 9905 // BSD-style license that can be found in the LICENSE file.
9884 9906
9885 // WARNING: Do not edit - generated code. 9907 // WARNING: Do not edit - generated code.
9886 9908
(...skipping 735 matching lines...) Expand 10 before | Expand all | Expand 10 after
10622 final bool valid; 10644 final bool valid;
10623 10645
10624 final bool valueMissing; 10646 final bool valueMissing;
10625 } 10647 }
10626 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 10648 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10627 // for details. All rights reserved. Use of this source code is governed by a 10649 // for details. All rights reserved. Use of this source code is governed by a
10628 // BSD-style license that can be found in the LICENSE file. 10650 // BSD-style license that can be found in the LICENSE file.
10629 10651
10630 // WARNING: Do not edit - generated code. 10652 // WARNING: Do not edit - generated code.
10631 10653
10632 typedef void VoidCallback(); 10654 typedef bool VoidCallback();
10633 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 10655 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10634 // for details. All rights reserved. Use of this source code is governed by a 10656 // for details. All rights reserved. Use of this source code is governed by a
10635 // BSD-style license that can be found in the LICENSE file. 10657 // BSD-style license that can be found in the LICENSE file.
10636 10658
10637 // WARNING: Do not edit - generated code. 10659 // WARNING: Do not edit - generated code.
10638 10660
10639 interface WaveShaperNode extends AudioNode { 10661 interface WaveShaperNode extends AudioNode {
10640 10662
10641 Float32Array curve; 10663 Float32Array curve;
10642 } 10664 }
(...skipping 2441 matching lines...) Expand 10 before | Expand all | Expand 10 after
13084 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13106 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13085 // 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
13086 // BSD-style license that can be found in the LICENSE file. 13108 // BSD-style license that can be found in the LICENSE file.
13087 13109
13088 Window get window() => _dummy(); 13110 Window get window() => _dummy();
13089 13111
13090 // TODO(vsm): Remove when prefixes are supported. 13112 // TODO(vsm): Remove when prefixes are supported.
13091 Window get dom_window() => _dummy(); 13113 Window get dom_window() => _dummy();
13092 13114
13093 Document get document() => _dummy(); 13115 Document get document() => _dummy();
OLDNEW
« no previous file with comments | « lib/dom/dart2js/dom_dart2js.dart ('k') | lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698