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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 13 matching lines...) Expand all Loading... |
24 content::RenderProcessHost* host) OVERRIDE; | 24 content::RenderProcessHost* host) OVERRIDE; |
25 virtual content::WebUIFactory* GetWebUIFactory() OVERRIDE; | 25 virtual content::WebUIFactory* GetWebUIFactory() OVERRIDE; |
26 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, | 26 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, |
27 const GURL& effective_url) OVERRIDE; | 27 const GURL& effective_url) OVERRIDE; |
28 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, | 28 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, |
29 const GURL& url) OVERRIDE; | 29 const GURL& url) OVERRIDE; |
30 virtual bool IsURLSameAsAnySiteInstance(const GURL& url) OVERRIDE; | 30 virtual bool IsURLSameAsAnySiteInstance(const GURL& url) OVERRIDE; |
31 virtual bool IsHandledURL(const GURL& url) OVERRIDE; | 31 virtual bool IsHandledURL(const GURL& url) OVERRIDE; |
32 virtual bool IsSuitableHost(content::RenderProcessHost* process_host, | 32 virtual bool IsSuitableHost(content::RenderProcessHost* process_host, |
33 const GURL& url) OVERRIDE; | 33 const GURL& url) OVERRIDE; |
34 virtual void SiteInstanceGotProcess(SiteInstance* site_instance) OVERRIDE; | 34 virtual void SiteInstanceGotProcess( |
35 virtual void SiteInstanceDeleting(SiteInstance* site_instance) OVERRIDE; | 35 content::SiteInstance* site_instance) OVERRIDE; |
| 36 virtual void SiteInstanceDeleting(content::SiteInstance* site_instance) |
| 37 OVERRIDE; |
36 virtual bool ShouldSwapProcessesForNavigation(const GURL& current_url, | 38 virtual bool ShouldSwapProcessesForNavigation(const GURL& current_url, |
37 const GURL& new_url) OVERRIDE; | 39 const GURL& new_url) OVERRIDE; |
38 virtual std::string GetCanonicalEncodingNameByAliasName( | 40 virtual std::string GetCanonicalEncodingNameByAliasName( |
39 const std::string& alias_name) OVERRIDE; | 41 const std::string& alias_name) OVERRIDE; |
40 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, | 42 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, |
41 int child_process_id) OVERRIDE; | 43 int child_process_id) OVERRIDE; |
42 virtual std::string GetApplicationLocale() OVERRIDE; | 44 virtual std::string GetApplicationLocale() OVERRIDE; |
43 virtual std::string GetAcceptLangs( | 45 virtual std::string GetAcceptLangs( |
44 content::BrowserContext* context) OVERRIDE; | 46 content::BrowserContext* context) OVERRIDE; |
45 virtual SkBitmap* GetDefaultFavicon() OVERRIDE; | 47 virtual SkBitmap* GetDefaultFavicon() OVERRIDE; |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 #if defined(USE_NSS) | 146 #if defined(USE_NSS) |
145 virtual | 147 virtual |
146 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | 148 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
147 const GURL& url) OVERRIDE; | 149 const GURL& url) OVERRIDE; |
148 #endif | 150 #endif |
149 }; | 151 }; |
150 | 152 |
151 } // namespace chrome | 153 } // namespace chrome |
152 | 154 |
153 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 155 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |