/* * Copyright (c) 2025, the Ladybird developers. * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include #include #include 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 create(JS::Realm&); [[nodiscard]] bool visible() const; private: virtual void initialize(JS::Realm&) override; }; }