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 CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 virtual void GetStoragePartitionConfigForSite( | 53 virtual void GetStoragePartitionConfigForSite( |
54 content::BrowserContext* browser_context, | 54 content::BrowserContext* browser_context, |
55 const GURL& site, | 55 const GURL& site, |
56 bool can_be_default, | 56 bool can_be_default, |
57 std::string* partition_domain, | 57 std::string* partition_domain, |
58 std::string* partition_name, | 58 std::string* partition_name, |
59 bool* in_memory) OVERRIDE; | 59 bool* in_memory) OVERRIDE; |
60 virtual content::WebContentsViewDelegate* GetWebContentsViewDelegate( | 60 virtual content::WebContentsViewDelegate* GetWebContentsViewDelegate( |
61 content::WebContents* web_contents) OVERRIDE; | 61 content::WebContents* web_contents) OVERRIDE; |
62 virtual void GuestWebContentsCreated( | 62 virtual void GuestWebContentsCreated( |
| 63 content::SiteInstance* guest_site_instance, |
63 content::WebContents* guest_web_contents, | 64 content::WebContents* guest_web_contents, |
64 content::WebContents* opener_web_contents, | 65 content::WebContents* opener_web_contents, |
65 content::BrowserPluginGuestDelegate** guest_delegate, | 66 content::BrowserPluginGuestDelegate** guest_delegate, |
66 scoped_ptr<base::DictionaryValue> extra_params) OVERRIDE; | 67 scoped_ptr<base::DictionaryValue> extra_params) OVERRIDE; |
67 virtual void GuestWebContentsAttached( | 68 virtual void GuestWebContentsAttached( |
68 content::WebContents* guest_web_contents, | 69 content::WebContents* guest_web_contents, |
69 content::WebContents* embedder_web_contents, | 70 content::WebContents* embedder_web_contents, |
70 const GURL& embedder_frame_url, | |
71 const base::DictionaryValue& extra_params) OVERRIDE; | 71 const base::DictionaryValue& extra_params) OVERRIDE; |
72 virtual void RenderProcessHostCreated( | 72 virtual void RenderProcessHostCreated( |
73 content::RenderProcessHost* host) OVERRIDE; | 73 content::RenderProcessHost* host) OVERRIDE; |
74 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, | 74 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, |
75 const GURL& effective_url) OVERRIDE; | 75 const GURL& effective_url) OVERRIDE; |
76 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, | 76 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, |
77 const GURL& url) OVERRIDE; | 77 const GURL& url) OVERRIDE; |
78 virtual void GetAdditionalWebUISchemes( | 78 virtual void GetAdditionalWebUISchemes( |
79 std::vector<std::string>* additional_schemes) OVERRIDE; | 79 std::vector<std::string>* additional_schemes) OVERRIDE; |
80 virtual net::URLRequestContextGetter* CreateRequestContext( | 80 virtual net::URLRequestContextGetter* CreateRequestContext( |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 #endif | 281 #endif |
282 scoped_ptr<extensions::BrowserPermissionsPolicyDelegate> | 282 scoped_ptr<extensions::BrowserPermissionsPolicyDelegate> |
283 permissions_policy_delegate_; | 283 permissions_policy_delegate_; |
284 | 284 |
285 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 285 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
286 }; | 286 }; |
287 | 287 |
288 } // namespace chrome | 288 } // namespace chrome |
289 | 289 |
290 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 290 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |