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 BrowserChildProcessHost; | 85 class BrowserChildProcessHost; |
86 class BrowserContext; | 86 class BrowserContext; |
87 class BrowserMainParts; | 87 class BrowserMainParts; |
88 class BrowserPluginGuestDelegate; | 88 class BrowserPluginGuestDelegate; |
89 class BrowserPpapiHost; | 89 class BrowserPpapiHost; |
90 class BrowserURLHandler; | 90 class BrowserURLHandler; |
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 NavigatorConnectContext; |
| 96 class NavigatorConnectServiceFactory; |
95 class PlatformNotificationService; | 97 class PlatformNotificationService; |
96 class QuotaPermissionContext; | 98 class QuotaPermissionContext; |
97 class RenderFrameHost; | 99 class RenderFrameHost; |
98 class RenderProcessHost; | 100 class RenderProcessHost; |
99 class RenderViewHost; | 101 class RenderViewHost; |
100 class ResourceContext; | 102 class ResourceContext; |
101 class ServiceRegistry; | 103 class ServiceRegistry; |
102 class SiteInstance; | 104 class SiteInstance; |
103 class SpeechRecognitionManagerDelegate; | 105 class SpeechRecognitionManagerDelegate; |
104 class WebContents; | 106 class WebContents; |
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
581 // camera. Note that this does not query the user. |type| must be | 583 // camera. Note that this does not query the user. |type| must be |
582 // MEDIA_DEVICE_AUDIO_CAPTURE or MEDIA_DEVICE_VIDEO_CAPTURE. | 584 // MEDIA_DEVICE_AUDIO_CAPTURE or MEDIA_DEVICE_VIDEO_CAPTURE. |
583 virtual bool CheckMediaAccessPermission(BrowserContext* browser_context, | 585 virtual bool CheckMediaAccessPermission(BrowserContext* browser_context, |
584 const GURL& security_origin, | 586 const GURL& security_origin, |
585 MediaStreamType type); | 587 MediaStreamType type); |
586 | 588 |
587 // Allows to override browser Mojo services exposed through the | 589 // Allows to override browser Mojo services exposed through the |
588 // RenderProcessHost. | 590 // RenderProcessHost. |
589 virtual void OverrideRenderProcessMojoServices(ServiceRegistry* registry) {} | 591 virtual void OverrideRenderProcessMojoServices(ServiceRegistry* registry) {} |
590 | 592 |
| 593 // Registers additional navigator.connect service factories available in a |
| 594 // particular NavigatorConnectContext. |
| 595 virtual void GetAdditionalNavigatorConnectServices( |
| 596 const scoped_refptr<NavigatorConnectContext>& context) {} |
| 597 |
591 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 598 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
592 // Populates |mappings| with all files that need to be mapped before launching | 599 // Populates |mappings| with all files that need to be mapped before launching |
593 // a child process. | 600 // a child process. |
594 virtual void GetAdditionalMappedFilesForChildProcess( | 601 virtual void GetAdditionalMappedFilesForChildProcess( |
595 const base::CommandLine& command_line, | 602 const base::CommandLine& command_line, |
596 int child_process_id, | 603 int child_process_id, |
597 FileDescriptorInfo* mappings) {} | 604 FileDescriptorInfo* mappings) {} |
598 #endif | 605 #endif |
599 | 606 |
600 #if defined(OS_WIN) | 607 #if defined(OS_WIN) |
(...skipping 11 matching lines...) Expand all Loading... |
612 // Allows an embedder to provide its own ExternalVideoSurfaceContainer | 619 // Allows an embedder to provide its own ExternalVideoSurfaceContainer |
613 // implementation. Return nullptr to disable external surface video. | 620 // implementation. Return nullptr to disable external surface video. |
614 virtual ExternalVideoSurfaceContainer* | 621 virtual ExternalVideoSurfaceContainer* |
615 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); | 622 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); |
616 #endif | 623 #endif |
617 }; | 624 }; |
618 | 625 |
619 } // namespace content | 626 } // namespace content |
620 | 627 |
621 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 628 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |