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 int browser_plugin_instance_id, | |
167 const base::DictionaryValue& extra_params) {} | 166 const base::DictionaryValue& extra_params) {} |
168 | 167 |
169 // Notifies that a RenderProcessHost has been created. This is called before | 168 // Notifies that a RenderProcessHost has been created. This is called before |
170 // the content layer adds its own BrowserMessageFilters, so that the | 169 // the content layer adds its own BrowserMessageFilters, so that the |
171 // embedder's IPC filters have priority. | 170 // embedder's IPC filters have priority. |
172 virtual void RenderProcessHostCreated(RenderProcessHost* host) {} | 171 virtual void RenderProcessHostCreated(RenderProcessHost* host) {} |
173 | 172 |
174 // Notifies that a BrowserChildProcessHost has been created. | 173 // Notifies that a BrowserChildProcessHost has been created. |
175 virtual void BrowserChildProcessHostCreated(BrowserChildProcessHost* host) {} | 174 virtual void BrowserChildProcessHostCreated(BrowserChildProcessHost* host) {} |
176 | 175 |
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
589 // This is called on a worker thread. | 588 // This is called on a worker thread. |
590 virtual | 589 virtual |
591 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | 590 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
592 const GURL& url); | 591 const GURL& url); |
593 #endif | 592 #endif |
594 }; | 593 }; |
595 | 594 |
596 } // namespace content | 595 } // namespace content |
597 | 596 |
598 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 597 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |