OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_DEVTOOLS_FRONTEND_H_ | 5 #ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_DEVTOOLS_FRONTEND_H_ |
6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_DEVTOOLS_FRONTEND_H_ | 6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_DEVTOOLS_FRONTEND_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "content/shell/browser/shell_devtools_frontend.h" | 10 #include "content/shell/browser/shell_devtools_frontend.h" |
(...skipping 11 matching lines...) Expand all Loading... |
22 const std::string& frontend_url); | 22 const std::string& frontend_url); |
23 | 23 |
24 static GURL GetDevToolsPathAsURL(const std::string& settings, | 24 static GURL GetDevToolsPathAsURL(const std::string& settings, |
25 const std::string& frontend_url); | 25 const std::string& frontend_url); |
26 | 26 |
27 private: | 27 private: |
28 LayoutTestDevToolsFrontend(Shell* frontend_shell, | 28 LayoutTestDevToolsFrontend(Shell* frontend_shell, |
29 DevToolsAgentHost* agent_host); | 29 DevToolsAgentHost* agent_host); |
30 ~LayoutTestDevToolsFrontend() override; | 30 ~LayoutTestDevToolsFrontend() override; |
31 | 31 |
| 32 // content::DevToolsAgentHostClient implementation. |
| 33 void AgentHostClosed(DevToolsAgentHost* agent_host, bool replaced) override; |
| 34 |
32 // WebContentsObserver implementation. | 35 // WebContentsObserver implementation. |
33 void RenderProcessGone(base::TerminationStatus status) override; | 36 void RenderProcessGone(base::TerminationStatus status) override; |
34 | 37 |
35 DISALLOW_COPY_AND_ASSIGN(LayoutTestDevToolsFrontend); | 38 DISALLOW_COPY_AND_ASSIGN(LayoutTestDevToolsFrontend); |
36 }; | 39 }; |
37 | 40 |
38 } // namespace content | 41 } // namespace content |
39 | 42 |
40 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_DEVTOOLS_FRONTEND_H_ | 43 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_DEVTOOLS_FRONTEND_H_ |
OLD | NEW |