applets/web: Implement the default web browser applet frontend

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

View file

@ -356,7 +356,10 @@ void WebBrowser::ExecuteLogin() {
void WebBrowser::ExecuteOffline() {
LOG_INFO(Service_AM, "Opening offline document at {}", offline_document);
WebBrowserExit(WebExitReason::WindowClosed);
frontend.OpenLocalWebPage(offline_document,
[this](WebExitReason exit_reason, std::string last_url) {
WebBrowserExit(exit_reason, last_url);
});
}
void WebBrowser::ExecuteShare() {