| Index: third_party/WebKit/Source/modules/sensor/AbsoluteOrientationSensor.h
|
| diff --git a/third_party/WebKit/Source/modules/sensor/AbsoluteOrientationSensor.h b/third_party/WebKit/Source/modules/sensor/AbsoluteOrientationSensor.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..18cdb9dd79152650a891ef83ace24ed596bbd2f3
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/modules/sensor/AbsoluteOrientationSensor.h
|
| @@ -0,0 +1,31 @@
|
| +// 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.
|
| +
|
| +#ifndef AbsoluteOrientationSensor_h
|
| +#define AbsoluteOrientationSensor_h
|
| +
|
| +#include "modules/sensor/OrientationSensor.h"
|
| +
|
| +namespace blink {
|
| +
|
| +class AbsoluteOrientationSensor final : public OrientationSensor {
|
| + DEFINE_WRAPPERTYPEINFO();
|
| +
|
| + public:
|
| + static AbsoluteOrientationSensor* create(ExecutionContext*,
|
| + const SensorOptions&,
|
| + ExceptionState&);
|
| + static AbsoluteOrientationSensor* create(ExecutionContext*, ExceptionState&);
|
| +
|
| + DECLARE_VIRTUAL_TRACE();
|
| +
|
| + private:
|
| + AbsoluteOrientationSensor(ExecutionContext*,
|
| + const SensorOptions&,
|
| + ExceptionState&);
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // AbsoluteOrientationSensor_h
|
|
|