Chromium Code Reviews
DescriptionBe able to print items that do window.print(); window.close() (airline tix e.g.)
This is not commitable due to too many logs, and could stand some clean up.
Please review locations of code and provide feedback of how it's done.
Basic gist - hide; don't close initiator tabs, "own" them in the background printing manager,
release them when they're no longer needed, deleting if owned.
R=thestig@chromium.org
BUG=87362
TEST=Create html file with window.print(); window.close(); and then print, cancel or close the print tab.
Patch Set 1 #Patch Set 2 : Rebase. #
Total comments: 2
Patch Set 3 : Removed some logging, wrote a test for print(), close(). #Patch Set 4 : Rollback pref logging, and logs in pp_tab_controller. #Patch Set 5 : Rebase #Patch Set 6 : Do register if there's no initiator tab, and don't register twice if there is. #Patch Set 7 : Rebase + Release initiator when preview tab is closed. #
Total comments: 4
Patch Set 8 : Address Kausalya's comments. #
Total comments: 22
Patch Set 9 : Addressed comments. #
Total comments: 24
Patch Set 10 : Addressed Lei's comments. #
Total comments: 2
Messages
Total messages: 13 (0 generated)
|