| 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 class ExternalVideoSurfaceContainer; | 94 class ExternalVideoSurfaceContainer; |
| 95 class LocationProvider; | 95 class LocationProvider; |
| 96 class MediaObserver; | 96 class MediaObserver; |
| 97 class QuotaPermissionContext; | 97 class QuotaPermissionContext; |
| 98 class RenderFrameHost; | 98 class RenderFrameHost; |
| 99 class RenderProcessHost; | 99 class RenderProcessHost; |
| 100 class RenderViewHost; | 100 class RenderViewHost; |
| 101 class ResourceContext; | 101 class ResourceContext; |
| 102 class SiteInstance; | 102 class SiteInstance; |
| 103 class SpeechRecognitionManagerDelegate; | 103 class SpeechRecognitionManagerDelegate; |
| 104 class VibrationProvider; | |
| 105 class WebContents; | 104 class WebContents; |
| 106 class WebContentsViewDelegate; | 105 class WebContentsViewDelegate; |
| 107 struct MainFunctionParams; | 106 struct MainFunctionParams; |
| 108 struct Referrer; | 107 struct Referrer; |
| 109 struct ShowDesktopNotificationHostMsgParams; | 108 struct ShowDesktopNotificationHostMsgParams; |
| 110 struct WebPreferences; | 109 struct WebPreferences; |
| 111 | 110 |
| 112 // A mapping from the scheme name to the protocol handler that services its | 111 // A mapping from the scheme name to the protocol handler that services its |
| 113 // content. | 112 // content. |
| 114 typedef std::map< | 113 typedef std::map< |
| (...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 581 const base::FilePath& storage_partition_path, | 580 const base::FilePath& storage_partition_path, |
| 582 ScopedVector<storage::FileSystemBackend>* additional_backends) {} | 581 ScopedVector<storage::FileSystemBackend>* additional_backends) {} |
| 583 | 582 |
| 584 // Allows an embedder to return its own LocationProvider implementation. | 583 // Allows an embedder to return its own LocationProvider implementation. |
| 585 // Return NULL to use the default one for the platform to be created. | 584 // Return NULL to use the default one for the platform to be created. |
| 586 // FYI: Used by an external project; please don't remove. | 585 // FYI: Used by an external project; please don't remove. |
| 587 // Contact Viatcheslav Ostapenko at sl.ostapenko@samsung.com for more | 586 // Contact Viatcheslav Ostapenko at sl.ostapenko@samsung.com for more |
| 588 // information. | 587 // information. |
| 589 virtual LocationProvider* OverrideSystemLocationProvider(); | 588 virtual LocationProvider* OverrideSystemLocationProvider(); |
| 590 | 589 |
| 591 // Allows an embedder to return its own VibrationProvider implementation. | |
| 592 // Return NULL to use the default one for the platform to be created. | |
| 593 // FYI: Used by an external project; please don't remove. | |
| 594 // Contact Viatcheslav Ostapenko at sl.ostapenko@samsung.com for more | |
| 595 // information. | |
| 596 virtual VibrationProvider* OverrideVibrationProvider(); | |
| 597 | |
| 598 // Creates a new DevToolsManagerDelegate. The caller owns the returned value. | 590 // Creates a new DevToolsManagerDelegate. The caller owns the returned value. |
| 599 // It's valid to return NULL. | 591 // It's valid to return NULL. |
| 600 virtual DevToolsManagerDelegate* GetDevToolsManagerDelegate(); | 592 virtual DevToolsManagerDelegate* GetDevToolsManagerDelegate(); |
| 601 | 593 |
| 602 // Returns true if plugin referred to by the url can use | 594 // Returns true if plugin referred to by the url can use |
| 603 // pp::FileIO::RequestOSFileHandle. | 595 // pp::FileIO::RequestOSFileHandle. |
| 604 virtual bool IsPluginAllowedToCallRequestOSFileHandle( | 596 virtual bool IsPluginAllowedToCallRequestOSFileHandle( |
| 605 BrowserContext* browser_context, | 597 BrowserContext* browser_context, |
| 606 const GURL& url); | 598 const GURL& url); |
| 607 | 599 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 647 // camera. Note that this does not query the user. |type| must be | 639 // camera. Note that this does not query the user. |type| must be |
| 648 // MEDIA_DEVICE_AUDIO_CAPTURE or MEDIA_DEVICE_VIDEO_CAPTURE. | 640 // MEDIA_DEVICE_AUDIO_CAPTURE or MEDIA_DEVICE_VIDEO_CAPTURE. |
| 649 virtual bool CheckMediaAccessPermission(BrowserContext* browser_context, | 641 virtual bool CheckMediaAccessPermission(BrowserContext* browser_context, |
| 650 const GURL& security_origin, | 642 const GURL& security_origin, |
| 651 MediaStreamType type); | 643 MediaStreamType type); |
| 652 }; | 644 }; |
| 653 | 645 |
| 654 } // namespace content | 646 } // namespace content |
| 655 | 647 |
| 656 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 648 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |