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

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

Issue 9978015: Make browser_handles_top_level_requests synchronous. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ExternalTabContainer::ShouldIgnoreNavigation returns true if is_content_initiated Created 8 years, 8 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..1dd86ea901a409ec7b31fb4afeda115084538b06 100644
--- a/content/public/browser/render_view_host_delegate.cc
+++ b/content/public/browser/render_view_host_delegate.cc
@@ -39,6 +39,15 @@ bool RenderViewHostDelegate::PreHandleKeyboardEvent(
return false;
}
+bool RenderViewHostDelegate::ShouldIgnoreNavigation(
+ const GURL& url,
+ const content::Referrer& referrer,
+ WindowOpenDisposition disposition,
+ int64 source_frame_id,
+ bool is_content_initiated) {
+ return false;
+}
+
bool RenderViewHostDelegate::IsFullscreenForCurrentTab() const {
return false;
}

Powered by Google App Engine
This is Rietveld 408576698