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

Unified Diff: headless/lib/browser/headless_web_contents_impl.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: headless/lib/browser/headless_web_contents_impl.h
diff --git a/headless/lib/browser/headless_web_contents_impl.h b/headless/lib/browser/headless_web_contents_impl.h
index e0eec04afa2f6e30115e2461c45b06620cdca072..dde41581d34b93bbc8b9ab99f9d1d69a3b5caf3e 100644
--- a/headless/lib/browser/headless_web_contents_impl.h
+++ b/headless/lib/browser/headless_web_contents_impl.h
@@ -35,6 +35,8 @@ class HeadlessWebContentsImpl : public HeadlessWebContents,
public:
~HeadlessWebContentsImpl() override;
+ static HeadlessWebContentsImpl* From(HeadlessWebContents* web_contents);
+
static std::unique_ptr<HeadlessWebContentsImpl> Create(
HeadlessWebContents::Builder* builder,
aura::Window* parent_window,
@@ -59,6 +61,8 @@ class HeadlessWebContentsImpl : public HeadlessWebContents,
void Close() override;
+ std::string GetDevtoolsAgentHostId();
+
private:
// Takes ownership of |web_contents|.
HeadlessWebContentsImpl(content::WebContents* web_contents,

Powered by Google App Engine
This is Rietveld 408576698