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

Unified Diff: Source/core/events/KeyboardEventInit.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/KeyboardEvent.idl ('k') | Source/core/events/MouseEvent.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/KeyboardEventInit.idl
diff --git a/Source/core/events/KeyboardEventInit.idl b/Source/core/events/KeyboardEventInit.idl
index ca9217d121a49f6865d71ce434e1a096cf6a9b64..80a600716aef4bbd599cdf5af46e043fcf0c32d4 100644
--- a/Source/core/events/KeyboardEventInit.idl
+++ b/Source/core/events/KeyboardEventInit.idl
@@ -2,12 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// http://www.w3.org/TR/DOM-Level-3-Events/#interface-KeyboardEvent
-// Note: this event init is somewhat different from the spec for compatibility reason.
+// https://w3c.github.io/uievents/#idl-def-KeyboardEventInit
-dictionary KeyboardEventInit : SharedKeyboardAndMouseEventInit {
- DOMString keyIdentifier = "";
+dictionary KeyboardEventInit : EventModifierInit {
+ // TODO(philipj): DOMString key = "";
+ // TODO(philipj): DOMString code = "";
unsigned long location = 0;
- [ImplementedAs=location, DeprecateAs=KeyboardEventKeyLocation] unsigned long keyLocation = 0; // Deprecated.
boolean repeat = false;
+ // TODO(philipj): boolean isComposing = false;
+
+ // Non-standard APIs
+ DOMString keyIdentifier = "";
+ [ImplementedAs=location, DeprecateAs=KeyboardEventKeyLocation] unsigned long keyLocation = 0;
};
« no previous file with comments | « Source/core/events/KeyboardEvent.idl ('k') | Source/core/events/MouseEvent.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698