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

Unified Diff: Source/core/events/UIEventWithKeyState.h

Issue 1350933003: Implement MouseEvent.getModifierState (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add LayoutTests Created 5 years, 3 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
Index: Source/core/events/UIEventWithKeyState.h
diff --git a/Source/core/events/UIEventWithKeyState.h b/Source/core/events/UIEventWithKeyState.h
index e02d6bc270ed8004ee84bb636dbe408472eac84a..2df5bebd8608d312a40d50c5ccbac5cfa10a234a 100644
--- a/Source/core/events/UIEventWithKeyState.h
+++ b/Source/core/events/UIEventWithKeyState.h
@@ -42,6 +42,8 @@ public:
static void clearNewTabModifierSetFromIsolatedWorld() { s_newTabModifierSetFromIsolatedWorld = false; }
static void didCreateEventInIsolatedWorld(bool ctrlKey, bool shiftKey, bool altKey, bool metaKey);
+ bool getModifierState(const String& keyIdentifier) const;
+
protected:
UIEventWithKeyState()
: m_ctrlKey(false)

Powered by Google App Engine
This is Rietveld 408576698