mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 04:02:44 +00:00 
			
		
		
		
	 cce50b1841
			
		
	
	
		cce50b1841
		
	
	
	
	
		
			
			This will make the codegen produce code for MathML IDL that doesn't fail to compile in confusing ways.
		
			
				
	
	
		
			43 lines
		
	
	
	
		
			770 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			43 lines
		
	
	
	
		
			770 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2022, Luke Wilde <lukew@serenityos.org>
 | |
|  * Copyright (c) 2022, Linus Groh <linusg@serenityos.org>
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #pragma once
 | |
| 
 | |
| #include <AK/Array.h>
 | |
| #include <AK/StringView.h>
 | |
| 
 | |
| namespace IDL {
 | |
| 
 | |
| static constexpr Array libweb_interface_namespaces = {
 | |
|     "CSS"sv,
 | |
|     "Crypto"sv,
 | |
|     "DOM"sv,
 | |
|     "DOMParsing"sv,
 | |
|     "Encoding"sv,
 | |
|     "Fetch"sv,
 | |
|     "FileAPI"sv,
 | |
|     "Geometry"sv,
 | |
|     "HTML"sv,
 | |
|     "HighResolutionTime"sv,
 | |
|     "Internals"sv,
 | |
|     "IntersectionObserver"sv,
 | |
|     "MathML"sv,
 | |
|     "NavigationTiming"sv,
 | |
|     "RequestIdleCallback"sv,
 | |
|     "ResizeObserver"sv,
 | |
|     "SVG"sv,
 | |
|     "Selection"sv,
 | |
|     "UIEvents"sv,
 | |
|     "URL"sv,
 | |
|     "WebAudio"sv,
 | |
|     "WebGL"sv,
 | |
|     "WebIDL"sv,
 | |
|     "WebSockets"sv,
 | |
|     "XHR"sv,
 | |
| };
 | |
| 
 | |
| }
 |