| 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 | 74 |
| 75 namespace storage { | 75 namespace storage { |
| 76 class ExternalMountPoints; | 76 class ExternalMountPoints; |
| 77 class FileSystemBackend; | 77 class FileSystemBackend; |
| 78 } | 78 } |
| 79 | 79 |
| 80 namespace content { | 80 namespace content { |
| 81 | 81 |
| 82 enum class PermissionType; | 82 enum class PermissionType; |
| 83 class AccessTokenStore; | 83 class AccessTokenStore; |
| 84 class ApplicationRegistry; |
| 84 class BrowserChildProcessHost; | 85 class BrowserChildProcessHost; |
| 85 class BrowserContext; | 86 class BrowserContext; |
| 86 class BrowserMainParts; | 87 class BrowserMainParts; |
| 87 class BrowserPluginGuestDelegate; | 88 class BrowserPluginGuestDelegate; |
| 88 class BrowserPpapiHost; | 89 class BrowserPpapiHost; |
| 89 class BrowserURLHandler; | 90 class BrowserURLHandler; |
| 90 class ClientCertificateDelegate; | 91 class ClientCertificateDelegate; |
| 91 class DevToolsManagerDelegate; | 92 class DevToolsManagerDelegate; |
| 92 class ExternalVideoSurfaceContainer; | 93 class ExternalVideoSurfaceContainer; |
| 93 class LocationProvider; | 94 class LocationProvider; |
| (...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 571 // Allows to override browser Mojo services exposed through the | 572 // Allows to override browser Mojo services exposed through the |
| 572 // RenderProcessHost. | 573 // RenderProcessHost. |
| 573 virtual void OverrideRenderProcessMojoServices(ServiceRegistry* registry) {} | 574 virtual void OverrideRenderProcessMojoServices(ServiceRegistry* registry) {} |
| 574 | 575 |
| 575 // Allows to override browser Mojo services exposed through the | 576 // Allows to override browser Mojo services exposed through the |
| 576 // RenderFrameHost. | 577 // RenderFrameHost. |
| 577 virtual void OverrideRenderFrameMojoServices( | 578 virtual void OverrideRenderFrameMojoServices( |
| 578 ServiceRegistry* registry, | 579 ServiceRegistry* registry, |
| 579 RenderFrameHost* render_frame_host) {} | 580 RenderFrameHost* render_frame_host) {} |
| 580 | 581 |
| 582 // Registers in-process Mojo application loaders with the browser's global |
| 583 // Mojo shell. |
| 584 virtual void RegisterMojoApplications(ApplicationRegistry* registry) {} |
| 585 |
| 581 // Registers additional navigator.connect service factories available in a | 586 // Registers additional navigator.connect service factories available in a |
| 582 // particular NavigatorConnectContext. | 587 // particular NavigatorConnectContext. |
| 583 virtual void GetAdditionalNavigatorConnectServices( | 588 virtual void GetAdditionalNavigatorConnectServices( |
| 584 const scoped_refptr<NavigatorConnectContext>& context) {} | 589 const scoped_refptr<NavigatorConnectContext>& context) {} |
| 585 | 590 |
| 586 // Allows to override the visibility state of a RenderFrameHost. | 591 // Allows to override the visibility state of a RenderFrameHost. |
| 587 // |visibility_state| should not be null. It will only be set if needed. | 592 // |visibility_state| should not be null. It will only be set if needed. |
| 588 virtual void OverridePageVisibilityState( | 593 virtual void OverridePageVisibilityState( |
| 589 RenderFrameHost* render_frame_host, | 594 RenderFrameHost* render_frame_host, |
| 590 blink::WebPageVisibilityState* visibility_state) {} | 595 blink::WebPageVisibilityState* visibility_state) {} |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 628 // Allows an embedder to provide its own ExternalVideoSurfaceContainer | 633 // Allows an embedder to provide its own ExternalVideoSurfaceContainer |
| 629 // implementation. Return nullptr to disable external surface video. | 634 // implementation. Return nullptr to disable external surface video. |
| 630 virtual ExternalVideoSurfaceContainer* | 635 virtual ExternalVideoSurfaceContainer* |
| 631 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); | 636 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); |
| 632 #endif | 637 #endif |
| 633 }; | 638 }; |
| 634 | 639 |
| 635 } // namespace content | 640 } // namespace content |
| 636 | 641 |
| 637 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 642 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |