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 8d9f00448575ba406b8811deac82fb0f9d15b537..09f37f7f3e9779debfd87897dd28217a335ecee4 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 DeviceLightData; |
class RendererGamepadProvider; |
class WebTask; |
class WebTestProxyBase; |
@@ -44,7 +45,11 @@ public: |
// Sets gamepad provider to be used for tests. |
virtual void setGamepadProvider(RendererGamepadProvider*) = 0; |
- // Set data to return when registering via Platform::setDeviceMotionListener(). |
+ // Set data to return when registering via |
+ // Platform::setDeviceLightListener(). |
+ virtual void setDeviceLightData(const double) = 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(). |
virtual void setDeviceOrientationData(const blink::WebDeviceOrientationData&) = 0; |