diff options
author | Andreas Kling <kling@serenityos.org> | 2021-11-18 15:01:28 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-11-18 21:11:30 +0100 |
commit | 7c57961c61aada999bf1dbc871708546b4fe1ba9 (patch) | |
tree | 17bbd399baddc8cb18a6cc6e0497a70bfb1ffc83 /Userland/Libraries/LibWeb/Page/EventHandler.h | |
parent | 2b866e3c9b0c6e230054edbbbe431cb1fbe3037e (diff) | |
download | serenity-7c57961c61aada999bf1dbc871708546b4fe1ba9.zip |
LibWeb: Move BrowsingContext into HTML/
Browsing contexts are defined by the HTML specification, so let's move
them into the HTML directory. :^)
Diffstat (limited to 'Userland/Libraries/LibWeb/Page/EventHandler.h')
-rw-r--r-- | Userland/Libraries/LibWeb/Page/EventHandler.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Userland/Libraries/LibWeb/Page/EventHandler.h b/Userland/Libraries/LibWeb/Page/EventHandler.h index 86ef6ac2f8..402696036a 100644 --- a/Userland/Libraries/LibWeb/Page/EventHandler.h +++ b/Userland/Libraries/LibWeb/Page/EventHandler.h @@ -17,11 +17,9 @@ namespace Web { -class BrowsingContext; - class EventHandler { public: - explicit EventHandler(Badge<BrowsingContext>, BrowsingContext&); + explicit EventHandler(Badge<HTML::BrowsingContext>, HTML::BrowsingContext&); ~EventHandler(); bool handle_mouseup(const Gfx::IntPoint&, unsigned button, unsigned modifiers); @@ -43,7 +41,7 @@ private: Layout::InitialContainingBlock* layout_root(); const Layout::InitialContainingBlock* layout_root() const; - BrowsingContext& m_frame; + HTML::BrowsingContext& m_frame; bool m_in_mouse_selection { false }; |