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

Unified Diff: content/public/browser/render_view_host_delegate.h

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.h
diff --git a/content/public/browser/render_view_host_delegate.h b/content/public/browser/render_view_host_delegate.h
index a024469b96836bf82cec74d8b45773a441365ab5..f74549c7d548a000e427c85ec927ec932c8b84ee 100644
--- a/content/public/browser/render_view_host_delegate.h
+++ b/content/public/browser/render_view_host_delegate.h
@@ -336,6 +336,13 @@ class CONTENT_EXPORT RenderViewHostDelegate : public IPC::Channel::Listener {
RenderViewHost* rvh,
const ViewMsg_PostMessage_Params& params) {}
+ // The page is asking whether to ignore the navigation.
+ virtual bool ShouldIgnoreNavigation(
+ RenderViewHost* rvh,
+ const GURL& url,
+ const content::Referrer& referrer,
+ bool is_content_initiated);
+
// A javascript message, confirmation or prompt should be shown.
virtual void RunJavaScriptMessage(RenderViewHost* rvh,
const string16& message,

Powered by Google App Engine
This is Rietveld 408576698