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

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: add a bridge for aw_contents_client 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
Index: android_webview/native/aw_contents.h
diff --git a/android_webview/native/aw_contents.h b/android_webview/native/aw_contents.h
index 78ababc8ab1c25a1a663de88a846141714e26579..3faaf841ab1f1b6dfa448814870063f4d6ae0058 100644
--- a/android_webview/native/aw_contents.h
+++ b/android_webview/native/aw_contents.h
@@ -39,6 +39,7 @@ class WebContents;
namespace android_webview {
class AwContentsContainer;
+class AwContentsClientBridge;
class AwWebContentsDelegate;
// Native side of java-class of same name.
@@ -178,6 +179,9 @@ class AwContents : public FindHelper::Listener,
// and block until the result is received.
skia::RefPtr<SkPicture> GetLastCapturedPicture();
+ AwContentsClientBridge* get_aw_contents_client_bridge();
+ void set_aw_contents_client_bridge(AwContentsClientBridge* bridge);
+
private:
void Invalidate();
void SetWebContents(content::WebContents* web_contents);
@@ -189,6 +193,7 @@ class AwContents : public FindHelper::Listener,
JavaObjectWeakGlobalRef java_ref_;
scoped_ptr<content::WebContents> web_contents_;
+ scoped_ptr<AwContentsClientBridge> contents_client_bridge_;
scoped_ptr<AwWebContentsDelegate> web_contents_delegate_;
scoped_ptr<AwRenderViewHostExt> render_view_host_ext_;
scoped_ptr<FindHelper> find_helper_;

Powered by Google App Engine
This is Rietveld 408576698