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

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

Issue 1743473002: Change Mojo URLs to structured names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@18collapse
Patch Set: . Created 4 years, 9 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/gpu/gpu_process_control_impl.cc ('k') | content/public/browser/mojo_app_connection.h » ('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 <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 640 matching lines...) Expand 10 before | Expand all | Expand 10 after
651 ServiceRegistry* registry, 651 ServiceRegistry* registry,
652 RenderFrameHost* render_frame_host) {} 652 RenderFrameHost* render_frame_host) {}
653 653
654 // Allows to register browser Mojo services exposed through the 654 // Allows to register browser Mojo services exposed through the
655 // RenderFrameHost. 655 // RenderFrameHost.
656 virtual void RegisterRenderFrameMojoServices( 656 virtual void RegisterRenderFrameMojoServices(
657 ServiceRegistry* registry, 657 ServiceRegistry* registry,
658 RenderFrameHost* render_frame_host) {} 658 RenderFrameHost* render_frame_host) {}
659 659
660 using StaticMojoApplicationMap = 660 using StaticMojoApplicationMap =
661 std::map<GURL, base::Callback<scoped_ptr<mojo::ShellClient>()>>; 661 std::map<std::string, base::Callback<scoped_ptr<mojo::ShellClient>()>>;
662 662
663 // Registers Mojo applications to be loaded in the browser process by the 663 // Registers Mojo applications to be loaded in the browser process by the
664 // browser's global Mojo shell. 664 // browser's global Mojo shell.
665 virtual void RegisterInProcessMojoApplications( 665 virtual void RegisterInProcessMojoApplications(
666 StaticMojoApplicationMap* apps) {} 666 StaticMojoApplicationMap* apps) {}
667 667
668 using OutOfProcessMojoApplicationMap = std::map<GURL, base::string16>; 668 using OutOfProcessMojoApplicationMap = std::map<std::string, base::string16>;
669 669
670 // Registers Mojo applications to be loaded out of the browser process, in a 670 // Registers Mojo applications to be loaded out of the browser process, in a
671 // sandboxed utility process. The value of each map entry should be the 671 // sandboxed utility process. The value of each map entry should be the
672 // process name to use for the application's host process when launched. 672 // process name to use for the application's host process when launched.
673 virtual void RegisterOutOfProcessMojoApplications( 673 virtual void RegisterOutOfProcessMojoApplications(
674 OutOfProcessMojoApplicationMap* apps) {} 674 OutOfProcessMojoApplicationMap* apps) {}
675 675
676 // Registers Mojo applications to be loaded out of the browser process (in 676 // Registers Mojo applications to be loaded out of the browser process (in
677 // a utility process) without the sandbox. 677 // a utility process) without the sandbox.
678 // 678 //
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
765 // Allows an embedder to provide its own ExternalVideoSurfaceContainer 765 // Allows an embedder to provide its own ExternalVideoSurfaceContainer
766 // implementation. Return nullptr to disable external surface video. 766 // implementation. Return nullptr to disable external surface video.
767 virtual ExternalVideoSurfaceContainer* 767 virtual ExternalVideoSurfaceContainer*
768 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); 768 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents);
769 #endif 769 #endif
770 }; 770 };
771 771
772 } // namespace content 772 } // namespace content
773 773
774 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 774 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/gpu/gpu_process_control_impl.cc ('k') | content/public/browser/mojo_app_connection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698