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

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

Issue 170993002: Updating Blink-side WebGamepad interface (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Minor cleanups Created 6 years, 10 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/GamepadButton.idl
diff --git a/Source/core/animation/DocumentAnimation.idl b/Source/modules/gamepad/GamepadButton.idl
similarity index 57%
copy from Source/core/animation/DocumentAnimation.idl
copy to Source/modules/gamepad/GamepadButton.idl
index 2bfb6a74b00d388c5f585b10f2d56950155c2458..743e3ce3c6c3a6758228c84a491d630936e9d57f 100644
--- a/Source/core/animation/DocumentAnimation.idl
+++ b/Source/modules/gamepad/GamepadButton.idl
@@ -3,7 +3,8 @@
// found in the LICENSE file.
[
- RuntimeEnabled=WebAnimationsAPI,
-] partial interface Document {
- readonly attribute Timeline timeline;
+ NoInterfaceObject
+] interface GamepadButton {
+ readonly attribute boolean pressed;
+ readonly attribute float value;
};

Powered by Google App Engine
This is Rietveld 408576698