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 #include "content/shell/browser/layout_test/layout_test_devtools_frontend.h" | 5 #include "content/shell/browser/layout_test/layout_test_devtools_frontend.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/json/json_reader.h" | 8 #include "base/json/json_reader.h" |
9 #include "base/json/json_writer.h" | 9 #include "base/json/json_writer.h" |
10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 void LayoutTestDevToolsFrontend::RenderProcessGone( | 131 void LayoutTestDevToolsFrontend::RenderProcessGone( |
132 base::TerminationStatus status) { | 132 base::TerminationStatus status) { |
133 BlinkTestController::Get()->DevToolsProcessCrashed(); | 133 BlinkTestController::Get()->DevToolsProcessCrashed(); |
134 } | 134 } |
135 | 135 |
136 void LayoutTestDevToolsFrontend::RenderFrameCreated( | 136 void LayoutTestDevToolsFrontend::RenderFrameCreated( |
137 RenderFrameHost* render_frame_host) { | 137 RenderFrameHost* render_frame_host) { |
138 BlinkTestController::Get()->HandleNewRenderFrameHost(render_frame_host); | 138 BlinkTestController::Get()->HandleNewRenderFrameHost(render_frame_host); |
139 } | 139 } |
140 | 140 |
141 void LayoutTestDevToolsFrontend::RenderFrameHostChanged( | |
142 RenderFrameHost* old_host, | |
143 RenderFrameHost* new_host) { | |
144 BlinkTestController::Get()->HandleNewRenderFrameHost(new_host); | |
145 } | |
146 | |
147 } // namespace content | 141 } // namespace content |
OLD | NEW |