Chromium Code Reviews
DescriptionBlock printing from blocked popup.
Adds a check in the window.print call to make window.print fail if called from a blocked popup.
Also adds handling to print_preview_tab_controller.cc to mark preview as done if the creation of the print preview ui fails.
BUG=117955
TEST=Open test page attached to bug 117955. Allow the blocked popup. Ctrl-P should work normally.
Patch Set 1 #Patch Set 2 : Remove unneeded forward include #Patch Set 3 : Fix copy-paste error #Patch Set 4 : Test fixes #Patch Set 5 : More test fixes #
Total comments: 11
Patch Set 6 : Feedback #Patch Set 7 : Whitespace #Patch Set 8 : Fix init order #Messages
Total messages: 9 (0 generated)
|