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

Unified Diff: content/browser/devtools/protocol/emulation_handler.h

Issue 1723663005: Revert of [DevTools] Move screen orientation override to RenderWidgetScreenMetricsEmulator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/browser/devtools/protocol/emulation_handler.h
diff --git a/content/browser/devtools/protocol/emulation_handler.h b/content/browser/devtools/protocol/emulation_handler.h
index a5aec635500fae712f37874d67afd8b539805a01..bcaeb0d04102ff2443d773230f60b496057267ec 100644
--- a/content/browser/devtools/protocol/emulation_handler.h
+++ b/content/browser/devtools/protocol/emulation_handler.h
@@ -39,20 +39,18 @@
const std::string* configuration);
Response CanEmulate(bool* result);
- Response SetDeviceMetricsOverride(
- int width,
- int height,
- double device_scale_factor,
- bool mobile,
- bool fit_window,
- const double* optional_scale,
- const double* optional_offset_x,
- const double* optional_offset_y,
- const int* screen_widget,
- const int* screen_height,
- const int* position_x,
- const int* position_y,
- const scoped_ptr<base::DictionaryValue>& screen_orientation);
+ Response SetDeviceMetricsOverride(int width,
+ int height,
+ double device_scale_factor,
+ bool mobile,
+ bool fit_window,
+ const double* optional_scale,
+ const double* optional_offset_x,
+ const double* optional_offset_y,
+ const int* screen_widget,
+ const int* screen_height,
+ const int* position_x,
+ const int* position_y);
Response ClearDeviceMetricsOverride();
private:

Powered by Google App Engine
This is Rietveld 408576698