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

Unified Diff: Source/modules/device_orientation/DeviceOrientationDispatcher.h

Issue 417213002: Introduce PlatformEvent to handle Device events, Battery events and Gamepad events. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: Source/modules/device_orientation/DeviceOrientationDispatcher.h
diff --git a/Source/modules/device_orientation/DeviceOrientationDispatcher.h b/Source/modules/device_orientation/DeviceOrientationDispatcher.h
index a9dd4ebd6919a17c66404cb95843aa5a8198bef0..cd9a60cd88993880cbd8229926383c55834c7657 100644
--- a/Source/modules/device_orientation/DeviceOrientationDispatcher.h
+++ b/Source/modules/device_orientation/DeviceOrientationDispatcher.h
@@ -31,7 +31,7 @@
#ifndef DeviceOrientationDispatcher_h
#define DeviceOrientationDispatcher_h
-#include "core/frame/DeviceEventDispatcherBase.h"
+#include "core/frame/PlatformEventDispatcher.h"
#include "platform/heap/Handle.h"
#include "public/platform/WebDeviceOrientationListener.h"
#include "wtf/RefPtr.h"
@@ -46,7 +46,7 @@ class DeviceOrientationController;
class DeviceOrientationData;
// This class listens to device orientation data and notifies all registered controllers.
-class DeviceOrientationDispatcher : public DeviceEventDispatcherBase, public blink::WebDeviceOrientationListener {
+class DeviceOrientationDispatcher : public PlatformEventDispatcher, public blink::WebDeviceOrientationListener {
public:
static DeviceOrientationDispatcher& instance();
@@ -61,7 +61,7 @@ private:
DeviceOrientationDispatcher();
~DeviceOrientationDispatcher();
- // Inherited from DeviceEventDispatcherBase.
+ // Inherited from PlatformEventDispatcher.
virtual void startListening() OVERRIDE;
virtual void stopListening() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698