| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 CHROME_BROWSER_DEBUGGER_DEVTOOLS_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_DEBUGGER_DEVTOOLS_MANAGER_H_ |
| 6 #define CHROME_BROWSER_DEBUGGER_DEVTOOLS_MANAGER_H_ | 6 #define CHROME_BROWSER_DEBUGGER_DEVTOOLS_MANAGER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 const IPC::Message& message); | 46 const IPC::Message& message); |
| 47 void ForwardToDevToolsAgent(DevToolsClientHost* from, | 47 void ForwardToDevToolsAgent(DevToolsClientHost* from, |
| 48 const IPC::Message& message); | 48 const IPC::Message& message); |
| 49 void ForwardToDevToolsClient(RenderViewHost* inspected_rvh, | 49 void ForwardToDevToolsClient(RenderViewHost* inspected_rvh, |
| 50 const IPC::Message& message); | 50 const IPC::Message& message); |
| 51 | 51 |
| 52 void ActivateWindow(RenderViewHost* client_rvn); | 52 void ActivateWindow(RenderViewHost* client_rvn); |
| 53 void CloseWindow(RenderViewHost* client_rvn); | 53 void CloseWindow(RenderViewHost* client_rvn); |
| 54 void DockWindow(RenderViewHost* client_rvn); | 54 void DockWindow(RenderViewHost* client_rvn); |
| 55 void UndockWindow(RenderViewHost* client_rvn); | 55 void UndockWindow(RenderViewHost* client_rvn); |
| 56 void ToggleInspectElementMode(RenderViewHost* client_rvh, bool enabled); | |
| 57 | 56 |
| 58 void OpenDevToolsWindow(RenderViewHost* inspected_rvh); | 57 void OpenDevToolsWindow(RenderViewHost* inspected_rvh); |
| 59 void ToggleDevToolsWindow(RenderViewHost* inspected_rvh); | 58 void ToggleDevToolsWindow(RenderViewHost* inspected_rvh); |
| 60 void RuntimeFeatureStateChanged(RenderViewHost* inspected_rvh, | 59 void RuntimeFeatureStateChanged(RenderViewHost* inspected_rvh, |
| 61 const std::string& feature, | 60 const std::string& feature, |
| 62 bool enabled); | 61 bool enabled); |
| 63 | 62 |
| 64 // Starts element inspection in the devtools client. | 63 // Starts element inspection in the devtools client. |
| 65 // Creates one by means of OpenDevToolsWindow if no client | 64 // Creates one by means of OpenDevToolsWindow if no client |
| 66 // exists. | 65 // exists. |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 RuntimeFeaturesMap; | 116 RuntimeFeaturesMap; |
| 118 RuntimeFeaturesMap runtime_features_; | 117 RuntimeFeaturesMap runtime_features_; |
| 119 | 118 |
| 120 RenderViewHost* inspected_rvh_for_reopen_; | 119 RenderViewHost* inspected_rvh_for_reopen_; |
| 121 bool in_initial_show_; | 120 bool in_initial_show_; |
| 122 | 121 |
| 123 DISALLOW_COPY_AND_ASSIGN(DevToolsManager); | 122 DISALLOW_COPY_AND_ASSIGN(DevToolsManager); |
| 124 }; | 123 }; |
| 125 | 124 |
| 126 #endif // CHROME_BROWSER_DEBUGGER_DEVTOOLS_MANAGER_H_ | 125 #endif // CHROME_BROWSER_DEBUGGER_DEVTOOLS_MANAGER_H_ |
| OLD | NEW |