Remove SetCapturingMouseEventsElement
This CL removes function SetCapturingMouseEventsElement(). The only remaining caller are slide thumb element and it's "set capture" are using SetPointerCapture(kMouseId), so we should use ReleasePointerCapture here as well. This CL also removes event_handler_will_reset_capturing_mouse_events_node_ *will_reset* is a boolean used with capturing_mouse_events_element_ After we remove SetCapturingMouseEventsElement, all remaining setter of capturing_mouse_events_element_ will set *will_reset_* to true. Therefore, there is no point to keep *will_reset* Bug: 919908 Change-Id: Ie1ba43515899a085b82502a907c12d48b3334b1a Reviewed-on: https://chromium-review.googlesource.com/c/1427220Reviewed-by:Dave Tapuska <dtapuska@chromium.org> Reviewed-by:
Mustaq Ahmed <mustaq@chromium.org> Reviewed-by:
Navid Zolghadr <nzolghadr@chromium.org> Commit-Queue: Ella Ge <eirage@chromium.org> Cr-Commit-Position: refs/heads/master@{#627027}
Showing
Please register or sign in to comment