summaryrefslogtreecommitdiffstats
path: root/src/core/frontend/applets/web_browser.cpp
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2020-11-15 15:00:19 +0100
committerMorph <39850852+Morph1984@users.noreply.github.com>2020-12-18 16:33:28 +0100
commitd6d1a8e02c99b369fdbd9df2d3bdb68832f3d614 (patch)
tree0c2e3d558620b5bdb2d69c5643340c32dfe61ef3 /src/core/frontend/applets/web_browser.cpp
parentapplets/web: Implement the offline browser applet backend (diff)
downloadyuzu-d6d1a8e02c99b369fdbd9df2d3bdb68832f3d614.tar
yuzu-d6d1a8e02c99b369fdbd9df2d3bdb68832f3d614.tar.gz
yuzu-d6d1a8e02c99b369fdbd9df2d3bdb68832f3d614.tar.bz2
yuzu-d6d1a8e02c99b369fdbd9df2d3bdb68832f3d614.tar.lz
yuzu-d6d1a8e02c99b369fdbd9df2d3bdb68832f3d614.tar.xz
yuzu-d6d1a8e02c99b369fdbd9df2d3bdb68832f3d614.tar.zst
yuzu-d6d1a8e02c99b369fdbd9df2d3bdb68832f3d614.zip
Diffstat (limited to 'src/core/frontend/applets/web_browser.cpp')
-rw-r--r--src/core/frontend/applets/web_browser.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/frontend/applets/web_browser.cpp b/src/core/frontend/applets/web_browser.cpp
index 58861809e..0e1612e27 100644
--- a/src/core/frontend/applets/web_browser.cpp
+++ b/src/core/frontend/applets/web_browser.cpp
@@ -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