diff options
| author | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-11-08 07:17:12 -0500 |
|---|---|---|
| committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-12-18 10:33:27 -0500 |
| commit | ccb439efb088c990b41a6ceb5b1b330c8c27a1aa (patch) | |
| tree | 81361beb06ba045f4ea875763cacf89f8170d390 /src/yuzu/applets/web_browser.h | |
| parent | 0b47f7a46b0b7f182a569fa4aefbfb8cd301e92f (diff) | |
applets: Remove the previous web browser applet implementation
Diffstat (limited to 'src/yuzu/applets/web_browser.h')
| -rw-r--r-- | src/yuzu/applets/web_browser.h | 31 |
1 files changed, 1 insertions, 30 deletions
diff --git a/src/yuzu/applets/web_browser.h b/src/yuzu/applets/web_browser.h index f801846cf..af053ace7 100644 --- a/src/yuzu/applets/web_browser.h +++ b/src/yuzu/applets/web_browser.h @@ -1,10 +1,9 @@ -// Copyright 2018 yuzu Emulator Project +// Copyright 2020 yuzu Emulator Project // Licensed under GPLv2 or any later version // Refer to the license.txt file included. #pragma once -#include <functional> #include <QObject> #ifdef YUZU_USE_QT_WEB_ENGINE @@ -15,38 +14,10 @@ class GMainWindow; -#ifdef YUZU_USE_QT_WEB_ENGINE - -QString GetNXShimInjectionScript(); - -class NXInputWebEngineView : public QWebEngineView { -public: - explicit NXInputWebEngineView(QWidget* parent = nullptr); - -protected: - void keyPressEvent(QKeyEvent* event) override; - void keyReleaseEvent(QKeyEvent* event) override; -}; - -#endif - class QtWebBrowser final : public QObject, public Core::Frontend::WebBrowserApplet { Q_OBJECT public: explicit QtWebBrowser(GMainWindow& main_window); ~QtWebBrowser() override; - - void OpenPageLocal(std::string_view url, std::function<void()> unpack_romfs_callback_, - std::function<void()> finished_callback_) override; - -signals: - void MainWindowOpenPage(std::string_view filename, std::string_view additional_args) const; - -private: - void MainWindowUnpackRomFS(); - void MainWindowFinishedBrowsing(); - - std::function<void()> unpack_romfs_callback; - std::function<void()> finished_callback; }; |
