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

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: 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..8791bc3cf55218ed57a8193e33b1696c1140b224 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* listener) { }
Inactive 2014/03/14 19:46:08 "listener" can be omitted.
kbalazs 2014/03/14 23:51:27 Done.
// History -------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698