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

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

Issue 20924002: Try to restore window.opener when opening blocked popups (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 5 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/navigation_controller.cc
diff --git a/content/public/browser/navigation_controller.cc b/content/public/browser/navigation_controller.cc
index f6502a3c524a13ad67771950f3fee7d2fe0b2f76..4047b4368cef10c06e035546058d093e5ffc3248 100644
--- a/content/public/browser/navigation_controller.cc
+++ b/content/public/browser/navigation_controller.cc
@@ -17,7 +17,8 @@ NavigationController::LoadURLParams::LoadURLParams(const GURL& url)
browser_initiated_post_data(NULL),
can_load_local_resources(false),
should_replace_current_entry(false),
- should_clear_history_list(false) {
+ should_clear_history_list(false),
+ should_stay_in_site_instance(false) {
}
NavigationController::LoadURLParams::~LoadURLParams() {
@@ -37,7 +38,8 @@ NavigationController::LoadURLParams::LoadURLParams(
virtual_url_for_data_url(other.virtual_url_for_data_url),
browser_initiated_post_data(other.browser_initiated_post_data),
should_replace_current_entry(false),
- should_clear_history_list(false) {
+ should_clear_history_list(false),
+ should_stay_in_site_instance(false) {
}
NavigationController::LoadURLParams&
@@ -56,6 +58,7 @@ NavigationController::LoadURLParams::operator=(
browser_initiated_post_data = other.browser_initiated_post_data;
should_replace_current_entry = other.should_replace_current_entry;
should_clear_history_list = other.should_clear_history_list;
+ should_stay_in_site_instance = other.should_stay_in_site_instance;
return *this;
}

Powered by Google App Engine
This is Rietveld 408576698