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