| Index: lib/dom/dom.dart
|
| diff --git a/lib/dom/dom.dart b/lib/dom/dom.dart
|
| index b0dc73a4e5dbd5f2d13fdfb08288e94206bea984..51cd412c59d699f3f732b742900d559682faf49f 100644
|
| --- a/lib/dom/dom.dart
|
| +++ b/lib/dom/dom.dart
|
| @@ -1859,6 +1859,8 @@ interface Window extends EventTarget {
|
|
|
| final NotificationCenter webkitNotifications;
|
|
|
| + final StorageInfo webkitStorageInfo;
|
| +
|
| final DOMWindow window;
|
|
|
| void addEventListener(String type, EventListener listener, [bool useCapture]);
|
| @@ -3188,6 +3190,36 @@ interface Float64Array extends ArrayBufferView, List<num> default _TypedArrayFac
|
|
|
| // WARNING: Do not edit - generated code.
|
|
|
| +interface Gamepad {
|
| +
|
| + final List<num> axes;
|
| +
|
| + final List<num> buttons;
|
| +
|
| + final String id;
|
| +
|
| + final int index;
|
| +
|
| + final int timestamp;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +// WARNING: Do not edit - generated code.
|
| +
|
| +interface GamepadList {
|
| +
|
| + final int length;
|
| +
|
| + Gamepad item(int index);
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +// WARNING: Do not edit - generated code.
|
| +
|
| interface Geolocation {
|
|
|
| void clearWatch(int watchId);
|
| @@ -5202,8 +5234,6 @@ interface IDBDatabaseException {
|
|
|
| static final int TRANSACTION_INACTIVE_ERR = 7;
|
|
|
| - static final int TYPE_ERR = 21;
|
| -
|
| static final int UNKNOWN_ERR = 1;
|
|
|
| static final int VER_ERR = 12;
|
| @@ -6161,14 +6191,14 @@ interface Navigator {
|
|
|
| final BatteryManager webkitBattery;
|
|
|
| + final GamepadList webkitGamepads;
|
| +
|
| final PointerLock webkitPointer;
|
|
|
| void getStorageUpdates();
|
|
|
| bool javaEnabled();
|
|
|
| - void registerProtocolHandler(String scheme, String url, String title);
|
| -
|
| void webkitGetUserMedia(Map options, NavigatorUserMediaSuccessCallback successCallback, [NavigatorUserMediaErrorCallback errorCallback]);
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| @@ -10062,6 +10092,43 @@ interface StorageEvent extends Event {
|
|
|
| // WARNING: Do not edit - generated code.
|
|
|
| +interface StorageInfo {
|
| +
|
| + static final int PERSISTENT = 1;
|
| +
|
| + static final int TEMPORARY = 0;
|
| +
|
| + void queryUsageAndQuota(int storageType, [StorageInfoUsageCallback usageCallback, StorageInfoErrorCallback errorCallback]);
|
| +
|
| + void requestQuota(int storageType, int newQuotaInBytes, [StorageInfoQuotaCallback quotaCallback, StorageInfoErrorCallback errorCallback]);
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +// WARNING: Do not edit - generated code.
|
| +
|
| +typedef bool StorageInfoErrorCallback(DOMException error);
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +// WARNING: Do not edit - generated code.
|
| +
|
| +typedef bool StorageInfoQuotaCallback(int grantedQuotaInBytes);
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +// WARNING: Do not edit - generated code.
|
| +
|
| +typedef bool StorageInfoUsageCallback(int currentUsageInBytes, int currentQuotaInBytes);
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +// WARNING: Do not edit - generated code.
|
| +
|
| typedef bool StringCallback(String data);
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
|
|