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 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
448 const GURL& source_origin, | 448 const GURL& source_origin, |
449 WindowContainerType container_type, | 449 WindowContainerType container_type, |
450 const GURL& target_url, | 450 const GURL& target_url, |
451 const Referrer& referrer, | 451 const Referrer& referrer, |
452 WindowOpenDisposition disposition, | 452 WindowOpenDisposition disposition, |
453 const blink::WebWindowFeatures& features, | 453 const blink::WebWindowFeatures& features, |
454 bool user_gesture, | 454 bool user_gesture, |
455 bool opener_suppressed, | 455 bool opener_suppressed, |
456 ResourceContext* context, | 456 ResourceContext* context, |
457 int render_process_id, | 457 int render_process_id, |
458 int opener_id, | 458 int opener_render_view_id, |
| 459 int opener_render_frame_id, |
459 bool* no_javascript_access); | 460 bool* no_javascript_access); |
460 | 461 |
461 // Notifies the embedder that the ResourceDispatcherHost has been created. | 462 // Notifies the embedder that the ResourceDispatcherHost has been created. |
462 // This is when it can optionally add a delegate. | 463 // This is when it can optionally add a delegate. |
463 virtual void ResourceDispatcherHostCreated() {} | 464 virtual void ResourceDispatcherHostCreated() {} |
464 | 465 |
465 // Allows the embedder to return a delegate for the SpeechRecognitionManager. | 466 // Allows the embedder to return a delegate for the SpeechRecognitionManager. |
466 // The delegate will be owned by the manager. It's valid to return nullptr. | 467 // The delegate will be owned by the manager. It's valid to return nullptr. |
467 virtual SpeechRecognitionManagerDelegate* | 468 virtual SpeechRecognitionManagerDelegate* |
468 CreateSpeechRecognitionManagerDelegate(); | 469 CreateSpeechRecognitionManagerDelegate(); |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
628 // Allows an embedder to provide its own ExternalVideoSurfaceContainer | 629 // Allows an embedder to provide its own ExternalVideoSurfaceContainer |
629 // implementation. Return nullptr to disable external surface video. | 630 // implementation. Return nullptr to disable external surface video. |
630 virtual ExternalVideoSurfaceContainer* | 631 virtual ExternalVideoSurfaceContainer* |
631 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); | 632 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); |
632 #endif | 633 #endif |
633 }; | 634 }; |
634 | 635 |
635 } // namespace content | 636 } // namespace content |
636 | 637 |
637 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 638 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |