| Index: Source/platform/PlatformKeyboardEvent.h
|
| diff --git a/Source/platform/PlatformKeyboardEvent.h b/Source/platform/PlatformKeyboardEvent.h
|
| index c024a03f6b2311e5a6c6b27fcf3468a43aa9f63a..2190b6fbd4ce4433e5ad168adf9f5516b90451e4 100644
|
| --- a/Source/platform/PlatformKeyboardEvent.h
|
| +++ b/Source/platform/PlatformKeyboardEvent.h
|
| @@ -105,6 +105,17 @@ protected:
|
| bool m_autoRepeat;
|
| bool m_isKeypad;
|
| bool m_isSystemKey;
|
| +
|
| +private:
|
| + friend class Internals;
|
| + enum OverrideCapsLockState {
|
| + Default,
|
| + On,
|
| + Off
|
| + };
|
| + // Allows overriding the current caps lock state for testing purposes.
|
| + PLATFORM_EXPORT static void setCurrentCapsLockState(OverrideCapsLockState state) { s_overrideCapsLockState = state; }
|
| + PLATFORM_EXPORT static OverrideCapsLockState s_overrideCapsLockState;
|
| };
|
|
|
| } // namespace blink
|
|
|