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

Unified Diff: content/public/browser/web_contents.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: incorporated feedback 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.h
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
index 0136e6a61c31dc67a442649cc84193922ce488a7..f869ca0e0cdae39fb2ed283a65f123374baca1b9 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -389,6 +389,11 @@ class WebContents : public PageNavigator {
// Does this have an opener associated with it?
virtual bool HasOpener() const = 0;
+
+ // Should we ignore this top level navigation?
+ virtual bool ShouldIgnoreNavigation(const GURL& url,
+ const content::Referrer& referrer,
+ bool is_content_initiated) = 0;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698