Add support for printing via CefBrowserHost::Print() and JavaScript window.print() (issue #505).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1479 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2013-10-23 19:30:47 +00:00
parent f248b937f9
commit bc1ea4974a
35 changed files with 1960 additions and 20 deletions

View File

@ -366,6 +366,12 @@ class CefBrowserHost : public virtual CefBase {
/*--cef()--*/
virtual void StartDownload(const CefString& url) =0;
///
// Print the current browser contents.
///
/*--cef()--*/
virtual void Print() =0;
///
// Set whether mouse cursor change is disabled.
///
@ -485,7 +491,6 @@ class CefBrowserHost : public virtual CefBase {
///
/*--cef()--*/
virtual void HandleKeyEventAfterTextInputClient(CefEventHandle keyEvent) =0;
};
#endif // CEF_INCLUDE_CEF_BROWSER_H_