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

Unified Diff: android_webview/native/aw_contents.cc

Issue 10946008: Componentize IgnoreNavigationResourceThrottle and add chrome and webview specific implementations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: android_webview/native/aw_contents.cc
diff --git a/android_webview/native/aw_contents.cc b/android_webview/native/aw_contents.cc
index 9984b1981bca19777a04ad8847e3f62428d071b8..c2bc8c8a498d5aebf2f7db629db12bfe7e4c8d60 100644
--- a/android_webview/native/aw_contents.cc
+++ b/android_webview/native/aw_contents.cc
@@ -87,6 +87,10 @@ void AwContents::Destroy(JNIEnv* env, jobject obj) {
delete this;
}
+AwWebContentsDelegate* AwContents::GetAwWebContentsDelegate() const {
+ return web_contents_delegate_.get();
+}
+
namespace {
// |message| is passed as base::Owned, so it will automatically be deleted
// when the callback goes out of scope.

Powered by Google App Engine
This is Rietveld 408576698