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

Unified Diff: chrome/browser/android/chrome_web_contents_delegate_android.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: chrome/browser/android/chrome_web_contents_delegate_android.h
diff --git a/chrome/browser/android/chrome_web_contents_delegate_android.h b/chrome/browser/android/chrome_web_contents_delegate_android.h
index dea38f835bf7e202d5793815e27f640838bf92d8..22aefb00d31512c056cfcc0fb8ba9f00ff7be203 100644
--- a/chrome/browser/android/chrome_web_contents_delegate_android.h
+++ b/chrome/browser/android/chrome_web_contents_delegate_android.h
@@ -12,6 +12,7 @@
#include "content/public/browser/notification_registrar.h"
class FindNotificationDetails;
+class GURL;
namespace content {
struct FileChooserParams;
@@ -50,6 +51,8 @@ class ChromeWebContentsDelegateAndroid
int version,
const std::vector<gfx::RectF>& rects,
const gfx::RectF& active_rect) OVERRIDE;
+ virtual bool ShouldIgnoreNavigation(const GURL& url,
+ bool is_content_initiated);
private:
// NotificationObserver implementation.

Powered by Google App Engine
This is Rietveld 408576698