| Index: third_party/WebKit/Source/core/testing/Internals.cpp
|
| diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp
|
| index 1ad9d52e4b0ab895f6ed3038fdbd1319acecf889..474763c1d0db5afb481283dd8391ed70c217415f 100644
|
| --- a/third_party/WebKit/Source/core/testing/Internals.cpp
|
| +++ b/third_party/WebKit/Source/core/testing/Internals.cpp
|
| @@ -94,6 +94,7 @@
|
| #include "core/html/shadow/ShadowElementNames.h"
|
| #include "core/html/shadow/TextControlInnerElements.h"
|
| #include "core/input/EventHandler.h"
|
| +#include "core/input/KeyboardEventManager.h"
|
| #include "core/inspector/InspectorInstrumentation.h"
|
| #include "core/inspector/InstanceCounters.h"
|
| #include "core/inspector/MainThreadDebugger.h"
|
| @@ -130,7 +131,6 @@
|
| #include "platform/Cursor.h"
|
| #include "platform/Language.h"
|
| #include "platform/LayoutLocale.h"
|
| -#include "platform/PlatformKeyboardEvent.h"
|
| #include "platform/RuntimeEnabledFeatures.h"
|
| #include "platform/TraceEvent.h"
|
| #include "platform/geometry/IntRect.h"
|
| @@ -242,7 +242,7 @@ void Internals::resetToConsistentState(Page* page)
|
| scrollingCoordinator->reset();
|
|
|
| page->deprecatedLocalMainFrame()->view()->clear();
|
| - PlatformKeyboardEvent::setCurrentCapsLockState(PlatformKeyboardEvent::OverrideCapsLockState::Default);
|
| + KeyboardEventManager::setCurrentCapsLockState(OverrideCapsLockState::Default);
|
| }
|
|
|
| Internals::Internals(ScriptState* scriptState)
|
| @@ -2567,8 +2567,7 @@ ClientRectList* Internals::outlineRects(Element* element)
|
|
|
| void Internals::setCapsLockState(bool enabled)
|
| {
|
| - PlatformKeyboardEvent::setCurrentCapsLockState(enabled ?
|
| - PlatformKeyboardEvent::OverrideCapsLockState::On : PlatformKeyboardEvent::OverrideCapsLockState::Off);
|
| + KeyboardEventManager::setCurrentCapsLockState(enabled ? OverrideCapsLockState::On : OverrideCapsLockState::Off);
|
| }
|
|
|
| bool Internals::setScrollbarVisibilityInScrollableArea(Node* node, bool visible)
|
|
|