mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:18:13 +00:00
LibWeb: Move BrowsingContext into HTML/
Browsing contexts are defined by the HTML specification, so let's move them into the HTML directory. :^)
This commit is contained in:
parent
2b866e3c9b
commit
7c57961c61
43 changed files with 73 additions and 75 deletions
|
@ -9,13 +9,13 @@
|
|||
#include <LibGfx/Painter.h>
|
||||
#include <LibWeb/DOM/Document.h>
|
||||
#include <LibWeb/Dump.h>
|
||||
#include <LibWeb/HTML/BrowsingContext.h>
|
||||
#include <LibWeb/HTML/HTMLHtmlElement.h>
|
||||
#include <LibWeb/Layout/BlockContainer.h>
|
||||
#include <LibWeb/Layout/FormattingContext.h>
|
||||
#include <LibWeb/Layout/InitialContainingBlock.h>
|
||||
#include <LibWeb/Layout/Node.h>
|
||||
#include <LibWeb/Layout/TextNode.h>
|
||||
#include <LibWeb/Page/BrowsingContext.h>
|
||||
#include <typeinfo>
|
||||
|
||||
namespace Web::Layout {
|
||||
|
@ -91,13 +91,13 @@ HitTestResult Node::hit_test(const Gfx::IntPoint& position, HitTestType type) co
|
|||
return result;
|
||||
}
|
||||
|
||||
const BrowsingContext& Node::browsing_context() const
|
||||
HTML::BrowsingContext const& Node::browsing_context() const
|
||||
{
|
||||
VERIFY(document().browsing_context());
|
||||
return *document().browsing_context();
|
||||
}
|
||||
|
||||
BrowsingContext& Node::browsing_context()
|
||||
HTML::BrowsingContext& Node::browsing_context()
|
||||
{
|
||||
VERIFY(document().browsing_context());
|
||||
return *document().browsing_context();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue