#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) { … }
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 { … }
}