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

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

Issue 2226323002: Resize DevTools target frames. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename, add tests, fix comments/style, add support in shell. 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/browser_handler.h
diff --git a/content/browser/devtools/protocol/browser_handler.h b/content/browser/devtools/protocol/browser_handler.h
index ee14bfd9177fbaf2b14e28d456f12c11a57bb580..b084f3ee7ce814a777936b46e598179ac1ecdcde 100644
--- a/content/browser/devtools/protocol/browser_handler.h
+++ b/content/browser/devtools/protocol/browser_handler.h
@@ -44,6 +44,8 @@ class BrowserHandler : public DevToolsAgentHostClient {
std::string* out_targetId);
Response CloseTarget(const std::string& targetId, bool* out_success);
Response GetTargets(TargetInfos* infos);
+ Response GetFrameSize(const std::string& targetId, int* width, int* height);
+ Response SetFrameSize(const std::string& targetId, int width, int height);
Response Attach(const std::string& targetId);
Response Detach(const std::string& targetId);
Response SendMessage(const std::string& targetId, const std::string& message);

Powered by Google App Engine
This is Rietveld 408576698