| 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 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 20 matching lines...) Expand all Loading... |
| 31 WebContents* web_contents) OVERRIDE; | 31 WebContents* web_contents) OVERRIDE; |
| 32 virtual void RenderViewHostCreated( | 32 virtual void RenderViewHostCreated( |
| 33 RenderViewHost* render_view_host) OVERRIDE; | 33 RenderViewHost* render_view_host) OVERRIDE; |
| 34 virtual void RenderProcessHostCreated( | 34 virtual void RenderProcessHostCreated( |
| 35 RenderProcessHost* host) OVERRIDE; | 35 RenderProcessHost* host) OVERRIDE; |
| 36 virtual WebUIControllerFactory* GetWebUIControllerFactory() OVERRIDE; | 36 virtual WebUIControllerFactory* GetWebUIControllerFactory() OVERRIDE; |
| 37 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, | 37 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, |
| 38 const GURL& url) OVERRIDE; | 38 const GURL& url) OVERRIDE; |
| 39 virtual bool ShouldUseProcessPerSite(BrowserContext* browser_context, | 39 virtual bool ShouldUseProcessPerSite(BrowserContext* browser_context, |
| 40 const GURL& effective_url) OVERRIDE; | 40 const GURL& effective_url) OVERRIDE; |
| 41 virtual bool IsURLSameAsAnySiteInstance(const GURL& url) OVERRIDE; | |
| 42 virtual bool IsHandledURL(const GURL& url) OVERRIDE; | 41 virtual bool IsHandledURL(const GURL& url) OVERRIDE; |
| 43 virtual bool IsSuitableHost(RenderProcessHost* process_host, | 42 virtual bool IsSuitableHost(RenderProcessHost* process_host, |
| 44 const GURL& site_url) OVERRIDE; | 43 const GURL& site_url) OVERRIDE; |
| 45 virtual void SiteInstanceGotProcess(SiteInstance* site_instance) OVERRIDE; | 44 virtual void SiteInstanceGotProcess(SiteInstance* site_instance) OVERRIDE; |
| 46 virtual void SiteInstanceDeleting(SiteInstance* site_instance) OVERRIDE; | 45 virtual void SiteInstanceDeleting(SiteInstance* site_instance) OVERRIDE; |
| 47 virtual bool ShouldSwapProcessesForNavigation(const GURL& current_url, | 46 virtual bool ShouldSwapProcessesForNavigation(const GURL& current_url, |
| 48 const GURL& new_url) OVERRIDE; | 47 const GURL& new_url) OVERRIDE; |
| 49 | 48 |
| 50 virtual std::string GetCanonicalEncodingNameByAliasName( | 49 virtual std::string GetCanonicalEncodingNameByAliasName( |
| 51 const std::string& alias_name) OVERRIDE; | 50 const std::string& alias_name) OVERRIDE; |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 const GURL& url) OVERRIDE; | 161 const GURL& url) OVERRIDE; |
| 163 #endif | 162 #endif |
| 164 | 163 |
| 165 private: | 164 private: |
| 166 ShellBrowserMainParts* shell_browser_main_parts_; | 165 ShellBrowserMainParts* shell_browser_main_parts_; |
| 167 }; | 166 }; |
| 168 | 167 |
| 169 } // namespace content | 168 } // namespace content |
| 170 | 169 |
| 171 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ | 170 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |