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

Unified Diff: content/shell/renderer/webkit_test_runner.h

Issue 207323002: Gamepad API: add test support for gamepad events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.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: content/shell/renderer/webkit_test_runner.h
diff --git a/content/shell/renderer/webkit_test_runner.h b/content/shell/renderer/webkit_test_runner.h
index 67f50b0fec9b6a8005deea1ecc7d5b022f5931fc..0492d33fd8babae9a1c19a34171433734e59a410 100644
--- a/content/shell/renderer/webkit_test_runner.h
+++ b/content/shell/renderer/webkit_test_runner.h
@@ -57,6 +57,10 @@ class WebKitTestRunner : public RenderViewObserver,
virtual void setEditCommand(const std::string& name,
const std::string& value) OVERRIDE;
virtual void setGamepadData(const blink::WebGamepads& gamepads) OVERRIDE;
+ virtual void didConnectGamepad(int index,
+ const blink::WebGamepad& gamepad) OVERRIDE;
+ virtual void didDisconnectGamepad(int index,
+ const blink::WebGamepad& gamepad) OVERRIDE;
virtual void setDeviceMotionData(
const blink::WebDeviceMotionData& data) OVERRIDE;
virtual void setDeviceOrientationData(

Powered by Google App Engine
This is Rietveld 408576698