Chromium Code Reviews
DescriptionMac: don't restore explicitly closed windows.
With "On startup"/"Restore the pages that were open last" set (in Preferences), a window which was explicitly closed (using the red button, Cmd-Shift-W, the menu item -- but not due to quit) should not be restored on startup. This is the behaviour of Firefox and Camino (Safari doesn't appear to implement this feature).
Note about this patch: Depending on how we decide things will work for App mode, much more code could be disabled on Mac.
BUG=13341
TEST=Set the browser to restore pages on start (see above). Navigate somewhere interesting; close window; quit; restart; should open a browser with default window (NTP or homepage or whatever). Navigate somewhere; quit; restart; should open previously opened stuff. Make sure that session restore (also crash recovery) still work as expected.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=31164
Patch Set 1 #
Total comments: 6
Patch Set 2 : Updated per sky's review. #
Total comments: 1
Patch Set 3 : Updated comment per sky's re-review. #
Messages
Total messages: 6 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||