| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 virtual void BrowserRenderProcessHostCreated( | 42 virtual void BrowserRenderProcessHostCreated( |
| 43 BrowserRenderProcessHost* host) OVERRIDE; | 43 BrowserRenderProcessHost* host) OVERRIDE; |
| 44 virtual void PluginProcessHostCreated(PluginProcessHost* host) OVERRIDE; | 44 virtual void PluginProcessHostCreated(PluginProcessHost* host) OVERRIDE; |
| 45 virtual void WorkerProcessHostCreated(WorkerProcessHost* host) OVERRIDE; | 45 virtual void WorkerProcessHostCreated(WorkerProcessHost* host) OVERRIDE; |
| 46 virtual WebUIFactory* GetWebUIFactory() OVERRIDE; | 46 virtual WebUIFactory* GetWebUIFactory() OVERRIDE; |
| 47 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, | 47 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, |
| 48 const GURL& url) OVERRIDE; | 48 const GURL& url) OVERRIDE; |
| 49 virtual bool ShouldUseProcessPerSite(BrowserContext* browser_context, | 49 virtual bool ShouldUseProcessPerSite(BrowserContext* browser_context, |
| 50 const GURL& effective_url) OVERRIDE; | 50 const GURL& effective_url) OVERRIDE; |
| 51 virtual bool IsURLSameAsAnySiteInstance(const GURL& url) OVERRIDE; | 51 virtual bool IsURLSameAsAnySiteInstance(const GURL& url) OVERRIDE; |
| 52 virtual bool IsSuitableHost(RenderProcessHost* process_host, |
| 53 const GURL& site_url) OVERRIDE; |
| 52 virtual std::string GetCanonicalEncodingNameByAliasName( | 54 virtual std::string GetCanonicalEncodingNameByAliasName( |
| 53 const std::string& alias_name) OVERRIDE; | 55 const std::string& alias_name) OVERRIDE; |
| 54 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, | 56 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, |
| 55 int child_process_id) OVERRIDE; | 57 int child_process_id) OVERRIDE; |
| 56 virtual std::string GetApplicationLocale() OVERRIDE; | 58 virtual std::string GetApplicationLocale() OVERRIDE; |
| 57 virtual std::string GetAcceptLangs(const TabContents* tab) OVERRIDE; | 59 virtual std::string GetAcceptLangs(const TabContents* tab) OVERRIDE; |
| 58 virtual SkBitmap* GetDefaultFavicon() OVERRIDE; | 60 virtual SkBitmap* GetDefaultFavicon() OVERRIDE; |
| 59 virtual bool AllowAppCache(const GURL& manifest_url, | 61 virtual bool AllowAppCache(const GURL& manifest_url, |
| 60 const GURL& first_party, | 62 const GURL& first_party, |
| 61 const content::ResourceContext& context) OVERRIDE; | 63 const content::ResourceContext& context) OVERRIDE; |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 const ViewHostMsg_CreateWindow_Params& params) OVERRIDE; | 163 const ViewHostMsg_CreateWindow_Params& params) OVERRIDE; |
| 162 #endif | 164 #endif |
| 163 | 165 |
| 164 private: | 166 private: |
| 165 ShellBrowserMainParts* shell_browser_main_parts_; | 167 ShellBrowserMainParts* shell_browser_main_parts_; |
| 166 }; | 168 }; |
| 167 | 169 |
| 168 } // namespace content | 170 } // namespace content |
| 169 | 171 |
| 170 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ | 172 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |