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

Unified Diff: lib/html/frog/html_frog.dart

Side-by-side diff isn't available for this file because of its large size.
Issue 10800075: Roll IDL to multivm@713 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 5 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:
Download patch
« no previous file with comments | « lib/html/dartium/html_dartium.dart ('k') | third_party/WebCore/Modules/indexeddb/IDBDatabaseException.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/frog/html_frog.dart
diff --git a/lib/html/frog/html_frog.dart b/lib/html/frog/html_frog.dart
index 34edfaccb785d34858d27edf42c5be47a6e4317c..8f997b34554fea226b066c147bedeb0837ff27d2 100644
--- a/lib/html/frog/html_frog.dart
+++ b/lib/html/frog/html_frog.dart
@@ -7301,6 +7301,26 @@ class _FrameSetElementEventsImpl extends _ElementEventsImpl implements FrameSetE
EventListenerList get unload() => this['unload'];
}
+class _GamepadImpl implements Gamepad native "*Gamepad" {
+
+ final List<num> axes;
+
+ final List<num> buttons;
+
+ final String id;
+
+ final int index;
+
+ final int timestamp;
+}
+
+class _GamepadListImpl implements GamepadList native "*GamepadList" {
+
+ final int length;
+
+ _GamepadImpl item(int index) native;
+}
+
class _GeolocationImpl implements Geolocation native "*Geolocation" {
void clearWatch(int watchId) native;
@@ -7624,8 +7644,6 @@ class _IDBDatabaseExceptionImpl implements IDBDatabaseException native "*IDBData
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;
@@ -9366,14 +9384,14 @@ class _NavigatorImpl implements Navigator native "*Navigator" {
final _BatteryManagerImpl webkitBattery;
+ final _GamepadListImpl webkitGamepads;
+
final _PointerLockImpl 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;
}
@@ -14301,6 +14319,17 @@ class _StorageEventImpl extends _EventImpl implements StorageEvent native "*Stor
void initStorageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, String keyArg, String oldValueArg, String newValueArg, String urlArg, _StorageImpl storageAreaArg) native;
}
+class _StorageInfoImpl 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 _StyleElementImpl extends _ElementImpl implements StyleElement native "*HTMLStyleElement" {
bool disabled;
@@ -16650,6 +16679,8 @@ class _WindowImpl extends _EventTargetImpl implements Window native "@*DOMWindow
final _NotificationCenterImpl webkitNotifications;
+ final _StorageInfoImpl webkitStorageInfo;
+
final _WindowImpl window;
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native "addEventListener";
@@ -24578,6 +24609,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 {
@@ -24931,8 +25001,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;
@@ -27085,6 +27153,9 @@ interface Navigator {
/** @domName Navigator.webkitBattery */
final BatteryManager webkitBattery;
+ /** @domName Navigator.webkitGamepads */
+ final GamepadList webkitGamepads;
+
/** @domName Navigator.webkitPointer */
final PointerLock webkitPointer;
@@ -27094,9 +27165,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]);
}
@@ -32601,6 +32669,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
@@ -35354,6 +35462,9 @@ interface Window extends EventTarget {
/** @domName DOMWindow.webkitNotifications */
final NotificationCenter webkitNotifications;
+ /** @domName DOMWindow.webkitStorageInfo */
+ final StorageInfo webkitStorageInfo;
+
/** @domName DOMWindow.window */
final Window window;
« no previous file with comments | « lib/html/dartium/html_dartium.dart ('k') | third_party/WebCore/Modules/indexeddb/IDBDatabaseException.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698