Molybden API
Loading...
Searching...
No Matches
molybden::SaveAsPdfAction Class Reference

The BrowserDelegates::onSaveAsPdf action arguments. More...

#include <browser_delegates.hpp>

Inheritance diagram for molybden::SaveAsPdfAction:
molybden::Action

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_
 

Detailed Description

The BrowserDelegates::onSaveAsPdf action arguments.


The documentation for this class was generated from the following file: