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

Unified Diff: chrome/browser/ui/browser_window_state.cc

Issue 225303016: Elim kRestorePopups (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
« no previous file with comments | « chrome/browser/sessions/session_service_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_window_state.cc
diff --git a/chrome/browser/ui/browser_window_state.cc b/chrome/browser/ui/browser_window_state.cc
index bc2232562c14dc50bb5771d6e21debbc35f43792..84fdc82128a08f986932a987e0c67e87de1a43a7 100644
--- a/chrome/browser/ui/browser_window_state.cc
+++ b/chrome/browser/ui/browser_window_state.cc
@@ -55,10 +55,9 @@ bool ShouldSaveWindowPlacement(const Browser* browser) {
case Browser::TYPE_TABBED:
return true;
case Browser::TYPE_POPUP:
- // Only save the window placement of popups if they are restored,
- // or the window belongs to DevTools or an App.
- return browser_defaults::kRestorePopups || browser->is_devtools() ||
- browser->is_app();
+ // Only save the window placement of popups if the window belongs to
+ // DevTools or an App.
+ return browser->is_devtools() || browser->is_app();
default:
return false;
}
« no previous file with comments | « chrome/browser/sessions/session_service_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698