| 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 577f28e82b9fcf0501c72bd5cfe3b2f0b980bbe0..6337aee99a7a2b7d33a616fa8ba782855e4a3b79 100644
|
| --- a/content/shell/renderer/test_runner/WebTestDelegate.h
|
| +++ b/content/shell/renderer/test_runner/WebTestDelegate.h
|
| @@ -18,6 +18,7 @@ namespace blink {
|
| class WebDeviceMotionData;
|
| class WebDeviceOrientationData;
|
| class WebFrame;
|
| +class WebGamepad;
|
| class WebGamepads;
|
| class WebHistoryItem;
|
| struct WebRect;
|
| @@ -41,6 +42,12 @@ public:
|
| // 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;
|
| +
|
| // Set data to return when registering via Platform::setDeviceMotionListener().
|
| virtual void setDeviceMotionData(const blink::WebDeviceMotionData&) = 0;
|
| // Set data to return when registering via Platform::setDeviceOrientationListener().
|
|
|