Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1152)

Side by Side Diff: content/test/test_web_contents.cc

Issue 1359163005: Remove surface_id from RenderWidget/RenderWidgetHost and friends (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@channel_creation_preempt
Patch Set: fix more tests Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/test/test_web_contents.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "base/command_line.h" 9 #include "base/command_line.h"
10 #include "content/browser/browser_url_handler_impl.h" 10 #include "content/browser/browser_url_handler_impl.h"
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 void TestWebContents::CreateNewWindow( 302 void TestWebContents::CreateNewWindow(
303 SiteInstance* source_site_instance, 303 SiteInstance* source_site_instance,
304 int route_id, 304 int route_id,
305 int main_frame_route_id, 305 int main_frame_route_id,
306 const ViewHostMsg_CreateWindow_Params& params, 306 const ViewHostMsg_CreateWindow_Params& params,
307 SessionStorageNamespace* session_storage_namespace) { 307 SessionStorageNamespace* session_storage_namespace) {
308 } 308 }
309 309
310 void TestWebContents::CreateNewWidget(int32 render_process_id, 310 void TestWebContents::CreateNewWidget(int32 render_process_id,
311 int32 route_id, 311 int32 route_id,
312 int32 surface_id,
313 blink::WebPopupType popup_type) {} 312 blink::WebPopupType popup_type) {}
314 313
315 void TestWebContents::CreateNewFullscreenWidget(int32 render_process_id, 314 void TestWebContents::CreateNewFullscreenWidget(int32 render_process_id,
316 int32 route_id, 315 int32 route_id) {}
317 int32 surface_id) {}
318 316
319 void TestWebContents::ShowCreatedWindow(int route_id, 317 void TestWebContents::ShowCreatedWindow(int route_id,
320 WindowOpenDisposition disposition, 318 WindowOpenDisposition disposition,
321 const gfx::Rect& initial_rect, 319 const gfx::Rect& initial_rect,
322 bool user_gesture) { 320 bool user_gesture) {
323 } 321 }
324 322
325 void TestWebContents::ShowCreatedWidget(int route_id, 323 void TestWebContents::ShowCreatedWidget(int route_id,
326 const gfx::Rect& initial_rect) { 324 const gfx::Rect& initial_rect) {
327 } 325 }
328 326
329 void TestWebContents::ShowCreatedFullscreenWidget(int route_id) { 327 void TestWebContents::ShowCreatedFullscreenWidget(int route_id) {
330 } 328 }
331 329
332 void TestWebContents::SaveFrameWithHeaders(const GURL& url, 330 void TestWebContents::SaveFrameWithHeaders(const GURL& url,
333 const Referrer& referrer, 331 const Referrer& referrer,
334 const std::string& headers) { 332 const std::string& headers) {
335 save_frame_headers_ = headers; 333 save_frame_headers_ = headers;
336 } 334 }
337 335
338 } // namespace content 336 } // namespace content
OLDNEW
« no previous file with comments | « content/test/test_web_contents.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698