| 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 class NavigatorConnectServiceFactory; | 97 class NavigatorConnectServiceFactory; |
| 98 class PlatformNotificationService; | 98 class PlatformNotificationService; |
| 99 class PresentationServiceDelegate; | 99 class PresentationServiceDelegate; |
| 100 class QuotaPermissionContext; | 100 class QuotaPermissionContext; |
| 101 class RenderFrameHost; | 101 class RenderFrameHost; |
| 102 class RenderProcessHost; | 102 class RenderProcessHost; |
| 103 class RenderViewHost; | 103 class RenderViewHost; |
| 104 class ResourceContext; | 104 class ResourceContext; |
| 105 class ServiceRegistry; | 105 class ServiceRegistry; |
| 106 class SiteInstance; | 106 class SiteInstance; |
| 107 class TracingDelegate; |
| 107 class SpeechRecognitionManagerDelegate; | 108 class SpeechRecognitionManagerDelegate; |
| 108 class WebContents; | 109 class WebContents; |
| 109 class WebContentsViewDelegate; | 110 class WebContentsViewDelegate; |
| 110 struct MainFunctionParams; | 111 struct MainFunctionParams; |
| 111 struct Referrer; | 112 struct Referrer; |
| 112 struct WebPreferences; | 113 struct WebPreferences; |
| 113 | 114 |
| 114 // A mapping from the scheme name to the protocol handler that services its | 115 // A mapping from the scheme name to the protocol handler that services its |
| 115 // content. | 116 // content. |
| 116 typedef std::map< | 117 typedef std::map< |
| (...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 563 // Return nullptr to use the default one for the platform to be created. | 564 // Return nullptr 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 |
| 569 // Creates a new DevToolsManagerDelegate. The caller owns the returned value. | 570 // Creates a new DevToolsManagerDelegate. The caller owns the returned value. |
| 570 // It's valid to return nullptr. | 571 // It's valid to return nullptr. |
| 571 virtual DevToolsManagerDelegate* GetDevToolsManagerDelegate(); | 572 virtual DevToolsManagerDelegate* GetDevToolsManagerDelegate(); |
| 572 | 573 |
| 574 // Creates a new TracingDelegate. The caller owns the returned value. |
| 575 // It's valid to return nullptr. |
| 576 virtual TracingDelegate* GetTracingDelegate(); |
| 577 |
| 573 // Returns true if plugin referred to by the url can use | 578 // Returns true if plugin referred to by the url can use |
| 574 // pp::FileIO::RequestOSFileHandle. | 579 // pp::FileIO::RequestOSFileHandle. |
| 575 virtual bool IsPluginAllowedToCallRequestOSFileHandle( | 580 virtual bool IsPluginAllowedToCallRequestOSFileHandle( |
| 576 BrowserContext* browser_context, | 581 BrowserContext* browser_context, |
| 577 const GURL& url); | 582 const GURL& url); |
| 578 | 583 |
| 579 // Returns true if dev channel APIs are available for plugins. | 584 // Returns true if dev channel APIs are available for plugins. |
| 580 virtual bool IsPluginAllowedToUseDevChannelAPIs( | 585 virtual bool IsPluginAllowedToUseDevChannelAPIs( |
| 581 BrowserContext* browser_context, | 586 BrowserContext* browser_context, |
| 582 const GURL& url); | 587 const GURL& url); |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 638 // Allows an embedder to provide its own ExternalVideoSurfaceContainer | 643 // Allows an embedder to provide its own ExternalVideoSurfaceContainer |
| 639 // implementation. Return nullptr to disable external surface video. | 644 // implementation. Return nullptr to disable external surface video. |
| 640 virtual ExternalVideoSurfaceContainer* | 645 virtual ExternalVideoSurfaceContainer* |
| 641 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); | 646 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); |
| 642 #endif | 647 #endif |
| 643 }; | 648 }; |
| 644 | 649 |
| 645 } // namespace content | 650 } // namespace content |
| 646 | 651 |
| 647 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 652 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |