DescriptionFix Panel to always detect when a tab is added.
This solves the problem when chrome.windows.create() is used to create a panel with a tabid. Panel was watching for NOTIFICATION_TAB_ADDED, which is only sent upon browser navigation. As there is no navigation when existing tab contents are used, the Panel does not set up auto-resize in this scenario.
BUG=None
TEST=PanelBrowserTest.CreateWithExistingContents
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110179
Patch Set 1 #
Total comments: 8
Patch Set 2 : feedback changes #
Total comments: 1
Patch Set 3 : Fix tests. #
Total comments: 3
Patch Set 4 : Test cleanup and fix Mac test hang #
Messages
Total messages: 11 (0 generated)
|