blob: c04f648546822fd095685b4af908a02dcb0a96d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// 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.
// https://w3c.github.io/accelerometer/#linearaccelerationsensor
[
SecureContext,
Exposed=Window
] interface LinearAccelerationSensor : Accelerometer {
[CallWith=ExecutionContext, RaisesException, MeasureAs=LinearAccelerationSensorConstructor] constructor(optional SpatialSensorOptions sensorOptions = {});
};
|