| Index: core/events/UIEvent.idl
|
| diff --git a/core/events/UIEvent.idl b/core/events/UIEvent.idl
|
| index 7cb51a83bc6b87dd553eb9564e3f1fc384c7ce32..c0ae319c56a15118ab96b46878e5b1bd4dd7b988 100644
|
| --- a/core/events/UIEvent.idl
|
| +++ b/core/events/UIEvent.idl
|
| @@ -24,7 +24,7 @@
|
| ] interface UIEvent : Event {
|
| readonly attribute Window? view;
|
| readonly attribute long detail;
|
| - [RuntimeEnabled=InputDevice] readonly attribute InputDevice? sourceDevice;
|
| + [RuntimeEnabled=InputDeviceCapabilities] readonly attribute InputDeviceCapabilities? sourceCapabilities;
|
|
|
| // https://w3c.github.io/uievents/#idl-interface-UIEvent-initializers
|
| // TODO(philipj): None of the initUIEvent() arguments should be optional.
|
| @@ -34,8 +34,6 @@
|
| [Default=Undefined] optional Window? view,
|
| [Default=Undefined] optional long detail);
|
|
|
| - // FIXME: these belong on the KeyboardEvent interface
|
| - [MeasureAs=UIEventCharCode] readonly attribute long charCode;
|
| - [MeasureAs=UIEventKeyCode] readonly attribute long keyCode;
|
| + // FIXME: this belongs on the KeyboardEvent interface
|
| [MeasureAs=UIEventWhich] readonly attribute long which;
|
| };
|
|
|