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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 class LocationProvider; | 96 class LocationProvider; |
97 class MediaObserver; | 97 class MediaObserver; |
98 class QuotaPermissionContext; | 98 class QuotaPermissionContext; |
99 class RenderFrameHost; | 99 class RenderFrameHost; |
100 class RenderProcessHost; | 100 class RenderProcessHost; |
101 class RenderViewHost; | 101 class RenderViewHost; |
102 class ResourceContext; | 102 class ResourceContext; |
103 class ServiceRegistry; | 103 class ServiceRegistry; |
104 class SiteInstance; | 104 class SiteInstance; |
105 class SpeechRecognitionManagerDelegate; | 105 class SpeechRecognitionManagerDelegate; |
106 class VibrationProvider; | |
107 class WebContents; | 106 class WebContents; |
108 class WebContentsViewDelegate; | 107 class WebContentsViewDelegate; |
109 struct MainFunctionParams; | 108 struct MainFunctionParams; |
110 struct Referrer; | 109 struct Referrer; |
111 struct ShowDesktopNotificationHostMsgParams; | 110 struct ShowDesktopNotificationHostMsgParams; |
112 struct WebPreferences; | 111 struct WebPreferences; |
113 | 112 |
114 // A mapping from the scheme name to the protocol handler that services its | 113 // A mapping from the scheme name to the protocol handler that services its |
115 // content. | 114 // content. |
116 typedef std::map< | 115 typedef std::map< |
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
560 const base::FilePath& storage_partition_path, | 559 const base::FilePath& storage_partition_path, |
561 ScopedVector<storage::FileSystemBackend>* additional_backends) {} | 560 ScopedVector<storage::FileSystemBackend>* additional_backends) {} |
562 | 561 |
563 // Allows an embedder to return its own LocationProvider implementation. | 562 // Allows an embedder to return its own LocationProvider implementation. |
564 // Return NULL to use the default one for the platform to be created. | 563 // Return NULL to use the default one for the platform to be created. |
565 // FYI: Used by an external project; please don't remove. | 564 // FYI: Used by an external project; please don't remove. |
566 // Contact Viatcheslav Ostapenko at sl.ostapenko@samsung.com for more | 565 // Contact Viatcheslav Ostapenko at sl.ostapenko@samsung.com for more |
567 // information. | 566 // information. |
568 virtual LocationProvider* OverrideSystemLocationProvider(); | 567 virtual LocationProvider* OverrideSystemLocationProvider(); |
569 | 568 |
570 // Allows an embedder to return its own VibrationProvider implementation. | |
571 // Return NULL to use the default one for the platform to be created. | |
572 // FYI: Used by an external project; please don't remove. | |
573 // Contact Viatcheslav Ostapenko at sl.ostapenko@samsung.com for more | |
574 // information. | |
575 virtual VibrationProvider* OverrideVibrationProvider(); | |
576 | |
577 // Creates a new DevToolsManagerDelegate. The caller owns the returned value. | 569 // Creates a new DevToolsManagerDelegate. The caller owns the returned value. |
578 // It's valid to return NULL. | 570 // It's valid to return NULL. |
579 virtual DevToolsManagerDelegate* GetDevToolsManagerDelegate(); | 571 virtual DevToolsManagerDelegate* GetDevToolsManagerDelegate(); |
580 | 572 |
581 // Returns true if plugin referred to by the url can use | 573 // Returns true if plugin referred to by the url can use |
582 // pp::FileIO::RequestOSFileHandle. | 574 // pp::FileIO::RequestOSFileHandle. |
583 virtual bool IsPluginAllowedToCallRequestOSFileHandle( | 575 virtual bool IsPluginAllowedToCallRequestOSFileHandle( |
584 BrowserContext* browser_context, | 576 BrowserContext* browser_context, |
585 const GURL& url); | 577 const GURL& url); |
586 | 578 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
630 // Allows an embedder to provide its own ExternalVideoSurfaceContainer | 622 // Allows an embedder to provide its own ExternalVideoSurfaceContainer |
631 // implementation. Return NULL to disable external surface video. | 623 // implementation. Return NULL to disable external surface video. |
632 virtual ExternalVideoSurfaceContainer* | 624 virtual ExternalVideoSurfaceContainer* |
633 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); | 625 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); |
634 #endif | 626 #endif |
635 }; | 627 }; |
636 | 628 |
637 } // namespace content | 629 } // namespace content |
638 | 630 |
639 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 631 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |