| 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 <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
| 10 #include "base/guid.h" | 10 #include "base/guid.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, | 287 RenderFrameHost* opener, |
| 288 int opener_render_frame_id, | |
| 289 const GURL& opener_url, | 288 const GURL& opener_url, |
| 290 const GURL& opener_top_level_frame_url, | 289 const GURL& opener_top_level_frame_url, |
| 291 const GURL& source_origin, | 290 const GURL& source_origin, |
| 292 content::mojom::WindowContainerType container_type, | 291 content::mojom::WindowContainerType container_type, |
| 293 const GURL& target_url, | 292 const GURL& target_url, |
| 294 const Referrer& referrer, | 293 const Referrer& referrer, |
| 295 const std::string& frame_name, | 294 const std::string& frame_name, |
| 296 WindowOpenDisposition disposition, | 295 WindowOpenDisposition disposition, |
| 297 const blink::mojom::WindowFeatures& features, | 296 const blink::mojom::WindowFeatures& features, |
| 298 bool user_gesture, | 297 bool user_gesture, |
| 299 bool opener_suppressed, | 298 bool opener_suppressed, |
| 300 ResourceContext* context, | |
| 301 bool* no_javascript_access) { | 299 bool* no_javascript_access) { |
| 302 *no_javascript_access = false; | 300 *no_javascript_access = false; |
| 303 return true; | 301 return true; |
| 304 } | 302 } |
| 305 | 303 |
| 306 SpeechRecognitionManagerDelegate* | 304 SpeechRecognitionManagerDelegate* |
| 307 ContentBrowserClient::CreateSpeechRecognitionManagerDelegate() { | 305 ContentBrowserClient::CreateSpeechRecognitionManagerDelegate() { |
| 308 return nullptr; | 306 return nullptr; |
| 309 } | 307 } |
| 310 | 308 |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 455 | 453 |
| 456 bool ContentBrowserClient::ShouldRedirectDOMStorageTaskRunner() { | 454 bool ContentBrowserClient::ShouldRedirectDOMStorageTaskRunner() { |
| 457 return false; | 455 return false; |
| 458 } | 456 } |
| 459 | 457 |
| 460 bool ContentBrowserClient::RedirectNonUINonIOBrowserThreadsToTaskScheduler() { | 458 bool ContentBrowserClient::RedirectNonUINonIOBrowserThreadsToTaskScheduler() { |
| 461 return false; | 459 return false; |
| 462 } | 460 } |
| 463 | 461 |
| 464 } // namespace content | 462 } // namespace content |
| OLD | NEW |