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

Unified Diff: third_party/WebKit/Source/platform/PlatformKeyboardEvent.h

Issue 2036643003: Creat a KeyboardEventManager class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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: third_party/WebKit/Source/platform/PlatformKeyboardEvent.h
diff --git a/third_party/WebKit/Source/platform/PlatformKeyboardEvent.h b/third_party/WebKit/Source/platform/PlatformKeyboardEvent.h
index 0047caf552dd4f3f5c5c28cbd5dd0f0bf9b20d66..028deacaa1ca297b203a69f97bac2e5d3e4c4b49 100644
--- a/third_party/WebKit/Source/platform/PlatformKeyboardEvent.h
+++ b/third_party/WebKit/Source/platform/PlatformKeyboardEvent.h
@@ -90,6 +90,10 @@ public:
PLATFORM_EXPORT static bool currentCapsLockState();
PLATFORM_EXPORT static Modifiers getCurrentModifierState();
+ // Returns accesskey activator used in page keyboard shortcuts in Chrome.
+ // See https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/accesskey.
+ PLATFORM_EXPORT static PlatformEvent::Modifiers accessKeyModifiers();
+
protected:
String m_text;
String m_unmodifiedText;

Powered by Google App Engine
This is Rietveld 408576698