Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(330)

Unified Diff: content/test/layouttest_support.cc

Issue 336823002: [DeviceLight] Add Layout support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/test/layouttest_support.cc
diff --git a/content/test/layouttest_support.cc b/content/test/layouttest_support.cc
index 7e87254caae1c4c52dc40a8072df906cfa48c963..32358e8937abda2c39c8dc99cf10ccb6aa32beec 100644
--- a/content/test/layouttest_support.cc
+++ b/content/test/layouttest_support.cc
@@ -86,6 +86,10 @@ void SetMockGamepadProvider(RendererGamepadProvider* provider) {
set_gamepad_provider(provider);
}
+void SetMockDeviceLightData(const double data) {
+ RendererWebKitPlatformSupportImpl::SetMockDeviceLightDataForTesting(data);
+}
+
void SetMockDeviceMotionData(const WebDeviceMotionData& data) {
RendererWebKitPlatformSupportImpl::SetMockDeviceMotionDataForTesting(data);
}

Powered by Google App Engine
This is Rietveld 408576698