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

Unified Diff: content/renderer/render_view.cc

Issue 7624011: Keep normal popups opened from same-origin iframes in an extension process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Switch to canRequest. Created 9 years, 4 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
« no previous file with comments | « content/renderer/mock_content_renderer_client.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view.cc
diff --git a/content/renderer/render_view.cc b/content/renderer/render_view.cc
index e227887f66f1c75d56c31e6e620960d7e287540c..dc259b731282a3e933cc7b675b78a137c6ebdf5f 100644
--- a/content/renderer/render_view.cc
+++ b/content/renderer/render_view.cc
@@ -2149,8 +2149,10 @@ WebNavigationPolicy RenderView::decidePolicyForNavigation(
if (!should_fork) {
// Give the embedder a chance.
+ bool is_initial_navigation = page_id_ == -1;
should_fork = content::GetContentClient()->renderer()->ShouldFork(
- frame, url, is_content_initiated, &send_referrer);
+ frame, url, is_content_initiated, is_initial_navigation,
+ &send_referrer);
}
if (should_fork) {
« no previous file with comments | « content/renderer/mock_content_renderer_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698