| Index: lib/dom/frog/dom_frog.dart
|
| diff --git a/lib/dom/frog/dom_frog.dart b/lib/dom/frog/dom_frog.dart
|
| index c754c94045764a47e447c0def64013d9d29b5891..ba74ebfc6a72bf32be613306c49ff58f26916f80 100644
|
| --- a/lib/dom/frog/dom_frog.dart
|
| +++ b/lib/dom/frog/dom_frog.dart
|
| @@ -1375,6 +1375,8 @@ class _DOMWindowJs extends _EventTargetJs implements DOMWindow native "@*DOMWind
|
|
|
| final _NotificationCenterJs webkitNotifications;
|
|
|
| + final _StorageInfoJs webkitStorageInfo;
|
| +
|
| final _DOMWindowJs window;
|
|
|
| void addEventListener(String type, EventListener listener, [bool useCapture]) native;
|
| @@ -2612,6 +2614,26 @@ class _Float64ArrayJs extends _ArrayBufferViewJs implements Float64Array, List<n
|
| _Float64ArrayJs subarray(int start, [int end]) native;
|
| }
|
|
|
| +class _GamepadJs extends _DOMTypeJs implements Gamepad native "*Gamepad" {
|
| +
|
| + final List<num> axes;
|
| +
|
| + final List<num> buttons;
|
| +
|
| + final String id;
|
| +
|
| + final int index;
|
| +
|
| + final int timestamp;
|
| +}
|
| +
|
| +class _GamepadListJs extends _DOMTypeJs implements GamepadList native "*GamepadList" {
|
| +
|
| + final int length;
|
| +
|
| + _GamepadJs item(int index) native;
|
| +}
|
| +
|
| class _GeolocationJs extends _DOMTypeJs implements Geolocation native "*Geolocation" {
|
|
|
| void clearWatch(int watchId) native;
|
| @@ -4313,8 +4335,6 @@ class _IDBDatabaseExceptionJs extends _DOMTypeJs implements 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;
|
| @@ -5416,14 +5436,14 @@ class _NavigatorJs extends _DOMTypeJs implements Navigator native "*Navigator" {
|
|
|
| final _BatteryManagerJs webkitBattery;
|
|
|
| + final _GamepadListJs webkitGamepads;
|
| +
|
| final _PointerLockJs webkitPointer;
|
|
|
| void getStorageUpdates() native;
|
|
|
| bool javaEnabled() native;
|
|
|
| - void registerProtocolHandler(String scheme, String url, String title) native;
|
| -
|
| void webkitGetUserMedia(Map options, NavigatorUserMediaSuccessCallback successCallback, [NavigatorUserMediaErrorCallback errorCallback]) native;
|
| }
|
|
|
| @@ -9672,6 +9692,17 @@ class _StorageEventJs extends _EventJs implements StorageEvent native "*StorageE
|
| void initStorageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, String keyArg, String oldValueArg, String newValueArg, String urlArg, _StorageJs storageAreaArg) native;
|
| }
|
|
|
| +class _StorageInfoJs extends _DOMTypeJs implements StorageInfo native "*StorageInfo" {
|
| +
|
| + static final int PERSISTENT = 1;
|
| +
|
| + static final int TEMPORARY = 0;
|
| +
|
| + void queryUsageAndQuota(int storageType, [StorageInfoUsageCallback usageCallback, StorageInfoErrorCallback errorCallback]) native;
|
| +
|
| + void requestQuota(int storageType, int newQuotaInBytes, [StorageInfoQuotaCallback quotaCallback, StorageInfoErrorCallback errorCallback]) native;
|
| +}
|
| +
|
| class _StyleMediaJs extends _DOMTypeJs implements StyleMedia native "*StyleMedia" {
|
|
|
| final String type;
|
| @@ -13837,6 +13868,8 @@ interface Window extends EventTarget {
|
|
|
| final NotificationCenter webkitNotifications;
|
|
|
| + final StorageInfo webkitStorageInfo;
|
| +
|
| final DOMWindow window;
|
|
|
| void addEventListener(String type, EventListener listener, [bool useCapture]);
|
| @@ -15166,6 +15199,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);
|
| @@ -17180,8 +17243,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;
|
| @@ -18139,14 +18200,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
|
| @@ -22040,6 +22101,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
|
|
|