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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/NavigationPopupTest.java

Issue 1024103002: [Android WebView] Provide user-initiated provisional load detection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments and build fix Created 5 years, 9 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: chrome/android/javatests/src/org/chromium/chrome/browser/NavigationPopupTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/NavigationPopupTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/NavigationPopupTest.java
index 8b7c19aa14337f11ef0b943465fd4d33b2c0733e..7c15b6142c2f653457cebe91e6e175bb359bf464 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/NavigationPopupTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/NavigationPopupTest.java
@@ -50,8 +50,8 @@ public class NavigationPopupTest extends ChromeShellTestBase {
// Exists solely to expose protected methods to this test.
private static class TestNavigationEntry extends NavigationEntry {
public TestNavigationEntry(int index, String url, String virtualUrl, String originalUrl,
- String title, Bitmap favicon) {
- super(index, url, virtualUrl, originalUrl, title, favicon);
+ String title, Bitmap favicon, int transition) {
+ super(index, url, virtualUrl, originalUrl, title, favicon, transition);
}
}
@@ -62,9 +62,9 @@ public class NavigationPopupTest extends ChromeShellTestBase {
public TestNavigationController() {
mHistory = new TestNavigationHistory();
mHistory.addEntry(new TestNavigationEntry(
- 1, "about:blank", null, null, "About Blank", null));
+ 1, "about:blank", null, null, "About Blank", null, 0));
mHistory.addEntry(new TestNavigationEntry(
- 5, UrlUtils.encodeHtmlDataUri("<html>1</html>"), null, null, null, null));
+ 5, UrlUtils.encodeHtmlDataUri("<html>1</html>"), null, null, null, null, 0));
}
@Override

Powered by Google App Engine
This is Rietveld 408576698