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

Side by Side Diff: chromecast/browser/cast_content_browser_client.cc

Issue 1086283002: Track frame openers in FrameTreeNodes instead of WebContents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Second round of feedback Created 5 years, 6 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
OLDNEW
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 "chromecast/browser/cast_content_browser_client.h" 5 #include "chromecast/browser/cast_content_browser_client.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/base_switches.h" 9 #include "base/base_switches.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 const GURL& source_origin, 310 const GURL& source_origin,
311 WindowContainerType container_type, 311 WindowContainerType container_type,
312 const GURL& target_url, 312 const GURL& target_url,
313 const content::Referrer& referrer, 313 const content::Referrer& referrer,
314 WindowOpenDisposition disposition, 314 WindowOpenDisposition disposition,
315 const blink::WebWindowFeatures& features, 315 const blink::WebWindowFeatures& features,
316 bool user_gesture, 316 bool user_gesture,
317 bool opener_suppressed, 317 bool opener_suppressed,
318 content::ResourceContext* context, 318 content::ResourceContext* context,
319 int render_process_id, 319 int render_process_id,
320 int opener_id, 320 int opener_render_view_id,
321 int opener_render_frame_id,
321 bool* no_javascript_access) { 322 bool* no_javascript_access) {
322 *no_javascript_access = true; 323 *no_javascript_access = true;
323 return false; 324 return false;
324 } 325 }
325 326
326 void CastContentBrowserClient::GetAdditionalMappedFilesForChildProcess( 327 void CastContentBrowserClient::GetAdditionalMappedFilesForChildProcess(
327 const base::CommandLine& command_line, 328 const base::CommandLine& command_line,
328 int child_process_id, 329 int child_process_id,
329 content::FileDescriptorInfo* mappings) { 330 content::FileDescriptorInfo* mappings) {
330 #if defined(V8_USE_EXTERNAL_STARTUP_DATA) 331 #if defined(V8_USE_EXTERNAL_STARTUP_DATA)
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 process_type, dumps_path, false /* upload */); 429 process_type, dumps_path, false /* upload */);
429 // StartUploaderThread() even though upload is diferred. 430 // StartUploaderThread() even though upload is diferred.
430 // Breakpad-related memory is freed in the uploader thread. 431 // Breakpad-related memory is freed in the uploader thread.
431 crash_handler->StartUploaderThread(); 432 crash_handler->StartUploaderThread();
432 return crash_handler; 433 return crash_handler;
433 } 434 }
434 #endif // !defined(OS_ANDROID) 435 #endif // !defined(OS_ANDROID)
435 436
436 } // namespace shell 437 } // namespace shell
437 } // namespace chromecast 438 } // namespace chromecast
OLDNEW
« no previous file with comments | « chromecast/browser/cast_content_browser_client.h ('k') | content/browser/browser_plugin/browser_plugin_guest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698