Index: Source/modules/gamepad/GamepadButton.idl |
diff --git a/Source/modules/serviceworkers/NavigatorServiceWorker.idl b/Source/modules/gamepad/GamepadButton.idl |
similarity index 57% |
copy from Source/modules/serviceworkers/NavigatorServiceWorker.idl |
copy to Source/modules/gamepad/GamepadButton.idl |
index 1f5335479cf79598fd1ce37f85c492eca124fe71..743e3ce3c6c3a6758228c84a491d630936e9d57f 100644 |
--- a/Source/modules/serviceworkers/NavigatorServiceWorker.idl |
+++ b/Source/modules/gamepad/GamepadButton.idl |
@@ -3,7 +3,8 @@ |
// found in the LICENSE file. |
[ |
- RuntimeEnabled=ServiceWorker, |
-] partial interface Navigator { |
- readonly attribute ServiceWorkerContainer serviceWorker; |
+ NoInterfaceObject |
+] interface GamepadButton { |
+ readonly attribute boolean pressed; |
+ readonly attribute float value; |
}; |