mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-11-04 07:10:57 +00:00 
			
		
		
		
	We no longer access Bindings::FooWrapper anywhere for a Foo platform object, so these can be removed :^)
		
			
				
	
	
		
			26 lines
		
	
	
	
		
			621 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
	
		
			621 B
		
	
	
	
		
			C++
		
	
	
	
	
	
/*
 | 
						|
 * Copyright (c) 2022, Andrew Kaster <akaster@serenityos.org>
 | 
						|
 *
 | 
						|
 * SPDX-License-Identifier: BSD-2-Clause
 | 
						|
 */
 | 
						|
 | 
						|
#pragma once
 | 
						|
 | 
						|
#include <LibWeb/Bindings/PlatformObject.h>
 | 
						|
 | 
						|
namespace Web::HTML {
 | 
						|
 | 
						|
// FIXME: Add Mixin APIs from https://html.spec.whatwg.org/multipage/workers.html#the-workernavigator-object
 | 
						|
class WorkerNavigator : public Bindings::PlatformObject {
 | 
						|
    WEB_PLATFORM_OBJECT(WorkerNavigator, Bindings::PlatformObject);
 | 
						|
 | 
						|
public:
 | 
						|
    static JS::NonnullGCPtr<WorkerNavigator> create(WorkerGlobalScope&);
 | 
						|
 | 
						|
    virtual ~WorkerNavigator() override;
 | 
						|
 | 
						|
private:
 | 
						|
    explicit WorkerNavigator(WorkerGlobalScope&);
 | 
						|
};
 | 
						|
 | 
						|
}
 |