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

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: Addressed comments 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
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..7f8aede982122aa9b5913bd24a0c3ad32194ac70 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:
@@ -29,6 +31,8 @@ class CONTENT_EXPORT DevToolsAgentHost {
virtual void Attach();
virtual void Reattach(const std::string& saved_agent_state);
virtual void Detach();
+ virtual void DipatchOnInspectorBackend(const std::string& message);
+ virtual void InspectElement(int x, int y);
// TODO(yurys): get rid of this method
virtual void NotifyClientClosing() = 0;
@@ -48,4 +52,6 @@ class CONTENT_EXPORT DevToolsAgentHost {
CloseListener* close_listener_;
};
+} // namespace content
+
#endif // CONTENT_BROWSER_DEBUGGER_DEVTOOLS_AGENT_HOST_H_

Powered by Google App Engine
This is Rietveld 408576698