| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 class X509Certificate; | 53 class X509Certificate; |
| 54 } | 54 } |
| 55 | 55 |
| 56 namespace ui { | 56 namespace ui { |
| 57 class Clipboard; | 57 class Clipboard; |
| 58 } | 58 } |
| 59 | 59 |
| 60 namespace content { | 60 namespace content { |
| 61 | 61 |
| 62 class AccessTokenStore; | 62 class AccessTokenStore; |
| 63 class BrowserChildProcessHost; |
| 63 class BrowserContext; | 64 class BrowserContext; |
| 64 class BrowserMainParts; | 65 class BrowserMainParts; |
| 65 class RenderProcessHost; | 66 class RenderProcessHost; |
| 66 class QuotaPermissionContext; | 67 class QuotaPermissionContext; |
| 67 class ResourceContext; | 68 class ResourceContext; |
| 68 class RenderViewHost; | 69 class RenderViewHost; |
| 69 class SiteInstance; | 70 class SiteInstance; |
| 70 class SpeechInputManagerDelegate; | 71 class SpeechInputManagerDelegate; |
| 71 class WebContents; | 72 class WebContents; |
| 72 class WebContentsView; | 73 class WebContentsView; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 // Notifies that a new RenderHostView has been created. | 111 // Notifies that a new RenderHostView has been created. |
| 111 virtual void RenderViewHostCreated( | 112 virtual void RenderViewHostCreated( |
| 112 content::RenderViewHost* render_view_host) = 0; | 113 content::RenderViewHost* render_view_host) = 0; |
| 113 | 114 |
| 114 // Notifies that a RenderProcessHost has been created. This is called before | 115 // Notifies that a RenderProcessHost has been created. This is called before |
| 115 // the content layer adds its own BrowserMessageFilters, so that the | 116 // the content layer adds its own BrowserMessageFilters, so that the |
| 116 // embedder's IPC filters have priority. | 117 // embedder's IPC filters have priority. |
| 117 virtual void RenderProcessHostCreated( | 118 virtual void RenderProcessHostCreated( |
| 118 content::RenderProcessHost* host) = 0; | 119 content::RenderProcessHost* host) = 0; |
| 119 | 120 |
| 121 // Notifies that a BrowserChildProcessHost has been created. |
| 122 virtual void BrowserChildProcessHostCreated( |
| 123 content::BrowserChildProcessHost* host) {} |
| 124 |
| 120 // Gets the WebUIControllerFactory which will be responsible for generating | 125 // Gets the WebUIControllerFactory which will be responsible for generating |
| 121 // WebUIs. Can return NULL if the embedder doesn't need WebUI support. | 126 // WebUIs. Can return NULL if the embedder doesn't need WebUI support. |
| 122 virtual WebUIControllerFactory* GetWebUIControllerFactory() = 0; | 127 virtual WebUIControllerFactory* GetWebUIControllerFactory() = 0; |
| 123 | 128 |
| 124 // Get the effective URL for the given actual URL, to allow an embedder to | 129 // Get the effective URL for the given actual URL, to allow an embedder to |
| 125 // group different url schemes in the same SiteInstance. | 130 // group different url schemes in the same SiteInstance. |
| 126 virtual GURL GetEffectiveURL(BrowserContext* browser_context, | 131 virtual GURL GetEffectiveURL(BrowserContext* browser_context, |
| 127 const GURL& url) = 0; | 132 const GURL& url) = 0; |
| 128 | 133 |
| 129 // Returns whether all instances of the specified effective URL should be | 134 // Returns whether all instances of the specified effective URL should be |
| (...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 413 // This is called on a worker thread. | 418 // This is called on a worker thread. |
| 414 virtual | 419 virtual |
| 415 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | 420 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
| 416 const GURL& url) = 0; | 421 const GURL& url) = 0; |
| 417 #endif | 422 #endif |
| 418 }; | 423 }; |
| 419 | 424 |
| 420 } // namespace content | 425 } // namespace content |
| 421 | 426 |
| 422 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 427 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |