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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 virtual void GuestWebContentsAttached( | 165 virtual void GuestWebContentsAttached( |
166 WebContents* guest_web_contents, | 166 WebContents* guest_web_contents, |
167 WebContents* embedder_web_contents, | 167 WebContents* embedder_web_contents, |
168 const base::DictionaryValue& extra_params) {} | 168 const base::DictionaryValue& extra_params) {} |
169 | 169 |
170 // Notifies that a RenderProcessHost has been created. This is called before | 170 // Notifies that a RenderProcessHost has been created. This is called before |
171 // the content layer adds its own BrowserMessageFilters, so that the | 171 // the content layer adds its own BrowserMessageFilters, so that the |
172 // embedder's IPC filters have priority. | 172 // embedder's IPC filters have priority. |
173 virtual void RenderProcessHostCreated(RenderProcessHost* host) {} | 173 virtual void RenderProcessHostCreated(RenderProcessHost* host) {} |
174 | 174 |
| 175 // Notifies that a RenderView has been created and is ready to receive |
| 176 // messages. |
| 177 virtual void RenderViewReady(RenderViewHost* host) {} |
| 178 |
175 // Notifies that a BrowserChildProcessHost has been created. | 179 // Notifies that a BrowserChildProcessHost has been created. |
176 virtual void BrowserChildProcessHostCreated(BrowserChildProcessHost* host) {} | 180 virtual void BrowserChildProcessHostCreated(BrowserChildProcessHost* host) {} |
177 | 181 |
178 // Get the effective URL for the given actual URL, to allow an embedder to | 182 // Get the effective URL for the given actual URL, to allow an embedder to |
179 // group different url schemes in the same SiteInstance. | 183 // group different url schemes in the same SiteInstance. |
180 virtual GURL GetEffectiveURL(BrowserContext* browser_context, | 184 virtual GURL GetEffectiveURL(BrowserContext* browser_context, |
181 const GURL& url); | 185 const GURL& url); |
182 | 186 |
183 // Returns whether all instances of the specified effective URL should be | 187 // Returns whether all instances of the specified effective URL should be |
184 // rendered by the same process, rather than using process-per-site-instance. | 188 // rendered by the same process, rather than using process-per-site-instance. |
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
613 // Returns true if plugin referred to by the url can use | 617 // Returns true if plugin referred to by the url can use |
614 // pp::FileIO::RequestOSFileHandle. | 618 // pp::FileIO::RequestOSFileHandle. |
615 virtual bool IsPluginAllowedToCallRequestOSFileHandle( | 619 virtual bool IsPluginAllowedToCallRequestOSFileHandle( |
616 content::BrowserContext* browser_context, | 620 content::BrowserContext* browser_context, |
617 const GURL& url); | 621 const GURL& url); |
618 }; | 622 }; |
619 | 623 |
620 } // namespace content | 624 } // namespace content |
621 | 625 |
622 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 626 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |