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

Unified Diff: Source/modules/battery/BatteryDispatcher.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
« no previous file with comments | « Source/core/frame/PlatformEventDispatcher.cpp ('k') | Source/modules/battery/BatteryDispatcher.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/battery/BatteryDispatcher.h
diff --git a/Source/modules/battery/BatteryDispatcher.h b/Source/modules/battery/BatteryDispatcher.h
index 6fdf38f7ead9c06f2f8d4db121a0fdd572549cbd..90c49825b42fbd9fe453de3b4e4013b7b9c07470 100644
--- a/Source/modules/battery/BatteryDispatcher.h
+++ b/Source/modules/battery/BatteryDispatcher.h
@@ -5,7 +5,7 @@
#ifndef BatteryDispatcher_h
#define BatteryDispatcher_h
-#include "core/frame/DeviceEventDispatcherBase.h"
+#include "core/frame/PlatformEventDispatcher.h"
#include "modules/battery/BatteryManager.h"
#include "modules/battery/BatteryStatus.h"
#include "public/platform/WebBatteryStatusListener.h"
@@ -16,7 +16,7 @@ class WebBatteryStatus;
namespace blink {
-class BatteryDispatcher FINAL : public DeviceEventDispatcherBase, public blink::WebBatteryStatusListener {
+class BatteryDispatcher FINAL : public PlatformEventDispatcher, public blink::WebBatteryStatusListener {
public:
static BatteryDispatcher& instance();
virtual ~BatteryDispatcher();
@@ -29,7 +29,7 @@ public:
private:
BatteryDispatcher();
- // Inherited from DeviceEventDispatcherBase.
+ // Inherited from PlatformEventDispatcher.
virtual void startListening() OVERRIDE;
virtual void stopListening() OVERRIDE;
« no previous file with comments | « Source/core/frame/PlatformEventDispatcher.cpp ('k') | Source/modules/battery/BatteryDispatcher.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698