Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Side by Side Diff: content/public/browser/content_browser_client.h

Issue 2096643002: Eliminate MojoApplicationHost (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mah3
Patch Set: . Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
651 // Returns true if dev channel APIs are available for plugins. 650 // Returns true if dev channel APIs are available for plugins.
652 virtual bool IsPluginAllowedToUseDevChannelAPIs( 651 virtual bool IsPluginAllowedToUseDevChannelAPIs(
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 the client to expose additional interfaces to renderer processes.
662 // RenderProcessHost. 661 virtual void ExposeInterfacesToRenderer(
663 virtual void RegisterRenderProcessMojoServices( 662 shell::InterfaceRegistry* registry,
664 ServiceRegistry* registry,
665 RenderProcessHost* render_process_host) {} 663 RenderProcessHost* render_process_host) {}
666 664
667 // Allows to register browser Mojo interfaces exposed through the 665 // Allows to register browser Mojo interfaces exposed through the
668 // FrameMojoShell. 666 // FrameMojoShell.
669 virtual void RegisterFrameMojoShellInterfaces( 667 virtual void RegisterFrameMojoShellInterfaces(
670 shell::InterfaceRegistry* registry, 668 shell::InterfaceRegistry* registry,
671 RenderFrameHost* render_frame_host) {} 669 RenderFrameHost* render_frame_host) {}
672 670
673 // Allows to register browser Mojo interfaces exposed through the 671 // Allows to register browser Mojo interfaces exposed through the
674 // RenderFrameHost. 672 // RenderFrameHost.
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
790 // Allows an embedder to provide its own ExternalVideoSurfaceContainer 788 // Allows an embedder to provide its own ExternalVideoSurfaceContainer
791 // implementation. Return nullptr to disable external surface video. 789 // implementation. Return nullptr to disable external surface video.
792 virtual ExternalVideoSurfaceContainer* 790 virtual ExternalVideoSurfaceContainer*
793 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); 791 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents);
794 #endif 792 #endif
795 }; 793 };
796 794
797 } // namespace content 795 } // namespace content
798 796
799 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 797 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/public/browser/browser_child_process_host_delegate.cc ('k') | content/public/browser/gpu_service_registry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698