Chromium Code Reviews| 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 CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 614 const base::FilePath& storage_partition_path, | 614 const base::FilePath& storage_partition_path, |
| 615 ScopedVector<storage::FileSystemBackend>* additional_backends) {} | 615 ScopedVector<storage::FileSystemBackend>* additional_backends) {} |
| 616 | 616 |
| 617 // Allows an embedder to return its own LocationProvider implementation. | 617 // Allows an embedder to return its own LocationProvider implementation. |
| 618 // Return nullptr to use the default one for the platform to be created. | 618 // Return nullptr to use the default one for the platform to be created. |
| 619 // FYI: Used by an external project; please don't remove. | 619 // FYI: Used by an external project; please don't remove. |
| 620 // Contact Viatcheslav Ostapenko at sl.ostapenko@samsung.com for more | 620 // Contact Viatcheslav Ostapenko at sl.ostapenko@samsung.com for more |
| 621 // information. | 621 // information. |
| 622 virtual LocationProvider* OverrideSystemLocationProvider(); | 622 virtual LocationProvider* OverrideSystemLocationProvider(); |
| 623 | 623 |
| 624 // Allows an embedder to return its own LocationProvider to be used as | |
| 625 // its sole LocationProvider. Called when any other LocationProvider | |
|
Charlie Reis
2016/05/31 21:44:18
nit: s/Called when/Should return a non-null value
CJ
2016/05/31 22:17:19
Done.
| |
| 626 // would be unsuitable. | |
| 627 virtual LocationProvider* SoleLocationProvider(); | |
|
Charlie Reis
2016/05/31 21:44:18
nit: GetSoleLocationProvider
CJ
2016/05/31 22:17:19
Done.
| |
| 628 | |
| 624 // Creates a new DevToolsManagerDelegate. The caller owns the returned value. | 629 // Creates a new DevToolsManagerDelegate. The caller owns the returned value. |
| 625 // It's valid to return nullptr. | 630 // It's valid to return nullptr. |
| 626 virtual DevToolsManagerDelegate* GetDevToolsManagerDelegate(); | 631 virtual DevToolsManagerDelegate* GetDevToolsManagerDelegate(); |
| 627 | 632 |
| 628 // Creates a new TracingDelegate. The caller owns the returned value. | 633 // Creates a new TracingDelegate. The caller owns the returned value. |
| 629 // It's valid to return nullptr. | 634 // It's valid to return nullptr. |
| 630 virtual TracingDelegate* GetTracingDelegate(); | 635 virtual TracingDelegate* GetTracingDelegate(); |
| 631 | 636 |
| 632 // Returns true if plugin referred to by the url can use | 637 // Returns true if plugin referred to by the url can use |
| 633 // pp::FileIO::RequestOSFileHandle. | 638 // pp::FileIO::RequestOSFileHandle. |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 777 // Allows an embedder to provide its own ExternalVideoSurfaceContainer | 782 // Allows an embedder to provide its own ExternalVideoSurfaceContainer |
| 778 // implementation. Return nullptr to disable external surface video. | 783 // implementation. Return nullptr to disable external surface video. |
| 779 virtual ExternalVideoSurfaceContainer* | 784 virtual ExternalVideoSurfaceContainer* |
| 780 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); | 785 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); |
| 781 #endif | 786 #endif |
| 782 }; | 787 }; |
| 783 | 788 |
| 784 } // namespace content | 789 } // namespace content |
| 785 | 790 |
| 786 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 791 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |