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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 ::media::ScopedAudioManagerPtr CreateAudioManager( | 163 ::media::ScopedAudioManagerPtr CreateAudioManager( |
164 ::media::AudioLogFactory* audio_log_factory) override; | 164 ::media::AudioLogFactory* audio_log_factory) override; |
165 std::unique_ptr<::media::CdmFactory> CreateCdmFactory() override; | 165 std::unique_ptr<::media::CdmFactory> CreateCdmFactory() override; |
166 void GetAdditionalMappedFilesForChildProcess( | 166 void GetAdditionalMappedFilesForChildProcess( |
167 const base::CommandLine& command_line, | 167 const base::CommandLine& command_line, |
168 int child_process_id, | 168 int child_process_id, |
169 content::FileDescriptorInfo* mappings) override; | 169 content::FileDescriptorInfo* mappings) override; |
170 #endif // defined(OS_ANDROID) | 170 #endif // defined(OS_ANDROID) |
171 void GetAdditionalWebUISchemes( | 171 void GetAdditionalWebUISchemes( |
172 std::vector<std::string>* additional_schemes) override; | 172 std::vector<std::string>* additional_schemes) override; |
173 #if defined(OS_ANDROID) && defined(VIDEO_HOLE) | |
174 content::ExternalVideoSurfaceContainer* | |
175 OverrideCreateExternalVideoSurfaceContainer( | |
176 content::WebContents* web_contents) override; | |
177 #endif // defined(OS_ANDROID) && defined(VIDEO_HOLE) | |
178 content::DevToolsManagerDelegate* GetDevToolsManagerDelegate() override; | 173 content::DevToolsManagerDelegate* GetDevToolsManagerDelegate() override; |
179 | 174 |
180 protected: | 175 protected: |
181 CastContentBrowserClient(); | 176 CastContentBrowserClient(); |
182 | 177 |
183 URLRequestContextFactory* url_request_context_factory() const { | 178 URLRequestContextFactory* url_request_context_factory() const { |
184 return url_request_context_factory_.get(); | 179 return url_request_context_factory_.get(); |
185 } | 180 } |
186 | 181 |
187 private: | 182 private: |
(...skipping 20 matching lines...) Expand all Loading... |
208 CastBrowserMainParts* cast_browser_main_parts_; | 203 CastBrowserMainParts* cast_browser_main_parts_; |
209 std::unique_ptr<URLRequestContextFactory> url_request_context_factory_; | 204 std::unique_ptr<URLRequestContextFactory> url_request_context_factory_; |
210 | 205 |
211 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); | 206 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); |
212 }; | 207 }; |
213 | 208 |
214 } // namespace shell | 209 } // namespace shell |
215 } // namespace chromecast | 210 } // namespace chromecast |
216 | 211 |
217 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 212 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |