Molybden API
|
The BrowserDelegates::onSaveAsPdf action arguments. More...
#include <browser_delegates.hpp>
Public Member Functions | |
SaveAsPdfAction (std::unique_ptr< rpc::internal::Callback > callback) | |
void | save (const std::string &file_path) |
Save the PDF file into the given target file path without displaying a Save File dialog. | |
void | cancel () |
Cancel request to save the PDF file. | |
void | prompt () |
Show the native Save File dialog when the user can select the directory where to save the PDF file. | |
Public Member Functions inherited from molybden::Action | |
Action (std::unique_ptr< rpc::internal::Callback > callback) | |
Additional Inherited Members | |
Protected Attributes inherited from molybden::Action | |
std::unique_ptr< rpc::internal::Callback > | callback_ |
The BrowserDelegates::onSaveAsPdf action arguments.