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

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

Issue 10702083: Add ContentViewDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo 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/AwContentsIoThreadClient.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 94b0eae75dacaf9cc1ede495ddde70efedf4a9c9..69c1526c331c6b624f462bc3a6dcc0f75f70eb10 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwContents.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwContents.java
@@ -26,6 +26,7 @@ public class AwContents {
private int mNativeAwContents;
private ContentViewCore mContentViewCore;
private AwContentsClient mContentsClient;
+ private AwContentsIoThreadClient mIoThreadClient;
private static final class DestroyRunnable implements Runnable {
private int mNativeAwContents;
@@ -72,6 +73,11 @@ public class AwContents {
return mContentViewCore;
}
+ public void setIoThreadClient(AwContentsIoThreadClient ioThreadClient) {
+ mIoThreadClient = ioThreadClient;
+ nativeSetIoThreadClient(mNativeAwContents, mIoThreadClient);
+ }
+
public void destroy() {
if (mContentViewCore != null) {
mContentViewCore.destroy();
@@ -122,4 +128,7 @@ public class AwContents {
private native int nativeGetWebContents(int nativeAwContents);
private native void nativeDocumentHasImages(int nativeAwContents, Message message);
+
+ private native void nativeSetIoThreadClient(int nativeAwContents,
+ AwContentsIoThreadClient ioThreadClient);
}
« no previous file with comments | « no previous file | android_webview/java/src/org/chromium/android_webview/AwContentsIoThreadClient.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698