LibWeb: Rename NestedBrowsingContextP => NavigableContainerViewportP

...where P is for Paintable :^)
This commit is contained in:
Andreas Kling 2024-11-26 12:04:14 +01:00 committed by Andreas Kling
commit dd7623eb30
Notes: github-actions[bot] 2024-11-26 17:59:29 +00:00
7 changed files with 27 additions and 27 deletions

View file

@ -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&);
};
}