diff options
author | Timothy Flynn <trflynn89@pm.me> | 2022-11-03 12:51:44 -0400 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-11-03 19:15:43 +0000 |
commit | 995f3db3848b9f6b6661b0738b7308d925147c50 (patch) | |
tree | fb1b164a936f818f2aa482ae40657533e3cc54de /Userland/Libraries/LibWebView/OutOfProcessWebView.cpp | |
parent | 77b6d0bf166b0b0deca80e6791c0f1054ad57f6e (diff) | |
download | serenity-995f3db3848b9f6b6661b0738b7308d925147c50.zip |
LibWebView+WebConent: Add an IPC to get an element's absolute rect
Diffstat (limited to 'Userland/Libraries/LibWebView/OutOfProcessWebView.cpp')
-rw-r--r-- | Userland/Libraries/LibWebView/OutOfProcessWebView.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWebView/OutOfProcessWebView.cpp b/Userland/Libraries/LibWebView/OutOfProcessWebView.cpp index 59e4ece875..151ba6f264 100644 --- a/Userland/Libraries/LibWebView/OutOfProcessWebView.cpp +++ b/Userland/Libraries/LibWebView/OutOfProcessWebView.cpp @@ -560,6 +560,11 @@ String OutOfProcessWebView::get_element_tag_name(i32 element_id) return client().get_element_tag_name(element_id); } +Gfx::IntRect OutOfProcessWebView::get_element_rect(i32 element_id) +{ + return client().get_element_rect(element_id); +} + void OutOfProcessWebView::set_content_filters(Vector<String> filters) { client().async_set_content_filters(filters); |