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

Unified Diff: android_webview/glue/java/src/com/android/webview/chromium/WebViewContentsClientAdapter.java

Issue 2386513002: Implement getWebViewClient and getWebChromeClient (Closed)
Patch Set: Created 4 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 | « android_webview/glue/java/src/com/android/webview/chromium/WebViewChromium.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/glue/java/src/com/android/webview/chromium/WebViewContentsClientAdapter.java
diff --git a/android_webview/glue/java/src/com/android/webview/chromium/WebViewContentsClientAdapter.java b/android_webview/glue/java/src/com/android/webview/chromium/WebViewContentsClientAdapter.java
index 0748152047771c619c4a2ad238d46ac1ae12cab7..df71dd90b37ed3f6983be07cab730a3c3ddfc8a2 100644
--- a/android_webview/glue/java/src/com/android/webview/chromium/WebViewContentsClientAdapter.java
+++ b/android_webview/glue/java/src/com/android/webview/chromium/WebViewContentsClientAdapter.java
@@ -171,10 +171,18 @@ public class WebViewContentsClientAdapter extends AwContentsClient {
}
}
+ WebViewClient getWebViewClient() {
+ return mWebViewClient;
sgurun-gerrit only 2016/09/30 17:55:23 what does this return if no webviewclient is set?
hush (inactive) 2016/09/30 18:01:26 It returns the sNullWebViewClient
Nate Fischer 2016/09/30 18:02:09 This one gets initialized to sNullWebViewClient (a
+ }
+
void setWebChromeClient(WebChromeClient client) {
mWebChromeClient = client;
}
+ WebChromeClient getWebChromeClient() {
+ return mWebChromeClient;
+ }
+
void setDownloadListener(DownloadListener listener) {
mDownloadListener = listener;
}
« no previous file with comments | « android_webview/glue/java/src/com/android/webview/chromium/WebViewChromium.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698