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

Unified Diff: content/public/browser/render_view_host_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: fix layering problem with unittest 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/render_view_host_delegate.cc
diff --git a/content/public/browser/render_view_host_delegate.cc b/content/public/browser/render_view_host_delegate.cc
index a056a7079ce56321c5ed1d16127ae2db7245a734..0c1489ca4f41ce1b86d7a85628eb22bbad0856e2 100644
--- a/content/public/browser/render_view_host_delegate.cc
+++ b/content/public/browser/render_view_host_delegate.cc
@@ -34,6 +34,14 @@ webkit_glue::WebPreferences RenderViewHostDelegate::GetWebkitPrefs() {
return webkit_glue::WebPreferences();
}
+bool RenderViewHostDelegate::ShouldIgnoreNavigation(
+ RenderViewHost* rvh,
+ const GURL& url,
+ const content::Referrer& referrer,
+ bool is_content_initiated) {
+ return false;
+}
+
bool RenderViewHostDelegate::IsFullscreenForCurrentTab() const {
return false;
}

Powered by Google App Engine
This is Rietveld 408576698