Index: content/public/test/layouttest_support.h |
diff --git a/content/public/test/layouttest_support.h b/content/public/test/layouttest_support.h |
index db751c861cc5750582f8298c2d9a441054bee4db..03b9035d4d98fd40036b67bebd7a90bea5527545 100644 |
--- a/content/public/test/layouttest_support.h |
+++ b/content/public/test/layouttest_support.h |
@@ -48,6 +48,10 @@ void EnableWebTestProxyCreation( |
// Sets gamepad provider to be used for layout tests. |
void SetMockGamepadProvider(RendererGamepadProvider* provider); |
+// Sets a double that should be used when registering |
+// a listener through WebKitPlatformSupport::setDeviceLightListener(). |
+void SetMockDeviceLightData(const double data); |
+ |
// Sets WebDeviceMotionData that should be used when registering |
// a listener through WebKitPlatformSupport::setDeviceMotionListener(). |
void SetMockDeviceMotionData(const blink::WebDeviceMotionData& data); |