mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
LibWeb: Rename NestedBrowsingContextP => NavigableContainerViewportP
...where P is for Paintable :^)
This commit is contained in:
parent
11d966f3ba
commit
dd7623eb30
Notes:
github-actions[bot]
2024-11-26 17:59:29 +00:00
Author: https://github.com/awesomekling
Commit: dd7623eb30
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2592
7 changed files with 27 additions and 27 deletions
|
@ -0,0 +1,29 @@
|
|||
/*
|
||||
* Copyright (c) 2022, Andreas Kling <andreas@ladybird.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <LibWeb/Layout/NavigableContainerViewport.h>
|
||||
#include <LibWeb/Painting/PaintableBox.h>
|
||||
|
||||
namespace Web::Painting {
|
||||
|
||||
class NavigableContainerViewportPaintable final : public PaintableBox {
|
||||
GC_CELL(NavigableContainerViewportPaintable, PaintableBox);
|
||||
GC_DECLARE_ALLOCATOR(NavigableContainerViewportPaintable);
|
||||
|
||||
public:
|
||||
static GC::Ref<NavigableContainerViewportPaintable> create(Layout::NavigableContainerViewport const&);
|
||||
|
||||
virtual void paint(PaintContext&, PaintPhase) const override;
|
||||
|
||||
Layout::NavigableContainerViewport const& layout_box() const;
|
||||
|
||||
private:
|
||||
NavigableContainerViewportPaintable(Layout::NavigableContainerViewport const&);
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue