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

@ -157,7 +157,7 @@ class NativeWindow : public brightray::DefaultWebContentsDelegate,
const CapturePageCallback& callback);
// Print current page.
virtual void Print();
virtual void Print(bool silent, bool print_background);
// The same with closing a tab in a real browser.
//