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

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

Issue 2119063002: Add commands to manage tabs and contexts to Browser Domain (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix name 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
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 d4135bc1625a593a7116c734d1cf2744269cf748..3cf34de759182815171a48951d0da10f30aa62d3 100644
--- a/content/browser/devtools/protocol/browser_handler.h
+++ b/content/browser/devtools/protocol/browser_handler.h
@@ -33,6 +33,16 @@ class BrowserHandler : public DevToolsAgentHostClient {
void SetClient(std::unique_ptr<Client> client);
using TargetInfos = std::vector<scoped_refptr<devtools::browser::TargetInfo>>;
+
+ Response CreateBrowserContext(std::string* out_context_id);
+ Response DisposeBrowserContext(const std::string& context_id,
+ bool* out_success);
+ Response CreateTarget(const std::string& initial_url,
+ const int* width,
+ const int* height,
+ const std::string* context_id,
+ std::string* out_targetId);
+ Response CloseTarget(const std::string& targetId, bool* out_success);
Response GetTargets(TargetInfos* infos);
Response Attach(const std::string& targetId);
Response Detach(const std::string& targetId);

Powered by Google App Engine
This is Rietveld 408576698