| 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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 scoped_ptr<base::DictionaryValue> extra_params) {} | 156 scoped_ptr<base::DictionaryValue> extra_params) {} |
| 157 | 157 |
| 158 // Notifies that a guest WebContents has been attached to a BrowserPlugin. | 158 // Notifies that a guest WebContents has been attached to a BrowserPlugin. |
| 159 // A guest is attached to a BrowserPlugin when the guest has acquired an | 159 // A guest is attached to a BrowserPlugin when the guest has acquired an |
| 160 // embedder WebContents. This happens on initial navigation or when a new | 160 // embedder WebContents. This happens on initial navigation or when a new |
| 161 // window is attached to a BrowserPlugin. |extra_params| are params sent | 161 // window is attached to a BrowserPlugin. |extra_params| are params sent |
| 162 // from javascript. | 162 // from javascript. |
| 163 virtual void GuestWebContentsAttached( | 163 virtual void GuestWebContentsAttached( |
| 164 WebContents* guest_web_contents, | 164 WebContents* guest_web_contents, |
| 165 WebContents* embedder_web_contents, | 165 WebContents* embedder_web_contents, |
| 166 const GURL& embedder_frame_url, |
| 166 const base::DictionaryValue& extra_params) {} | 167 const base::DictionaryValue& extra_params) {} |
| 167 | 168 |
| 168 // Notifies that a RenderProcessHost has been created. This is called before | 169 // Notifies that a RenderProcessHost has been created. This is called before |
| 169 // the content layer adds its own BrowserMessageFilters, so that the | 170 // the content layer adds its own BrowserMessageFilters, so that the |
| 170 // embedder's IPC filters have priority. | 171 // embedder's IPC filters have priority. |
| 171 virtual void RenderProcessHostCreated(RenderProcessHost* host) {} | 172 virtual void RenderProcessHostCreated(RenderProcessHost* host) {} |
| 172 | 173 |
| 173 // Notifies that a BrowserChildProcessHost has been created. | 174 // Notifies that a BrowserChildProcessHost has been created. |
| 174 virtual void BrowserChildProcessHostCreated(BrowserChildProcessHost* host) {} | 175 virtual void BrowserChildProcessHostCreated(BrowserChildProcessHost* host) {} |
| 175 | 176 |
| (...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 593 // This is called on a worker thread. | 594 // This is called on a worker thread. |
| 594 virtual | 595 virtual |
| 595 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | 596 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
| 596 const GURL& url); | 597 const GURL& url); |
| 597 #endif | 598 #endif |
| 598 }; | 599 }; |
| 599 | 600 |
| 600 } // namespace content | 601 } // namespace content |
| 601 | 602 |
| 602 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 603 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |