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

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: rework in terms of dispather&controller pattern used by motion and orientation 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 165354a74368b6a8c7451a92a839ed54d8f8e481..dfdc98fd1b1f9fc839fdc198776102431ed513e1 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"
@@ -216,6 +217,7 @@ public:
virtual void sampleGamepads(WebGamepads& into) { into.length = 0; }
+ virtual void setGamepadListener(WebGamepadListener*) { }
abarth-chromium 2014/03/20 20:10:09 Please keep two blank lines between sections.
// History -------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698