]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blobdiff - src/views/BrowserView.h
Add full screen support. https://redmine.stoutner.com/issues/832
[PrivacyBrowserPC.git] / src / views / BrowserView.h
index 0aeb6a051ad51f1db0bcdab9f4c577860b6858e1..b256ec253c4d7bff353817bca34a59a2f232090c 100644 (file)
@@ -28,6 +28,7 @@
 
 // Qt toolkit headers.
 #include <QPushButton>
+#include <QWebEngineFullScreenRequest>
 #include <QWebEngineHistory>
 #include <QWebEngineProfile>
 #include <QWebEngineSettings>
@@ -60,6 +61,7 @@ signals:
     void addCookie(const QNetworkCookie &cookie) const;
     void removeCookie(const QNetworkCookie &cookie) const;
     void clearUrlLineEditFocus() const;
+    void fullScreenRequested(const bool toggleOn) const;
     void hideProgressBar() const;
     void linkHovered(const QString &linkUrl) const;
     void showProgressBar(const int &progress) const;
@@ -96,6 +98,7 @@ private Q_SLOTS:
     // The private slots.
     void cookieAdded(const QNetworkCookie &cookie) const;
     void cookieRemoved(const QNetworkCookie &cookie) const;
+    void fullScreenRequested(QWebEngineFullScreenRequest fullScreenRequest) const;
     void loadFinished() const;
     void loadProgress(const int &progress) const;
     void loadStarted() const;