| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 // Sends 'Attach' message to the agent using |dest_rvh| in case | 56 // Sends 'Attach' message to the agent using |dest_rvh| in case |
| 57 // there is a DevToolsClientHost registered for the |inspected_rvh|. | 57 // there is a DevToolsClientHost registered for the |inspected_rvh|. |
| 58 void OnNavigatingToPendingEntry(RenderViewHost* inspected_rvh, | 58 void OnNavigatingToPendingEntry(RenderViewHost* inspected_rvh, |
| 59 RenderViewHost* dest_rvh, | 59 RenderViewHost* dest_rvh, |
| 60 const GURL& gurl); | 60 const GURL& gurl); |
| 61 void OnCancelPendingNavigation(RenderViewHost* pending, | 61 void OnCancelPendingNavigation(RenderViewHost* pending, |
| 62 RenderViewHost* current); | 62 RenderViewHost* current); |
| 63 | 63 |
| 64 // Invoked when a tab is replaced by another tab. This is triggered by | 64 // Invoked when a tab is replaced by another tab. This is triggered by |
| 65 // TabStripModel::ReplaceTabContentsAt. | 65 // TabStripModel::ReplaceTabContentsAt. |
| 66 virtual void TabReplaced(TabContents* old_tab, TabContents* new_tab) OVERRIDE; | 66 virtual void TabReplaced(WebContents* old_tab, WebContents* new_tab) OVERRIDE; |
| 67 | 67 |
| 68 // Closes all open developer tools windows. | 68 // Closes all open developer tools windows. |
| 69 virtual void CloseAllClientHosts() OVERRIDE; | 69 virtual void CloseAllClientHosts() OVERRIDE; |
| 70 | 70 |
| 71 virtual void AttachClientHost(int client_host_cookie, | 71 virtual void AttachClientHost(int client_host_cookie, |
| 72 DevToolsAgentHost* to_agent) OVERRIDE; | 72 DevToolsAgentHost* to_agent) OVERRIDE; |
| 73 virtual DevToolsClientHost* GetDevToolsClientHostFor( | 73 virtual DevToolsClientHost* GetDevToolsClientHostFor( |
| 74 DevToolsAgentHost* agent_host) OVERRIDE; | 74 DevToolsAgentHost* agent_host) OVERRIDE; |
| 75 virtual void RegisterDevToolsClientHostFor( | 75 virtual void RegisterDevToolsClientHostFor( |
| 76 DevToolsAgentHost* agent_host, | 76 DevToolsAgentHost* agent_host, |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 OrphanClientHosts; | 131 OrphanClientHosts; |
| 132 OrphanClientHosts orphan_client_hosts_; | 132 OrphanClientHosts orphan_client_hosts_; |
| 133 int last_orphan_cookie_; | 133 int last_orphan_cookie_; |
| 134 | 134 |
| 135 DISALLOW_COPY_AND_ASSIGN(DevToolsManagerImpl); | 135 DISALLOW_COPY_AND_ASSIGN(DevToolsManagerImpl); |
| 136 }; | 136 }; |
| 137 | 137 |
| 138 } // namespace content | 138 } // namespace content |
| 139 | 139 |
| 140 #endif // CONTENT_BROWSER_DEBUGGER_DEVTOOLS_MANAGER_IMPL_H_ | 140 #endif // CONTENT_BROWSER_DEBUGGER_DEVTOOLS_MANAGER_IMPL_H_ |
| OLD | NEW |