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

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

Issue 1371793004: Provide the DeviceManager service to the renderer directly, no app. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@interface_permission
Patch Set: Fix header inclusion in chrome_content_browser_client.cc. Created 5 years, 2 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 <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after
610 // Allows to register browser Mojo services exposed through the 610 // Allows to register browser Mojo services exposed through the
611 // RenderProcessHost. 611 // RenderProcessHost.
612 virtual void RegisterRenderProcessMojoServices(ServiceRegistry* registry) {} 612 virtual void RegisterRenderProcessMojoServices(ServiceRegistry* registry) {}
613 613
614 // Allows to register browser Mojo services exposed through the 614 // Allows to register browser Mojo services exposed through the
615 // FrameMojoShell. 615 // FrameMojoShell.
616 virtual void RegisterFrameMojoShellServices( 616 virtual void RegisterFrameMojoShellServices(
617 ServiceRegistry* registry, 617 ServiceRegistry* registry,
618 RenderFrameHost* render_frame_host) {} 618 RenderFrameHost* render_frame_host) {}
619 619
620 using StaticMojoApplicationMap = 620 // Allows to register browser Mojo services exposes through the
Ken Rockot(use gerrit already) 2015/09/28 22:23:14 nit: exposed
Reilly Grant (use Gerrit) 2015/09/28 23:32:00 Done.
621 std::map<GURL, base::Callback<scoped_ptr<mojo::ApplicationDelegate>()>>; 621 // RenderFrameHost.
622 622 virtual void RegisterRenderFrameMojoServices(
623 // Registers Mojo applications to be loaded in the browser process by the 623 ServiceRegistry* registry,
624 // browser's global Mojo shell. 624 RenderFrameHost* render_frame_host) {}
625 virtual void RegisterInProcessMojoApplications(
626 StaticMojoApplicationMap* apps) {}
627 625
628 using OutOfProcessMojoApplicationMap = std::map<GURL, base::string16>; 626 using OutOfProcessMojoApplicationMap = std::map<GURL, base::string16>;
629 627
630 // Registers Mojo applications to be loaded out of the browser process, in a 628 // Registers Mojo applications to be loaded out of the browser process, in a
631 // sandboxed utility process. The value of each map entry should be the 629 // sandboxed utility process. The value of each map entry should be the
632 // process name to use for the application's host process when launched. 630 // process name to use for the application's host process when launched.
633 virtual void RegisterOutOfProcessMojoApplications( 631 virtual void RegisterOutOfProcessMojoApplications(
634 OutOfProcessMojoApplicationMap* apps) {} 632 OutOfProcessMojoApplicationMap* apps) {}
635 633
636 // Registers Mojo applications to be loaded out of the browser process (in 634 // Registers Mojo applications to be loaded out of the browser process (in
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
705 // Allows an embedder to provide its own ExternalVideoSurfaceContainer 703 // Allows an embedder to provide its own ExternalVideoSurfaceContainer
706 // implementation. Return nullptr to disable external surface video. 704 // implementation. Return nullptr to disable external surface video.
707 virtual ExternalVideoSurfaceContainer* 705 virtual ExternalVideoSurfaceContainer*
708 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); 706 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents);
709 #endif 707 #endif
710 }; 708 };
711 709
712 } // namespace content 710 } // namespace content
713 711
714 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 712 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698