| Index: Source/modules/gamepad/GamepadButton.idl
|
| diff --git a/Source/modules/battery/NavigatorBattery.idl b/Source/modules/gamepad/GamepadButton.idl
|
| similarity index 52%
|
| copy from Source/modules/battery/NavigatorBattery.idl
|
| copy to Source/modules/gamepad/GamepadButton.idl
|
| index 524bf238c12fc3d0cae9056d4e0dd9df8ce44c81..40561191e3a49fafbcde1e638dc61ef9774ee600 100644
|
| --- a/Source/modules/battery/NavigatorBattery.idl
|
| +++ b/Source/modules/gamepad/GamepadButton.idl
|
| @@ -3,8 +3,9 @@
|
| // found in the LICENSE file.
|
|
|
| [
|
| - RuntimeEnabled=BatteryStatus,
|
| -] partial interface Navigator {
|
| - readonly attribute BatteryManager battery;
|
| + NoInterfaceObject,
|
| + WillBeGarbageCollected,
|
| +] interface GamepadButton {
|
| + readonly attribute boolean pressed;
|
| + readonly attribute float value;
|
| };
|
| -
|
|
|