|
Molybden
|
The BrowserDelegates::onBeforeUnload action. More...
#include <browser_delegates.hpp>
Public Member Functions | |
| BeforeUnloadAction (std::unique_ptr< rpc::internal::Callback > callback) | |
| void | prompt () |
| Show the native JavaScript before unload dialog. | |
| void | stay () |
| Stay on the current page. | |
| void | leave () |
| Leave the current page. | |
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::onBeforeUnload action.