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

Unified Diff: content/shell/renderer/webkit_test_runner.cc

Issue 152893002: [DeviceLight API] Content Side Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix in Java file, stop() Created 6 years, 9 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
« no previous file with comments | « content/shell/renderer/webkit_test_runner.h ('k') | content/test/layouttest_support.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/webkit_test_runner.cc
diff --git a/content/shell/renderer/webkit_test_runner.cc b/content/shell/renderer/webkit_test_runner.cc
index 4141520208682f39eb21742dfd6522aeb6d04e1c..e4b9517e64057dcb18510281e44cb580a4d64c7a 100644
--- a/content/shell/renderer/webkit_test_runner.cc
+++ b/content/shell/renderer/webkit_test_runner.cc
@@ -248,6 +248,10 @@ void WebKitTestRunner::didDisconnectGamepad(
MockGamepadDisconnected(index, gamepad);
}
+void WebKitTestRunner::setDeviceLightData(const double& data) {
+ SetMockDeviceLightData(data);
+}
+
void WebKitTestRunner::setDeviceMotionData(const WebDeviceMotionData& data) {
SetMockDeviceMotionData(data);
}
« no previous file with comments | « content/shell/renderer/webkit_test_runner.h ('k') | content/test/layouttest_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698