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

Unified Diff: Source/modules/gamepad/GamepadDispatcher.h

Issue 466813003: Cleanup namespace usage in Source/core/modules/[battery/* to indexeddb/*] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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/modules/gamepad/Gamepad.h ('k') | Source/modules/gamepad/GamepadList.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/gamepad/GamepadDispatcher.h
diff --git a/Source/modules/gamepad/GamepadDispatcher.h b/Source/modules/gamepad/GamepadDispatcher.h
index f3021d7d9e7c5e2682d302b86d4b865a715c368a..4bd3ea3e0248f9074af99d3f3222605c622c0dd1 100644
--- a/Source/modules/gamepad/GamepadDispatcher.h
+++ b/Source/modules/gamepad/GamepadDispatcher.h
@@ -11,21 +11,18 @@
#include "public/platform/WebGamepadListener.h"
namespace blink {
-class WebGamepads;
-}
-
-namespace blink {
class NavigatorGamepad;
+class WebGamepads;
-class GamepadDispatcher : public PlatformEventDispatcher, public blink::WebGamepadListener {
+class GamepadDispatcher : public PlatformEventDispatcher, public WebGamepadListener {
public:
static GamepadDispatcher& instance();
- void sampleGamepads(blink::WebGamepads&);
+ void sampleGamepads(WebGamepads&);
struct ConnectionChange {
- blink::WebGamepad pad;
+ WebGamepad pad;
unsigned index;
};
@@ -36,14 +33,14 @@ private:
virtual ~GamepadDispatcher();
// WebGamepadListener
- virtual void didConnectGamepad(unsigned index, const blink::WebGamepad&) OVERRIDE;
- virtual void didDisconnectGamepad(unsigned index, const blink::WebGamepad&) OVERRIDE;
+ virtual void didConnectGamepad(unsigned index, const WebGamepad&) OVERRIDE;
+ virtual void didDisconnectGamepad(unsigned index, const WebGamepad&) OVERRIDE;
// PlatformEventDispatcher
virtual void startListening() OVERRIDE;
virtual void stopListening() OVERRIDE;
- void dispatchDidConnectOrDisconnectGamepad(unsigned index, const blink::WebGamepad&, bool connected);
+ void dispatchDidConnectOrDisconnectGamepad(unsigned index, const WebGamepad&, bool connected);
ConnectionChange m_latestChange;
};
« no previous file with comments | « Source/modules/gamepad/Gamepad.h ('k') | Source/modules/gamepad/GamepadList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698