| 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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 content::ResourceType resource_type, | 141 content::ResourceType resource_type, |
| 142 bool overridable, | 142 bool overridable, |
| 143 bool strict_enforcement, | 143 bool strict_enforcement, |
| 144 bool expired_previous_decision, | 144 bool expired_previous_decision, |
| 145 const base::Callback<void(content::CertificateRequestResultType)>& | 145 const base::Callback<void(content::CertificateRequestResultType)>& |
| 146 callback) override; | 146 callback) override; |
| 147 void SelectClientCertificate( | 147 void SelectClientCertificate( |
| 148 content::WebContents* web_contents, | 148 content::WebContents* web_contents, |
| 149 net::SSLCertRequestInfo* cert_request_info, | 149 net::SSLCertRequestInfo* cert_request_info, |
| 150 std::unique_ptr<content::ClientCertificateDelegate> delegate) override; | 150 std::unique_ptr<content::ClientCertificateDelegate> delegate) override; |
| 151 bool CanCreateWindow(int opener_render_process_id, | 151 bool CanCreateWindow(content::RenderFrameHost* opener, |
| 152 int opener_render_frame_id, | |
| 153 const GURL& opener_url, | 152 const GURL& opener_url, |
| 154 const GURL& opener_top_level_frame_url, | 153 const GURL& opener_top_level_frame_url, |
| 155 const GURL& source_origin, | 154 const GURL& source_origin, |
| 156 content::mojom::WindowContainerType container_type, | 155 content::mojom::WindowContainerType container_type, |
| 157 const GURL& target_url, | 156 const GURL& target_url, |
| 158 const content::Referrer& referrer, | 157 const content::Referrer& referrer, |
| 159 const std::string& frame_name, | 158 const std::string& frame_name, |
| 160 WindowOpenDisposition disposition, | 159 WindowOpenDisposition disposition, |
| 161 const blink::mojom::WindowFeatures& features, | 160 const blink::mojom::WindowFeatures& features, |
| 162 bool user_gesture, | 161 bool user_gesture, |
| 163 bool opener_suppressed, | 162 bool opener_suppressed, |
| 164 content::ResourceContext* context, | |
| 165 bool* no_javascript_access) override; | 163 bool* no_javascript_access) override; |
| 166 void ExposeInterfacesToRenderer( | 164 void ExposeInterfacesToRenderer( |
| 167 service_manager::BinderRegistry* registry, | 165 service_manager::BinderRegistry* registry, |
| 168 content::RenderProcessHost* render_process_host) override; | 166 content::RenderProcessHost* render_process_host) override; |
| 169 void RegisterInProcessServices(StaticServiceMap* services) override; | 167 void RegisterInProcessServices(StaticServiceMap* services) override; |
| 170 std::unique_ptr<base::Value> GetServiceManifestOverlay( | 168 std::unique_ptr<base::Value> GetServiceManifestOverlay( |
| 171 base::StringPiece service_name) override; | 169 base::StringPiece service_name) override; |
| 172 void GetAdditionalMappedFilesForChildProcess( | 170 void GetAdditionalMappedFilesForChildProcess( |
| 173 const base::CommandLine& command_line, | 171 const base::CommandLine& command_line, |
| 174 int child_process_id, | 172 int child_process_id, |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 std::unique_ptr<media::MediaPipelineBackendFactory> | 210 std::unique_ptr<media::MediaPipelineBackendFactory> |
| 213 media_pipeline_backend_factory_; | 211 media_pipeline_backend_factory_; |
| 214 | 212 |
| 215 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); | 213 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); |
| 216 }; | 214 }; |
| 217 | 215 |
| 218 } // namespace shell | 216 } // namespace shell |
| 219 } // namespace chromecast | 217 } // namespace chromecast |
| 220 | 218 |
| 221 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 219 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |