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

Unified Diff: headless/public/headless_web_contents.h

Issue 2812253002: Headless: Support sending and receiving of raw protocol messages (Closed)
Patch Set: Fix tests Created 3 years, 8 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 | « headless/public/headless_devtools_client.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: headless/public/headless_web_contents.h
diff --git a/headless/public/headless_web_contents.h b/headless/public/headless_web_contents.h
index bbae478c5fdbcffdf2e60e5b7c13fc4faa27b719..031045f0e964221915b32bcbeddf7523912b10ea 100644
--- a/headless/public/headless_web_contents.h
+++ b/headless/public/headless_web_contents.h
@@ -75,6 +75,12 @@ class HEADLESS_EXPORT HeadlessWebContents {
// Returns the headless tab socket for JS -> C++ if one was created.
virtual HeadlessTabSocket* GetHeadlessTabSocket() const = 0;
+ // Returns the frame tree node id associated with the |devtools_agent_host_id|
+ // if any.
+ virtual bool GetFrameTreeNodeIdForDevToolsAgentHostId(
+ const std::string& devtools_agent_host_id,
+ int* frame_tree_node_id) const = 0;
+
private:
friend class HeadlessWebContentsImpl;
HeadlessWebContents() {}
« no previous file with comments | « headless/public/headless_devtools_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698