Index: content/shell/renderer/test_runner/WebTestDelegate.h |
diff --git a/content/shell/renderer/test_runner/WebTestDelegate.h b/content/shell/renderer/test_runner/WebTestDelegate.h |
index 31a9ad79f25bc8e7a8cba7820d5d316e17c0f50a..8d9f00448575ba406b8811deac82fb0f9d15b537 100644 |
--- a/content/shell/renderer/test_runner/WebTestDelegate.h |
+++ b/content/shell/renderer/test_runner/WebTestDelegate.h |
@@ -29,6 +29,7 @@ struct WebURLError; |
namespace content { |
+class RendererGamepadProvider; |
class WebTask; |
class WebTestProxyBase; |
struct TestPreferences; |
@@ -40,14 +41,8 @@ public: |
virtual void clearEditCommand() = 0; |
virtual void setEditCommand(const std::string& name, const std::string& value) = 0; |
- // Set the gamepads to return from Platform::sampleGamepads(). |
- virtual void setGamepadData(const blink::WebGamepads&) = 0; |
- |
- // Notifies blink about a new gamepad. |
- virtual void didConnectGamepad(int index, const blink::WebGamepad&) = 0; |
- |
- // Notifies blink that a gamepad has been disconnected. |
- virtual void didDisconnectGamepad(int index, const blink::WebGamepad&) = 0; |
+ // Sets gamepad provider to be used for tests. |
+ virtual void setGamepadProvider(RendererGamepadProvider*) = 0; |
// Set data to return when registering via Platform::setDeviceMotionListener(). |
virtual void setDeviceMotionData(const blink::WebDeviceMotionData&) = 0; |