[DeviceLight] Add Layout support
Adds the necessary plumbing to make it possible to test the blink
implementation of DeviceLight API using Layout Tests and TestRunner.
This is part 3 of the Adding Device Light [content side]
BUG=336424
Review URL: https://codereview.chromium.org/336823002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280626 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/content/shell/renderer/test_runner/test_runner.h b/content/shell/renderer/test_runner/test_runner.h
index b3479047..55172f7 100644
--- a/content/shell/renderer/test_runner/test_runner.h
+++ b/content/shell/renderer/test_runner/test_runner.h
@@ -279,6 +279,8 @@
int max_height);
bool DisableAutoResizeMode(int new_width, int new_height);
+ void SetMockDeviceLight(double value);
+ void ResetDeviceLight();
// Device Motion / Device Orientation related functions
void SetMockDeviceMotion(bool has_acceleration_x, double acceleration_x,
bool has_acceleration_y, double acceleration_y,