Skip to content

Truly independent web browser

648 B
Raw Blame
/*
 * Copyright (c) 2026, Reimar Pihl Browa <[email protected]>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <LibWeb/Bindings/Wrappable.h>
#include <LibWeb/Export.h>

namespace Web::HTML {

// https://html.spec.whatwg.org/multipage/obsolete.html#external
class WEB_API External final : public Bindings::GCAllocatedWrappable {
    WEB_WRAPPABLE(External, Bindings::GCAllocatedWrappable);
    GC_DECLARE_ALLOCATOR(External);

public:
    [[nodiscard]] static GC::Ref<External> create();

    virtual ~External() override;

    void add_search_provider();
    void is_search_provider_installed();

private:
    External();
};

}