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

Unified Diff: Source/platform/PlatformEvent.h

Issue 727593003: Implement MouseEvent buttons attribute. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: should be 0 in contextmenu event 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
Index: Source/platform/PlatformEvent.h
diff --git a/Source/platform/PlatformEvent.h b/Source/platform/PlatformEvent.h
index a3dd410df194c82cc82459f922f6d0991d0405d0..563d7d77a7514c7ec7cfdfa23f9f915434c74eda 100644
--- a/Source/platform/PlatformEvent.h
+++ b/Source/platform/PlatformEvent.h
@@ -78,6 +78,10 @@ public:
CtrlKey = 1 << 1,
MetaKey = 1 << 2,
ShiftKey = 1 << 3,
+
+ LeftButtonDown = 1 << 6,
+ MiddleButtonDown = 1 << 7,
+ RightButtonDown = 1 << 8,
Rick Byers 2014/11/28 17:36:02 By the way, with the addition of these, I believe
zino 2014/12/03 15:47:15 Done.
};
Type type() const { return static_cast<Type>(m_type); }

Powered by Google App Engine
This is Rietveld 408576698