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

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

Issue 725073003: Add UseCounters for UIEvent.charCode/keyCode/which (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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 | « no previous file | 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/KeyboardEvent.idl
diff --git a/Source/core/events/KeyboardEvent.idl b/Source/core/events/KeyboardEvent.idl
index ca68d367b11da44762ffd95436da0110eaed41f0..f789f02249d90366cd235ef6c7d29d5f2766061c 100644
--- a/Source/core/events/KeyboardEvent.idl
+++ b/Source/core/events/KeyboardEvent.idl
@@ -48,5 +48,8 @@
[Default=Undefined] optional boolean altKey,
[Default=Undefined] optional boolean shiftKey,
[Default=Undefined] optional boolean metaKey);
-};
+ readonly attribute long charCode;
+ readonly attribute long keyCode;
+ readonly attribute long which;
+};
« no previous file with comments | « no previous file | Source/core/events/MouseEvent.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698