| OLD | NEW |
| 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 CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 content::WebContents* web_contents) override; | 238 content::WebContents* web_contents) override; |
| 239 void GetAdditionalAllowedSchemesForFileSystem( | 239 void GetAdditionalAllowedSchemesForFileSystem( |
| 240 std::vector<std::string>* additional_schemes) override; | 240 std::vector<std::string>* additional_schemes) override; |
| 241 void GetSchemesBypassingSecureContextCheckWhitelist( | 241 void GetSchemesBypassingSecureContextCheckWhitelist( |
| 242 std::set<std::string>* schemes) override; | 242 std::set<std::string>* schemes) override; |
| 243 void GetURLRequestAutoMountHandlers( | 243 void GetURLRequestAutoMountHandlers( |
| 244 std::vector<storage::URLRequestAutoMountHandler>* handlers) override; | 244 std::vector<storage::URLRequestAutoMountHandler>* handlers) override; |
| 245 void GetAdditionalFileSystemBackends( | 245 void GetAdditionalFileSystemBackends( |
| 246 content::BrowserContext* browser_context, | 246 content::BrowserContext* browser_context, |
| 247 const base::FilePath& storage_partition_path, | 247 const base::FilePath& storage_partition_path, |
| 248 ScopedVector<storage::FileSystemBackend>* additional_backends) override; | 248 std::vector<std::unique_ptr<storage::FileSystemBackend>>* |
| 249 additional_backends) override; |
| 249 content::DevToolsManagerDelegate* GetDevToolsManagerDelegate() override; | 250 content::DevToolsManagerDelegate* GetDevToolsManagerDelegate() override; |
| 250 content::TracingDelegate* GetTracingDelegate() override; | 251 content::TracingDelegate* GetTracingDelegate() override; |
| 251 bool IsPluginAllowedToCallRequestOSFileHandle( | 252 bool IsPluginAllowedToCallRequestOSFileHandle( |
| 252 content::BrowserContext* browser_context, | 253 content::BrowserContext* browser_context, |
| 253 const GURL& url) override; | 254 const GURL& url) override; |
| 254 bool IsPluginAllowedToUseDevChannelAPIs( | 255 bool IsPluginAllowedToUseDevChannelAPIs( |
| 255 content::BrowserContext* browser_context, | 256 content::BrowserContext* browser_context, |
| 256 const GURL& url) override; | 257 const GURL& url) override; |
| 257 void OverridePageVisibilityState( | 258 void OverridePageVisibilityState( |
| 258 content::RenderFrameHost* render_frame_host, | 259 content::RenderFrameHost* render_frame_host, |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 292 const content::OpenURLParams& params, | 293 const content::OpenURLParams& params, |
| 293 const base::Callback<void(content::WebContents*)>& callback) | 294 const base::Callback<void(content::WebContents*)>& callback) |
| 294 override; | 295 override; |
| 295 content::ControllerPresentationServiceDelegate* | 296 content::ControllerPresentationServiceDelegate* |
| 296 GetControllerPresentationServiceDelegate( | 297 GetControllerPresentationServiceDelegate( |
| 297 content::WebContents* web_contents) override; | 298 content::WebContents* web_contents) override; |
| 298 content::ReceiverPresentationServiceDelegate* | 299 content::ReceiverPresentationServiceDelegate* |
| 299 GetReceiverPresentationServiceDelegate( | 300 GetReceiverPresentationServiceDelegate( |
| 300 content::WebContents* web_contents) override; | 301 content::WebContents* web_contents) override; |
| 301 void RecordURLMetric(const std::string& metric, const GURL& url) override; | 302 void RecordURLMetric(const std::string& metric, const GURL& url) override; |
| 302 ScopedVector<content::NavigationThrottle> CreateThrottlesForNavigation( | 303 std::vector<std::unique_ptr<content::NavigationThrottle>> |
| 303 content::NavigationHandle* handle) override; | 304 CreateThrottlesForNavigation(content::NavigationHandle* handle) override; |
| 304 std::unique_ptr<content::NavigationUIData> GetNavigationUIData( | 305 std::unique_ptr<content::NavigationUIData> GetNavigationUIData( |
| 305 content::NavigationHandle* navigation_handle) override; | 306 content::NavigationHandle* navigation_handle) override; |
| 306 std::unique_ptr<content::MemoryCoordinatorDelegate> | 307 std::unique_ptr<content::MemoryCoordinatorDelegate> |
| 307 GetMemoryCoordinatorDelegate() override; | 308 GetMemoryCoordinatorDelegate() override; |
| 308 ::rappor::RapporService* GetRapporService() override; | 309 ::rappor::RapporService* GetRapporService() override; |
| 309 | 310 |
| 310 #if BUILDFLAG(ENABLE_MEDIA_REMOTING) | 311 #if BUILDFLAG(ENABLE_MEDIA_REMOTING) |
| 311 void CreateMediaRemoter(content::RenderFrameHost* render_frame_host, | 312 void CreateMediaRemoter(content::RenderFrameHost* render_frame_host, |
| 312 media::mojom::RemotingSourcePtr source, | 313 media::mojom::RemotingSourcePtr source, |
| 313 media::mojom::RemoterRequest request) final; | 314 media::mojom::RemoterRequest request) final; |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 366 // Vector of additional ChromeContentBrowserClientParts. | 367 // Vector of additional ChromeContentBrowserClientParts. |
| 367 // Parts are deleted in the reverse order they are added. | 368 // Parts are deleted in the reverse order they are added. |
| 368 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 369 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 369 | 370 |
| 370 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 371 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 371 | 372 |
| 372 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 373 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 373 }; | 374 }; |
| 374 | 375 |
| 375 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 376 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |