OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/test/test_web_contents.h" | 5 #include "content/test/test_web_contents.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "content/browser/browser_url_handler_impl.h" | 9 #include "content/browser/browser_url_handler_impl.h" |
10 #include "content/browser/renderer_host/render_view_host_impl.h" | 10 #include "content/browser/renderer_host/render_view_host_impl.h" |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 bool is_main_frame, | 214 bool is_main_frame, |
215 int error_code, | 215 int error_code, |
216 const string16& error_description) { | 216 const string16& error_description) { |
217 ViewHostMsg_DidFailLoadWithError msg( | 217 ViewHostMsg_DidFailLoadWithError msg( |
218 0, frame_id, url, is_main_frame, error_code, error_description); | 218 0, frame_id, url, is_main_frame, error_code, error_description); |
219 OnMessageReceived(render_manager_.current_host(), msg); | 219 OnMessageReceived(render_manager_.current_host(), msg); |
220 } | 220 } |
221 | 221 |
222 void TestWebContents::CreateNewWindow( | 222 void TestWebContents::CreateNewWindow( |
223 int route_id, | 223 int route_id, |
| 224 int main_frame_route_id, |
224 const ViewHostMsg_CreateWindow_Params& params, | 225 const ViewHostMsg_CreateWindow_Params& params, |
225 SessionStorageNamespace* session_storage_namespace) { | 226 SessionStorageNamespace* session_storage_namespace) { |
226 } | 227 } |
227 | 228 |
228 void TestWebContents::CreateNewWidget(int route_id, | 229 void TestWebContents::CreateNewWidget(int route_id, |
229 WebKit::WebPopupType popup_type) { | 230 WebKit::WebPopupType popup_type) { |
230 } | 231 } |
231 | 232 |
232 void TestWebContents::CreateNewFullscreenWidget(int route_id) { | 233 void TestWebContents::CreateNewFullscreenWidget(int route_id) { |
233 } | 234 } |
234 | 235 |
235 void TestWebContents::ShowCreatedWindow(int route_id, | 236 void TestWebContents::ShowCreatedWindow(int route_id, |
236 WindowOpenDisposition disposition, | 237 WindowOpenDisposition disposition, |
237 const gfx::Rect& initial_pos, | 238 const gfx::Rect& initial_pos, |
238 bool user_gesture) { | 239 bool user_gesture) { |
239 } | 240 } |
240 | 241 |
241 void TestWebContents::ShowCreatedWidget(int route_id, | 242 void TestWebContents::ShowCreatedWidget(int route_id, |
242 const gfx::Rect& initial_pos) { | 243 const gfx::Rect& initial_pos) { |
243 } | 244 } |
244 | 245 |
245 void TestWebContents::ShowCreatedFullscreenWidget(int route_id) { | 246 void TestWebContents::ShowCreatedFullscreenWidget(int route_id) { |
246 } | 247 } |
247 | 248 |
248 } // namespace content | 249 } // namespace content |
OLD | NEW |