| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 content::BrowserContext* browser_context, | 61 content::BrowserContext* browser_context, |
| 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, |
| 72 gfx::NativeView context) OVERRIDE; |
| 72 virtual void RenderProcessWillLaunch( | 73 virtual void RenderProcessWillLaunch( |
| 73 content::RenderProcessHost* host) OVERRIDE; | 74 content::RenderProcessHost* host) OVERRIDE; |
| 74 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, | 75 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, |
| 75 const GURL& effective_url) OVERRIDE; | 76 const GURL& effective_url) OVERRIDE; |
| 76 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, | 77 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, |
| 77 const GURL& url) OVERRIDE; | 78 const GURL& url) OVERRIDE; |
| 78 virtual void GetAdditionalWebUISchemes( | 79 virtual void GetAdditionalWebUISchemes( |
| 79 std::vector<std::string>* additional_schemes) OVERRIDE; | 80 std::vector<std::string>* additional_schemes) OVERRIDE; |
| 80 virtual void GetAdditionalWebUIHostsToIgnoreParititionCheck( | 81 virtual void GetAdditionalWebUIHostsToIgnoreParititionCheck( |
| 81 std::vector<std::string>* hosts) OVERRIDE; | 82 std::vector<std::string>* hosts) OVERRIDE; |
| (...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 345 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 346 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 346 | 347 |
| 347 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 348 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 348 | 349 |
| 349 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 350 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 350 }; | 351 }; |
| 351 | 352 |
| 352 } // namespace chrome | 353 } // namespace chrome |
| 353 | 354 |
| 354 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 355 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |