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

Side by Side Diff: Source/modules/device_orientation/DeviceMotionController.h

Issue 403013002: Rename WebCore to blink in Modules (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 months 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef DeviceMotionController_h 5 #ifndef DeviceMotionController_h
6 #define DeviceMotionController_h 6 #define DeviceMotionController_h
7 7
8 #include "core/dom/DocumentSupplementable.h" 8 #include "core/dom/DocumentSupplementable.h"
9 #include "core/frame/DeviceSingleWindowEventController.h" 9 #include "core/frame/DeviceSingleWindowEventController.h"
10 10
11 namespace WebCore { 11 namespace blink {
12 12
13 class DeviceMotionData; 13 class DeviceMotionData;
14 class Event; 14 class Event;
15 15
16 class DeviceMotionController FINAL : public NoBaseWillBeGarbageCollectedFinalize d<DeviceMotionController>, public DeviceSingleWindowEventController, public Docu mentSupplement { 16 class DeviceMotionController FINAL : public NoBaseWillBeGarbageCollectedFinalize d<DeviceMotionController>, public DeviceSingleWindowEventController, public Docu mentSupplement {
17 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DeviceMotionController); 17 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DeviceMotionController);
18 public: 18 public:
19 virtual ~DeviceMotionController(); 19 virtual ~DeviceMotionController();
20 20
21 static const char* supplementName(); 21 static const char* supplementName();
22 static DeviceMotionController& from(Document&); 22 static DeviceMotionController& from(Document&);
23 23
24 private: 24 private:
25 explicit DeviceMotionController(Document&); 25 explicit DeviceMotionController(Document&);
26 26
27 // Inherited from DeviceEventControllerBase. 27 // Inherited from DeviceEventControllerBase.
28 virtual void registerWithDispatcher() OVERRIDE; 28 virtual void registerWithDispatcher() OVERRIDE;
29 virtual void unregisterWithDispatcher() OVERRIDE; 29 virtual void unregisterWithDispatcher() OVERRIDE;
30 virtual bool hasLastData() OVERRIDE; 30 virtual bool hasLastData() OVERRIDE;
31 31
32 // Inherited from DeviceSingleWindowEventController. 32 // Inherited from DeviceSingleWindowEventController.
33 virtual PassRefPtrWillBeRawPtr<Event> lastEvent() const OVERRIDE; 33 virtual PassRefPtrWillBeRawPtr<Event> lastEvent() const OVERRIDE;
34 virtual const AtomicString& eventTypeName() const OVERRIDE; 34 virtual const AtomicString& eventTypeName() const OVERRIDE;
35 virtual bool isNullEvent(Event*) const OVERRIDE; 35 virtual bool isNullEvent(Event*) const OVERRIDE;
36 }; 36 };
37 37
38 } // namespace WebCore 38 } // namespace blink
39 39
40 #endif // DeviceMotionController_h 40 #endif // DeviceMotionController_h
OLDNEW
« no previous file with comments | « Source/modules/device_orientation/DeviceAcceleration.cpp ('k') | Source/modules/device_orientation/DeviceMotionController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698