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 592 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 603 // Returns additional file system backends for FileSystem API. | 603 // Returns additional file system backends for FileSystem API. |
| 604 // |browser_context| is needed in the additional FileSystemBackends. | 604 // |browser_context| is needed in the additional FileSystemBackends. |
| 605 // It has mount points to create objects returned by additional | 605 // It has mount points to create objects returned by additional |
| 606 // FileSystemBackends, and SpecialStoragePolicy for permission granting. | 606 // FileSystemBackends, and SpecialStoragePolicy for permission granting. |
| 607 virtual void GetAdditionalFileSystemBackends( | 607 virtual void GetAdditionalFileSystemBackends( |
| 608 BrowserContext* browser_context, | 608 BrowserContext* browser_context, |
| 609 const base::FilePath& storage_partition_path, | 609 const base::FilePath& storage_partition_path, |
| 610 ScopedVector<storage::FileSystemBackend>* additional_backends) {} | 610 ScopedVector<storage::FileSystemBackend>* additional_backends) {} |
| 611 | 611 |
| 612 // Allows an embedder to return its own LocationProvider implementation. | 612 // Allows an embedder to return its own LocationProvider implementation. |
| 613 // Return nullptr to use the default one for the platform to be created. | 613 // Return nullptr to use the default one for the platform to be created. |
|
Wez
2016/06/17 05:50:09
This comment should really document that the calle
CJ
2016/06/21 22:16:07
Done.
| |
| 614 // FYI: Used by an external project; please don't remove. | 614 // FYI: Used by an external project; please don't remove. |
| 615 // Contact Viatcheslav Ostapenko at sl.ostapenko@samsung.com for more | 615 // Contact Viatcheslav Ostapenko at sl.ostapenko@samsung.com for more |
| 616 // information. | 616 // information. |
| 617 virtual LocationProvider* OverrideSystemLocationProvider(); | 617 virtual LocationProvider* OverrideSystemLocationProvider(); |
| 618 | 618 |
| 619 // Returns true if the location API should use network-based | |
| 620 // location approximation in addition to the sytem provider, if any. | |
|
Wez
2016/06/17 05:50:09
typo: sytem
CJ
2016/06/21 22:16:07
Done.
| |
| 621 virtual bool UseNetworkLocationProviders(); | |
| 622 | |
| 619 // Creates a new DevToolsManagerDelegate. The caller owns the returned value. | 623 // Creates a new DevToolsManagerDelegate. The caller owns the returned value. |
| 620 // It's valid to return nullptr. | 624 // It's valid to return nullptr. |
| 621 virtual DevToolsManagerDelegate* GetDevToolsManagerDelegate(); | 625 virtual DevToolsManagerDelegate* GetDevToolsManagerDelegate(); |
| 622 | 626 |
| 623 // Creates a new TracingDelegate. The caller owns the returned value. | 627 // Creates a new TracingDelegate. The caller owns the returned value. |
| 624 // It's valid to return nullptr. | 628 // It's valid to return nullptr. |
| 625 virtual TracingDelegate* GetTracingDelegate(); | 629 virtual TracingDelegate* GetTracingDelegate(); |
| 626 | 630 |
| 627 // Returns true if plugin referred to by the url can use | 631 // Returns true if plugin referred to by the url can use |
| 628 // pp::FileIO::RequestOSFileHandle. | 632 // pp::FileIO::RequestOSFileHandle. |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 772 // Allows an embedder to provide its own ExternalVideoSurfaceContainer | 776 // Allows an embedder to provide its own ExternalVideoSurfaceContainer |
| 773 // implementation. Return nullptr to disable external surface video. | 777 // implementation. Return nullptr to disable external surface video. |
| 774 virtual ExternalVideoSurfaceContainer* | 778 virtual ExternalVideoSurfaceContainer* |
| 775 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); | 779 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); |
| 776 #endif | 780 #endif |
| 777 }; | 781 }; |
| 778 | 782 |
| 779 } // namespace content | 783 } // namespace content |
| 780 | 784 |
| 781 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 785 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |