1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-08 05:27:14 +09:00
ladybird/Libraries/LibWeb/HTML/BarProp.h
Timothy Flynn 7280ed6312 Meta: Enforce newlines around namespaces
This has come up several times during code review, so let's just enforce
it using a new clang-format 20 option.
2025-05-14 02:01:59 -06:00

31 lines
682 B
C++

/*
* Copyright (c) 2025, the Ladybird developers.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <LibGC/CellAllocator.h>
#include <LibWeb/Bindings/PlatformObject.h>
#include <LibWeb/Forward.h>
#include <LibWeb/WebIDL/Types.h>
namespace Web::HTML {
// https://html.spec.whatwg.org/multipage/nav-history-apis.html#barprop
class BarProp : public Bindings::PlatformObject {
WEB_PLATFORM_OBJECT(BarProp, Bindings::PlatformObject);
GC_DECLARE_ALLOCATOR(BarProp);
public:
BarProp(JS::Realm&);
static GC::Ref<BarProp> create(JS::Realm&);
[[nodiscard]] bool visible() const;
private:
virtual void initialize(JS::Realm&) override;
};
}