|
Molybden
|
The BrowserDelegates::onStartDownload action. More...
#include <browser_delegates.hpp>
Public Member Functions | |
| StartDownloadAction (std::unique_ptr< rpc::internal::Callback > callback) | |
| void | download (const std::string &file_path) |
| Download and save the file at the given file path without displaying the Save File dialog. | |
| void | cancel () |
| Cancel file download. | |
| void | prompt () |
| Display the native Save File dialog where the end user can select the directory where to save the file or cancel file download. | |
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::onStartDownload action.
| void molybden::StartDownloadAction::download | ( | const std::string & | file_path | ) |