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 578 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
589 | 589 |
590 // Returns an implementation of a file selecition policy. Can return nullptr. | 590 // Returns an implementation of a file selecition policy. Can return nullptr. |
591 virtual ui::SelectFilePolicy* CreateSelectFilePolicy( | 591 virtual ui::SelectFilePolicy* CreateSelectFilePolicy( |
592 WebContents* web_contents); | 592 WebContents* web_contents); |
593 | 593 |
594 // Returns additional allowed scheme set which can access files in | 594 // Returns additional allowed scheme set which can access files in |
595 // FileSystem API. | 595 // FileSystem API. |
596 virtual void GetAdditionalAllowedSchemesForFileSystem( | 596 virtual void GetAdditionalAllowedSchemesForFileSystem( |
597 std::vector<std::string>* additional_schemes) {} | 597 std::vector<std::string>* additional_schemes) {} |
598 | 598 |
599 virtual void GetSchemesBypassingSecureContextCheckWhitelist( | |
horo
2016/06/03 09:54:45
We need comment.
falken
2016/06/03 12:10:45
Done.
| |
600 std::set<std::string>* schemes) {} | |
601 | |
599 // Returns auto mount handlers for URL requests for FileSystem APIs. | 602 // Returns auto mount handlers for URL requests for FileSystem APIs. |
600 virtual void GetURLRequestAutoMountHandlers( | 603 virtual void GetURLRequestAutoMountHandlers( |
601 std::vector<storage::URLRequestAutoMountHandler>* handlers) {} | 604 std::vector<storage::URLRequestAutoMountHandler>* handlers) {} |
602 | 605 |
603 // Returns additional file system backends for FileSystem API. | 606 // Returns additional file system backends for FileSystem API. |
604 // |browser_context| is needed in the additional FileSystemBackends. | 607 // |browser_context| is needed in the additional FileSystemBackends. |
605 // It has mount points to create objects returned by additional | 608 // It has mount points to create objects returned by additional |
606 // FileSystemBackends, and SpecialStoragePolicy for permission granting. | 609 // FileSystemBackends, and SpecialStoragePolicy for permission granting. |
607 virtual void GetAdditionalFileSystemBackends( | 610 virtual void GetAdditionalFileSystemBackends( |
608 BrowserContext* browser_context, | 611 BrowserContext* browser_context, |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
772 // Allows an embedder to provide its own ExternalVideoSurfaceContainer | 775 // Allows an embedder to provide its own ExternalVideoSurfaceContainer |
773 // implementation. Return nullptr to disable external surface video. | 776 // implementation. Return nullptr to disable external surface video. |
774 virtual ExternalVideoSurfaceContainer* | 777 virtual ExternalVideoSurfaceContainer* |
775 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); | 778 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); |
776 #endif | 779 #endif |
777 }; | 780 }; |
778 | 781 |
779 } // namespace content | 782 } // namespace content |
780 | 783 |
781 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 784 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |