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

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

Issue 2150173002: Added Touched attribute to GamepadButton (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Actually remove unnecessary test. Not sure what happened last time. Created 4 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
Index: third_party/WebKit/Source/modules/gamepad/GamepadButton.idl
diff --git a/third_party/WebKit/Source/modules/gamepad/GamepadButton.idl b/third_party/WebKit/Source/modules/gamepad/GamepadButton.idl
index b23a41522b65fcf7f5b0af64974af89fdb1943d4..ce98e116ee9f176252e9ec4e79cebf5e4293ad56 100644
--- a/third_party/WebKit/Source/modules/gamepad/GamepadButton.idl
+++ b/third_party/WebKit/Source/modules/gamepad/GamepadButton.idl
@@ -5,5 +5,6 @@
[
] interface GamepadButton {
readonly attribute boolean pressed;
+ [RuntimeEnabled=GamepadExtensions] readonly attribute boolean touched;
readonly attribute double value;
};
« no previous file with comments | « third_party/WebKit/Source/modules/gamepad/GamepadButton.cpp ('k') | third_party/WebKit/public/platform/WebGamepad.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698