| Index: third_party/WebKit/Source/modules/device_orientation/DeviceOrientationAbsoluteController.h
|
| diff --git a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationController.h b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationAbsoluteController.h
|
| similarity index 66%
|
| copy from third_party/WebKit/Source/modules/device_orientation/DeviceOrientationController.h
|
| copy to third_party/WebKit/Source/modules/device_orientation/DeviceOrientationAbsoluteController.h
|
| index 97f0d59ac5fd44e2f2ae4e0f219f3fc272b3eddf..2f02b2a8f815eb2b6843377cce2f4a8e3f73ae3a 100644
|
| --- a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationController.h
|
| +++ b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationAbsoluteController.h
|
| @@ -1,9 +1,9 @@
|
| -// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Copyright 2015 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 DeviceOrientationController_h
|
| -#define DeviceOrientationController_h
|
| +#ifndef DeviceOrientationAbsoluteController_h
|
| +#define DeviceOrientationAbsoluteController_h
|
|
|
| #include "core/dom/Document.h"
|
| #include "core/frame/DeviceSingleWindowEventController.h"
|
| @@ -14,13 +14,13 @@ namespace blink {
|
| class DeviceOrientationData;
|
| class Event;
|
|
|
| -class MODULES_EXPORT DeviceOrientationController final : public DeviceSingleWindowEventController, public WillBeHeapSupplement<Document> {
|
| - WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DeviceOrientationController);
|
| +class MODULES_EXPORT DeviceOrientationAbsoluteController final : public DeviceSingleWindowEventController, public WillBeHeapSupplement<Document> {
|
| + WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DeviceOrientationAbsoluteController);
|
| public:
|
| - ~DeviceOrientationController() override;
|
| + ~DeviceOrientationAbsoluteController() override;
|
|
|
| static const char* supplementName();
|
| - static DeviceOrientationController& from(Document&);
|
| + static DeviceOrientationAbsoluteController& from(Document&);
|
|
|
| // Inherited from DeviceSingleWindowEventController.
|
| void didUpdateData() override;
|
| @@ -32,7 +32,7 @@ public:
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| private:
|
| - explicit DeviceOrientationController(Document&);
|
| + explicit DeviceOrientationAbsoluteController(Document&);
|
|
|
| // Inherited from DeviceEventControllerBase.
|
| void registerWithDispatcher() override;
|
| @@ -51,4 +51,4 @@ private:
|
|
|
| } // namespace blink
|
|
|
| -#endif // DeviceOrientationController_h
|
| +#endif // DeviceOrientationAbsoluteController_h
|
|
|