Molybden API
|
The BrowserDelegates::onPrompt action. More...
#include <browser_delegates.hpp>
Public Member Functions | |
PromptAction (std::unique_ptr< rpc::internal::Callback > callback) | |
void | prompt () |
Show the native JavaScript prompt dialog. | |
void | ok (const std::string &text) |
Close the dialog as if the given text was entered and the OK button was pressed. | |
void | cancel () |
Close the dialog as if the cancel button was pressed. | |
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::onPrompt action.