summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorrbyers@chromium.org <rbyers@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-28 20:44:28 +0000
committerrbyers@chromium.org <rbyers@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-28 20:44:28 +0000
commit51b9f84f6f78717addf71bc5572e9b4e643dc537 (patch)
tree777948e0014619984603543918901be589469c56 /build
parentad4e7e79900a7c053cf6f2d586aa6e1163f54a45 (diff)
downloadchromium_src-51b9f84f6f78717addf71bc5572e9b4e643dc537.zip
chromium_src-51b9f84f6f78717addf71bc5572e9b4e643dc537.tar.gz
chromium_src-51b9f84f6f78717addf71bc5572e9b4e643dc537.tar.bz2
Add touch-action content browser test
TouchActionBrowserTest uses the synthetic gesture framework to inject touch events that generate a scroll gesture. We then verify that we can scroll the page over touch-action: auto regions but not over touch-action: none regions. We also verify that we get the expected number of touch events in the two different cases. Note this is currently disabled on Android due to the same issue as crbug.com/338011. Update the synthetic gesture framework to take a callback for notification of completion rather than call back on the GestureTarget. OnSyntheticGestureCompleted doesn't really belong on GestureTarget because the component that requests the gesture may not necessarily be the one that actually implements sending the touch events. Expose the SyntheticGestureController for use outside of RenderWidgetHost. It's not unreasonable to imagine multiple different clients wanting to use the same controller. Fix SyntheticGestureTargetAura not to rely on ScreenPositionClient. Previously it assumed that scree co-ordinates and root-window co-ordinates were the same (which was only true on ChromeOS). All we really need is to be able to convert into RootWindow co-ordinates. Aura content_shell doesn't have any implementation of ScreenPositionClient anyway. BUG=346986 Review URL: https://codereview.chromium.org/177313003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254217 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/android/pylib/gtest/filter/content_browsertests_disabled1
1 files changed, 1 insertions, 0 deletions
diff --git a/build/android/pylib/gtest/filter/content_browsertests_disabled b/build/android/pylib/gtest/filter/content_browsertests_disabled
index 0ddcc86..d197b0c 100644
--- a/build/android/pylib/gtest/filter/content_browsertests_disabled
+++ b/build/android/pylib/gtest/filter/content_browsertests_disabled
@@ -132,6 +132,7 @@ WithoutInputHandlerProxy/TouchInputBrowserTest.MultiPointTouchPress/0
WithoutInputHandlerProxy/TouchInputBrowserTest.TouchHandlerConsume/0
WithoutInputHandlerProxy/TouchInputBrowserTest.TouchHandlerNoConsume/0
WithoutInputHandlerProxy/TouchInputBrowserTest.TouchNoHandler/0
+TouchActionBrowserTest.*
# http://crbug.com/338408
TracingControllerTest.EnableCaptureAndDisableMonitoring