OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef RelativeOrientationSensor_h |
| 6 #define RelativeOrientationSensor_h |
| 7 |
| 8 #include "modules/sensor/OrientationSensor.h" |
| 9 |
| 10 namespace blink { |
| 11 |
| 12 class RelativeOrientationSensor final : public OrientationSensor { |
| 13 DEFINE_WRAPPERTYPEINFO(); |
| 14 |
| 15 public: |
| 16 static RelativeOrientationSensor* Create(ExecutionContext*, |
| 17 const SensorOptions&, |
| 18 ExceptionState&); |
| 19 static RelativeOrientationSensor* Create(ExecutionContext*, ExceptionState&); |
| 20 |
| 21 DECLARE_VIRTUAL_TRACE(); |
| 22 |
| 23 private: |
| 24 RelativeOrientationSensor(ExecutionContext*, |
| 25 const SensorOptions&, |
| 26 ExceptionState&); |
| 27 }; |
| 28 |
| 29 } // namespace blink |
| 30 |
| 31 #endif // RelativeOrientationSensor_h |
OLD | NEW |