applets/web: Implement the default web browser applet frontend

This commit is contained in:
Morph 2020-11-15 09:00:19 -05:00
parent 312d05c3ff
commit a367dc5be0
3 changed files with 24 additions and 1 deletions

View file

@ -11,4 +11,12 @@ WebBrowserApplet::~WebBrowserApplet() = default;
DefaultWebBrowserApplet::~DefaultWebBrowserApplet() = default;
void DefaultWebBrowserApplet::OpenLocalWebPage(
std::string_view local_url, std::function<void(WebExitReason, std::string)> callback) const {
LOG_WARNING(Service_AM, "(STUBBED) called, backend requested to open local web page at {}",
local_url);
callback(WebExitReason::WindowClosed, "http://localhost/");
}
} // namespace Core::Frontend