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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 class BrowserContext; | 85 class BrowserContext; |
86 class BrowserMainParts; | 86 class BrowserMainParts; |
87 class BrowserPluginGuestDelegate; | 87 class BrowserPluginGuestDelegate; |
88 class BrowserPpapiHost; | 88 class BrowserPpapiHost; |
89 class BrowserURLHandler; | 89 class BrowserURLHandler; |
90 class ClientCertificateDelegate; | 90 class ClientCertificateDelegate; |
91 class DevToolsManagerDelegate; | 91 class DevToolsManagerDelegate; |
92 class ExternalVideoSurfaceContainer; | 92 class ExternalVideoSurfaceContainer; |
93 class LocationProvider; | 93 class LocationProvider; |
94 class MediaObserver; | 94 class MediaObserver; |
| 95 class MojoShellContext; |
95 class NavigatorConnectContext; | 96 class NavigatorConnectContext; |
96 class NavigatorConnectServiceFactory; | 97 class NavigatorConnectServiceFactory; |
97 class PlatformNotificationService; | 98 class PlatformNotificationService; |
98 class PresentationServiceDelegate; | 99 class PresentationServiceDelegate; |
99 class QuotaPermissionContext; | 100 class QuotaPermissionContext; |
100 class RenderFrameHost; | 101 class RenderFrameHost; |
101 class RenderProcessHost; | 102 class RenderProcessHost; |
102 class RenderViewHost; | 103 class RenderViewHost; |
103 class ResourceContext; | 104 class ResourceContext; |
104 class ServiceRegistry; | 105 class ServiceRegistry; |
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
624 virtual void PreSpawnRenderer(sandbox::TargetPolicy* policy, | 625 virtual void PreSpawnRenderer(sandbox::TargetPolicy* policy, |
625 bool* success) {} | 626 bool* success) {} |
626 #endif | 627 #endif |
627 | 628 |
628 #if defined(VIDEO_HOLE) | 629 #if defined(VIDEO_HOLE) |
629 // Allows an embedder to provide its own ExternalVideoSurfaceContainer | 630 // Allows an embedder to provide its own ExternalVideoSurfaceContainer |
630 // implementation. Return nullptr to disable external surface video. | 631 // implementation. Return nullptr to disable external surface video. |
631 virtual ExternalVideoSurfaceContainer* | 632 virtual ExternalVideoSurfaceContainer* |
632 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); | 633 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); |
633 #endif | 634 #endif |
| 635 |
| 636 // Allows the embedder to configure the global Mojo shell. |
| 637 virtual void ConfigureMojoShell(MojoShellContext* context); |
634 }; | 638 }; |
635 | 639 |
636 } // namespace content | 640 } // namespace content |
637 | 641 |
638 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 642 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |