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: add usecounter and 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 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DeviceOrientationAbsoluteController);
haraken 2015/10/28 18:18:38 This is not needed because DeviceOrientationAbsolu
timvolodine 2015/10/29 13:49:18 Done.
16 public:
17 ~DeviceOrientationAbsoluteController() override;
18
19 static const char* supplementName();
20 static DeviceOrientationAbsoluteController& from(Document&);
21
22 // Inherited from DeviceSingleWindowEventController.
23 void didAddEventListener(LocalDOMWindow*, const AtomicString& eventType) ove rride;
24
25 DECLARE_VIRTUAL_TRACE();
26
27 private:
28 explicit DeviceOrientationAbsoluteController(Document&);
29
30 // Inherited from DeviceOrientationController.
31 DeviceOrientationDispatcher& dispatcherInstance() const override;
32 const AtomicString& eventTypeName() const override;
33 };
34
35 } // namespace blink
36
37 #endif // DeviceOrientationAbsoluteController_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698