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 // If false, indicates that LocationProviders normally used by a process | |
|
Kevin M
2016/05/31 23:43:55
Can you phrase this in a positive sense?
CJ
2016/05/31 23:51:24
Done.
| |
| 625 // should not be used. | |
| 626 virtual bool UseDefaultLocationProviders(); | |
| 627 | |
| 624 // Creates a new DevToolsManagerDelegate. The caller owns the returned value. | 628 // Creates a new DevToolsManagerDelegate. The caller owns the returned value. |
| 625 // It's valid to return nullptr. | 629 // It's valid to return nullptr. |
| 626 virtual DevToolsManagerDelegate* GetDevToolsManagerDelegate(); | 630 virtual DevToolsManagerDelegate* GetDevToolsManagerDelegate(); |
| 627 | 631 |
| 628 // Creates a new TracingDelegate. The caller owns the returned value. | 632 // Creates a new TracingDelegate. The caller owns the returned value. |
| 629 // It's valid to return nullptr. | 633 // It's valid to return nullptr. |
| 630 virtual TracingDelegate* GetTracingDelegate(); | 634 virtual TracingDelegate* GetTracingDelegate(); |
| 631 | 635 |
| 632 // Returns true if plugin referred to by the url can use | 636 // Returns true if plugin referred to by the url can use |
| 633 // pp::FileIO::RequestOSFileHandle. | 637 // 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 | 781 // Allows an embedder to provide its own ExternalVideoSurfaceContainer |
| 778 // implementation. Return nullptr to disable external surface video. | 782 // implementation. Return nullptr to disable external surface video. |
| 779 virtual ExternalVideoSurfaceContainer* | 783 virtual ExternalVideoSurfaceContainer* |
| 780 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); | 784 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); |
| 781 #endif | 785 #endif |
| 782 }; | 786 }; |
| 783 | 787 |
| 784 } // namespace content | 788 } // namespace content |
| 785 | 789 |
| 786 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 790 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |