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

Unified Diff: Source/modules/gamepad/WebKitGamepad.idl

Issue 183313003: Added non-prefixed navigator.getGamepads() with updated API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added LayoutTests Created 6 years, 9 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: Source/modules/gamepad/WebKitGamepad.idl
diff --git a/Source/core/animation/DocumentAnimation.idl b/Source/modules/gamepad/WebKitGamepad.idl
similarity index 60%
copy from Source/core/animation/DocumentAnimation.idl
copy to Source/modules/gamepad/WebKitGamepad.idl
index 2bfb6a74b00d388c5f585b10f2d56950155c2458..221fd66aa3e36bc34c3823e25d3108749475c13a 100644
--- a/Source/core/animation/DocumentAnimation.idl
+++ b/Source/modules/gamepad/WebKitGamepad.idl
@@ -2,8 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-[
- RuntimeEnabled=WebAnimationsAPI,
-] partial interface Document {
- readonly attribute Timeline timeline;
+interface WebKitGamepad : GamepadBase {
+ readonly attribute float[] buttons;
};
+

Powered by Google App Engine
This is Rietveld 408576698