blob: 16caeb0a3491ec8d796fa35c4070962039a0679b [file] [log] [blame]
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Specification at:
// https://w3c.github.io/orientation-sensor/#absoluteorientationsensor-interface
[
RuntimeEnabled=Sensor,
Constructor(optional SpatialSensorOptions sensorOptions),
ConstructorCallWith=ExecutionContext,
SecureContext,
RaisesException=Constructor,
MeasureAs=AbsoluteOrientationSensorConstructor,
Exposed=Window
] interface AbsoluteOrientationSensor : OrientationSensor {
};