mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
23 lines
431 B
C++
23 lines
431 B
C++
/*
|
|
* Copyright (c) 2025, Psychpsyo <psychpsyo@gmail.com>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <LibWeb/Bindings/PlatformObject.h>
|
|
#include <LibWeb/DOM/Event.h>
|
|
|
|
namespace Web::WebXR {
|
|
|
|
// https://immersive-web.github.io/webxr/#xrlayer
|
|
class XRLayer : public DOM::EventTarget {
|
|
WEB_PLATFORM_OBJECT(XRLayer, DOM::EventTarget);
|
|
GC_DECLARE_ALLOCATOR(XRLayer);
|
|
|
|
XRLayer(JS::Realm&);
|
|
};
|
|
|
|
}
|