Print enhancement: add webContents.printerList And a print option to select printer
This commit is contained in:
parent
093b844859
commit
023a3fd547
15 changed files with 290 additions and 27 deletions
|
@ -23,7 +23,8 @@ PrintMsg_Print_Params::PrintMsg_Print_Params()
|
|||
print_scaling_option(blink::WebPrintScalingOptionSourceSize),
|
||||
title(),
|
||||
url(),
|
||||
should_print_backgrounds(false) {
|
||||
should_print_backgrounds(false),
|
||||
device_name() {
|
||||
}
|
||||
|
||||
PrintMsg_Print_Params::~PrintMsg_Print_Params() {}
|
||||
|
@ -45,6 +46,7 @@ void PrintMsg_Print_Params::Reset() {
|
|||
title.clear();
|
||||
url.clear();
|
||||
should_print_backgrounds = false;
|
||||
device_name.clear();
|
||||
}
|
||||
|
||||
PrintMsg_PrintPages_Params::PrintMsg_PrintPages_Params()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue