chromium/third_party/blink/renderer/modules/sensor/accelerometer.cc

// Copyright 2016 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/sensor/accelerometer.h"

#include "third_party/blink/public/mojom/permissions_policy/permissions_policy_feature.mojom-blink.h"

SensorType;

namespace blink {

Accelerometer* Accelerometer::Create(ExecutionContext* execution_context,
                                     const SpatialSensorOptions* options,
                                     ExceptionState& exception_state) {}

// static
Accelerometer* Accelerometer::Create(ExecutionContext* execution_context,
                                     ExceptionState& exception_state) {}

Accelerometer::Accelerometer(
    ExecutionContext* execution_context,
    const SpatialSensorOptions* options,
    ExceptionState& exception_state,
    SensorType sensor_type,
    const Vector<mojom::blink::PermissionsPolicyFeature>& features)
    :{}

std::optional<double> Accelerometer::x() const {}

std::optional<double> Accelerometer::y() const {}

std::optional<double> Accelerometer::z() const {}

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

}  // namespace blink