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

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

Issue 589113002: Rename java WebContentsObserverAndroid to WebContentsObserver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: style issues fixed Created 6 years, 2 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/WebContentsObserverAndroidTest.java
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/WebContentsObserverAndroidTest.java b/content/public/android/javatests/src/org/chromium/content/browser/WebContentsObserverAndroidTest.java
index e5084a37ec41723156213dab061d8b556b4c0ec2..b5ed7bf9091ff7e3d9f9be86f82efb1053c48de1 100644
--- a/content/public/android/javatests/src/org/chromium/content/browser/WebContentsObserverAndroidTest.java
+++ b/content/public/android/javatests/src/org/chromium/content/browser/WebContentsObserverAndroidTest.java
@@ -16,16 +16,16 @@ import org.chromium.content_shell_apk.ContentShellTestBase;
import java.util.concurrent.Callable;
/**
- * Tests for the WebContentsObserverAndroid APIs.
+ * Tests for the WebContentsObserver APIs.
*/
public class WebContentsObserverAndroidTest extends ContentShellTestBase {
private static final String URL = UrlUtils.encodeHtmlDataUri(
"<html><head></head><body>didFirstVisuallyNonEmptyPaint test</body></html>");
- private static class TestWebContentsObserverAndroid extends WebContentsObserverAndroid {
+ private static class TestWebContentsObserver extends WebContentsObserver {
private CallbackHelper mDidFirstVisuallyNonEmptyPaintCallbackHelper = new CallbackHelper();
- public TestWebContentsObserverAndroid(WebContents webContents) {
+ public TestWebContentsObserver(WebContents webContents) {
super(webContents);
}
@@ -54,12 +54,11 @@ public class WebContentsObserverAndroidTest extends ContentShellTestBase {
*/
@DisabledTest
public void testDidFirstVisuallyNonEmptyPaint() throws Throwable {
- TestWebContentsObserverAndroid observer = ThreadUtils.runOnUiThreadBlocking(
- new Callable<TestWebContentsObserverAndroid>() {
+ TestWebContentsObserver observer = ThreadUtils.runOnUiThreadBlocking(
+ new Callable<TestWebContentsObserver>() {
@Override
- public TestWebContentsObserverAndroid call() throws Exception {
- return new TestWebContentsObserverAndroid(
- getContentViewCore().getWebContents());
+ public TestWebContentsObserver call() throws Exception {
+ return new TestWebContentsObserver(getContentViewCore().getWebContents());
}
});

Powered by Google App Engine
This is Rietveld 408576698