summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Cutecchia <marco.cutecchia@outlook.it>2022-11-12 18:14:35 +0100
committerAndrew Kaster <andrewdkaster@gmail.com>2022-12-25 07:58:58 -0700
commit5a9b891268eb90976cb5ced1544e789b095055ff (patch)
tree699170f180dcd227558d04e35725f3bd55b00bd8
parente592c7691ecd8cdb32115ca7b7983f418b934a03 (diff)
downloadserenity-5a9b891268eb90976cb5ced1544e789b095055ff.zip
Ladybird: Stub out notify_server_did_request_fullscreen_window
-rw-r--r--Ladybird/WebContentView.cpp5
-rw-r--r--Ladybird/WebContentView.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/Ladybird/WebContentView.cpp b/Ladybird/WebContentView.cpp
index 9cea1b69be..60f6173150 100644
--- a/Ladybird/WebContentView.cpp
+++ b/Ladybird/WebContentView.cpp
@@ -954,6 +954,11 @@ Gfx::IntRect WebContentView::notify_server_did_request_minimize_window()
return {};
}
+Gfx::IntRect WebContentView::notify_server_did_request_fullscreen_window()
+{
+ return {};
+}
+
void WebContentView::notify_server_did_request_file(Badge<WebContentClient>, String const& path, i32 request_id)
{
auto file = Core::File::open(path, Core::OpenMode::ReadOnly);
diff --git a/Ladybird/WebContentView.h b/Ladybird/WebContentView.h
index ea23e07ac2..f8d0b27098 100644
--- a/Ladybird/WebContentView.h
+++ b/Ladybird/WebContentView.h
@@ -148,6 +148,7 @@ public:
virtual Gfx::IntSize notify_server_did_request_resize_window(Gfx::IntSize const&) override;
virtual Gfx::IntRect notify_server_did_request_maximize_window() override;
virtual Gfx::IntRect notify_server_did_request_minimize_window() override;
+ virtual Gfx::IntRect notify_server_did_request_fullscreen_window() override;
virtual void notify_server_did_request_file(Badge<WebContentClient>, String const& path, i32) override;
signals: