onPrintDialog
abstract fun onPrintDialog(browser: CefBrowser, hasSelection: Boolean, callback: CefPrintDialogCallback): Boolean
Called to show the print dialog.
Return
True if the dialog will be displayed or false to cancel the printing immediately.
Parameters
browser
The corresponding browser.
hasSelection
True if the user has selected a region of the page to print.
callback
Callback to execute after the dialog is dismissed.