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

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

Issue 650333003: Remove deprecated class WebContentsObserverAndroid and cleanup existing usages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « no previous file | content/public/android/java/src/org/chromium/content/browser/WebContentsObserverAndroid.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/WebsiteSettingsPopupLegacy.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/WebsiteSettingsPopupLegacy.java b/chrome/android/java/src/org/chromium/chrome/browser/WebsiteSettingsPopupLegacy.java
index 729ed315b75aa440c55c0802b5c688646b1b3055..33fa70a02bb34174945d82d6117ea3fafd5da455 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/WebsiteSettingsPopupLegacy.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/WebsiteSettingsPopupLegacy.java
@@ -25,7 +25,7 @@ import android.widget.TextView;
import org.chromium.base.ApiCompatibilityUtils;
import org.chromium.base.CalledByNative;
import org.chromium.chrome.R;
-import org.chromium.content.browser.WebContentsObserverAndroid;
+import org.chromium.content.browser.WebContentsObserver;
import org.chromium.content_public.browser.WebContents;
import java.net.URISyntaxException;
@@ -67,8 +67,8 @@ public class WebsiteSettingsPopupLegacy implements OnClickListener {
mDialog.setCanceledOnTouchOutside(true);
// This needs to come after other member initialization.
mNativeWebsiteSettingsPopupLegacy = nativeInit(this, webContents);
- final WebContentsObserverAndroid webContentsObserver =
- new WebContentsObserverAndroid(mWebContents) {
+ final WebContentsObserver webContentsObserver =
+ new WebContentsObserver(mWebContents) {
@Override
public void navigationEntryCommitted() {
// If a navigation is committed (e.g. from in-page redirect), the data we're
« no previous file with comments | « no previous file | content/public/android/java/src/org/chromium/content/browser/WebContentsObserverAndroid.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698