Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: third_party/WebKit/Source/modules/device_orientation/DeviceOrientationAbsoluteController.h

Issue 1416123002: Absolute Device Orientation API: blink implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 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 DeviceOrientationAbsoluteController_h
6 #define DeviceOrientationAbsoluteController_h
7
8 #include "core/dom/Document.h"
9 #include "modules/ModulesExport.h"
10 #include "modules/device_orientation/DeviceOrientationController.h"
11
12 namespace blink {
13
14 class MODULES_EXPORT DeviceOrientationAbsoluteController final : public DeviceOr ientationController {
15 public:
16 ~DeviceOrientationAbsoluteController() override;
17
18 static const char* supplementName();
19 static DeviceOrientationAbsoluteController& from(Document&);
20
21 // Inherited from DeviceSingleWindowEventController.
22 void didAddEventListener(LocalDOMWindow*, const AtomicString& eventType) ove rride;
23
24 DECLARE_VIRTUAL_TRACE();
25
26 private:
27 explicit DeviceOrientationAbsoluteController(Document&);
28
29 // Inherited from DeviceOrientationController.
30 DeviceOrientationDispatcher& dispatcherInstance() const override;
31 const AtomicString& eventTypeName() const override;
32 };
33
34 } // namespace blink
35
36 #endif // DeviceOrientationAbsoluteController_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698