chromium/third_party/blink/renderer/modules/mediastream/captured_mouse_event.cc

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/modules/mediastream/captured_mouse_event.h"

#include "third_party/blink/renderer/bindings/modules/v8/v8_captured_mouse_event_init.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
#include "third_party/blink/renderer/platform/bindings/v8_throw_exception.h"

namespace blink {

namespace {

// Coordinates are valid if they are non-negative, or if both of them are equal
// to -1 (meaning that the mouse cursor is not over the captured surface).
bool AreSurfaceCoordinatesValid(const CapturedMouseEventInit& initializer) {}

}  // namespace

// static
CapturedMouseEvent* CapturedMouseEvent::Create(
    const AtomicString& type,
    const CapturedMouseEventInit* initializer,
    ExceptionState& exception_state) {}

const AtomicString& CapturedMouseEvent::InterfaceName() const {}

CapturedMouseEvent::CapturedMouseEvent(
    const AtomicString& type,
    const CapturedMouseEventInit* initializer)
    :{}

}  // namespace blink