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

Unified Diff: android_webview/native/aw_web_contents_delegate.h

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_web_contents_delegate.h
diff --git a/android_webview/native/aw_web_contents_delegate.h b/android_webview/native/aw_web_contents_delegate.h
index add2052acf4b32f8a08d979fe7c25871c03dea9d..a77f8a4308bf552b5c408131df967d15f432f0ee 100644
--- a/android_webview/native/aw_web_contents_delegate.h
+++ b/android_webview/native/aw_web_contents_delegate.h
@@ -9,6 +9,8 @@
#include "chrome/browser/component/web_contents_delegate_android/web_contents_delegate_android.h"
+class GURL;
+
namespace android_webview {
// WebView specific WebContentsDelegate.
@@ -19,8 +21,12 @@ class AwWebContentsDelegate
public:
AwWebContentsDelegate(JNIEnv* env, jobject obj);
virtual ~AwWebContentsDelegate();
+
+ bool ShouldIgnoreNavigation(const GURL& url);
};
+bool RegisterAwWebContentsDelegate(JNIEnv* env);
+
} // namespace android_webview
#endif // ANDROID_WEBVIEW_NATIVE_AW_WEB_CONTENTS_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698