| Index: lib/html/dartium/html_dartium.dart
|
| diff --git a/lib/html/dartium/html_dartium.dart b/lib/html/dartium/html_dartium.dart
|
| index 4cf220415832bdf7d6db6ea1cf52b6ec4b1c1fbe..60a87ffbb9cbae8114301a277253f05db9b62f38 100644
|
| --- a/lib/html/dartium/html_dartium.dart
|
| +++ b/lib/html/dartium/html_dartium.dart
|
| @@ -5303,6 +5303,8 @@ class _DOMWindowImpl extends _EventTargetImpl implements Window {
|
|
|
| NotificationCenter get webkitNotifications() native "DOMWindow_webkitNotifications_Getter";
|
|
|
| + StorageInfo get webkitStorageInfo() native "DOMWindow_webkitStorageInfo_Getter";
|
| +
|
| Window get window() native "DOMWindow_window_Getter";
|
|
|
| void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "DOMWindow_addEventListener_Callback";
|
| @@ -8424,6 +8426,38 @@ class _Float64ArrayImpl extends _ArrayBufferViewImpl implements Float64Array {
|
|
|
| // WARNING: Do not edit - generated code.
|
|
|
| +class _GamepadImpl extends NativeFieldWrapperClass1 implements Gamepad {
|
| +
|
| + List<num> get axes() native "Gamepad_axes_Getter";
|
| +
|
| + List<num> get buttons() native "Gamepad_buttons_Getter";
|
| +
|
| + String get id() native "Gamepad_id_Getter";
|
| +
|
| + int get index() native "Gamepad_index_Getter";
|
| +
|
| + int get timestamp() native "Gamepad_timestamp_Getter";
|
| +
|
| +}
|
| +// 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.
|
| +
|
| +class _GamepadListImpl extends NativeFieldWrapperClass1 implements GamepadList {
|
| +
|
| + int get length() native "GamepadList_length_Getter";
|
| +
|
| + Gamepad item(int index) native "GamepadList_item_Callback";
|
| +
|
| +}
|
| +// 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.
|
| +
|
| class _GeolocationImpl extends NativeFieldWrapperClass1 implements Geolocation {
|
|
|
| void clearWatch(int watchId) native "Geolocation_clearWatch_Callback";
|
| @@ -13445,14 +13479,14 @@ class _NavigatorImpl extends NativeFieldWrapperClass1 implements Navigator {
|
|
|
| BatteryManager get webkitBattery() native "Navigator_webkitBattery_Getter";
|
|
|
| + GamepadList get webkitGamepads() native "Navigator_webkitGamepads_Getter";
|
| +
|
| PointerLock get webkitPointer() native "Navigator_webkitPointer_Getter";
|
|
|
| void getStorageUpdates() native "Navigator_getStorageUpdates_Callback";
|
|
|
| bool javaEnabled() native "Navigator_javaEnabled_Callback";
|
|
|
| - void registerProtocolHandler(String scheme, String url, String title) native "Navigator_registerProtocolHandler_Callback";
|
| -
|
| void webkitGetUserMedia(Map options, NavigatorUserMediaSuccessCallback successCallback, [NavigatorUserMediaErrorCallback errorCallback]) native "Navigator_webkitGetUserMedia_Callback";
|
|
|
| }
|
| @@ -18964,6 +18998,19 @@ class _StorageImpl extends NativeFieldWrapperClass1 implements Storage {
|
|
|
| // WARNING: Do not edit - generated code.
|
|
|
| +class _StorageInfoImpl extends NativeFieldWrapperClass1 implements StorageInfo {
|
| +
|
| + void queryUsageAndQuota(int storageType, [StorageInfoUsageCallback usageCallback, StorageInfoErrorCallback errorCallback]) native "StorageInfo_queryUsageAndQuota_Callback";
|
| +
|
| + void requestQuota(int storageType, int newQuotaInBytes, [StorageInfoQuotaCallback quotaCallback, StorageInfoErrorCallback errorCallback]) native "StorageInfo_requestQuota_Callback";
|
| +
|
| +}
|
| +// 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.
|
| +
|
| class _StyleMediaImpl extends NativeFieldWrapperClass1 implements StyleMedia {
|
|
|
| String get type() native "StyleMedia_type_Getter";
|
| @@ -28502,6 +28549,45 @@ interface FrameSetElementEvents extends ElementEvents {
|
|
|
| // WARNING: Do not edit - generated code.
|
|
|
| +/// @domName Gamepad
|
| +interface Gamepad {
|
| +
|
| + /** @domName Gamepad.axes */
|
| + final List<num> axes;
|
| +
|
| + /** @domName Gamepad.buttons */
|
| + final List<num> buttons;
|
| +
|
| + /** @domName Gamepad.id */
|
| + final String id;
|
| +
|
| + /** @domName Gamepad.index */
|
| + final int index;
|
| +
|
| + /** @domName Gamepad.timestamp */
|
| + 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.
|
| +
|
| +/// @domName GamepadList
|
| +interface GamepadList {
|
| +
|
| + /** @domName GamepadList.length */
|
| + final int length;
|
| +
|
| + /** @domName GamepadList.item */
|
| + 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.
|
| +
|
| /// @domName Geolocation
|
| interface Geolocation {
|
|
|
| @@ -28855,8 +28941,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;
|
| @@ -31009,6 +31093,9 @@ interface Navigator {
|
| /** @domName Navigator.webkitBattery */
|
| final BatteryManager webkitBattery;
|
|
|
| + /** @domName Navigator.webkitGamepads */
|
| + final GamepadList webkitGamepads;
|
| +
|
| /** @domName Navigator.webkitPointer */
|
| final PointerLock webkitPointer;
|
|
|
| @@ -31018,9 +31105,6 @@ interface Navigator {
|
| /** @domName Navigator.javaEnabled */
|
| bool javaEnabled();
|
|
|
| - /** @domName Navigator.registerProtocolHandler */
|
| - void registerProtocolHandler(String scheme, String url, String title);
|
| -
|
| /** @domName Navigator.webkitGetUserMedia */
|
| void webkitGetUserMedia(Map options, NavigatorUserMediaSuccessCallback successCallback, [NavigatorUserMediaErrorCallback errorCallback]);
|
| }
|
| @@ -36525,6 +36609,46 @@ interface StorageEvent extends Event {
|
|
|
| // WARNING: Do not edit - generated code.
|
|
|
| +/// @domName StorageInfo
|
| +interface StorageInfo {
|
| +
|
| + static final int PERSISTENT = 1;
|
| +
|
| + static final int TEMPORARY = 0;
|
| +
|
| + /** @domName StorageInfo.queryUsageAndQuota */
|
| + void queryUsageAndQuota(int storageType, [StorageInfoUsageCallback usageCallback, StorageInfoErrorCallback errorCallback]);
|
| +
|
| + /** @domName StorageInfo.requestQuota */
|
| + 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
|
| @@ -39278,6 +39402,9 @@ interface Window extends EventTarget {
|
| /** @domName DOMWindow.webkitNotifications */
|
| final NotificationCenter webkitNotifications;
|
|
|
| + /** @domName DOMWindow.webkitStorageInfo */
|
| + final StorageInfo webkitStorageInfo;
|
| +
|
| /** @domName DOMWindow.window */
|
| final Window window;
|
|
|
|
|