mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:17:35 +00:00
LibWeb: Introduce the WebGL namespace and add WebGLContextEvent
This commit is contained in:
parent
7d1fcb0cb3
commit
b0c2aee2e4
8 changed files with 74 additions and 1 deletions
11
Userland/Libraries/LibWeb/WebGL/WebGLContextEvent.idl
Normal file
11
Userland/Libraries/LibWeb/WebGL/WebGLContextEvent.idl
Normal file
|
@ -0,0 +1,11 @@
|
|||
#import <DOM/Event.idl>
|
||||
|
||||
[Exposed=(Window,Worker)]
|
||||
interface WebGLContextEvent : Event {
|
||||
constructor(DOMString type, optional WebGLContextEventInit eventInit = {});
|
||||
readonly attribute DOMString statusMessage;
|
||||
};
|
||||
|
||||
dictionary WebGLContextEventInit : EventInit {
|
||||
DOMString statusMessage = "";
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue