| 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 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 MediaObserver* ContentBrowserClient::GetMediaObserver() { | 267 MediaObserver* ContentBrowserClient::GetMediaObserver() { |
| 268 return nullptr; | 268 return nullptr; |
| 269 } | 269 } |
| 270 | 270 |
| 271 PlatformNotificationService* | 271 PlatformNotificationService* |
| 272 ContentBrowserClient::GetPlatformNotificationService() { | 272 ContentBrowserClient::GetPlatformNotificationService() { |
| 273 return nullptr; | 273 return nullptr; |
| 274 } | 274 } |
| 275 | 275 |
| 276 bool ContentBrowserClient::CanCreateWindow( | 276 bool ContentBrowserClient::CanCreateWindow( |
| 277 int opener_render_process_id, |
| 278 int opener_render_frame_id, |
| 277 const GURL& opener_url, | 279 const GURL& opener_url, |
| 278 const GURL& opener_top_level_frame_url, | 280 const GURL& opener_top_level_frame_url, |
| 279 const GURL& source_origin, | 281 const GURL& source_origin, |
| 280 WindowContainerType container_type, | 282 WindowContainerType container_type, |
| 281 const GURL& target_url, | 283 const GURL& target_url, |
| 282 const Referrer& referrer, | 284 const Referrer& referrer, |
| 283 const std::string& frame_name, | 285 const std::string& frame_name, |
| 284 WindowOpenDisposition disposition, | 286 WindowOpenDisposition disposition, |
| 285 const blink::WebWindowFeatures& features, | 287 const blink::WebWindowFeatures& features, |
| 286 bool user_gesture, | 288 bool user_gesture, |
| 287 bool opener_suppressed, | 289 bool opener_suppressed, |
| 288 ResourceContext* context, | 290 ResourceContext* context, |
| 289 int render_process_id, | |
| 290 int opener_render_view_id, | |
| 291 int opener_render_frame_id, | |
| 292 bool* no_javascript_access) { | 291 bool* no_javascript_access) { |
| 293 *no_javascript_access = false; | 292 *no_javascript_access = false; |
| 294 return true; | 293 return true; |
| 295 } | 294 } |
| 296 | 295 |
| 297 SpeechRecognitionManagerDelegate* | 296 SpeechRecognitionManagerDelegate* |
| 298 ContentBrowserClient::CreateSpeechRecognitionManagerDelegate() { | 297 ContentBrowserClient::CreateSpeechRecognitionManagerDelegate() { |
| 299 return nullptr; | 298 return nullptr; |
| 300 } | 299 } |
| 301 | 300 |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 435 | 434 |
| 436 bool ContentBrowserClient::ShouldRedirectDOMStorageTaskRunner() { | 435 bool ContentBrowserClient::ShouldRedirectDOMStorageTaskRunner() { |
| 437 return false; | 436 return false; |
| 438 } | 437 } |
| 439 | 438 |
| 440 bool ContentBrowserClient::RedirectNonUINonIOBrowserThreadsToTaskScheduler() { | 439 bool ContentBrowserClient::RedirectNonUINonIOBrowserThreadsToTaskScheduler() { |
| 441 return false; | 440 return false; |
| 442 } | 441 } |
| 443 | 442 |
| 444 } // namespace content | 443 } // namespace content |
| OLD | NEW |