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

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: Add comments 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..b35db0a8f5215e7c221fd670f2cbda2a3abef785 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 http://www.w3schools.com/tags/att_global_accesskey.asp.
dtapuska 2016/06/08 19:11:44 Oh no commenting from w3schools? Can we change it
Navid Zolghadr 2016/06/08 19:22:48 Done.
+ PLATFORM_EXPORT static PlatformEvent::Modifiers accessKeyModifiers();
+
protected:
String m_text;
String m_unmodifiedText;

Powered by Google App Engine
This is Rietveld 408576698