| Index: third_party/WebKit/Source/core/input/EventHandler.cpp
|
| diff --git a/third_party/WebKit/Source/core/input/EventHandler.cpp b/third_party/WebKit/Source/core/input/EventHandler.cpp
|
| index b3d05d79c33807ff153a024ffc3580ff1cc56a87..c4b8be9bd2429711db21cfc9df3e5f292108c97f 100644
|
| --- a/third_party/WebKit/Source/core/input/EventHandler.cpp
|
| +++ b/third_party/WebKit/Source/core/input/EventHandler.cpp
|
| @@ -88,7 +88,6 @@
|
| #include "core/style/CursorData.h"
|
| #include "core/svg/SVGDocumentExtensions.h"
|
| #include "platform/PlatformGestureEvent.h"
|
| -#include "platform/PlatformKeyboardEvent.h"
|
| #include "platform/PlatformTouchEvent.h"
|
| #include "platform/PlatformWheelEvent.h"
|
| #include "platform/RuntimeEnabledFeatures.h"
|
| @@ -99,6 +98,7 @@
|
| #include "platform/heap/Handle.h"
|
| #include "platform/scroll/ScrollAnimatorBase.h"
|
| #include "platform/scroll/Scrollbar.h"
|
| +#include "public/platform/WebInputEvent.h"
|
| #include "wtf/Assertions.h"
|
| #include "wtf/CurrentTime.h"
|
| #include "wtf/PtrUtil.h"
|
| @@ -2195,7 +2195,7 @@ void EventHandler::fakeMouseMoveEventTimerFired(TimerBase* timer)
|
| if (!isCursorVisible())
|
| return;
|
|
|
| - PlatformMouseEvent fakeMouseMoveEvent(m_lastKnownMousePosition, m_lastKnownMouseGlobalPosition, WebPointerProperties::Button::NoButton, PlatformEvent::MouseMoved, 0, PlatformKeyboardEvent::getCurrentModifierState(), PlatformMouseEvent::RealOrIndistinguishable, monotonicallyIncreasingTime(), WebPointerProperties::PointerType::Mouse);
|
| + PlatformMouseEvent fakeMouseMoveEvent(m_lastKnownMousePosition, m_lastKnownMouseGlobalPosition, WebPointerProperties::Button::NoButton, PlatformEvent::MouseMoved, 0, static_cast<PlatformEvent::Modifiers>(KeyboardEventManager::getCurrentModifierState()), PlatformMouseEvent::RealOrIndistinguishable, monotonicallyIncreasingTime(), WebPointerProperties::PointerType::Mouse);
|
| handleMouseMoveEvent(fakeMouseMoveEvent);
|
| }
|
|
|
| @@ -2261,12 +2261,12 @@ void EventHandler::notifyElementActivated()
|
| m_lastDeferredTapElement = nullptr;
|
| }
|
|
|
| -bool EventHandler::handleAccessKey(const PlatformKeyboardEvent& evt)
|
| +bool EventHandler::handleAccessKey(const WebKeyboardEvent& evt)
|
| {
|
| return m_keyboardEventManager.handleAccessKey(evt);
|
| }
|
|
|
| -WebInputEventResult EventHandler::keyEvent(const PlatformKeyboardEvent& initialKeyEvent)
|
| +WebInputEventResult EventHandler::keyEvent(const WebKeyboardEvent& initialKeyEvent)
|
| {
|
| return m_keyboardEventManager.keyEvent(initialKeyEvent);
|
| }
|
|
|