Molybden API
|
The BrowserDelegates::onOpenPopup action arguments. More...
#include <browser_delegates.hpp>
Public Attributes | |
std::shared_ptr< Browser > | browser |
The browser instance initiated this action. | |
std::shared_ptr< Browser > | popup_browser |
The browser instance of the created popup. | |
std::string | target_name |
The window target name. | |
std::string | target_url |
The target URL that will be loaded in the popup. | |
Rect | initial_bounds |
The initial bounds of the popup. | |
float | scale_factor |
The scale factor of the display where the parent browser window initiated this action is displayed. | |
The BrowserDelegates::onOpenPopup action arguments.
Rect molybden::OpenPopupArgs::initial_bounds |
The initial bounds of the popup.
If the popup is opened as a result of the window.open()
JavaScript function, the initial bounds will equal the corresponding attributes of the WindowFeatures
parameter passed to the JavaScript function. In case no popup bounds were passed, the initial bounds will be empty.