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

Unified Diff: modules/gamepad/Gamepad.idl

Issue 540533002: Roll IDL to Dartium37 (r181268) (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « modules/filesystem/Metadata.idl ('k') | modules/gamepad/GamepadButton.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/gamepad/Gamepad.idl
diff --git a/modules/gamepad/Gamepad.idl b/modules/gamepad/Gamepad.idl
index 937cf2d469a93d4e7ffa4c320028bedad9196970..9ec0905c530d19492637117ef28a0ccd9e346350 100644
--- a/modules/gamepad/Gamepad.idl
+++ b/modules/gamepad/Gamepad.idl
@@ -24,13 +24,15 @@
*/
[
- WillBeGarbageCollected,
- NoInterfaceObject
+ GarbageCollected,
] interface Gamepad {
readonly attribute DOMString id;
readonly attribute unsigned long index;
+ readonly attribute boolean connected;
readonly attribute unsigned long long timestamp;
- readonly attribute float[] axes;
- readonly attribute float[] buttons;
+ readonly attribute DOMString mapping;
+ readonly attribute double[] axes;
+// FIXMEDART: enable buttons for dart once we handle HeapVector propertly on
+// the Dart side of the bindings.
+ [DartSuppress] readonly attribute GamepadButton[] buttons;
};
-
« no previous file with comments | « modules/filesystem/Metadata.idl ('k') | modules/gamepad/GamepadButton.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698