Index: third_party/WebKit/Source/core/input/MouseEventManager.h |
diff --git a/third_party/WebKit/Source/core/input/MouseEventManager.h b/third_party/WebKit/Source/core/input/MouseEventManager.h |
index 0a1f7b406524bfee617a789b74c6b476c1897754..02d61cd3ac64575222f7e7d284d8cc850b350f11 100644 |
--- a/third_party/WebKit/Source/core/input/MouseEventManager.h |
+++ b/third_party/WebKit/Source/core/input/MouseEventManager.h |
@@ -43,6 +43,8 @@ class CORE_EXPORT MouseEventManager final |
virtual ~MouseEventManager(); |
DECLARE_TRACE(); |
+ enum FakeMouseMoveReason { kDuringScroll, kPerFrame }; |
+ |
WebInputEventResult DispatchMouseEvent(EventTarget*, |
const AtomicString&, |
const WebMouseEvent&, |
@@ -87,7 +89,7 @@ class CORE_EXPORT MouseEventManager final |
void FakeMouseMoveEventTimerFired(TimerBase*); |
void CancelFakeMouseMoveEvent(); |
- void DispatchFakeMouseMoveEventSoon(); |
+ void DispatchFakeMouseMoveEventSoon(MouseEventManager::FakeMouseMoveReason); |
void DispatchFakeMouseMoveEventSoonInQuad(const FloatQuad&); |
void SetLastKnownMousePosition(const WebMouseEvent&); |
@@ -148,6 +150,8 @@ class CORE_EXPORT MouseEventManager final |
bool MouseDownMayStartDrag(); |
+ bool FakeMouseMovePending() const; |
+ |
private: |
class MouseEventBoundaryEventDispatcher : public BoundaryEventDispatcher { |
WTF_MAKE_NONCOPYABLE(MouseEventBoundaryEventDispatcher); |