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

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

Issue 2173783002: Adds visual viewport size override to DevTools Emulation protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix comment. Created 4 years, 5 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 | « no previous file | content/browser/devtools/protocol/emulation_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 e61862e66a7492a3697a5ebef1cad6c6fc01eacd..7bbf9500ad405aa530d6d3f6e73042b55d3bf607 100644
--- a/content/browser/devtools/protocol/emulation_handler.h
+++ b/content/browser/devtools/protocol/emulation_handler.h
@@ -52,7 +52,9 @@ class EmulationHandler {
const int* screen_height,
const int* position_x,
const int* position_y,
- const std::unique_ptr<base::DictionaryValue>& screen_orientation);
+ const std::unique_ptr<base::DictionaryValue>& screen_orientation,
+ const int* visual_viewport_width,
+ const int* visual_viewport_height);
Response ClearDeviceMetricsOverride();
private:
« no previous file with comments | « no previous file | content/browser/devtools/protocol/emulation_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698