Add "silent" and "print_background" option for printing.

This commit is contained in:
Cheng Zhao 2014-08-22 15:01:07 +08:00
parent d0c1b63064
commit e43b3309af
10 changed files with 56 additions and 34 deletions

View file

@ -22,7 +22,6 @@ PrintMsg_Print_Params::PrintMsg_Print_Params()
selection_only(false),
supports_alpha_blend(false),
print_scaling_option(blink::WebPrintScalingOptionSourceSize),
print_to_pdf(false),
title(),
url(),
should_print_backgrounds(false) {
@ -44,7 +43,6 @@ void PrintMsg_Print_Params::Reset() {
selection_only = false;
supports_alpha_blend = false;
print_scaling_option = blink::WebPrintScalingOptionSourceSize;
print_to_pdf = false;
title.clear();
url.clear();
should_print_backgrounds = false;