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 81d3157168d6a82a2af1152e80ba27723e293428..9a64d686dd1d55cb75ae877d1fe804d3b0a7a846 100644 |
--- a/third_party/WebKit/Source/core/input/EventHandler.cpp |
+++ b/third_party/WebKit/Source/core/input/EventHandler.cpp |
@@ -1884,16 +1884,22 @@ void EventHandler::ScheduleCursorUpdate() { |
DCHECK_EQ(frame_, &frame_->LocalFrameRoot()); |
// TODO(https://crbug.com/668758): Use a normal BeginFrame update for this. |
- if (!cursor_update_timer_.IsActive()) |
+ if (!cursor_update_timer_.IsActive()) { |
dtapuska
2017/06/28 19:15:17
No need to add braces here; code isn't changed.
lanwei
2017/07/04 18:37:15
Done.
|
cursor_update_timer_.StartOneShot(kCursorUpdateInterval, BLINK_FROM_HERE); |
+ } |
} |
bool EventHandler::CursorUpdatePending() { |
return cursor_update_timer_.IsActive(); |
} |
-void EventHandler::DispatchFakeMouseMoveEventSoon() { |
- mouse_event_manager_->DispatchFakeMouseMoveEventSoon(); |
+bool EventHandler::FakeMouseMovePending() { |
+ return mouse_event_manager_->FakeMouseMovePending(); |
+} |
+ |
+void EventHandler::DispatchFakeMouseMoveEventSoon( |
+ DispatchInterval dispatch_interval) { |
+ mouse_event_manager_->DispatchFakeMouseMoveEventSoon(dispatch_interval); |
} |
void EventHandler::DispatchFakeMouseMoveEventSoonInQuad(const FloatQuad& quad) { |