Index: chrome/test/chromedriver/chrome/web_view.h |
diff --git a/chrome/test/chromedriver/chrome/web_view.h b/chrome/test/chromedriver/chrome/web_view.h |
index e30ec9518150e844f313209ca350a03f29658760..b59c8d882d2851c7d3b3b189176273eda0b83c5a 100644 |
--- a/chrome/test/chromedriver/chrome/web_view.h |
+++ b/chrome/test/chromedriver/chrome/web_view.h |
@@ -21,6 +21,7 @@ class Value; |
class DevToolsClient; |
struct Geoposition; |
+struct DeviceMetrics; |
stgao
2014/04/30 03:32:55
Not in order.
sam.rawlins
2014/05/06 23:51:46
Done.
|
class JavaScriptDialogManager; |
struct KeyEvent; |
struct MouseEvent; |
@@ -139,6 +140,9 @@ class WebView { |
// Overrides normal geolocation with a given geoposition. |
virtual Status OverrideGeolocation(const Geoposition& geoposition) = 0; |
+ // Overrides normal device metrics with a given set of metrics. |
+ virtual Status OverrideDeviceMetrics(const DeviceMetrics& device_metrics) = 0; |
stgao
2014/05/03 00:15:20
Same as my comment in device_metrics_override_mana
sam.rawlins
2014/05/06 23:51:46
Done.
|
+ |
// Captures the visible portions of the web view as a base64-encoded PNG. |
virtual Status CaptureScreenshot(std::string* screenshot) = 0; |