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

Unified Diff: content/shell/renderer/test_runner/WebTestDelegate.h

Issue 336823002: [DeviceLight] Add Layout support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove unrelated changes 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
« no previous file with comments | « content/public/test/layouttest_support.h ('k') | content/shell/renderer/test_runner/test_runner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/test_runner/WebTestDelegate.h
diff --git a/content/shell/renderer/test_runner/WebTestDelegate.h b/content/shell/renderer/test_runner/WebTestDelegate.h
index 8d9f00448575ba406b8811deac82fb0f9d15b537..09f37f7f3e9779debfd87897dd28217a335ecee4 100644
--- a/content/shell/renderer/test_runner/WebTestDelegate.h
+++ b/content/shell/renderer/test_runner/WebTestDelegate.h
@@ -29,6 +29,7 @@ struct WebURLError;
namespace content {
+class DeviceLightData;
class RendererGamepadProvider;
class WebTask;
class WebTestProxyBase;
@@ -44,7 +45,11 @@ public:
// Sets gamepad provider to be used for tests.
virtual void setGamepadProvider(RendererGamepadProvider*) = 0;
- // Set data to return when registering via Platform::setDeviceMotionListener().
+ // Set data to return when registering via
+ // Platform::setDeviceLightListener().
+ virtual void setDeviceLightData(const double) = 0;
+ // Set data to return when registering via
+ // Platform::setDeviceMotionListener().
virtual void setDeviceMotionData(const blink::WebDeviceMotionData&) = 0;
// Set data to return when registering via Platform::setDeviceOrientationListener().
virtual void setDeviceOrientationData(const blink::WebDeviceOrientationData&) = 0;
« no previous file with comments | « content/public/test/layouttest_support.h ('k') | content/shell/renderer/test_runner/test_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698