chromium/third_party/blink/renderer/modules/gamepad/gamepad_touch.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.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/351564777): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "third_party/blink/renderer/modules/gamepad/gamepad_touch.h"

namespace blink {

namespace {

DOMFloat32Array* ToFloat32Array(const double x, const double y) {}

DOMUint32Array* ToUint32Array(const uint32_t width, const uint32_t height) {}

}  // namespace

void GamepadTouch::SetPosition(float x, float y) {}

void GamepadTouch::SetSurfaceDimensions(uint32_t x, uint32_t y) {}

bool GamepadTouch::IsEqual(const device::GamepadTouch& device_touch) const {}

void GamepadTouch::UpdateValuesFrom(const device::GamepadTouch& device_touch,
                                    uint32_t id_offset) {}

void GamepadTouch::Trace(Visitor* visitor) const {}

}  // namespace blink