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 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
458 const GURL& source_origin, | 458 const GURL& source_origin, |
459 WindowContainerType container_type, | 459 WindowContainerType container_type, |
460 const GURL& target_url, | 460 const GURL& target_url, |
461 const Referrer& referrer, | 461 const Referrer& referrer, |
462 WindowOpenDisposition disposition, | 462 WindowOpenDisposition disposition, |
463 const blink::WebWindowFeatures& features, | 463 const blink::WebWindowFeatures& features, |
464 bool user_gesture, | 464 bool user_gesture, |
465 bool opener_suppressed, | 465 bool opener_suppressed, |
466 ResourceContext* context, | 466 ResourceContext* context, |
467 int render_process_id, | 467 int render_process_id, |
468 int opener_id, | 468 int opener_render_view_id, |
| 469 int opener_render_frame_id, |
469 bool* no_javascript_access); | 470 bool* no_javascript_access); |
470 | 471 |
471 // Notifies the embedder that the ResourceDispatcherHost has been created. | 472 // Notifies the embedder that the ResourceDispatcherHost has been created. |
472 // This is when it can optionally add a delegate. | 473 // This is when it can optionally add a delegate. |
473 virtual void ResourceDispatcherHostCreated() {} | 474 virtual void ResourceDispatcherHostCreated() {} |
474 | 475 |
475 // Allows the embedder to return a delegate for the SpeechRecognitionManager. | 476 // Allows the embedder to return a delegate for the SpeechRecognitionManager. |
476 // The delegate will be owned by the manager. It's valid to return nullptr. | 477 // The delegate will be owned by the manager. It's valid to return nullptr. |
477 virtual SpeechRecognitionManagerDelegate* | 478 virtual SpeechRecognitionManagerDelegate* |
478 CreateSpeechRecognitionManagerDelegate(); | 479 CreateSpeechRecognitionManagerDelegate(); |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
645 // Allows an embedder to provide its own ExternalVideoSurfaceContainer | 646 // Allows an embedder to provide its own ExternalVideoSurfaceContainer |
646 // implementation. Return nullptr to disable external surface video. | 647 // implementation. Return nullptr to disable external surface video. |
647 virtual ExternalVideoSurfaceContainer* | 648 virtual ExternalVideoSurfaceContainer* |
648 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); | 649 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); |
649 #endif | 650 #endif |
650 }; | 651 }; |
651 | 652 |
652 } // namespace content | 653 } // namespace content |
653 | 654 |
654 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 655 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |