Move printToPDF API to WebContents.
Also expose in webview.
This commit is contained in:
parent
2597ded985
commit
c0a6cb69bf
6 changed files with 22 additions and 23 deletions
|
@ -90,6 +90,9 @@ class WebContents : public mate::EventEmitter,
|
|||
void SetAudioMuted(bool muted);
|
||||
bool IsAudioMuted();
|
||||
|
||||
// Print current page as PDF.
|
||||
void PrintToPDF(mate::Arguments* args);
|
||||
|
||||
// Editing commands.
|
||||
void Undo();
|
||||
void Redo();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue