mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Add CefPrintHandler::OnPrintStart callback (issue #1736)
This commit is contained in:
@ -82,6 +82,15 @@ class CefPrintJobCallback : public virtual CefBase {
|
||||
/*--cef(source=client)--*/
|
||||
class CefPrintHandler : public virtual CefBase {
|
||||
public:
|
||||
///
|
||||
// Called when printing has started for the specified |browser|. This method
|
||||
// will be called before the other OnPrint*() methods and irrespective of how
|
||||
// printing was initiated (e.g. CefBrowserHost::Print(), JavaScript
|
||||
// window.print() or PDF extension print button).
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual void OnPrintStart(CefRefPtr<CefBrowser> browser) =0;
|
||||
|
||||
///
|
||||
// Synchronize |settings| with client state. If |get_defaults| is true then
|
||||
// populate |settings| with the default print settings. Do not keep a
|
||||
|
Reference in New Issue
Block a user