| 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/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "content/shell/browser/shell_devtools_frontend.h" | 10 #include "content/shell/browser/shell_devtools_frontend.h" |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 | 35 |
| 36 // content::DevToolsAgentHostClient implementation. | 36 // content::DevToolsAgentHostClient implementation. |
| 37 void AgentHostClosed(DevToolsAgentHost* agent_host, bool replaced) override; | 37 void AgentHostClosed(DevToolsAgentHost* agent_host, bool replaced) override; |
| 38 | 38 |
| 39 // ShellDevToolsFrontend overrides. | 39 // ShellDevToolsFrontend overrides. |
| 40 void HandleMessageFromDevToolsFrontend(const std::string& message) override; | 40 void HandleMessageFromDevToolsFrontend(const std::string& message) override; |
| 41 | 41 |
| 42 // WebContentsObserver implementation. | 42 // WebContentsObserver implementation. |
| 43 void RenderProcessGone(base::TerminationStatus status) override; | 43 void RenderProcessGone(base::TerminationStatus status) override; |
| 44 void RenderFrameCreated(RenderFrameHost* render_frame_host) override; | 44 void RenderFrameCreated(RenderFrameHost* render_frame_host) override; |
| 45 void RenderFrameHostChanged(RenderFrameHost* old_host, | |
| 46 RenderFrameHost* new_host) override; | |
| 47 | 45 |
| 48 bool ready_for_test_; | 46 bool ready_for_test_; |
| 49 std::vector<std::pair<int, std::string>> pending_evaluations_; | 47 std::vector<std::pair<int, std::string>> pending_evaluations_; |
| 50 | 48 |
| 51 DISALLOW_COPY_AND_ASSIGN(LayoutTestDevToolsFrontend); | 49 DISALLOW_COPY_AND_ASSIGN(LayoutTestDevToolsFrontend); |
| 52 }; | 50 }; |
| 53 | 51 |
| 54 } // namespace content | 52 } // namespace content |
| 55 | 53 |
| 56 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_DEVTOOLS_FRONTEND_H_ | 54 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_DEVTOOLS_FRONTEND_H_ |
| OLD | NEW |