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 <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 } | 67 } |
68 | 68 |
69 namespace sandbox { | 69 namespace sandbox { |
70 class TargetPolicy; | 70 class TargetPolicy; |
71 } | 71 } |
72 | 72 |
73 namespace ui { | 73 namespace ui { |
74 class SelectFilePolicy; | 74 class SelectFilePolicy; |
75 } | 75 } |
76 | 76 |
77 namespace fileapi { | 77 namespace storage { |
78 class ExternalMountPoints; | 78 class ExternalMountPoints; |
79 class FileSystemBackend; | 79 class FileSystemBackend; |
80 } | 80 } |
81 | 81 |
82 namespace content { | 82 namespace content { |
83 | 83 |
84 class AccessTokenStore; | 84 class AccessTokenStore; |
85 class BrowserChildProcessHost; | 85 class BrowserChildProcessHost; |
86 class BrowserContext; | 86 class BrowserContext; |
87 class BrowserMainParts; | 87 class BrowserMainParts; |
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
558 virtual ui::SelectFilePolicy* CreateSelectFilePolicy( | 558 virtual ui::SelectFilePolicy* CreateSelectFilePolicy( |
559 WebContents* web_contents); | 559 WebContents* web_contents); |
560 | 560 |
561 // Returns additional allowed scheme set which can access files in | 561 // Returns additional allowed scheme set which can access files in |
562 // FileSystem API. | 562 // FileSystem API. |
563 virtual void GetAdditionalAllowedSchemesForFileSystem( | 563 virtual void GetAdditionalAllowedSchemesForFileSystem( |
564 std::vector<std::string>* additional_schemes) {} | 564 std::vector<std::string>* additional_schemes) {} |
565 | 565 |
566 // Returns auto mount handlers for URL requests for FileSystem APIs. | 566 // Returns auto mount handlers for URL requests for FileSystem APIs. |
567 virtual void GetURLRequestAutoMountHandlers( | 567 virtual void GetURLRequestAutoMountHandlers( |
568 std::vector<fileapi::URLRequestAutoMountHandler>* handlers) {} | 568 std::vector<storage::URLRequestAutoMountHandler>* handlers) {} |
569 | 569 |
570 // Returns additional file system backends for FileSystem API. | 570 // Returns additional file system backends for FileSystem API. |
571 // |browser_context| is needed in the additional FileSystemBackends. | 571 // |browser_context| is needed in the additional FileSystemBackends. |
572 // It has mount points to create objects returned by additional | 572 // It has mount points to create objects returned by additional |
573 // FileSystemBackends, and SpecialStoragePolicy for permission granting. | 573 // FileSystemBackends, and SpecialStoragePolicy for permission granting. |
574 virtual void GetAdditionalFileSystemBackends( | 574 virtual void GetAdditionalFileSystemBackends( |
575 BrowserContext* browser_context, | 575 BrowserContext* browser_context, |
576 const base::FilePath& storage_partition_path, | 576 const base::FilePath& storage_partition_path, |
577 ScopedVector<fileapi::FileSystemBackend>* additional_backends) {} | 577 ScopedVector<storage::FileSystemBackend>* additional_backends) {} |
578 | 578 |
579 // Allows an embedder to return its own LocationProvider implementation. | 579 // Allows an embedder to return its own LocationProvider implementation. |
580 // Return NULL to use the default one for the platform to be created. | 580 // Return NULL to use the default one for the platform to be created. |
581 // FYI: Used by an external project; please don't remove. | 581 // FYI: Used by an external project; please don't remove. |
582 // Contact Viatcheslav Ostapenko at sl.ostapenko@samsung.com for more | 582 // Contact Viatcheslav Ostapenko at sl.ostapenko@samsung.com for more |
583 // information. | 583 // information. |
584 virtual LocationProvider* OverrideSystemLocationProvider(); | 584 virtual LocationProvider* OverrideSystemLocationProvider(); |
585 | 585 |
586 // Allows an embedder to return its own VibrationProvider implementation. | 586 // Allows an embedder to return its own VibrationProvider implementation. |
587 // Return NULL to use the default one for the platform to be created. | 587 // Return NULL to use the default one for the platform to be created. |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
635 // Allows an embedder to provide its own ExternalVideoSurfaceContainer | 635 // Allows an embedder to provide its own ExternalVideoSurfaceContainer |
636 // implementation. Return NULL to disable external surface video. | 636 // implementation. Return NULL to disable external surface video. |
637 virtual ExternalVideoSurfaceContainer* | 637 virtual ExternalVideoSurfaceContainer* |
638 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); | 638 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); |
639 #endif | 639 #endif |
640 }; | 640 }; |
641 | 641 |
642 } // namespace content | 642 } // namespace content |
643 | 643 |
644 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 644 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |