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

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

Issue 589113002: Rename java WebContentsObserverAndroid to WebContentsObserver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: chrome/android/java/src/org/chromium/chrome/browser/Tab.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/Tab.java b/chrome/android/java/src/org/chromium/chrome/browser/Tab.java
index 648d6446e166b08ca043ee3c15239e457b884c1a..21db126715f4bc37cce5546366fc87218f08cd64 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/Tab.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/Tab.java
@@ -31,7 +31,7 @@ import org.chromium.content.browser.ContentView;
import org.chromium.content.browser.ContentViewClient;
import org.chromium.content.browser.ContentViewCore;
import org.chromium.content.browser.NavigationClient;
-import org.chromium.content.browser.WebContentsObserverAndroid;
+import org.chromium.content.browser.WebContentsObserver;
import org.chromium.content_public.browser.LoadUrlParams;
import org.chromium.content_public.browser.NavigationHistory;
import org.chromium.content_public.browser.WebContents;
@@ -121,7 +121,7 @@ public class Tab implements NavigationClient {
// Content layer Observers and Delegates
private ContentViewClient mContentViewClient;
- private WebContentsObserverAndroid mWebContentsObserver;
+ private WebContentsObserver mWebContentsObserver;
private VoiceSearchTabHelper mVoiceSearchTabHelper;
private TabChromeWebContentsDelegateAndroid mWebContentsDelegate;
private DomDistillerFeedbackReporter mDomDistillerFeedbackReporter;
@@ -261,8 +261,8 @@ public class Tab implements NavigationClient {
}
}
- private class TabWebContentsObserverAndroid extends WebContentsObserverAndroid {
- public TabWebContentsObserverAndroid(WebContents webContents) {
+ private class TabWebContentsObserver extends WebContentsObserver {
+ public TabWebContentsObserver(WebContents webContents) {
super(webContents);
}
@@ -808,7 +808,7 @@ public class Tab implements NavigationClient {
mContentViewCore = cvc;
mWebContentsDelegate = createWebContentsDelegate();
- mWebContentsObserver = new TabWebContentsObserverAndroid(mContentViewCore.getWebContents());
+ mWebContentsObserver = new TabWebContentsObserver(mContentViewCore.getWebContents());
mVoiceSearchTabHelper = new VoiceSearchTabHelper(mContentViewCore.getWebContents());
if (mContentViewClient != null) mContentViewCore.setContentViewClient(mContentViewClient);

Powered by Google App Engine
This is Rietveld 408576698