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_ |