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

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: fix missing check for event type 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..6b3608ef759e83b556461622d42e81258e5a5f66 100644
--- a/public/platform/Platform.h
+++ b/public/platform/Platform.h
@@ -220,6 +220,7 @@ public:
virtual void sampleGamepads(WebGamepads& into) { into.length = 0; }
+ virtual void setGamepadListener(WebGamepadListener*) { }
// History -------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698