mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Allow customization of print options via CefHandler::HandlePrintOptions() (issue #112).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@98 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -215,6 +215,16 @@ CefHandler::RetVal CefHandlerCToCpp::HandleMenuAction(
|
||||
menuId);
|
||||
}
|
||||
|
||||
CefHandler::RetVal CefHandlerCToCpp::HandlePrintOptions(
|
||||
CefRefPtr<CefBrowser> browser, CefPrintOptions& printOptions)
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, handle_print_options))
|
||||
return RV_CONTINUE;
|
||||
|
||||
return struct_->handle_print_options(struct_, CefBrowserCppToC::Wrap(browser),
|
||||
&printOptions);
|
||||
}
|
||||
|
||||
CefHandler::RetVal CefHandlerCToCpp::HandlePrintHeaderFooter(
|
||||
CefRefPtr<CefBrowser> browser, CefRefPtr<CefFrame> frame,
|
||||
CefPrintInfo& printInfo, const std::wstring& url,
|
||||
|
Reference in New Issue
Block a user