Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Side by Side Diff: android_webview/javatests/src/org/chromium/android_webview/test/AndroidScrollIntegrationTest.java

Issue 141533006: [Android] Move the java content/ package to content_public/ to start the split. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Small fixes and findbugs line update Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.android_webview.test; 5 package org.chromium.android_webview.test;
6 6
7 import android.content.Context; 7 import android.content.Context;
8 import android.test.suitebuilder.annotation.SmallTest; 8 import android.test.suitebuilder.annotation.SmallTest;
9 import android.view.View; 9 import android.view.View;
10 10
11 import org.chromium.android_webview.AwContents; 11 import org.chromium.android_webview.AwContents;
12 import org.chromium.android_webview.test.util.AwTestTouchUtils; 12 import org.chromium.android_webview.test.util.AwTestTouchUtils;
13 import org.chromium.android_webview.test.util.CommonResources; 13 import org.chromium.android_webview.test.util.CommonResources;
14 import org.chromium.android_webview.test.util.JavascriptEventObserver; 14 import org.chromium.android_webview.test.util.JavascriptEventObserver;
15 import org.chromium.base.test.util.Feature; 15 import org.chromium.base.test.util.Feature;
16 import org.chromium.content.browser.ContentViewCore; 16 import org.chromium.content_public.browser.ContentViewCore;
17 import org.chromium.content.browser.test.util.CallbackHelper; 17 import org.chromium.content_public.browser.test.util.CallbackHelper;
18 import org.chromium.ui.gfx.DeviceDisplayInfo; 18 import org.chromium.ui.gfx.DeviceDisplayInfo;
19 19
20 import java.util.concurrent.Callable; 20 import java.util.concurrent.Callable;
21 import java.util.concurrent.CountDownLatch; 21 import java.util.concurrent.CountDownLatch;
22 import java.util.concurrent.atomic.AtomicBoolean; 22 import java.util.concurrent.atomic.AtomicBoolean;
23 23
24 /** 24 /**
25 * Integration tests for synchronous scrolling. 25 * Integration tests for synchronous scrolling.
26 */ 26 */
27 public class AndroidScrollIntegrationTest extends AwTestBase { 27 public class AndroidScrollIntegrationTest extends AwTestBase {
(...skipping 707 matching lines...) Expand 10 before | Expand all | Expand 10 after
735 735
736 final int callCount = onScrollUpdateGestureConsumedHelper.getCallCount() ; 736 final int callCount = onScrollUpdateGestureConsumedHelper.getCallCount() ;
737 AwTestTouchUtils.dragCompleteView(testContainerView, 737 AwTestTouchUtils.dragCompleteView(testContainerView,
738 0, -targetScrollXPix, // these need to be negative as we're scro lling down. 738 0, -targetScrollXPix, // these need to be negative as we're scro lling down.
739 0, -targetScrollYPix, 739 0, -targetScrollYPix,
740 dragSteps, 740 dragSteps,
741 null /* completionLatch */); 741 null /* completionLatch */);
742 onScrollUpdateGestureConsumedHelper.waitForCallback(callCount); 742 onScrollUpdateGestureConsumedHelper.waitForCallback(callCount);
743 } 743 }
744 } 744 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698