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

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

Issue 727593003: Implement MouseEvent buttons attribute. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: nits Created 6 years 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/MouseEvent.cpp ('k') | Source/core/events/WheelEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/MouseEvent.idl
diff --git a/Source/core/events/MouseEvent.idl b/Source/core/events/MouseEvent.idl
index 776a96d848250c13b33e15a7d81555b8322fb197..8a03192adc43cdc7ff1334410cdb2b4e2cd2eabd 100644
--- a/Source/core/events/MouseEvent.idl
+++ b/Source/core/events/MouseEvent.idl
@@ -29,6 +29,7 @@
[InitializedByEventConstructor] readonly attribute boolean altKey;
[InitializedByEventConstructor] readonly attribute boolean metaKey;
[InitializedByEventConstructor] readonly attribute unsigned short button;
+ [RuntimeEnabled=MouseEventButtonsAttribute, InitializedByEventConstructor] readonly attribute unsigned short buttons;
[InitializedByEventConstructor] readonly attribute EventTarget? relatedTarget;
[MeasureAs=MouseEventMovementX] readonly attribute long movementX;
[MeasureAs=MouseEventMovementY] readonly attribute long movementY;
« no previous file with comments | « Source/core/events/MouseEvent.cpp ('k') | Source/core/events/WheelEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698