diff options
author | Tobias Christiansen <tobyase@serenityos.org> | 2022-10-19 16:56:08 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-10-19 17:30:58 +0200 |
commit | 3f5a620b5d0e90e548c2854905ed656b34002ca5 (patch) | |
tree | 64ff9965964b6ed4f023cb3784169ba649c93c86 /Userland/Libraries/LibWebView/OutOfProcessWebView.cpp | |
parent | dfc3a4772b0d3fc330ef9c77e566f78a4922ead8 (diff) | |
download | serenity-3f5a620b5d0e90e548c2854905ed656b34002ca5.zip |
WebContent+Friends: Add get_element_attribute IPC and plumbing
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 dc934da070..026a3d338b 100644 --- a/Userland/Libraries/LibWebView/OutOfProcessWebView.cpp +++ b/Userland/Libraries/LibWebView/OutOfProcessWebView.cpp @@ -525,6 +525,11 @@ Optional<Vector<i32>> OutOfProcessWebView::query_selector_all(i32 start_node_id, return client().query_selector_all(start_node_id, selector); } +Optional<String> OutOfProcessWebView::get_element_attribute(i32 element_id, String const& name) +{ + return client().get_element_attribute(element_id, name); +} + void OutOfProcessWebView::set_content_filters(Vector<String> filters) { client().async_set_content_filters(filters); |