| 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 CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ |
| 6 #define CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ | 6 #define CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 virtual void BrowserRenderProcessHostCreated( | 34 virtual void BrowserRenderProcessHostCreated( |
| 35 BrowserRenderProcessHost* host) OVERRIDE; | 35 BrowserRenderProcessHost* host) OVERRIDE; |
| 36 virtual void PluginProcessHostCreated(PluginProcessHost* host) OVERRIDE; | 36 virtual void PluginProcessHostCreated(PluginProcessHost* host) OVERRIDE; |
| 37 virtual void WorkerProcessHostCreated(WorkerProcessHost* host) OVERRIDE; | 37 virtual void WorkerProcessHostCreated(WorkerProcessHost* host) OVERRIDE; |
| 38 virtual WebUIFactory* GetWebUIFactory() OVERRIDE; | 38 virtual WebUIFactory* GetWebUIFactory() OVERRIDE; |
| 39 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, | 39 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, |
| 40 const GURL& url) OVERRIDE; | 40 const GURL& url) OVERRIDE; |
| 41 virtual bool ShouldUseProcessPerSite(BrowserContext* browser_context, | 41 virtual bool ShouldUseProcessPerSite(BrowserContext* browser_context, |
| 42 const GURL& effective_url) OVERRIDE; | 42 const GURL& effective_url) OVERRIDE; |
| 43 virtual bool IsURLSameAsAnySiteInstance(const GURL& url) OVERRIDE; | 43 virtual bool IsURLSameAsAnySiteInstance(const GURL& url) OVERRIDE; |
| 44 virtual bool ShouldRunInPrivilegedProcess(const GURL& url) OVERRIDE; |
| 45 virtual bool IsSuitableHost(RenderProcessHost* process_host, |
| 46 const GURL& site_url) OVERRIDE; |
| 44 virtual std::string GetCanonicalEncodingNameByAliasName( | 47 virtual std::string GetCanonicalEncodingNameByAliasName( |
| 45 const std::string& alias_name) OVERRIDE; | 48 const std::string& alias_name) OVERRIDE; |
| 46 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, | 49 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, |
| 47 int child_process_id) OVERRIDE; | 50 int child_process_id) OVERRIDE; |
| 48 virtual std::string GetApplicationLocale() OVERRIDE; | 51 virtual std::string GetApplicationLocale() OVERRIDE; |
| 49 virtual std::string GetAcceptLangs(const TabContents* tab) OVERRIDE; | 52 virtual std::string GetAcceptLangs(const TabContents* tab) OVERRIDE; |
| 50 virtual SkBitmap* GetDefaultFavicon() OVERRIDE; | 53 virtual SkBitmap* GetDefaultFavicon() OVERRIDE; |
| 51 virtual bool AllowAppCache(const GURL& manifest_url, | 54 virtual bool AllowAppCache(const GURL& manifest_url, |
| 52 const GURL& first_party, | 55 const GURL& first_party, |
| 53 const content::ResourceContext& context) OVERRIDE; | 56 const content::ResourceContext& context) OVERRIDE; |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 const GURL& url) OVERRIDE; | 148 const GURL& url) OVERRIDE; |
| 146 #endif | 149 #endif |
| 147 | 150 |
| 148 private: | 151 private: |
| 149 ShellBrowserMainParts* shell_browser_main_parts_; | 152 ShellBrowserMainParts* shell_browser_main_parts_; |
| 150 }; | 153 }; |
| 151 | 154 |
| 152 } // namespace content | 155 } // namespace content |
| 153 | 156 |
| 154 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ | 157 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |