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