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

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

Issue 10800075: Roll IDL to multivm@713 (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 | « no previous file | lib/dom/frog/dom_frog.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) 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 1841 matching lines...) Expand 10 before | Expand all | Expand 10 after
1852 final StyleMedia styleMedia; 1852 final StyleMedia styleMedia;
1853 1853
1854 final BarInfo toolbar; 1854 final BarInfo toolbar;
1855 1855
1856 final DOMWindow top; 1856 final DOMWindow top;
1857 1857
1858 final IDBFactory webkitIndexedDB; 1858 final IDBFactory webkitIndexedDB;
1859 1859
1860 final NotificationCenter webkitNotifications; 1860 final NotificationCenter webkitNotifications;
1861 1861
1862 final StorageInfo webkitStorageInfo;
1863
1862 final DOMWindow window; 1864 final DOMWindow window;
1863 1865
1864 void addEventListener(String type, EventListener listener, [bool useCapture]); 1866 void addEventListener(String type, EventListener listener, [bool useCapture]);
1865 1867
1866 void alert(String message); 1868 void alert(String message);
1867 1869
1868 String atob(String string); 1870 String atob(String string);
1869 1871
1870 void blur(); 1872 void blur();
1871 1873
(...skipping 1309 matching lines...) Expand 10 before | Expand all | Expand 10 after
3181 void setElements(Object array, [int offset]); 3183 void setElements(Object array, [int offset]);
3182 3184
3183 Float64Array subarray(int start, [int end]); 3185 Float64Array subarray(int start, [int end]);
3184 } 3186 }
3185 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3187 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3186 // for details. All rights reserved. Use of this source code is governed by a 3188 // for details. All rights reserved. Use of this source code is governed by a
3187 // BSD-style license that can be found in the LICENSE file. 3189 // BSD-style license that can be found in the LICENSE file.
3188 3190
3189 // WARNING: Do not edit - generated code. 3191 // WARNING: Do not edit - generated code.
3190 3192
3193 interface Gamepad {
3194
3195 final List<num> axes;
3196
3197 final List<num> buttons;
3198
3199 final String id;
3200
3201 final int index;
3202
3203 final int timestamp;
3204 }
3205 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3206 // for details. All rights reserved. Use of this source code is governed by a
3207 // BSD-style license that can be found in the LICENSE file.
3208
3209 // WARNING: Do not edit - generated code.
3210
3211 interface GamepadList {
3212
3213 final int length;
3214
3215 Gamepad item(int index);
3216 }
3217 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3218 // for details. All rights reserved. Use of this source code is governed by a
3219 // BSD-style license that can be found in the LICENSE file.
3220
3221 // WARNING: Do not edit - generated code.
3222
3191 interface Geolocation { 3223 interface Geolocation {
3192 3224
3193 void clearWatch(int watchId); 3225 void clearWatch(int watchId);
3194 3226
3195 void getCurrentPosition(PositionCallback successCallback, [PositionErrorCallba ck errorCallback, Object options]); 3227 void getCurrentPosition(PositionCallback successCallback, [PositionErrorCallba ck errorCallback, Object options]);
3196 3228
3197 int watchPosition(PositionCallback successCallback, [PositionErrorCallback err orCallback, Object options]); 3229 int watchPosition(PositionCallback successCallback, [PositionErrorCallback err orCallback, Object options]);
3198 } 3230 }
3199 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3231 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3200 // for details. All rights reserved. Use of this source code is governed by a 3232 // for details. All rights reserved. Use of this source code is governed by a
(...skipping 1994 matching lines...) Expand 10 before | Expand all | Expand 10 after
5195 static final int NO_ERR = 0; 5227 static final int NO_ERR = 0;
5196 5228
5197 static final int QUOTA_ERR = 22; 5229 static final int QUOTA_ERR = 22;
5198 5230
5199 static final int READ_ONLY_ERR = 9; 5231 static final int READ_ONLY_ERR = 9;
5200 5232
5201 static final int TIMEOUT_ERR = 23; 5233 static final int TIMEOUT_ERR = 23;
5202 5234
5203 static final int TRANSACTION_INACTIVE_ERR = 7; 5235 static final int TRANSACTION_INACTIVE_ERR = 7;
5204 5236
5205 static final int TYPE_ERR = 21;
5206
5207 static final int UNKNOWN_ERR = 1; 5237 static final int UNKNOWN_ERR = 1;
5208 5238
5209 static final int VER_ERR = 12; 5239 static final int VER_ERR = 12;
5210 5240
5211 final int code; 5241 final int code;
5212 5242
5213 final String message; 5243 final String message;
5214 5244
5215 final String name; 5245 final String name;
5216 5246
(...skipping 937 matching lines...) Expand 10 before | Expand all | Expand 10 after
6154 final String productSub; 6184 final String productSub;
6155 6185
6156 final String userAgent; 6186 final String userAgent;
6157 6187
6158 final String vendor; 6188 final String vendor;
6159 6189
6160 final String vendorSub; 6190 final String vendorSub;
6161 6191
6162 final BatteryManager webkitBattery; 6192 final BatteryManager webkitBattery;
6163 6193
6194 final GamepadList webkitGamepads;
6195
6164 final PointerLock webkitPointer; 6196 final PointerLock webkitPointer;
6165 6197
6166 void getStorageUpdates(); 6198 void getStorageUpdates();
6167 6199
6168 bool javaEnabled(); 6200 bool javaEnabled();
6169 6201
6170 void registerProtocolHandler(String scheme, String url, String title);
6171
6172 void webkitGetUserMedia(Map options, NavigatorUserMediaSuccessCallback success Callback, [NavigatorUserMediaErrorCallback errorCallback]); 6202 void webkitGetUserMedia(Map options, NavigatorUserMediaSuccessCallback success Callback, [NavigatorUserMediaErrorCallback errorCallback]);
6173 } 6203 }
6174 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6204 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6175 // for details. All rights reserved. Use of this source code is governed by a 6205 // for details. All rights reserved. Use of this source code is governed by a
6176 // BSD-style license that can be found in the LICENSE file. 6206 // BSD-style license that can be found in the LICENSE file.
6177 6207
6178 // WARNING: Do not edit - generated code. 6208 // WARNING: Do not edit - generated code.
6179 6209
6180 interface NavigatorUserMediaError { 6210 interface NavigatorUserMediaError {
6181 6211
(...skipping 3873 matching lines...) Expand 10 before | Expand all | Expand 10 after
10055 final String url; 10085 final String url;
10056 10086
10057 void initStorageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, S tring keyArg, String oldValueArg, String newValueArg, String urlArg, Storage sto rageAreaArg); 10087 void initStorageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, S tring keyArg, String oldValueArg, String newValueArg, String urlArg, Storage sto rageAreaArg);
10058 } 10088 }
10059 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 10089 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10060 // for details. All rights reserved. Use of this source code is governed by a 10090 // for details. All rights reserved. Use of this source code is governed by a
10061 // BSD-style license that can be found in the LICENSE file. 10091 // BSD-style license that can be found in the LICENSE file.
10062 10092
10063 // WARNING: Do not edit - generated code. 10093 // WARNING: Do not edit - generated code.
10064 10094
10095 interface StorageInfo {
10096
10097 static final int PERSISTENT = 1;
10098
10099 static final int TEMPORARY = 0;
10100
10101 void queryUsageAndQuota(int storageType, [StorageInfoUsageCallback usageCallba ck, StorageInfoErrorCallback errorCallback]);
10102
10103 void requestQuota(int storageType, int newQuotaInBytes, [StorageInfoQuotaCallb ack quotaCallback, StorageInfoErrorCallback errorCallback]);
10104 }
10105 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10106 // for details. All rights reserved. Use of this source code is governed by a
10107 // BSD-style license that can be found in the LICENSE file.
10108
10109 // WARNING: Do not edit - generated code.
10110
10111 typedef bool StorageInfoErrorCallback(DOMException error);
10112 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10113 // for details. All rights reserved. Use of this source code is governed by a
10114 // BSD-style license that can be found in the LICENSE file.
10115
10116 // WARNING: Do not edit - generated code.
10117
10118 typedef bool StorageInfoQuotaCallback(int grantedQuotaInBytes);
10119 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10120 // for details. All rights reserved. Use of this source code is governed by a
10121 // BSD-style license that can be found in the LICENSE file.
10122
10123 // WARNING: Do not edit - generated code.
10124
10125 typedef bool StorageInfoUsageCallback(int currentUsageInBytes, int currentQuotaI nBytes);
10126 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10127 // for details. All rights reserved. Use of this source code is governed by a
10128 // BSD-style license that can be found in the LICENSE file.
10129
10130 // WARNING: Do not edit - generated code.
10131
10065 typedef bool StringCallback(String data); 10132 typedef bool StringCallback(String data);
10066 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 10133 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10067 // for details. All rights reserved. Use of this source code is governed by a 10134 // for details. All rights reserved. Use of this source code is governed by a
10068 // BSD-style license that can be found in the LICENSE file. 10135 // BSD-style license that can be found in the LICENSE file.
10069 10136
10070 // WARNING: Do not edit - generated code. 10137 // WARNING: Do not edit - generated code.
10071 10138
10072 interface StyleMedia { 10139 interface StyleMedia {
10073 10140
10074 final String type; 10141 final String type;
(...skipping 2904 matching lines...) Expand 10 before | Expand all | Expand 10 after
12979 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13046 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12980 // for details. All rights reserved. Use of this source code is governed by a 13047 // for details. All rights reserved. Use of this source code is governed by a
12981 // BSD-style license that can be found in the LICENSE file. 13048 // BSD-style license that can be found in the LICENSE file.
12982 13049
12983 Window get window() => _dummy(); 13050 Window get window() => _dummy();
12984 13051
12985 // TODO(vsm): Remove when prefixes are supported. 13052 // TODO(vsm): Remove when prefixes are supported.
12986 Window get dom_window() => _dummy(); 13053 Window get dom_window() => _dummy();
12987 13054
12988 Document get document() => _dummy(); 13055 Document get document() => _dummy();
OLDNEW
« no previous file with comments | « no previous file | lib/dom/frog/dom_frog.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698