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

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

Issue 13305002: Remove redundant DevToolsManager methods and clean up its clients. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments Created 7 years, 9 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/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 9b9a0cc85e781fdfb1a7fe771229449de78bb982..80182fe4c27fe8f2bf9d20194b8c992ff1f6fb73 100644
--- a/content/public/browser/devtools_agent_host.h
+++ b/content/public/browser/devtools_agent_host.h
@@ -52,6 +52,9 @@ class CONTENT_EXPORT DevToolsAgentHost
// Returns a list of all existing RenderViewHost's that can be debugged.
static std::vector<RenderViewHost*> GetValidRenderViewHosts();
+ // Returns true if there is a client attached.
+ virtual bool IsAttached() = 0;
+
// Starts inspecting element at position (|x|, |y|) in the specified page.
virtual void InspectElement(int x, int y) = 0;
« no previous file with comments | « content/browser/devtools/worker_devtools_manager.cc ('k') | content/public/browser/devtools_external_agent_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698