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

Unified Diff: third_party/WebKit/Source/modules/gamepad/Gamepad.idl

Issue 2380383003: Use sequence<T> instead of T[] where possible and document exceptions (Closed)
Patch Set: more Created 4 years, 2 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
Index: third_party/WebKit/Source/modules/gamepad/Gamepad.idl
diff --git a/third_party/WebKit/Source/modules/gamepad/Gamepad.idl b/third_party/WebKit/Source/modules/gamepad/Gamepad.idl
index fd3f23d5e95f6d2dc33ba163bcc9b8bd80788355..1c6511d9e76be1e47b9d3a698bb65fe8e1750654 100644
--- a/third_party/WebKit/Source/modules/gamepad/Gamepad.idl
+++ b/third_party/WebKit/Source/modules/gamepad/Gamepad.idl
@@ -36,6 +36,7 @@ interface Gamepad {
readonly attribute boolean connected;
readonly attribute unsigned long long timestamp;
readonly attribute DOMString mapping;
+ // https://github.com/w3c/gamepad/issues/28
readonly attribute double[] axes;
readonly attribute GamepadButton[] buttons;
[RuntimeEnabled=GamepadExtensions] readonly attribute GamepadPose? pose;

Powered by Google App Engine
This is Rietveld 408576698