Chromium Code Reviews| 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 27 matching lines...) Expand all Loading... | |
| 100 // Notifies that a new RenderHostView has been created. | 101 // Notifies that a new RenderHostView has been created. |
| 101 virtual void RenderViewHostCreated( | 102 virtual void RenderViewHostCreated( |
| 102 content::RenderViewHost* render_view_host) = 0; | 103 content::RenderViewHost* render_view_host) = 0; |
| 103 | 104 |
| 104 // Notifies that a RenderProcessHost has been created. This is called before | 105 // Notifies that a RenderProcessHost has been created. This is called before |
| 105 // the content layer adds its own BrowserMessageFilters, so that the | 106 // the content layer adds its own BrowserMessageFilters, so that the |
| 106 // embedder's IPC filters have priority. | 107 // embedder's IPC filters have priority. |
| 107 virtual void RenderProcessHostCreated( | 108 virtual void RenderProcessHostCreated( |
| 108 content::RenderProcessHost* host) = 0; | 109 content::RenderProcessHost* host) = 0; |
| 109 | 110 |
| 111 virtual void BrowserChildProcessHostCreated( | |
|
jam
2012/03/16 21:49:45
please add a comment like the rest of this interfa
| |
| 112 content::BrowserChildProcessHost* host) {} | |
| 113 | |
| 110 // Gets the WebUIControllerFactory which will be responsible for generating | 114 // Gets the WebUIControllerFactory which will be responsible for generating |
| 111 // WebUIs. Can return NULL if the embedder doesn't need WebUI support. | 115 // WebUIs. Can return NULL if the embedder doesn't need WebUI support. |
| 112 virtual WebUIControllerFactory* GetWebUIControllerFactory() = 0; | 116 virtual WebUIControllerFactory* GetWebUIControllerFactory() = 0; |
| 113 | 117 |
| 114 // Get the effective URL for the given actual URL, to allow an embedder to | 118 // Get the effective URL for the given actual URL, to allow an embedder to |
| 115 // group different url schemes in the same SiteInstance. | 119 // group different url schemes in the same SiteInstance. |
| 116 virtual GURL GetEffectiveURL(BrowserContext* browser_context, | 120 virtual GURL GetEffectiveURL(BrowserContext* browser_context, |
| 117 const GURL& url) = 0; | 121 const GURL& url) = 0; |
| 118 | 122 |
| 119 // Returns whether all instances of the specified effective URL should be | 123 // Returns whether all instances of the specified effective URL should be |
| (...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 403 // This is called on a worker thread. | 407 // This is called on a worker thread. |
| 404 virtual | 408 virtual |
| 405 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | 409 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
| 406 const GURL& url) = 0; | 410 const GURL& url) = 0; |
| 407 #endif | 411 #endif |
| 408 }; | 412 }; |
| 409 | 413 |
| 410 } // namespace content | 414 } // namespace content |
| 411 | 415 |
| 412 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 416 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |