Index: content/public/test/layouttest_support.h |
diff --git a/content/public/test/layouttest_support.h b/content/public/test/layouttest_support.h |
index 6c7e847723a573cff9d84187646af181cdb458bf..54f7055966994eb24fa41d3a565415605556d830 100644 |
--- a/content/public/test/layouttest_support.h |
+++ b/content/public/test/layouttest_support.h |
@@ -49,6 +49,10 @@ void MockGamepadConnected(int index, const blink::WebGamepad& pad); |
// Notifies blink that a gamepad has been disconnected. |
void MockGamepadDisconnected(int index, const blink::WebGamepad& pad); |
+// Sets WebDeviceLightData 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); |