| Index: public/testing/WebTestDelegate.h
|
| diff --git a/public/testing/WebTestDelegate.h b/public/testing/WebTestDelegate.h
|
| index 552a065691098a8edc4dc66d6797c6213df0b52d..82c7b82768060fe65925d027b228ec0e1b590f9a 100644
|
| --- a/public/testing/WebTestDelegate.h
|
| +++ b/public/testing/WebTestDelegate.h
|
| @@ -40,6 +40,7 @@
|
|
|
| namespace WebKit {
|
| class WebDeviceMotionData;
|
| +class WebDeviceOrientationData;
|
| class WebFrame;
|
| class WebGamepads;
|
| class WebHistoryItem;
|
| @@ -64,7 +65,10 @@ public:
|
| // Set the gamepads to return from Platform::sampleGamepads().
|
| virtual void setGamepadData(const WebKit::WebGamepads&) = 0;
|
|
|
| + // Set data to return when registering via Platform::setDeviceMotionListener().
|
| virtual void setDeviceMotionData(const WebKit::WebDeviceMotionData&) = 0;
|
| + // Set data to return when registering via Platform::setDeviceOrientationListener().
|
| + virtual void setDeviceOrientationData(const WebKit::WebDeviceOrientationData&) = 0;
|
|
|
| // Add a message to the text dump for the layout test.
|
| virtual void printMessage(const std::string& message) = 0;
|
|
|