Move DispatchBufferedTouchEvents into base.
Collapse WebViewImpl's implementation together with WebFrameWidgetImpl's and place it in base. WebViewImpl's version was not checking for drag and drop, and IgnoreInputEvents state but WebFrameWidgetImpl's was. These were unnecessary because all input first goes through HandleInputEvent and if there were any messages would be first discarded there. Add a test to ensure the messages are dropped correctly without the additional checks. BUG=1097816 Change-Id: I0bb95f0585296a48bff96bcc553c5ca80c701ecc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2532732 Commit-Queue: Dave Tapuska <dtapuska@chromium.org> Reviewed-by:danakj <danakj@chromium.org> Cr-Commit-Position: refs/heads/master@{#827058}
Showing
Please register or sign in to comment