Fix double-click handling in RootView
If RootView::OnMousePressed() receives a mouse press that is handled by a child view, than a subsequent double-click mouse press that is *not* handled, it should still report it as handled to the caller. My previous CL crrev.com/c/2029087 broke this behavior, always reporting a double-click as handled regardless of whether the first click was handled. This CL fixes it and adds regression test coverage. Fixed: 1055674 Change-Id: Ib2289a47b94ffa268160face6d4b6ebaf0dc504c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2086259Reviewed-by:Robert Liao <robliao@chromium.org> Commit-Queue: Collin Baker <collinbaker@chromium.org> Cr-Commit-Position: refs/heads/master@{#746873}
Showing
Please register or sign in to comment