#include "third_party/blink/renderer/modules/sensor/magnetometer.h"
#include "third_party/blink/public/mojom/permissions_policy/permissions_policy_feature.mojom-blink.h"
SensorType;
namespace blink {
Magnetometer* Magnetometer::Create(ExecutionContext* execution_context,
const SpatialSensorOptions* options,
ExceptionState& exception_state) { … }
Magnetometer* Magnetometer::Create(ExecutionContext* execution_context,
ExceptionState& exception_state) { … }
Magnetometer::Magnetometer(ExecutionContext* execution_context,
const SpatialSensorOptions* options,
ExceptionState& exception_state)
: … { … }
std::optional<double> Magnetometer::x() const { … }
std::optional<double> Magnetometer::y() const { … }
std::optional<double> Magnetometer::z() const { … }
void Magnetometer::Trace(Visitor* visitor) const { … }
}