#include "third_party/blink/renderer/modules/xr/xr_canvas_input_provider.h"
#include "device/vr/public/mojom/vr_service.mojom-blink.h"
#include "third_party/blink/renderer/core/dom/events/native_event_listener.h"
#include "third_party/blink/renderer/core/events/pointer_event.h"
#include "third_party/blink/renderer/core/html/canvas/html_canvas_element.h"
#include "third_party/blink/renderer/modules/xr/xr_frame_provider.h"
#include "third_party/blink/renderer/modules/xr/xr_input_source.h"
#include "third_party/blink/renderer/modules/xr/xr_session.h"
#include "third_party/blink/renderer/modules/xr/xr_system.h"
#include "third_party/blink/renderer/modules/xr/xr_view.h"
namespace blink {
namespace {
class XRCanvasInputEventListener : public NativeEventListener { … };
}
XRCanvasInputProvider::XRCanvasInputProvider(XRSession* session,
HTMLCanvasElement* canvas)
: … { … }
XRCanvasInputProvider::~XRCanvasInputProvider() { … }
void XRCanvasInputProvider::Stop() { … }
bool XRCanvasInputProvider::ShouldProcessEvents() { … }
void XRCanvasInputProvider::OnPointerDown(PointerEvent* event) { … }
void XRCanvasInputProvider::OnPointerUp(PointerEvent* event) { … }
XRInputSource* XRCanvasInputProvider::GetInputSource() { … }
void XRCanvasInputProvider::UpdateInputSource(PointerEvent* event) { … }
void XRCanvasInputProvider::ClearInputSource() { … }
void XRCanvasInputProvider::Trace(Visitor* visitor) const { … }
}