| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 633 // Returns true if dev channel APIs are available for plugins. | 633 // Returns true if dev channel APIs are available for plugins. |
| 634 virtual bool IsPluginAllowedToUseDevChannelAPIs( | 634 virtual bool IsPluginAllowedToUseDevChannelAPIs( |
| 635 BrowserContext* browser_context, | 635 BrowserContext* browser_context, |
| 636 const GURL& url); | 636 const GURL& url); |
| 637 | 637 |
| 638 // Allows the embedder to register MojoShellConnection::Listeners. | 638 // Allows the embedder to register MojoShellConnection::Listeners. |
| 639 virtual void AddMojoShellConnectionListeners() {} | 639 virtual void AddMojoShellConnectionListeners() {} |
| 640 | 640 |
| 641 // Allows to register browser Mojo services exposed through the | 641 // Allows to register browser Mojo services exposed through the |
| 642 // RenderProcessHost. | 642 // RenderProcessHost. |
| 643 virtual void RegisterRenderProcessMojoServices(ServiceRegistry* registry) {} | 643 virtual void RegisterRenderProcessMojoServices( |
| 644 ServiceRegistry* registry, |
| 645 RenderProcessHost* render_process_host) {} |
| 644 | 646 |
| 645 // Allows to register browser Mojo services exposed through the | 647 // Allows to register browser Mojo services exposed through the |
| 646 // FrameMojoShell. | 648 // FrameMojoShell. |
| 647 virtual void RegisterFrameMojoShellServices( | 649 virtual void RegisterFrameMojoShellServices( |
| 648 ServiceRegistry* registry, | 650 ServiceRegistry* registry, |
| 649 RenderFrameHost* render_frame_host) {} | 651 RenderFrameHost* render_frame_host) {} |
| 650 | 652 |
| 651 // Allows to register browser Mojo services exposed through the | 653 // Allows to register browser Mojo services exposed through the |
| 652 // RenderFrameHost. | 654 // RenderFrameHost. |
| 653 virtual void RegisterRenderFrameMojoServices( | 655 virtual void RegisterRenderFrameMojoServices( |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 772 // Allows an embedder to provide its own ExternalVideoSurfaceContainer | 774 // Allows an embedder to provide its own ExternalVideoSurfaceContainer |
| 773 // implementation. Return nullptr to disable external surface video. | 775 // implementation. Return nullptr to disable external surface video. |
| 774 virtual ExternalVideoSurfaceContainer* | 776 virtual ExternalVideoSurfaceContainer* |
| 775 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); | 777 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); |
| 776 #endif | 778 #endif |
| 777 }; | 779 }; |
| 778 | 780 |
| 779 } // namespace content | 781 } // namespace content |
| 780 | 782 |
| 781 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 783 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |