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

Unified Diff: content/public/android/javatests/src/org/chromium/content/browser/input/SelectPopupTest.java

Issue 481803004: Removing ContentViewCore dependencies from few functions which acts as direct wrapper to WebContents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed review comments and rebased the patch. Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: content/public/android/javatests/src/org/chromium/content/browser/input/SelectPopupTest.java
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/input/SelectPopupTest.java b/content/public/android/javatests/src/org/chromium/content/browser/input/SelectPopupTest.java
index 9fd40c40dc22cfbf7cef2a99633164a4c04906b8..f8d8b0f0c841c866adf10ffa4e72c5474b5278a5 100644
--- a/content/public/android/javatests/src/org/chromium/content/browser/input/SelectPopupTest.java
+++ b/content/public/android/javatests/src/org/chromium/content/browser/input/SelectPopupTest.java
@@ -20,6 +20,9 @@ import org.chromium.content_shell_apk.ContentShellTestBase;
import java.util.concurrent.TimeUnit;
+/**
+ * Integration Tests for SelectPopup.
+ */
public class SelectPopupTest extends ContentShellTestBase {
private static final long WAIT_TIMEOUT_SECONDS = scaleTimeout(2);
private static final String SELECT_URL = UrlUtils.encodeHtmlDataUri(
@@ -87,7 +90,7 @@ public class SelectPopupTest extends ContentShellTestBase {
@Override
public void run() {
// Now reload the page while the popup is showing, it gets hidden.
- getContentViewCore().reload(true);
+ getContentViewCore().getWebContents().getNavigationController().reload(true);
}
});
onPageFinishedHelper.waitForCallback(currentCallCount, 1,

Powered by Google App Engine
This is Rietveld 408576698