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

Unified Diff: content/public/browser/web_contents_delegate.cc

Issue 10310124: Implement a ResourceThrottle for URL overriding in Chrome on Android. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fixed chromeos build issue + rebase Created 8 years, 6 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: content/public/browser/web_contents_delegate.cc
diff --git a/content/public/browser/web_contents_delegate.cc b/content/public/browser/web_contents_delegate.cc
index 839b7a0f75fdc6cc9e48a435c41b1333c37dcffa..ec448f273ea397e2c8a1ddc76ff12d278c63f51f 100644
--- a/content/public/browser/web_contents_delegate.cc
+++ b/content/public/browser/web_contents_delegate.cc
@@ -25,6 +25,14 @@ WebContents* WebContentsDelegate::OpenURLFromTab(WebContents* source,
return NULL;
}
+bool WebContentsDelegate::ShouldIgnoreNavigation(
+ WebContents* source,
+ const GURL& validated_url,
+ const content::Referrer& referrer,
+ bool is_content_initiated) {
+ return false;
+}
+
bool WebContentsDelegate::IsPopupOrPanel(const WebContents* source) const {
return false;
}
« content/public/browser/render_view_host.h ('K') | « content/public/browser/web_contents_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698