diff options
author | Andreas Kling <kling@serenityos.org> | 2022-02-06 18:45:29 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-02-06 22:13:13 +0100 |
commit | 1165a94624db0e4313a958ebba8290f1478923ff (patch) | |
tree | 628ee47db0d5b61593212daabc86349883510f72 /Userland/Libraries/LibWeb/HTML/BrowsingContext.h | |
parent | 83523cabda25b9a9e08d4c38811e60d9a2913919 (diff) | |
download | serenity-1165a94624db0e4313a958ebba8290f1478923ff.zip |
LibWeb: Implement BrowsingContext::currently_focused_area()
This is "currently focused area of a top level browsing context"
from the HTML spec.
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/BrowsingContext.h')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/BrowsingContext.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/BrowsingContext.h b/Userland/Libraries/LibWeb/HTML/BrowsingContext.h index 559a59ffae..b9b71debd5 100644 --- a/Userland/Libraries/LibWeb/HTML/BrowsingContext.h +++ b/Userland/Libraries/LibWeb/HTML/BrowsingContext.h @@ -104,6 +104,8 @@ public: bool has_a_rendering_opportunity() const; + RefPtr<DOM::Node> currently_focused_area(); + private: explicit BrowsingContext(Page&, HTML::BrowsingContextContainer*); |