| 10 | } |
| 11 | |
| 12 | WebView::WebView(std::shared_ptr<ViewCoreFactory> viewCoreFactory) : View(std::move(viewCoreFactory)) |
| 13 | { |
| 14 | detail::VIEW_CORE_REGISTER(WebView, View::viewCoreFactory()); |
| 15 | |
| 16 | registerCoreCreatingProperties(this, &url); |
| 17 | url.onChange() += [this](auto) { loadURL(url); }; |
| 18 | } |
| 19 | |
| 20 | void WebView::loadURL(const std::string &url) |
| 21 | { |
nothing calls this directly
no test coverage detected