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