summaryrefslogtreecommitdiff
path: root/Userland/Services/WebContent/PageHost.cpp
diff options
context:
space:
mode:
authorAdam Hodgen <ant1441@gmail.com>2021-02-27 21:12:12 +0000
committerAndreas Kling <kling@serenityos.org>2021-02-28 18:19:52 +0100
commitbedcd9cd886af52e943157bda5f33b8e9e782d22 (patch)
tree3453b429de5a731bfbe7d639cf48c06df497b752 /Userland/Services/WebContent/PageHost.cpp
parentfc9225db332a312aa505c83a9a50a7924710a7f8 (diff)
downloadserenity-bedcd9cd886af52e943157bda5f33b8e9e782d22.zip
LibWeb: Support setting the cursor in OutOfProcessWebView
Diffstat (limited to 'Userland/Services/WebContent/PageHost.cpp')
-rw-r--r--Userland/Services/WebContent/PageHost.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Userland/Services/WebContent/PageHost.cpp b/Userland/Services/WebContent/PageHost.cpp
index b28f98323a..1818313d29 100644
--- a/Userland/Services/WebContent/PageHost.cpp
+++ b/Userland/Services/WebContent/PageHost.cpp
@@ -113,6 +113,11 @@ void PageHost::page_did_change_selection()
m_client.post_message(Messages::WebContentClient::DidChangeSelection());
}
+void PageHost::page_did_request_cursor_change(Gfx::StandardCursor cursor)
+{
+ m_client.post_message(Messages::WebContentClient::DidRequestCursorChange((u32)cursor));
+}
+
void PageHost::page_did_layout()
{
auto* layout_root = this->layout_root();