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

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: removed code from web_contents_impl Created 8 years, 7 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 118540217d2f70dc9060c2818dafe3661fb1794f..d8749afcf5c717d8d53af436570c43dc6325365c 100644
--- a/content/public/browser/web_contents_delegate.cc
+++ b/content/public/browser/web_contents_delegate.cc
@@ -24,6 +24,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;
}

Powered by Google App Engine
This is Rietveld 408576698