summaryrefslogtreecommitdiffstats
path: root/android_webview/test
diff options
context:
space:
mode:
authormkosiba@chromium.org <mkosiba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-14 21:19:59 +0000
committermkosiba@chromium.org <mkosiba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-14 21:19:59 +0000
commit02fa8f66a28c54ab81a415017f8f97659d05e9bc (patch)
treed66d3127091996770c0aa49acdc59716d8034efe /android_webview/test
parentf3d3b3843becc02b010ebbcf4087850c215f3ebc (diff)
downloadchromium_src-02fa8f66a28c54ab81a415017f8f97659d05e9bc.zip
chromium_src-02fa8f66a28c54ab81a415017f8f97659d05e9bc.tar.gz
chromium_src-02fa8f66a28c54ab81a415017f8f97659d05e9bc.tar.bz2
[android_webview] Increase the scroll distance in one of the tests.
The testNoSpuriousOverScrolls test was failing on the N5 because of what seems to be a difference in the touch slop region size. Increasing the number of pixels we scroll by in the test fixes the issue but also caused a fling animation which is the reason for the custom AwScrollOffsetManager. BUG=351476 Review URL: https://codereview.chromium.org/198013003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257204 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview/test')
-rw-r--r--android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java b/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java
index e8215cc..b2f79e3 100644
--- a/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java
+++ b/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java
@@ -28,7 +28,6 @@ import org.chromium.android_webview.AwBrowserProcess;
import org.chromium.android_webview.AwContents;
import org.chromium.android_webview.AwContentsClient;
import org.chromium.android_webview.AwDevToolsServer;
-import org.chromium.android_webview.AwLayoutSizer;
import org.chromium.android_webview.AwSettings;
import org.chromium.android_webview.test.AwTestContainerView;
import org.chromium.android_webview.test.NullContentsClient;
@@ -94,7 +93,7 @@ public class AwShellActivity extends Activity {
false /*isAccessFromFileURLsGrantedByDefault*/, true /*supportsLegacyQuirks*/);
testContainerView.initialize(new AwContents(mBrowserContext, testContainerView,
testContainerView.getInternalAccessDelegate(),
- awContentsClient, awSettings, new AwLayoutSizer()));
+ awContentsClient, awSettings));
testContainerView.getAwContents().getSettings().setJavaScriptEnabled(true);
if (mDevToolsServer == null) {
mDevToolsServer = new AwDevToolsServer();