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..86538aff6b329e31ee2f8ac8026abfd4dd412e61 100644 |
--- a/third_party/WebKit/Source/core/input/MouseEventManager.h |
+++ b/third_party/WebKit/Source/core/input/MouseEventManager.h |
@@ -30,6 +30,8 @@ class ScrollManager; |
enum class DragInitiator; |
+enum class DispatchInterval { kDuringScroll, kPerFrame }; |
dtapuska
2017/06/28 19:15:18
Perhaps this can be scoped into the EventHandler c
lanwei
2017/07/04 18:37:15
Done.
|
+ |
// This class takes care of dispatching all mouse events and keeps track of |
// positions and states of mouse. |
class CORE_EXPORT MouseEventManager final |
@@ -87,7 +89,7 @@ class CORE_EXPORT MouseEventManager final |
void FakeMouseMoveEventTimerFired(TimerBase*); |
void CancelFakeMouseMoveEvent(); |
- void DispatchFakeMouseMoveEventSoon(); |
+ void DispatchFakeMouseMoveEventSoon(DispatchInterval); |
void DispatchFakeMouseMoveEventSoonInQuad(const FloatQuad&); |
void SetLastKnownMousePosition(const WebMouseEvent&); |
@@ -148,6 +150,8 @@ class CORE_EXPORT MouseEventManager final |
bool MouseDownMayStartDrag(); |
+ bool FakeMouseMovePending(); |
dtapuska
2017/06/28 19:15:18
const?
lanwei
2017/07/04 18:37:15
Done.
|
+ |
private: |
class MouseEventBoundaryEventDispatcher : public BoundaryEventDispatcher { |
WTF_MAKE_NONCOPYABLE(MouseEventBoundaryEventDispatcher); |