| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_BROWSER_DEBUGGER_DEVTOOLS_MANAGER_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_DEBUGGER_DEVTOOLS_MANAGER_IMPL_H_ |
| 6 #define CONTENT_BROWSER_DEBUGGER_DEVTOOLS_MANAGER_IMPL_H_ | 6 #define CONTENT_BROWSER_DEBUGGER_DEVTOOLS_MANAGER_IMPL_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 virtual DevToolsClientHost* GetDevToolsClientHostFor( | 68 virtual DevToolsClientHost* GetDevToolsClientHostFor( |
| 69 DevToolsAgentHost* agent_host) OVERRIDE; | 69 DevToolsAgentHost* agent_host) OVERRIDE; |
| 70 virtual DevToolsAgentHost* GetDevToolsAgentHostFor( | 70 virtual DevToolsAgentHost* GetDevToolsAgentHostFor( |
| 71 DevToolsClientHost* client_host) OVERRIDE; | 71 DevToolsClientHost* client_host) OVERRIDE; |
| 72 virtual void RegisterDevToolsClientHostFor( | 72 virtual void RegisterDevToolsClientHostFor( |
| 73 DevToolsAgentHost* agent_host, | 73 DevToolsAgentHost* agent_host, |
| 74 DevToolsClientHost* client_host) OVERRIDE; | 74 DevToolsClientHost* client_host) OVERRIDE; |
| 75 virtual void UnregisterDevToolsClientHostFor( | 75 virtual void UnregisterDevToolsClientHostFor( |
| 76 DevToolsAgentHost* agent_host) OVERRIDE; | 76 DevToolsAgentHost* agent_host) OVERRIDE; |
| 77 virtual int DetachClientHost(DevToolsAgentHost* from_agent) OVERRIDE; | 77 virtual int DetachClientHost(DevToolsAgentHost* from_agent) OVERRIDE; |
| 78 virtual void ClientHostOpening(DevToolsClientHost* host) OVERRIDE; |
| 78 virtual void ClientHostClosing(DevToolsClientHost* host) OVERRIDE; | 79 virtual void ClientHostClosing(DevToolsClientHost* host) OVERRIDE; |
| 79 virtual void InspectElement(DevToolsAgentHost* agent_host, | 80 virtual void InspectElement(DevToolsAgentHost* agent_host, |
| 80 int x, int y) OVERRIDE; | 81 int x, int y) OVERRIDE; |
| 81 virtual void AddMessageToConsole(DevToolsAgentHost* agent_host, | 82 virtual void AddMessageToConsole(DevToolsAgentHost* agent_host, |
| 82 ConsoleMessageLevel level, | 83 ConsoleMessageLevel level, |
| 83 const std::string& message) OVERRIDE; | 84 const std::string& message) OVERRIDE; |
| 84 | 85 |
| 85 private: | 86 private: |
| 86 friend struct DefaultSingletonTraits<DevToolsManagerImpl>; | 87 friend struct DefaultSingletonTraits<DevToolsManagerImpl>; |
| 87 | 88 |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 OrphanClientHosts; | 123 OrphanClientHosts; |
| 123 OrphanClientHosts orphan_client_hosts_; | 124 OrphanClientHosts orphan_client_hosts_; |
| 124 int last_orphan_cookie_; | 125 int last_orphan_cookie_; |
| 125 | 126 |
| 126 DISALLOW_COPY_AND_ASSIGN(DevToolsManagerImpl); | 127 DISALLOW_COPY_AND_ASSIGN(DevToolsManagerImpl); |
| 127 }; | 128 }; |
| 128 | 129 |
| 129 } // namespace content | 130 } // namespace content |
| 130 | 131 |
| 131 #endif // CONTENT_BROWSER_DEBUGGER_DEVTOOLS_MANAGER_IMPL_H_ | 132 #endif // CONTENT_BROWSER_DEBUGGER_DEVTOOLS_MANAGER_IMPL_H_ |
| OLD | NEW |