Move printToPDF API to WebContents.

Also expose in webview.
This commit is contained in:
Haojian Wu 2015-06-09 13:07:40 +08:00
parent 2597ded985
commit c0a6cb69bf
6 changed files with 22 additions and 23 deletions

View file

@ -158,10 +158,6 @@ class NativeWindow : public CommonWebContentsDelegate,
// Print current page.
virtual void Print(bool silent, bool print_background);
// Print current page as PDF.
virtual void PrintToPDF(const mate::Dictionary& options,
const PrintToPDFCallback& callback);
// Show popup dictionary.
virtual void ShowDefinitionForSelection();