| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 12 matching lines...) Expand all Loading... |
| 23 virtual void BrowserRenderProcessHostCreated( | 23 virtual void BrowserRenderProcessHostCreated( |
| 24 BrowserRenderProcessHost* host) OVERRIDE; | 24 BrowserRenderProcessHost* host) OVERRIDE; |
| 25 virtual void PluginProcessHostCreated(PluginProcessHost* host) OVERRIDE; | 25 virtual void PluginProcessHostCreated(PluginProcessHost* host) OVERRIDE; |
| 26 virtual void WorkerProcessHostCreated(WorkerProcessHost* host) OVERRIDE; | 26 virtual void WorkerProcessHostCreated(WorkerProcessHost* host) OVERRIDE; |
| 27 virtual content::WebUIFactory* GetWebUIFactory() OVERRIDE; | 27 virtual content::WebUIFactory* GetWebUIFactory() OVERRIDE; |
| 28 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, | 28 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, |
| 29 const GURL& effective_url) OVERRIDE; | 29 const GURL& effective_url) OVERRIDE; |
| 30 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, | 30 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, |
| 31 const GURL& url) OVERRIDE; | 31 const GURL& url) OVERRIDE; |
| 32 virtual bool IsURLSameAsAnySiteInstance(const GURL& url) OVERRIDE; | 32 virtual bool IsURLSameAsAnySiteInstance(const GURL& url) OVERRIDE; |
| 33 virtual bool IsSuitableHost(RenderProcessHost* process_host, |
| 34 const GURL& url) OVERRIDE; |
| 33 virtual std::string GetCanonicalEncodingNameByAliasName( | 35 virtual std::string GetCanonicalEncodingNameByAliasName( |
| 34 const std::string& alias_name) OVERRIDE; | 36 const std::string& alias_name) OVERRIDE; |
| 35 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, | 37 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, |
| 36 int child_process_id) OVERRIDE; | 38 int child_process_id) OVERRIDE; |
| 37 virtual std::string GetApplicationLocale() OVERRIDE; | 39 virtual std::string GetApplicationLocale() OVERRIDE; |
| 38 virtual std::string GetAcceptLangs(const TabContents* tab) OVERRIDE; | 40 virtual std::string GetAcceptLangs(const TabContents* tab) OVERRIDE; |
| 39 virtual SkBitmap* GetDefaultFavicon() OVERRIDE; | 41 virtual SkBitmap* GetDefaultFavicon() OVERRIDE; |
| 40 virtual bool AllowAppCache(const GURL& manifest_url, | 42 virtual bool AllowAppCache(const GURL& manifest_url, |
| 41 const GURL& first_party, | 43 const GURL& first_party, |
| 42 const content::ResourceContext& context) OVERRIDE; | 44 const content::ResourceContext& context) OVERRIDE; |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 #if defined(USE_NSS) | 132 #if defined(USE_NSS) |
| 131 virtual | 133 virtual |
| 132 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | 134 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
| 133 const GURL& url) OVERRIDE; | 135 const GURL& url) OVERRIDE; |
| 134 #endif | 136 #endif |
| 135 }; | 137 }; |
| 136 | 138 |
| 137 } // namespace chrome | 139 } // namespace chrome |
| 138 | 140 |
| 139 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 141 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |