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

Unified Diff: android_webview/java/src/org/chromium/android_webview/AwContents.java

Issue 10969071: [Android] Install a WebContentsObserverAndroid in android_webview. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: add assert Created 8 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
« no previous file with comments | « no previous file | android_webview/java/src/org/chromium/android_webview/AwContentsClient.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/java/src/org/chromium/android_webview/AwContents.java
diff --git a/android_webview/java/src/org/chromium/android_webview/AwContents.java b/android_webview/java/src/org/chromium/android_webview/AwContents.java
index 6ced2b24ad5958f3c1d36f2b89f2239630647fb3..fa1dde2bdb13057a0cbfbe137669bf75f0ccd45c 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwContents.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwContents.java
@@ -82,6 +82,7 @@ public class AwContents {
nativeGetWebContents(mNativeAwContents), nativeWindow,
isAccessFromFileURLsGrantedByDefault);
mContentViewCore.setContentViewClient(contentsClient);
+ mContentsClient.installWebContentsObserver(mContentViewCore);
}
public ContentViewCore getContentViewCore() {
« no previous file with comments | « no previous file | android_webview/java/src/org/chromium/android_webview/AwContentsClient.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698