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

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

Issue 1209283003: FrameMojoShell provides services to mojo apps. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase only Created 5 years, 5 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/mojo/mojo_shell_context.cc ('k') | media/mojo/DEPS » ('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 560 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 // Returns true if dev channel APIs are available for plugins. 571 // Returns true if dev channel APIs are available for plugins.
572 virtual bool IsPluginAllowedToUseDevChannelAPIs( 572 virtual bool IsPluginAllowedToUseDevChannelAPIs(
573 BrowserContext* browser_context, 573 BrowserContext* browser_context,
574 const GURL& url); 574 const GURL& url);
575 575
576 // Allows to override browser Mojo services exposed through the 576 // Allows to override browser Mojo services exposed through the
577 // RenderProcessHost. 577 // RenderProcessHost.
578 virtual void OverrideRenderProcessMojoServices(ServiceRegistry* registry) {} 578 virtual void OverrideRenderProcessMojoServices(ServiceRegistry* registry) {}
579 579
580 // Allows to override browser Mojo services exposed through the 580 // Allows to override browser Mojo services exposed through the
581 // RenderFrameHost. 581 // FrameMojoShell.
582 virtual void OverrideRenderFrameMojoServices( 582 virtual void OverrideFrameMojoShellServices(
583 ServiceRegistry* registry, 583 ServiceRegistry* registry,
584 RenderFrameHost* render_frame_host) {} 584 RenderFrameHost* render_frame_host) {}
585 585
586 using StaticMojoApplicationMap = 586 using StaticMojoApplicationMap =
587 std::map<GURL, base::Callback<scoped_ptr<mojo::ApplicationDelegate>()>>; 587 std::map<GURL, base::Callback<scoped_ptr<mojo::ApplicationDelegate>()>>;
588 588
589 // Registers in-process Mojo application loaders with the browser's global 589 // Registers in-process Mojo application loaders with the browser's global
590 // Mojo shell. 590 // Mojo shell.
591 virtual void RegisterMojoApplications(StaticMojoApplicationMap* apps) {} 591 virtual void RegisterMojoApplications(StaticMojoApplicationMap* apps) {}
592 592
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
652 // Allows an embedder to provide its own ExternalVideoSurfaceContainer 652 // Allows an embedder to provide its own ExternalVideoSurfaceContainer
653 // implementation. Return nullptr to disable external surface video. 653 // implementation. Return nullptr to disable external surface video.
654 virtual ExternalVideoSurfaceContainer* 654 virtual ExternalVideoSurfaceContainer*
655 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); 655 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents);
656 #endif 656 #endif
657 }; 657 };
658 658
659 } // namespace content 659 } // namespace content
660 660
661 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 661 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/browser/mojo/mojo_shell_context.cc ('k') | media/mojo/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698