Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Unified Diff: Source/core/events/UIEvent.idl

Issue 1159113007: Sync event interfaces with the UI Events spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/events/SharedKeyboardAndMouseEventInit.idl ('k') | Source/core/events/UIEventInit.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/UIEvent.idl
diff --git a/Source/core/events/UIEvent.idl b/Source/core/events/UIEvent.idl
index 039d20c76671b7e9608fb3244971abc94ce9a961..e8bbf79880c5ac3266fae1ef1415df79cf2ef8ac 100644
--- a/Source/core/events/UIEvent.idl
+++ b/Source/core/events/UIEvent.idl
@@ -17,16 +17,20 @@
* Boston, MA 02110-1301, USA.
*/
+// https://w3c.github.io/uievents/#interface-UIEvent
+
[
Constructor(DOMString type, optional UIEventInit eventInitDict)
] interface UIEvent : Event {
readonly attribute Window? view;
readonly attribute long detail;
- void initUIEvent([Default=Undefined] optional DOMString type,
- [Default=Undefined] optional boolean canBubble,
+ // https://w3c.github.io/uievents/#idl-interface-UIEvent-initializers
+ // TODO(philipj): None of the initUIEvent() arguments should be optional.
+ void initUIEvent([Default=Undefined] optional DOMString type,
+ [Default=Undefined] optional boolean bubbles,
[Default=Undefined] optional boolean cancelable,
- [Default=Undefined] optional Window view,
+ [Default=Undefined] optional Window? view,
[Default=Undefined] optional long detail);
// Non-standard
« no previous file with comments | « Source/core/events/SharedKeyboardAndMouseEventInit.idl ('k') | Source/core/events/UIEventInit.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698