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/frame_host/cross_process_frame_connector.h" | 10 #include "content/browser/frame_host/cross_process_frame_connector.h" |
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 } | 295 } |
296 | 296 |
297 void TestWebContents::CreateNewWindow( | 297 void TestWebContents::CreateNewWindow( |
298 SiteInstance* source_site_instance, | 298 SiteInstance* source_site_instance, |
299 int32_t route_id, | 299 int32_t route_id, |
300 int32_t main_frame_route_id, | 300 int32_t main_frame_route_id, |
301 int32_t main_frame_widget_route_id, | 301 int32_t main_frame_widget_route_id, |
302 const ViewHostMsg_CreateWindow_Params& params, | 302 const ViewHostMsg_CreateWindow_Params& params, |
303 SessionStorageNamespace* session_storage_namespace) {} | 303 SessionStorageNamespace* session_storage_namespace) {} |
304 | 304 |
305 void TestWebContents::CreateNewWidget(int32 render_process_id, | 305 void TestWebContents::CreateNewWidget(int32_t render_process_id, |
306 int32 route_id, | 306 int32_t route_id, |
307 blink::WebPopupType popup_type) {} | 307 blink::WebPopupType popup_type) {} |
308 | 308 |
309 void TestWebContents::CreateNewFullscreenWidget(int32 render_process_id, | 309 void TestWebContents::CreateNewFullscreenWidget(int32_t render_process_id, |
310 int32 route_id) {} | 310 int32_t route_id) {} |
311 | 311 |
312 void TestWebContents::ShowCreatedWindow(int route_id, | 312 void TestWebContents::ShowCreatedWindow(int route_id, |
313 WindowOpenDisposition disposition, | 313 WindowOpenDisposition disposition, |
314 const gfx::Rect& initial_rect, | 314 const gfx::Rect& initial_rect, |
315 bool user_gesture) { | 315 bool user_gesture) { |
316 } | 316 } |
317 | 317 |
318 void TestWebContents::ShowCreatedWidget(int route_id, | 318 void TestWebContents::ShowCreatedWidget(int route_id, |
319 const gfx::Rect& initial_rect) { | 319 const gfx::Rect& initial_rect) { |
320 } | 320 } |
321 | 321 |
322 void TestWebContents::ShowCreatedFullscreenWidget(int route_id) { | 322 void TestWebContents::ShowCreatedFullscreenWidget(int route_id) { |
323 } | 323 } |
324 | 324 |
325 void TestWebContents::SaveFrameWithHeaders(const GURL& url, | 325 void TestWebContents::SaveFrameWithHeaders(const GURL& url, |
326 const Referrer& referrer, | 326 const Referrer& referrer, |
327 const std::string& headers) { | 327 const std::string& headers) { |
328 save_frame_headers_ = headers; | 328 save_frame_headers_ = headers; |
329 } | 329 } |
330 | 330 |
331 } // namespace content | 331 } // namespace content |
OLD | NEW |