mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:17:34 +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
|
@ -1895,6 +1895,7 @@ using namespace Web::IntersectionObserver;
|
|||
using namespace Web::RequestIdleCallback;
|
||||
using namespace Web::ResizeObserver;
|
||||
using namespace Web::Selection;
|
||||
using namespace Web::WebGL;
|
||||
|
||||
namespace Web::Bindings {
|
||||
|
||||
|
@ -2811,6 +2812,7 @@ using namespace Web::ResizeObserver;
|
|||
using namespace Web::Selection;
|
||||
using namespace Web::UIEvents;
|
||||
using namespace Web::XHR;
|
||||
using namespace Web::WebGL;
|
||||
|
||||
namespace Web::Bindings {
|
||||
|
||||
|
@ -3090,6 +3092,7 @@ using namespace Web::SVG;
|
|||
using namespace Web::URL;
|
||||
using namespace Web::WebSockets;
|
||||
using namespace Web::XHR;
|
||||
using namespace Web::WebGL;
|
||||
|
||||
namespace Web::Bindings {
|
||||
|
||||
|
@ -3533,6 +3536,7 @@ using namespace Web::IntersectionObserver;
|
|||
using namespace Web::RequestIdleCallback;
|
||||
using namespace Web::ResizeObserver;
|
||||
using namespace Web::Selection;
|
||||
using namespace Web::WebGL;
|
||||
|
||||
namespace Web::Bindings {
|
||||
|
||||
|
@ -3648,6 +3652,7 @@ using namespace Web::ResizeObserver;
|
|||
using namespace Web::Selection;
|
||||
using namespace Web::XHR;
|
||||
using namespace Web::URL;
|
||||
using namespace Web::WebGL;
|
||||
|
||||
namespace Web::Bindings {
|
||||
|
||||
|
|
|
@ -85,7 +85,7 @@ int main(int argc, char** argv)
|
|||
|
||||
auto& interface = IDL::Parser(path, data, import_base_path).parse();
|
||||
|
||||
if (namespace_.is_one_of("Crypto", "CSS", "DOM", "Encoding", "HTML", "UIEvents", "Geometry", "HighResolutionTime", "IntersectionObserver", "NavigationTiming", "RequestIdleCallback", "ResizeObserver", "SVG", "Selection", "URL", "WebSockets", "XHR")) {
|
||||
if (namespace_.is_one_of("Crypto", "CSS", "DOM", "Encoding", "HTML", "UIEvents", "Geometry", "HighResolutionTime", "IntersectionObserver", "NavigationTiming", "RequestIdleCallback", "ResizeObserver", "SVG", "Selection", "URL", "WebGL", "WebSockets", "XHR")) {
|
||||
StringBuilder builder;
|
||||
builder.append(namespace_);
|
||||
builder.append("::");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue