| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 RenderViewHost* render_view_host) OVERRIDE; | 43 RenderViewHost* render_view_host) OVERRIDE; |
| 44 virtual void RenderProcessHostCreated( | 44 virtual void RenderProcessHostCreated( |
| 45 RenderProcessHost* host) OVERRIDE; | 45 RenderProcessHost* host) OVERRIDE; |
| 46 virtual void PluginProcessHostCreated(PluginProcessHost* host) OVERRIDE; | 46 virtual void PluginProcessHostCreated(PluginProcessHost* host) OVERRIDE; |
| 47 virtual WebUIFactory* GetWebUIFactory() OVERRIDE; | 47 virtual WebUIFactory* GetWebUIFactory() OVERRIDE; |
| 48 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, | 48 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, |
| 49 const GURL& url) OVERRIDE; | 49 const GURL& url) OVERRIDE; |
| 50 virtual bool ShouldUseProcessPerSite(BrowserContext* browser_context, | 50 virtual bool ShouldUseProcessPerSite(BrowserContext* browser_context, |
| 51 const GURL& effective_url) OVERRIDE; | 51 const GURL& effective_url) OVERRIDE; |
| 52 virtual bool IsURLSameAsAnySiteInstance(const GURL& url) OVERRIDE; | 52 virtual bool IsURLSameAsAnySiteInstance(const GURL& url) OVERRIDE; |
| 53 virtual bool IsHandledURL(const GURL& url) OVERRIDE; |
| 53 virtual bool IsSuitableHost(RenderProcessHost* process_host, | 54 virtual bool IsSuitableHost(RenderProcessHost* process_host, |
| 54 const GURL& site_url) OVERRIDE; | 55 const GURL& site_url) OVERRIDE; |
| 55 virtual void SiteInstanceGotProcess(SiteInstance* site_instance) OVERRIDE; | 56 virtual void SiteInstanceGotProcess(SiteInstance* site_instance) OVERRIDE; |
| 56 virtual void SiteInstanceDeleting(SiteInstance* site_instance) OVERRIDE; | 57 virtual void SiteInstanceDeleting(SiteInstance* site_instance) OVERRIDE; |
| 57 virtual bool ShouldSwapProcessesForNavigation(const GURL& current_url, | 58 virtual bool ShouldSwapProcessesForNavigation(const GURL& current_url, |
| 58 const GURL& new_url) OVERRIDE; | 59 const GURL& new_url) OVERRIDE; |
| 59 | 60 |
| 60 virtual std::string GetCanonicalEncodingNameByAliasName( | 61 virtual std::string GetCanonicalEncodingNameByAliasName( |
| 61 const std::string& alias_name) OVERRIDE; | 62 const std::string& alias_name) OVERRIDE; |
| 62 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, | 63 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 const ViewHostMsg_CreateWindow_Params& params) OVERRIDE; | 180 const ViewHostMsg_CreateWindow_Params& params) OVERRIDE; |
| 180 #endif | 181 #endif |
| 181 | 182 |
| 182 private: | 183 private: |
| 183 ShellBrowserMainParts* shell_browser_main_parts_; | 184 ShellBrowserMainParts* shell_browser_main_parts_; |
| 184 }; | 185 }; |
| 185 | 186 |
| 186 } // namespace content | 187 } // namespace content |
| 187 | 188 |
| 188 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ | 189 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |