Truly independent web browser
/*
* Copyright (c) 2026-present, the Ladybird developers.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <LibGC/Ptr.h>
#include <LibWeb/Bindings/Wrappable.h>
#include <LibWeb/Forward.h>
namespace Web::WebLocks {
class NavigatorLocks {
public:
virtual ~NavigatorLocks() = default;
GC::Ref<LockManager> locks();
protected:
virtual Bindings::Wrappable const& this_navigator_locks_object() const = 0;
virtual HTML::EnvironmentSettingsObject& this_navigator_locks_settings_object() const = 0;
};
}