| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 const std::string& partition_id) OVERRIDE; | 62 const std::string& partition_id) OVERRIDE; |
| 63 virtual void GetStoragePartitionConfigForSite( | 63 virtual void GetStoragePartitionConfigForSite( |
| 64 content::BrowserContext* browser_context, | 64 content::BrowserContext* browser_context, |
| 65 const GURL& site, | 65 const GURL& site, |
| 66 bool can_be_default, | 66 bool can_be_default, |
| 67 std::string* partition_domain, | 67 std::string* partition_domain, |
| 68 std::string* partition_name, | 68 std::string* partition_name, |
| 69 bool* in_memory) OVERRIDE; | 69 bool* in_memory) OVERRIDE; |
| 70 virtual content::WebContentsViewDelegate* GetWebContentsViewDelegate( | 70 virtual content::WebContentsViewDelegate* GetWebContentsViewDelegate( |
| 71 content::WebContents* web_contents) OVERRIDE; | 71 content::WebContents* web_contents) OVERRIDE; |
| 72 virtual void GuestWebContentsCreated( | |
| 73 int guest_instance_id, | |
| 74 content::SiteInstance* guest_site_instance, | |
| 75 content::WebContents* guest_web_contents, | |
| 76 content::WebContents* opener_web_contents, | |
| 77 content::BrowserPluginGuestDelegate** guest_delegate, | |
| 78 scoped_ptr<base::DictionaryValue> extra_params) OVERRIDE; | |
| 79 virtual void RenderProcessWillLaunch( | 72 virtual void RenderProcessWillLaunch( |
| 80 content::RenderProcessHost* host) OVERRIDE; | 73 content::RenderProcessHost* host) OVERRIDE; |
| 81 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, | 74 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, |
| 82 const GURL& effective_url) OVERRIDE; | 75 const GURL& effective_url) OVERRIDE; |
| 83 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, | 76 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, |
| 84 const GURL& url) OVERRIDE; | 77 const GURL& url) OVERRIDE; |
| 85 virtual void GetAdditionalWebUISchemes( | 78 virtual void GetAdditionalWebUISchemes( |
| 86 std::vector<std::string>* additional_schemes) OVERRIDE; | 79 std::vector<std::string>* additional_schemes) OVERRIDE; |
| 87 virtual void GetAdditionalWebUIHostsToIgnoreParititionCheck( | 80 virtual void GetAdditionalWebUIHostsToIgnoreParititionCheck( |
| 88 std::vector<std::string>* hosts) OVERRIDE; | 81 std::vector<std::string>* hosts) OVERRIDE; |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 330 prerender::PrerenderTracker* prerender_tracker_; | 323 prerender::PrerenderTracker* prerender_tracker_; |
| 331 | 324 |
| 332 friend class DisableWebRtcEncryptionFlagTest; | 325 friend class DisableWebRtcEncryptionFlagTest; |
| 333 | 326 |
| 334 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 327 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 335 }; | 328 }; |
| 336 | 329 |
| 337 } // namespace chrome | 330 } // namespace chrome |
| 338 | 331 |
| 339 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 332 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |