| 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/public/browser/content_browser_client.h" | 5 #include "content/public/browser/content_browser_client.h" |
| 6 | 6 |
| 7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
| 8 #include "base/guid.h" | 8 #include "base/guid.h" |
| 9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 #include "content/public/browser/client_certificate_delegate.h" | 10 #include "content/public/browser/client_certificate_delegate.h" |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 return nullptr; | 278 return nullptr; |
| 279 } | 279 } |
| 280 | 280 |
| 281 bool ContentBrowserClient::CanCreateWindow( | 281 bool ContentBrowserClient::CanCreateWindow( |
| 282 const GURL& opener_url, | 282 const GURL& opener_url, |
| 283 const GURL& opener_top_level_frame_url, | 283 const GURL& opener_top_level_frame_url, |
| 284 const GURL& source_origin, | 284 const GURL& source_origin, |
| 285 WindowContainerType container_type, | 285 WindowContainerType container_type, |
| 286 const GURL& target_url, | 286 const GURL& target_url, |
| 287 const Referrer& referrer, | 287 const Referrer& referrer, |
| 288 const std::string& frame_name, |
| 288 WindowOpenDisposition disposition, | 289 WindowOpenDisposition disposition, |
| 289 const blink::WebWindowFeatures& features, | 290 const blink::WebWindowFeatures& features, |
| 290 bool user_gesture, | 291 bool user_gesture, |
| 291 bool opener_suppressed, | 292 bool opener_suppressed, |
| 292 ResourceContext* context, | 293 ResourceContext* context, |
| 293 int render_process_id, | 294 int render_process_id, |
| 294 int opener_render_view_id, | 295 int opener_render_view_id, |
| 295 int opener_render_frame_id, | 296 int opener_render_frame_id, |
| 296 bool* no_javascript_access) { | 297 bool* no_javascript_access) { |
| 297 *no_javascript_access = false; | 298 *no_javascript_access = false; |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 422 #if defined(VIDEO_HOLE) | 423 #if defined(VIDEO_HOLE) |
| 423 ExternalVideoSurfaceContainer* | 424 ExternalVideoSurfaceContainer* |
| 424 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( | 425 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( |
| 425 WebContents* web_contents) { | 426 WebContents* web_contents) { |
| 426 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; | 427 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; |
| 427 return nullptr; | 428 return nullptr; |
| 428 } | 429 } |
| 429 #endif | 430 #endif |
| 430 | 431 |
| 431 } // namespace content | 432 } // namespace content |
| OLD | NEW |