OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
6 #define CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 6 #define CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 #include <string> | 10 #include <string> |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 content::ResourceType resource_type, | 125 content::ResourceType resource_type, |
126 bool overridable, | 126 bool overridable, |
127 bool strict_enforcement, | 127 bool strict_enforcement, |
128 bool expired_previous_decision, | 128 bool expired_previous_decision, |
129 const base::Callback<void(content::CertificateRequestResultType)>& | 129 const base::Callback<void(content::CertificateRequestResultType)>& |
130 callback) override; | 130 callback) override; |
131 void SelectClientCertificate( | 131 void SelectClientCertificate( |
132 content::WebContents* web_contents, | 132 content::WebContents* web_contents, |
133 net::SSLCertRequestInfo* cert_request_info, | 133 net::SSLCertRequestInfo* cert_request_info, |
134 std::unique_ptr<content::ClientCertificateDelegate> delegate) override; | 134 std::unique_ptr<content::ClientCertificateDelegate> delegate) override; |
135 bool CanCreateWindow( | 135 bool CanCreateWindow(int opener_render_process_id, |
136 const GURL& opener_url, | 136 int opener_render_frame_id, |
137 const GURL& opener_top_level_frame_url, | 137 const GURL& opener_url, |
138 const GURL& source_origin, | 138 const GURL& opener_top_level_frame_url, |
139 WindowContainerType container_type, | 139 const GURL& source_origin, |
140 const GURL& target_url, | 140 WindowContainerType container_type, |
141 const content::Referrer& referrer, | 141 const GURL& target_url, |
142 const std::string& frame_name, | 142 const content::Referrer& referrer, |
143 WindowOpenDisposition disposition, | 143 const std::string& frame_name, |
144 const blink::WebWindowFeatures& features, | 144 WindowOpenDisposition disposition, |
145 bool user_gesture, | 145 const blink::WebWindowFeatures& features, |
146 bool opener_suppressed, | 146 bool user_gesture, |
147 content::ResourceContext* context, | 147 bool opener_suppressed, |
148 int render_process_id, | 148 content::ResourceContext* context, |
149 int opener_render_view_id, | 149 bool* no_javascript_access) override; |
150 int opener_render_frame_id, | |
151 bool* no_javascript_access) override; | |
152 void ExposeInterfacesToRenderer( | 150 void ExposeInterfacesToRenderer( |
153 service_manager::InterfaceRegistry* registry, | 151 service_manager::InterfaceRegistry* registry, |
154 content::RenderProcessHost* render_process_host) override; | 152 content::RenderProcessHost* render_process_host) override; |
155 void RegisterInProcessServices(StaticServiceMap* services) override; | 153 void RegisterInProcessServices(StaticServiceMap* services) override; |
156 std::unique_ptr<base::Value> GetServiceManifestOverlay( | 154 std::unique_ptr<base::Value> GetServiceManifestOverlay( |
157 base::StringPiece service_name) override; | 155 base::StringPiece service_name) override; |
158 #if defined(OS_ANDROID) | 156 #if defined(OS_ANDROID) |
159 void GetAdditionalMappedFilesForChildProcess( | 157 void GetAdditionalMappedFilesForChildProcess( |
160 const base::CommandLine& command_line, | 158 const base::CommandLine& command_line, |
161 int child_process_id, | 159 int child_process_id, |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 CastBrowserMainParts* cast_browser_main_parts_; | 203 CastBrowserMainParts* cast_browser_main_parts_; |
206 std::unique_ptr<URLRequestContextFactory> url_request_context_factory_; | 204 std::unique_ptr<URLRequestContextFactory> url_request_context_factory_; |
207 | 205 |
208 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); | 206 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); |
209 }; | 207 }; |
210 | 208 |
211 } // namespace shell | 209 } // namespace shell |
212 } // namespace chromecast | 210 } // namespace chromecast |
213 | 211 |
214 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 212 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |