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

Unified Diff: content/public/browser/devtools_agent_host.h

Issue 2161493002: [DevTools] Pass client initiating DevToolsAgentHost::inspectElement. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit 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
« no previous file with comments | « content/common/devtools_messages.h ('k') | content/renderer/devtools/devtools_agent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/devtools_agent_host.h
diff --git a/content/public/browser/devtools_agent_host.h b/content/public/browser/devtools_agent_host.h
index f5ef494282cd859b610bf2580dcd62e09268da9e..33d341cfd46085a51a73c823d8569a19ca9a9095 100644
--- a/content/public/browser/devtools_agent_host.h
+++ b/content/public/browser/devtools_agent_host.h
@@ -128,8 +128,10 @@ class CONTENT_EXPORT DevToolsAgentHost
virtual bool DispatchProtocolMessage(DevToolsAgentHostClient* client,
const std::string& message) = 0;
- // Starts inspecting element at position (|x|, |y|) in the specified page.
- virtual void InspectElement(int x, int y) = 0;
+ // Starts inspecting element at position (|x|, |y|).
+ virtual void InspectElement(DevToolsAgentHostClient* client,
+ int x,
+ int y) = 0;
// Returns the unique id of the agent.
virtual std::string GetId() = 0;
« no previous file with comments | « content/common/devtools_messages.h ('k') | content/renderer/devtools/devtools_agent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698