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

Unified Diff: android_webview/native/aw_contents.h

Issue 12091111: Implement Webviewclient.onReceivedSslError (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: wasting time... Created 7 years, 10 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/native/android_webview_jni_registrar.cc ('k') | android_webview/native/aw_contents.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/native/aw_contents.h
diff --git a/android_webview/native/aw_contents.h b/android_webview/native/aw_contents.h
index 889aaa875b6e9571450f267a12680dc115ba1ca2..06698d55e1df20c8c1062f985c02c5550c04131e 100644
--- a/android_webview/native/aw_contents.h
+++ b/android_webview/native/aw_contents.h
@@ -30,6 +30,7 @@ class WebContents;
namespace android_webview {
class AwContentsContainer;
+class AwContentsClientBridge;
class AwWebContentsDelegate;
// Native side of java-class of same name.
@@ -55,7 +56,8 @@ class AwContents : public FindHelper::Listener,
AwContents(JNIEnv* env,
jobject obj,
- jobject web_contents_delegate);
+ jobject web_contents_delegate,
+ jobject contents_client_bridge);
virtual ~AwContents();
AwRenderViewHostExt* render_view_host_ext() {
@@ -78,13 +80,14 @@ class AwContents : public FindHelper::Listener,
// |handler| is an instance of
// org.chromium.android_webview.AwHttpAuthHandler.
- void OnReceivedHttpAuthRequest(const base::android::JavaRef<jobject>& handler,
+ bool OnReceivedHttpAuthRequest(const base::android::JavaRef<jobject>& handler,
const std::string& host,
const std::string& realm);
// Methods called from Java.
jint GetWebContents(JNIEnv* env, jobject obj);
void SetWebContents(JNIEnv* env, jobject obj, jint web_contents);
+ jint GetAwContentsClientBridge(JNIEnv* env, jobject obj);
void DidInitializeContentViewCore(JNIEnv* env, jobject obj,
jint content_view_core);
@@ -165,6 +168,7 @@ class AwContents : public FindHelper::Listener,
JavaObjectWeakGlobalRef java_ref_;
scoped_ptr<content::WebContents> web_contents_;
scoped_ptr<AwWebContentsDelegate> web_contents_delegate_;
+ scoped_ptr<AwContentsClientBridge> contents_client_bridge_;
scoped_ptr<AwRenderViewHostExt> render_view_host_ext_;
scoped_ptr<FindHelper> find_helper_;
scoped_ptr<IconHelper> icon_helper_;
« no previous file with comments | « android_webview/native/android_webview_jni_registrar.cc ('k') | android_webview/native/aw_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698