| 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 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 MediaObserver* ContentBrowserClient::GetMediaObserver() { | 277 MediaObserver* ContentBrowserClient::GetMediaObserver() { |
| 278 return nullptr; | 278 return nullptr; |
| 279 } | 279 } |
| 280 | 280 |
| 281 PlatformNotificationService* | 281 PlatformNotificationService* |
| 282 ContentBrowserClient::GetPlatformNotificationService() { | 282 ContentBrowserClient::GetPlatformNotificationService() { |
| 283 return nullptr; | 283 return nullptr; |
| 284 } | 284 } |
| 285 | 285 |
| 286 bool ContentBrowserClient::CanCreateWindow( | 286 bool ContentBrowserClient::CanCreateWindow( |
| 287 int opener_render_process_id, |
| 288 int opener_render_frame_id, |
| 287 const GURL& opener_url, | 289 const GURL& opener_url, |
| 288 const GURL& opener_top_level_frame_url, | 290 const GURL& opener_top_level_frame_url, |
| 289 const GURL& source_origin, | 291 const GURL& source_origin, |
| 290 WindowContainerType container_type, | 292 WindowContainerType container_type, |
| 291 const GURL& target_url, | 293 const GURL& target_url, |
| 292 const Referrer& referrer, | 294 const Referrer& referrer, |
| 293 const std::string& frame_name, | 295 const std::string& frame_name, |
| 294 WindowOpenDisposition disposition, | 296 WindowOpenDisposition disposition, |
| 295 const blink::WebWindowFeatures& features, | 297 const blink::WebWindowFeatures& features, |
| 296 bool user_gesture, | 298 bool user_gesture, |
| 297 bool opener_suppressed, | 299 bool opener_suppressed, |
| 298 ResourceContext* context, | 300 ResourceContext* context, |
| 299 int render_process_id, | |
| 300 int opener_render_view_id, | |
| 301 int opener_render_frame_id, | |
| 302 bool* no_javascript_access) { | 301 bool* no_javascript_access) { |
| 303 *no_javascript_access = false; | 302 *no_javascript_access = false; |
| 304 return true; | 303 return true; |
| 305 } | 304 } |
| 306 | 305 |
| 307 SpeechRecognitionManagerDelegate* | 306 SpeechRecognitionManagerDelegate* |
| 308 ContentBrowserClient::CreateSpeechRecognitionManagerDelegate() { | 307 ContentBrowserClient::CreateSpeechRecognitionManagerDelegate() { |
| 309 return nullptr; | 308 return nullptr; |
| 310 } | 309 } |
| 311 | 310 |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 428 const std::string& name) { | 427 const std::string& name) { |
| 429 return nullptr; | 428 return nullptr; |
| 430 } | 429 } |
| 431 | 430 |
| 432 std::unique_ptr<MemoryCoordinatorDelegate> | 431 std::unique_ptr<MemoryCoordinatorDelegate> |
| 433 ContentBrowserClient::GetMemoryCoordinatorDelegate() { | 432 ContentBrowserClient::GetMemoryCoordinatorDelegate() { |
| 434 return std::unique_ptr<MemoryCoordinatorDelegate>(); | 433 return std::unique_ptr<MemoryCoordinatorDelegate>(); |
| 435 } | 434 } |
| 436 | 435 |
| 437 } // namespace content | 436 } // namespace content |
| OLD | NEW |