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

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

Issue 425263007: Add UseCounters for non-standard UIEvent IDL attributes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 5 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 | « no previous file | Source/core/frame/UseCounter.h » ('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 df8ec347ddcd25615ea8415f8818619925a32ec1..4d025d8050b968d75e006eb29804a3a86692fd14 100644
--- a/Source/core/events/UIEvent.idl
+++ b/Source/core/events/UIEvent.idl
@@ -29,13 +29,14 @@
[Default=Undefined] optional Window view,
[Default=Undefined] optional long detail);
- // extensions
- readonly attribute long keyCode;
- readonly attribute long charCode;
- readonly attribute long layerX;
- readonly attribute long layerY;
- readonly attribute long pageX;
- readonly attribute long pageY;
- readonly attribute long which;
-};
+ // Non-standard
+ [MeasureAs=UIEventLayerX] readonly attribute long layerX;
+ [MeasureAs=UIEventLayerY] readonly attribute long layerY;
+ [MeasureAs=UIEventPageX] readonly attribute long pageX;
+ [MeasureAs=UIEventPageY] readonly attribute long pageY;
+ // FIXME: these belong on the KeyboardEvent interface
+ readonly attribute long keyCode;
+ readonly attribute long charCode;
+ readonly attribute long which;
+};
« no previous file with comments | « no previous file | Source/core/frame/UseCounter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698