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

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

Issue 11630004: DevTools: rename debugger/ to devtools/, move DevTools files into content/renderer/devtools. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: For landing Created 8 years 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/browser/debugger/OWNERS ('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
deleted file mode 100644
index 944315b7aa2c5d78fd21b7cb6040da6c1bd37c91..0000000000000000000000000000000000000000
--- a/content/browser/debugger/devtools_agent_host.h
+++ /dev/null
@@ -1,59 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_BROWSER_DEBUGGER_DEVTOOLS_AGENT_HOST_H_
-#define CONTENT_BROWSER_DEBUGGER_DEVTOOLS_AGENT_HOST_H_
-
-#include <string>
-
-#include "content/common/content_export.h"
-#include "content/public/common/console_message_level.h"
-
-namespace IPC {
-class Message;
-}
-
-namespace content {
-
-// Describes interface for managing devtools agents from the browser process.
-class CONTENT_EXPORT DevToolsAgentHost {
- public:
- class CONTENT_EXPORT CloseListener {
- public:
- virtual void AgentHostClosing(DevToolsAgentHost*) = 0;
- protected:
- virtual ~CloseListener() {}
- };
-
- // Sends the message to the devtools agent hosted by this object.
- void Attach();
- void Reattach(const std::string& saved_agent_state);
- void Detach();
- void DipatchOnInspectorBackend(const std::string& message);
- void InspectElement(int x, int y);
- void AddMessageToConsole(ConsoleMessageLevel level,
- const std::string& message);
-
- virtual int GetRenderProcessId() = 0;
-
- void set_close_listener(CloseListener* listener) {
- close_listener_ = listener;
- }
-
- protected:
- DevToolsAgentHost();
- virtual ~DevToolsAgentHost() {}
-
- virtual void SendMessageToAgent(IPC::Message* msg) = 0;
- virtual void NotifyClientAttaching() = 0;
- virtual void NotifyClientDetaching() = 0;
-
- void NotifyCloseListener();
-
- CloseListener* close_listener_;
-};
-
-} // namespace content
-
-#endif // CONTENT_BROWSER_DEBUGGER_DEVTOOLS_AGENT_HOST_H_
« no previous file with comments | « content/browser/debugger/OWNERS ('k') | content/browser/debugger/devtools_agent_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698