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 654 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
665 RenderProcessHost* render_process_host) {} | 665 RenderProcessHost* render_process_host) {} |
666 | 666 |
667 // Called when RenderFrameHostImpl connects to the Media service. Expose | 667 // Called when RenderFrameHostImpl connects to the Media service. Expose |
668 // interfaces to the service using |registry|. | 668 // interfaces to the service using |registry|. |
669 virtual void ExposeInterfacesToMediaService( | 669 virtual void ExposeInterfacesToMediaService( |
670 service_manager::InterfaceRegistry* registry, | 670 service_manager::InterfaceRegistry* registry, |
671 RenderFrameHost* render_frame_host) {} | 671 RenderFrameHost* render_frame_host) {} |
672 | 672 |
673 // Allows to register browser Mojo interfaces exposed through the | 673 // Allows to register browser Mojo interfaces exposed through the |
674 // RenderFrameHost. | 674 // RenderFrameHost. |
675 virtual void RegisterRenderFrameMojoInterfaces( | 675 virtual void ExposeInterfacesToFrame( |
676 service_manager::InterfaceRegistry* registry, | 676 service_manager::BinderRegistry* registry, |
677 RenderFrameHost* render_frame_host) {} | 677 RenderFrameHost* render_frame_host) {} |
678 | 678 |
679 // (Currently called only from GPUProcessHost, move somewhere more central). | 679 // (Currently called only from GPUProcessHost, move somewhere more central). |
680 // Called when a request to bind |interface_name| on |interface_pipe| is | 680 // Called when a request to bind |interface_name| on |interface_pipe| is |
681 // received from |source_info.identity|. If the request is bound, | 681 // received from |source_info.identity|. If the request is bound, |
682 // |interface_pipe| will become invalid (taken by the client). | 682 // |interface_pipe| will become invalid (taken by the client). |
683 virtual void BindInterfaceRequest( | 683 virtual void BindInterfaceRequest( |
684 const service_manager::ServiceInfo& source_info, | 684 const service_manager::ServiceInfo& source_info, |
685 const std::string& interface_name, | 685 const std::string& interface_name, |
686 mojo::ScopedMessagePipeHandle* interface_pipe) {} | 686 mojo::ScopedMessagePipeHandle* interface_pipe) {} |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
828 virtual bool ShouldRedirectDOMStorageTaskRunner(); | 828 virtual bool ShouldRedirectDOMStorageTaskRunner(); |
829 | 829 |
830 // If this returns true, all BrowserThreads (but UI/IO) that support it on | 830 // If this returns true, all BrowserThreads (but UI/IO) that support it on |
831 // this platform will experimentally be redirected to TaskScheduler. | 831 // this platform will experimentally be redirected to TaskScheduler. |
832 virtual bool RedirectNonUINonIOBrowserThreadsToTaskScheduler(); | 832 virtual bool RedirectNonUINonIOBrowserThreadsToTaskScheduler(); |
833 }; | 833 }; |
834 | 834 |
835 } // namespace content | 835 } // namespace content |
836 | 836 |
837 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 837 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |