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

Unified Diff: third_party/WebKit/public/platform/WebGamepadListener.h

Issue 2808093006: [Device Service] Move Gamepad Blink headers to be part of the Gamepad client library (Closed)
Patch Set: rebase and address comments Created 3 years, 8 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 | « third_party/WebKit/public/platform/WebGamepad.h ('k') | third_party/WebKit/public/platform/WebGamepads.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebGamepadListener.h
diff --git a/third_party/WebKit/public/platform/WebGamepadListener.h b/third_party/WebKit/public/platform/WebGamepadListener.h
index f2fbffc49ebde0a0a103370449f32714866ff5a2..75016fa803c05a521504464907f88b86f8682a26 100644
--- a/third_party/WebKit/public/platform/WebGamepadListener.h
+++ b/third_party/WebKit/public/platform/WebGamepadListener.h
@@ -7,14 +7,16 @@
#include "WebPlatformEventListener.h"
-namespace blink {
+namespace device {
+class Gamepad;
+}
-class WebGamepad;
+namespace blink {
class WebGamepadListener : public WebPlatformEventListener {
public:
- virtual void DidConnectGamepad(unsigned index, const WebGamepad&) = 0;
- virtual void DidDisconnectGamepad(unsigned index, const WebGamepad&) = 0;
+ virtual void DidConnectGamepad(unsigned index, const device::Gamepad&) = 0;
+ virtual void DidDisconnectGamepad(unsigned index, const device::Gamepad&) = 0;
protected:
virtual ~WebGamepadListener() {}
« no previous file with comments | « third_party/WebKit/public/platform/WebGamepad.h ('k') | third_party/WebKit/public/platform/WebGamepads.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698