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

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: Cleanup in WebContentsImpl 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 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 const GURL& source_origin, 298 const GURL& source_origin,
299 WindowContainerType container_type, 299 WindowContainerType container_type,
300 const GURL& target_url, 300 const GURL& target_url,
301 const content::Referrer& referrer, 301 const content::Referrer& referrer,
302 WindowOpenDisposition disposition, 302 WindowOpenDisposition disposition,
303 const blink::WebWindowFeatures& features, 303 const blink::WebWindowFeatures& features,
304 bool user_gesture, 304 bool user_gesture,
305 bool opener_suppressed, 305 bool opener_suppressed,
306 content::ResourceContext* context, 306 content::ResourceContext* context,
307 int render_process_id, 307 int render_process_id,
308 int opener_id, 308 int opener_render_view_id,
309 int opener_render_frame_id,
309 bool* no_javascript_access) { 310 bool* no_javascript_access) {
310 *no_javascript_access = true; 311 *no_javascript_access = true;
311 return false; 312 return false;
312 } 313 }
313 314
314 void CastContentBrowserClient::GetAdditionalMappedFilesForChildProcess( 315 void CastContentBrowserClient::GetAdditionalMappedFilesForChildProcess(
315 const base::CommandLine& command_line, 316 const base::CommandLine& command_line,
316 int child_process_id, 317 int child_process_id,
317 content::FileDescriptorInfo* mappings) { 318 content::FileDescriptorInfo* mappings) {
318 #if defined(V8_USE_EXTERNAL_STARTUP_DATA) 319 #if defined(V8_USE_EXTERNAL_STARTUP_DATA)
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 process_type, dumps_path, false /* upload */); 415 process_type, dumps_path, false /* upload */);
415 // StartUploaderThread() even though upload is diferred. 416 // StartUploaderThread() even though upload is diferred.
416 // Breakpad-related memory is freed in the uploader thread. 417 // Breakpad-related memory is freed in the uploader thread.
417 crash_handler->StartUploaderThread(); 418 crash_handler->StartUploaderThread();
418 return crash_handler; 419 return crash_handler;
419 } 420 }
420 #endif // !defined(OS_ANDROID) 421 #endif // !defined(OS_ANDROID)
421 422
422 } // namespace shell 423 } // namespace shell
423 } // namespace chromecast 424 } // namespace chromecast
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698