DescriptionRemove details from BROWSER_CLOSING and BROWSER_CLOSED notifications.
The details was a boolean indicating whether this is the last browser window closing. As part of this change the logic for saving pinned tabs has been changed to not use the boolean in the details, and has been updated to handle the case where a user exit or closing of the last window is cancelled by an onbeforeunload event.
Also as part of this change, both the pinned tab and multi profile features have been updated to handle cases of the browser process not being closed due to background mode or (in the future) packaged apps, and then more browser windows being opened.
BUG=None
TEST=Test shutdown
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148281
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148741
Patch Set 1 #Patch Set 2 : Handle pinned tabs #
Total comments: 3
Patch Set 3 : Updated logic / comment for pinned tabs #
Total comments: 2
Patch Set 4 : Restore pinned tab saving on window or tab open #Patch Set 5 : Fixed automation #
Messages
Total messages: 19 (0 generated)
|