MōBrowser API
Loading...
Searching...
No Matches
mobrowser::ConfirmAction Class Reference

The BrowserDelegates::onConfirm action. More...

#include <browser_delegates.hpp>

Inheritance diagram for mobrowser::ConfirmAction:
mobrowser::Action

Public Member Functions

 ConfirmAction (std::unique_ptr< rpc::internal::Callback > callback)
 
void prompt ()
 Show the native JavaScript confirm dialog.
 
void ok ()
 Close the dialog as if the OK button was pressed.
 
void cancel ()
 Close the dialog as if the cancel button was pressed.
 
- Public Member Functions inherited from mobrowser::Action
 Action (std::unique_ptr< rpc::internal::Callback > callback)
 

Additional Inherited Members

- Protected Attributes inherited from mobrowser::Action
std::unique_ptr< rpc::internal::Callback > callback_
 

Detailed Description


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