| Index: core/events/RelatedEvent.idl
|
| diff --git a/modules/gamepad/GamepadEvent.idl b/core/events/RelatedEvent.idl
|
| similarity index 56%
|
| copy from modules/gamepad/GamepadEvent.idl
|
| copy to core/events/RelatedEvent.idl
|
| index 718226e24997bc9cda7d826c90c63f79accceaf1..7c3d25be6cdbd58312b099799cc361b24bf4af23 100644
|
| --- a/modules/gamepad/GamepadEvent.idl
|
| +++ b/core/events/RelatedEvent.idl
|
| @@ -4,6 +4,8 @@
|
|
|
| [
|
| EventConstructor,
|
| -] interface GamepadEvent : Event {
|
| - [InitializedByEventConstructor] readonly attribute Gamepad gamepad;
|
| + RuntimeEnabled=ContextMenu,
|
| +] interface RelatedEvent : Event {
|
| + [InitializedByEventConstructor] readonly attribute EventTarget? relatedTarget;
|
| };
|
| +
|
|
|