Chromium Code Reviews| Index: Source/core/testing/Internals.cpp |
| diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp |
| index ab643c9f17c894ddb04e088a97fdc0386aa955bf..6cbbd4d8e310cc25f3bd9cf81895aac2d1ecc80d 100644 |
| --- a/Source/core/testing/Internals.cpp |
| +++ b/Source/core/testing/Internals.cpp |
| @@ -130,6 +130,7 @@ |
| #include "core/workers/WorkerThread.h" |
| #include "platform/Cursor.h" |
| #include "platform/Language.h" |
| +#include "platform/PlatformKeyboardEvent.h" |
| #include "platform/RuntimeEnabledFeatures.h" |
| #include "platform/TraceEvent.h" |
| #include "platform/geometry/IntRect.h" |
| @@ -2436,4 +2437,10 @@ ClientRectList* Internals::focusRingRects(Element* element) |
| return ClientRectList::create(rects); |
| } |
| +void Internals::setCurrentCapsLockState(bool enabled) |
| +{ |
| + PlatformKeyboardEvent::setCurrentCapsLockState(enabled ? |
|
leviw_travelin_and_unemployed
2015/06/18 22:33:48
In the past we've had issues with this sort of sta
wkorman
2015/06/18 22:49:38
Good catch, added to Internals::resetToConsistentS
|
| + PlatformKeyboardEvent::OverrideCapsLockState::On : PlatformKeyboardEvent::OverrideCapsLockState::Off); |
| +} |
| + |
| } // namespace blink |