applets/web: Implement the default web browser applet frontend
This commit is contained in:
parent
89df483567
commit
d6d1a8e02c
3 changed files with 24 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue