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

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

Issue 1053773007: Add Platform Verification Mojo Services. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase only Created 5 years, 7 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
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | media/mojo/interfaces/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after
565 565
566 // Returns true if dev channel APIs are available for plugins. 566 // Returns true if dev channel APIs are available for plugins.
567 virtual bool IsPluginAllowedToUseDevChannelAPIs( 567 virtual bool IsPluginAllowedToUseDevChannelAPIs(
568 BrowserContext* browser_context, 568 BrowserContext* browser_context,
569 const GURL& url); 569 const GURL& url);
570 570
571 // Allows to override browser Mojo services exposed through the 571 // Allows to override browser Mojo services exposed through the
572 // RenderProcessHost. 572 // RenderProcessHost.
573 virtual void OverrideRenderProcessMojoServices(ServiceRegistry* registry) {} 573 virtual void OverrideRenderProcessMojoServices(ServiceRegistry* registry) {}
574 574
575 // Allows to override browser Mojo services exposed through the
576 // RenderFrameHost.
577 virtual void OverrideRenderFrameMojoServices(
578 ServiceRegistry* registry,
579 RenderFrameHost* render_frame_host) {}
580
575 // Registers additional navigator.connect service factories available in a 581 // Registers additional navigator.connect service factories available in a
576 // particular NavigatorConnectContext. 582 // particular NavigatorConnectContext.
577 virtual void GetAdditionalNavigatorConnectServices( 583 virtual void GetAdditionalNavigatorConnectServices(
578 const scoped_refptr<NavigatorConnectContext>& context) {} 584 const scoped_refptr<NavigatorConnectContext>& context) {}
579 585
580 // Allows to override the visibility state of a RenderFrameHost. 586 // Allows to override the visibility state of a RenderFrameHost.
581 // |visibility_state| should not be null. It will only be set if needed. 587 // |visibility_state| should not be null. It will only be set if needed.
582 virtual void OverridePageVisibilityState( 588 virtual void OverridePageVisibilityState(
583 RenderFrameHost* render_frame_host, 589 RenderFrameHost* render_frame_host,
584 blink::WebPageVisibilityState* visibility_state) {} 590 blink::WebPageVisibilityState* visibility_state) {}
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
622 // Allows an embedder to provide its own ExternalVideoSurfaceContainer 628 // Allows an embedder to provide its own ExternalVideoSurfaceContainer
623 // implementation. Return nullptr to disable external surface video. 629 // implementation. Return nullptr to disable external surface video.
624 virtual ExternalVideoSurfaceContainer* 630 virtual ExternalVideoSurfaceContainer*
625 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); 631 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents);
626 #endif 632 #endif
627 }; 633 };
628 634
629 } // namespace content 635 } // namespace content
630 636
631 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 637 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | media/mojo/interfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698