Add options to custom print settings in printToPDF API.
This commit is contained in:
parent
9cf9229308
commit
ce8bbb689c
6 changed files with 40 additions and 11 deletions
|
@ -158,7 +158,7 @@ class NativeWindow : public CommonWebContentsDelegate,
|
|||
virtual void Print(bool silent, bool print_background);
|
||||
|
||||
// Print current page as PDF.
|
||||
virtual void PrintToPDF();
|
||||
virtual void PrintToPDF(const mate::Dictionary& options);
|
||||
|
||||
// Show popup dictionary.
|
||||
virtual void ShowDefinitionForSelection();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue