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

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: 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 82d0e30e1e799a82fc79a98c4dc53805c4e65685..24833829818a0245a3d0b45428647cca3fcdc929 100644
--- a/content/public/browser/render_view_host_delegate.cc
+++ b/content/public/browser/render_view_host_delegate.cc
@@ -39,6 +39,14 @@ bool RenderViewHostDelegate::PreHandleKeyboardEvent(
return false;
}
+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