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

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

Issue 2226323002: Resize DevTools target frames. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove getFrameSize, rename to setVisibleSize. Created 4 years, 4 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 e61862e66a7492a3697a5ebef1cad6c6fc01eacd..1029002c4c580ed9a9f517e0e3b01578426d3804 100644
--- a/content/browser/devtools/protocol/emulation_handler.h
+++ b/content/browser/devtools/protocol/emulation_handler.h
@@ -55,6 +55,8 @@ class EmulationHandler {
const std::unique_ptr<base::DictionaryValue>& screen_orientation);
Response ClearDeviceMetricsOverride();
+ Response SetVisibleSize(int width, int height);
+
private:
WebContentsImpl* GetWebContents();
void UpdateTouchEventEmulationState();

Powered by Google App Engine
This is Rietveld 408576698