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

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: 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 4d437604a28e7dc5d459bdd677de6862c4c3856d..f0cc4212d2551d15b00a706b24dfa62b2ae22658 100644
--- a/content/public/browser/render_view_host_delegate.h
+++ b/content/public/browser/render_view_host_delegate.h
@@ -327,6 +327,13 @@ class CONTENT_EXPORT RenderViewHostDelegate : public IPC::Channel::Listener {
// The page wants to close the active view in this tab.
virtual void RouteCloseEvent(RenderViewHost* rvh) {}
+ // 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);
joth 2012/05/11 15:34:13 I wonder if it would be preferable to have this un
mkosiba (inactive) 2012/05/15 14:20:23 As the change is now the new throttle is built (an
+
// 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