Use pre-target handler for drag-to-open, handling only vertical drags
The Omnibox consumes all ET_GESTURE_SCROLL_* events in its bounds for text scrolling. All drags in the Omnibox area therefore weren't compatible with drag-to-open using a post-target handler. This uses a pre-target handler instead. To allow text scrolling to work, only scroll events starting with a larger vertical component are handled. Bug: 1043374 Change-Id: I589d6716e333f587952cf3e64e90171fb03a6dda Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2099362Reviewed-by:Dana Fried <dfried@chromium.org> Reviewed-by:
Robert Liao <robliao@chromium.org> Commit-Queue: Collin Baker <collinbaker@chromium.org> Cr-Commit-Position: refs/heads/master@{#749727}
Showing
Please register or sign in to comment