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

Unified Diff: android_webview/native/aw_contents.h

Issue 10946008: Componentize IgnoreNavigationResourceThrottle and add chrome and webview specific implementations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moved jni to component, added Java test code Created 8 years, 2 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 d03cf69263f5062fe05f2e53db28f8f3b7294105..21bf3ebbad35f3323abaa7e36e646943911428ba 100644
--- a/android_webview/native/aw_contents.h
+++ b/android_webview/native/aw_contents.h
@@ -53,6 +53,8 @@ class AwContents : public FindHelper::Listener {
const string16& message_text,
const base::android::ScopedJavaLocalRef<jobject>& js_result);
+ AwWebContentsDelegate* GetAwWebContentsDelegate() const;
joth 2012/10/03 22:01:32 I missed where this is used. If we can avoid this
mkosiba (inactive) 2012/10/08 15:09:12 this was left over from the previous approach. rem
+
// |handler| is an instance of
// org.chromium.android_webview.AwHttpAuthHandler.
void onReceivedHttpAuthRequest(const base::android::JavaRef<jobject>& handler,
@@ -65,6 +67,8 @@ class AwContents : public FindHelper::Listener {
void DocumentHasImages(JNIEnv* env, jobject obj, jobject message);
void GenerateMHTML(JNIEnv* env, jobject obj, jstring jpath, jobject callback);
void SetIoThreadClient(JNIEnv* env, jobject obj, jobject client);
+ void SetInterceptNavigationDelegate(JNIEnv* env, jobject obj,
+ jobject delegate);
// Find-in-page API and related methods.
jint FindAllSync(JNIEnv* env, jobject obj, jstring search_string);

Powered by Google App Engine
This is Rietveld 408576698