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

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

Issue 8549022: Define DevTools content API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: jam's comments addressed Created 9 years, 1 month 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 | « chrome/browser/ui/webui/workers_ui.cc ('k') | content/browser/debugger/devtools_agent_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/debugger/devtools_agent_host.h
diff --git a/content/browser/debugger/devtools_agent_host.h b/content/browser/debugger/devtools_agent_host.h
index fe430dd9946bd0cb6c7c4abfcdf507af60714f42..b0621d4daa839a54c3567ee997338e2f485cce93 100644
--- a/content/browser/debugger/devtools_agent_host.h
+++ b/content/browser/debugger/devtools_agent_host.h
@@ -14,6 +14,8 @@ namespace IPC {
class Message;
}
+namespace content {
+
// Describes interface for managing devtools agents from the browser process.
class CONTENT_EXPORT DevToolsAgentHost {
public:
@@ -25,10 +27,11 @@ class CONTENT_EXPORT DevToolsAgentHost {
};
// Sends the message to the devtools agent hosted by this object.
- virtual void SendMessageToAgent(IPC::Message* msg) = 0;
- virtual void Attach();
- virtual void Reattach(const std::string& saved_agent_state);
- virtual void Detach();
+ void Attach();
+ void Reattach(const std::string& saved_agent_state);
+ void Detach();
+ void DipatchOnInspectorBackend(const std::string& message);
+ void InspectElement(int x, int y);
// TODO(yurys): get rid of this method
virtual void NotifyClientClosing() = 0;
@@ -43,9 +46,12 @@ class CONTENT_EXPORT DevToolsAgentHost {
DevToolsAgentHost();
virtual ~DevToolsAgentHost() {}
+ virtual void SendMessageToAgent(IPC::Message* msg) = 0;
void NotifyCloseListener();
CloseListener* close_listener_;
};
+} // namespace content
+
#endif // CONTENT_BROWSER_DEBUGGER_DEVTOOLS_AGENT_HOST_H_
« no previous file with comments | « chrome/browser/ui/webui/workers_ui.cc ('k') | content/browser/debugger/devtools_agent_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698