| Index: third_party/WebKit/Source/platform/PlatformKeyboardEvent.cpp
|
| diff --git a/third_party/WebKit/Source/platform/PlatformKeyboardEvent.cpp b/third_party/WebKit/Source/platform/PlatformKeyboardEvent.cpp
|
| index f5b0d9084250359e0a8279b93cde73df8fd5a205..218217a113dc3ef70bd158fcd592d9f3029f030e 100644
|
| --- a/third_party/WebKit/Source/platform/PlatformKeyboardEvent.cpp
|
| +++ b/third_party/WebKit/Source/platform/PlatformKeyboardEvent.cpp
|
| @@ -71,6 +71,16 @@ void PlatformKeyboardEvent::disambiguateKeyDownEvent(EventType type)
|
| #endif
|
| }
|
|
|
| +PlatformEvent::Modifiers PlatformKeyboardEvent::accessKeyModifiers()
|
| +{
|
| + // TODO(crbug.com/618397): Add a settings to control this behavior.
|
| +#if OS(MACOSX)
|
| + return static_cast<PlatformEvent::Modifiers>(PlatformEvent::CtrlKey | PlatformEvent::AltKey);
|
| +#else
|
| + return PlatformEvent::AltKey;
|
| +#endif
|
| +}
|
| +
|
| bool PlatformKeyboardEvent::currentCapsLockState()
|
| {
|
| switch (s_overrideCapsLockState) {
|
|
|