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

Unified Diff: headless/public/headless_web_contents.h

Issue 2812253002: Headless: Support sending and receiving of raw protocol messages (Closed)
Patch Set: Add ability to find render tree node id for devtools agent host ids 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
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..113fcf0a41a7f19624930c49064d52d3c973d0ee 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 render tree node id associated with the
+ // |devtools_agent_host_id| if any.
+ virtual bool GetRenderTreeNodeIdForDevToolsAgentHostId(
+ const std::string& devtools_agent_host_id,
+ int* render_tree_node_id) const = 0;
+
private:
friend class HeadlessWebContentsImpl;
HeadlessWebContents() {}
« headless/public/headless_devtools_client.h ('K') | « headless/public/headless_devtools_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698