mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:07:45 +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
|
@ -6,15 +6,15 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <LibWeb/HTML/BrowsingContext.h>
|
||||
#include <LibWeb/HTML/HTMLImageElement.h>
|
||||
#include <LibWeb/Layout/ReplacedBox.h>
|
||||
#include <LibWeb/Page/BrowsingContext.h>
|
||||
|
||||
namespace Web::Layout {
|
||||
|
||||
class ImageBox
|
||||
: public ReplacedBox
|
||||
, public BrowsingContext::ViewportClient {
|
||||
, public HTML::BrowsingContext::ViewportClient {
|
||||
public:
|
||||
ImageBox(DOM::Document&, DOM::Element&, NonnullRefPtr<CSS::StyleProperties>, const ImageLoader&);
|
||||
virtual ~ImageBox() override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue