Index: Source/modules/gamepad/GamepadEvent.idl |
diff --git a/Source/modules/battery/NavigatorBattery.idl b/Source/modules/gamepad/GamepadEvent.idl |
similarity index 57% |
copy from Source/modules/battery/NavigatorBattery.idl |
copy to Source/modules/gamepad/GamepadEvent.idl |
index 524bf238c12fc3d0cae9056d4e0dd9df8ce44c81..718226e24997bc9cda7d826c90c63f79accceaf1 100644 |
--- a/Source/modules/battery/NavigatorBattery.idl |
+++ b/Source/modules/gamepad/GamepadEvent.idl |
@@ -3,8 +3,7 @@ |
// found in the LICENSE file. |
[ |
- RuntimeEnabled=BatteryStatus, |
-] partial interface Navigator { |
- readonly attribute BatteryManager battery; |
+ EventConstructor, |
+] interface GamepadEvent : Event { |
+ [InitializedByEventConstructor] readonly attribute Gamepad gamepad; |
}; |
- |