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

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

Issue 2501913002: Change the NaCl loader and broker processes to use the ServiceManager. (Closed)
Patch Set: Created 4 years, 1 month 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 689 matching lines...) Expand 10 before | Expand all | Expand 10 after
700 virtual void RegisterUnsandboxedOutOfProcessServices( 700 virtual void RegisterUnsandboxedOutOfProcessServices(
701 OutOfProcessServiceMap* services) {} 701 OutOfProcessServiceMap* services) {}
702 702
703 // Allow the embedder to provide a dictionary loaded from a JSON file 703 // Allow the embedder to provide a dictionary loaded from a JSON file
704 // resembling a service manifest whose capabilities section will be merged 704 // resembling a service manifest whose capabilities section will be merged
705 // with content's own for |name|. Additional entries will be appended to their 705 // with content's own for |name|. Additional entries will be appended to their
706 // respective sections. 706 // respective sections.
707 virtual std::unique_ptr<base::Value> GetServiceManifestOverlay( 707 virtual std::unique_ptr<base::Value> GetServiceManifestOverlay(
708 const std::string& name); 708 const std::string& name);
709 709
710 virtual std::vector<std::pair<std::string, int>> GetExtraServiceManifests();
piman 2016/11/23 18:08:11 nit: what are the members of the pair? Could you c
Sam McNally 2016/11/24 02:10:41 Done.
711
710 // Allows to override the visibility state of a RenderFrameHost. 712 // Allows to override the visibility state of a RenderFrameHost.
711 // |visibility_state| should not be null. It will only be set if needed. 713 // |visibility_state| should not be null. It will only be set if needed.
712 virtual void OverridePageVisibilityState( 714 virtual void OverridePageVisibilityState(
713 RenderFrameHost* render_frame_host, 715 RenderFrameHost* render_frame_host,
714 blink::WebPageVisibilityState* visibility_state) {} 716 blink::WebPageVisibilityState* visibility_state) {}
715 717
716 // Allows an embedder to provide its own PresentationServiceDelegate 718 // Allows an embedder to provide its own PresentationServiceDelegate
717 // implementation. Returns nullptr if unavailable. 719 // implementation. Returns nullptr if unavailable.
718 virtual PresentationServiceDelegate* GetPresentationServiceDelegate( 720 virtual PresentationServiceDelegate* GetPresentationServiceDelegate(
719 WebContents* web_contents); 721 WebContents* web_contents);
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
788 // by |render_frame_host|. This may be called multiple times if there is more 790 // by |render_frame_host|. This may be called multiple times if there is more
789 // than one source candidate in the same render frame. 791 // than one source candidate in the same render frame.
790 virtual void CreateMediaRemoter(RenderFrameHost* render_frame_host, 792 virtual void CreateMediaRemoter(RenderFrameHost* render_frame_host,
791 media::mojom::RemotingSourcePtr source, 793 media::mojom::RemotingSourcePtr source,
792 media::mojom::RemoterRequest request) {} 794 media::mojom::RemoterRequest request) {}
793 }; 795 };
794 796
795 } // namespace content 797 } // namespace content
796 798
797 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 799 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698