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

Unified Diff: public/platform/Platform.h

Issue 200783002: Gamepad API: add support for gamepadconnected and gamepaddisconnected events (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: address comments Created 6 years, 9 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: public/platform/Platform.h
diff --git a/public/platform/Platform.h b/public/platform/Platform.h
index 547bcec99fac10d47461bac44de4998fc21ed832..84a04b27dc7b00d0a926f68c615ca3d64d8564ce 100644
--- a/public/platform/Platform.h
+++ b/public/platform/Platform.h
@@ -38,6 +38,7 @@
#include "WebAudioDevice.h"
#include "WebCommon.h"
#include "WebData.h"
+#include "WebGamepadListener.h"
#include "WebGamepads.h"
#include "WebGraphicsContext3D.h"
#include "WebLocalizedString.h"
@@ -220,6 +221,7 @@ public:
virtual void sampleGamepads(WebGamepads& into) { into.length = 0; }
+ virtual void setGamepadListener(WebGamepadListener*) { }
// History -------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698