| 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 class LocationProvider; | 110 class LocationProvider; |
| 111 class MediaObserver; | 111 class MediaObserver; |
| 112 class NavigationHandle; | 112 class NavigationHandle; |
| 113 class PlatformNotificationService; | 113 class PlatformNotificationService; |
| 114 class PresentationServiceDelegate; | 114 class PresentationServiceDelegate; |
| 115 class QuotaPermissionContext; | 115 class QuotaPermissionContext; |
| 116 class RenderFrameHost; | 116 class RenderFrameHost; |
| 117 class RenderProcessHost; | 117 class RenderProcessHost; |
| 118 class RenderViewHost; | 118 class RenderViewHost; |
| 119 class ResourceContext; | 119 class ResourceContext; |
| 120 class ServiceRegistry; | |
| 121 class SiteInstance; | 120 class SiteInstance; |
| 122 class SpeechRecognitionManagerDelegate; | 121 class SpeechRecognitionManagerDelegate; |
| 123 class TracingDelegate; | 122 class TracingDelegate; |
| 124 class VpnServiceProxy; | 123 class VpnServiceProxy; |
| 125 class WebContents; | 124 class WebContents; |
| 126 class WebContentsViewDelegate; | 125 class WebContentsViewDelegate; |
| 127 struct MainFunctionParams; | 126 struct MainFunctionParams; |
| 128 struct OpenURLParams; | 127 struct OpenURLParams; |
| 129 struct Referrer; | 128 struct Referrer; |
| 130 struct WebPreferences; | 129 struct WebPreferences; |
| (...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 653 BrowserContext* browser_context, | 652 BrowserContext* browser_context, |
| 654 const GURL& url); | 653 const GURL& url); |
| 655 | 654 |
| 656 // Generate a Shell user-id for the supplied browser context. Defaults to | 655 // Generate a Shell user-id for the supplied browser context. Defaults to |
| 657 // returning a random GUID. | 656 // returning a random GUID. |
| 658 virtual std::string GetShellUserIdForBrowserContext( | 657 virtual std::string GetShellUserIdForBrowserContext( |
| 659 BrowserContext* browser_context); | 658 BrowserContext* browser_context); |
| 660 | 659 |
| 661 // Allows to register browser Mojo interfaces exposed through the | 660 // Allows to register browser Mojo interfaces exposed through the |
| 662 // RenderProcessHost. | 661 // RenderProcessHost. |
| 663 virtual void RegisterRenderProcessMojoServices( | 662 virtual void ExposeInterfacesToRenderer( |
| 664 ServiceRegistry* registry, | 663 shell::InterfaceRegistry* registry, |
| 665 RenderProcessHost* render_process_host) {} | 664 RenderProcessHost* render_process_host) {} |
| 666 | 665 |
| 667 // Allows to register browser Mojo interfaces exposed through the | 666 // Allows to register browser Mojo interfaces exposed through the |
| 668 // FrameMojoShell. | 667 // FrameMojoShell. |
| 669 virtual void RegisterFrameMojoShellInterfaces( | 668 virtual void RegisterFrameMojoShellInterfaces( |
| 670 shell::InterfaceRegistry* registry, | 669 shell::InterfaceRegistry* registry, |
| 671 RenderFrameHost* render_frame_host) {} | 670 RenderFrameHost* render_frame_host) {} |
| 672 | 671 |
| 673 // Allows to register browser Mojo interfaces exposed through the | 672 // Allows to register browser Mojo interfaces exposed through the |
| 674 // RenderFrameHost. | 673 // RenderFrameHost. |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 790 // Allows an embedder to provide its own ExternalVideoSurfaceContainer | 789 // Allows an embedder to provide its own ExternalVideoSurfaceContainer |
| 791 // implementation. Return nullptr to disable external surface video. | 790 // implementation. Return nullptr to disable external surface video. |
| 792 virtual ExternalVideoSurfaceContainer* | 791 virtual ExternalVideoSurfaceContainer* |
| 793 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); | 792 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); |
| 794 #endif | 793 #endif |
| 795 }; | 794 }; |
| 796 | 795 |
| 797 } // namespace content | 796 } // namespace content |
| 798 | 797 |
| 799 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 798 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |