mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:32:43 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
	
		
			433 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
	
		
			433 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2021, Andreas Kling <kling@serenityos.org>
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #pragma once
 | |
| 
 | |
| #include <LibJS/Forward.h>
 | |
| #include <LibJS/Runtime/VM.h>
 | |
| #include <LibWeb/HTML/EventLoop/EventLoop.h>
 | |
| 
 | |
| namespace Web::Bindings {
 | |
| 
 | |
| struct WebEngineCustomData final : public JS::VM::CustomData {
 | |
|     virtual ~WebEngineCustomData() override { }
 | |
| 
 | |
|     HTML::EventLoop event_loop;
 | |
| };
 | |
| 
 | |
| JS::VM& main_thread_vm();
 | |
| 
 | |
| }
 | 
