Chromium Code Reviews| 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..cc59cbfd8dd7048090b71b1ad7c9bd00ed33ffcb 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; |
| + // XXX cm |
|
jam
2014/06/18 23:23:42
?
|
| + virtual void setGamepadProvider(RendererGamepadProvider*) = 0; |
| // Set data to return when registering via Platform::setDeviceMotionListener(). |
| virtual void setDeviceMotionData(const blink::WebDeviceMotionData&) = 0; |