| 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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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) | 173 #if defined(OS_ANDROID) && defined(VIDEO_HOLE) |
| 174 content::ExternalVideoSurfaceContainer* | 174 content::ExternalVideoSurfaceContainer* |
| 175 OverrideCreateExternalVideoSurfaceContainer( | 175 OverrideCreateExternalVideoSurfaceContainer( |
| 176 content::WebContents* web_contents) override; | 176 content::WebContents* web_contents) override; |
| 177 #endif // defined(OS_ANDROID) && defined(VIDEO_HOLE) | 177 #endif // defined(OS_ANDROID) && defined(VIDEO_HOLE) |
| 178 content::DevToolsManagerDelegate* GetDevToolsManagerDelegate() override; |
| 178 | 179 |
| 179 protected: | 180 protected: |
| 180 CastContentBrowserClient(); | 181 CastContentBrowserClient(); |
| 181 | 182 |
| 182 URLRequestContextFactory* url_request_context_factory() const { | 183 URLRequestContextFactory* url_request_context_factory() const { |
| 183 return url_request_context_factory_.get(); | 184 return url_request_context_factory_.get(); |
| 184 } | 185 } |
| 185 | 186 |
| 186 private: | 187 private: |
| 187 void AddNetworkHintsMessageFilter(int render_process_id, | 188 void AddNetworkHintsMessageFilter(int render_process_id, |
| (...skipping 19 matching lines...) Expand all Loading... |
| 207 CastBrowserMainParts* cast_browser_main_parts_; | 208 CastBrowserMainParts* cast_browser_main_parts_; |
| 208 std::unique_ptr<URLRequestContextFactory> url_request_context_factory_; | 209 std::unique_ptr<URLRequestContextFactory> url_request_context_factory_; |
| 209 | 210 |
| 210 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); | 211 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); |
| 211 }; | 212 }; |
| 212 | 213 |
| 213 } // namespace shell | 214 } // namespace shell |
| 214 } // namespace chromecast | 215 } // namespace chromecast |
| 215 | 216 |
| 216 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 217 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |