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 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <utility> | 9 #include <utility> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 110 virtual WebContentsViewDelegate* GetWebContentsViewDelegate( | 110 virtual WebContentsViewDelegate* GetWebContentsViewDelegate( |
| 111 WebContents* web_contents); | 111 WebContents* web_contents); |
| 112 | 112 |
| 113 // Notifies that a new RenderHostView has been created. | 113 // Notifies that a new RenderHostView has been created. |
| 114 virtual void RenderViewHostCreated(RenderViewHost* render_view_host) {} | 114 virtual void RenderViewHostCreated(RenderViewHost* render_view_host) {} |
| 115 | 115 |
| 116 // Notifies that a <webview> guest WebContents has been created. | 116 // Notifies that a <webview> guest WebContents has been created. |
| 117 virtual void GuestWebContentsCreated(WebContents* guest_web_contents, | 117 virtual void GuestWebContentsCreated(WebContents* guest_web_contents, |
| 118 WebContents* embedder_web_contents) {} | 118 WebContents* embedder_web_contents) {} |
| 119 | 119 |
| 120 // Notifies that a <webview> guest WebContents has been destroyed. | |
| 121 virtual void GuestWebContentsDestroyed(WebContents* guest_web_contents, | |
|
jam
2013/02/06 23:34:00
nit: don't add this since it can be done in a way
| |
| 122 WebContents* embedder_web_contents) {} | |
| 123 | |
| 120 // Notifies that a RenderProcessHost has been created. This is called before | 124 // Notifies that a RenderProcessHost has been created. This is called before |
| 121 // the content layer adds its own BrowserMessageFilters, so that the | 125 // the content layer adds its own BrowserMessageFilters, so that the |
| 122 // embedder's IPC filters have priority. | 126 // embedder's IPC filters have priority. |
| 123 virtual void RenderProcessHostCreated(RenderProcessHost* host) {} | 127 virtual void RenderProcessHostCreated(RenderProcessHost* host) {} |
| 124 | 128 |
| 125 // Notifies that a BrowserChildProcessHost has been created. | 129 // Notifies that a BrowserChildProcessHost has been created. |
| 126 virtual void BrowserChildProcessHostCreated(BrowserChildProcessHost* host) {} | 130 virtual void BrowserChildProcessHostCreated(BrowserChildProcessHost* host) {} |
| 127 | 131 |
| 128 // Get the effective URL for the given actual URL, to allow an embedder to | 132 // Get the effective URL for the given actual URL, to allow an embedder to |
| 129 // group different url schemes in the same SiteInstance. | 133 // group different url schemes in the same SiteInstance. |
| (...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 471 // This is called on a worker thread. | 475 // This is called on a worker thread. |
| 472 virtual | 476 virtual |
| 473 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | 477 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
| 474 const GURL& url); | 478 const GURL& url); |
| 475 #endif | 479 #endif |
| 476 }; | 480 }; |
| 477 | 481 |
| 478 } // namespace content | 482 } // namespace content |
| 479 | 483 |
| 480 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 484 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |