Improve touch support for the color picker.
Prior to this CL dragging the color-well and the hue-slider was supported via mouse events. Because of this, dragging via touch wasn't working. This CL adds support for touch dragging. Unfortunately, since the popups don't have support for touch-action and we could not achieve a correct pointermove behavior for touch because we can't change the value of touch-action to none, the support is added by handling touch events. (see WebPagePopupImpl::SetTouchAction) [1] I have also added 2 new tests to validate dragging via touch. [1] https://bugs.chromium.org/p/chromium/issues/detail?id=844547 Bug: 1068066 Change-Id: I9a70c7ab06de0506810bb7fd1a4baaab2ea7a622 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2142339Reviewed-by:Kent Tamura <tkent@chromium.org> Commit-Queue: Ionel Popescu <iopopesc@microsoft.com> Cr-Commit-Position: refs/heads/master@{#757961}
Showing
17.7 KB
15.5 KB
16.6 KB
14.5 KB
16.7 KB
14.6 KB