| 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 30 matching lines...) Expand all Loading... |
| 41 const GURL& effective_url) OVERRIDE; | 41 const GURL& effective_url) OVERRIDE; |
| 42 virtual bool IsHandledURL(const GURL& url) OVERRIDE; | 42 virtual bool IsHandledURL(const GURL& url) OVERRIDE; |
| 43 virtual bool IsSuitableHost(RenderProcessHost* process_host, | 43 virtual bool IsSuitableHost(RenderProcessHost* process_host, |
| 44 const GURL& site_url) OVERRIDE; | 44 const GURL& site_url) OVERRIDE; |
| 45 virtual bool ShouldTryToUseExistingProcessHost( | 45 virtual bool ShouldTryToUseExistingProcessHost( |
| 46 BrowserContext* browser_context, const GURL& url) OVERRIDE; | 46 BrowserContext* browser_context, const GURL& url) OVERRIDE; |
| 47 virtual void SiteInstanceGotProcess(SiteInstance* site_instance) OVERRIDE; | 47 virtual void SiteInstanceGotProcess(SiteInstance* site_instance) OVERRIDE; |
| 48 virtual void SiteInstanceDeleting(SiteInstance* site_instance) OVERRIDE; | 48 virtual void SiteInstanceDeleting(SiteInstance* site_instance) OVERRIDE; |
| 49 virtual bool ShouldSwapProcessesForNavigation(const GURL& current_url, | 49 virtual bool ShouldSwapProcessesForNavigation(const GURL& current_url, |
| 50 const GURL& new_url) OVERRIDE; | 50 const GURL& new_url) OVERRIDE; |
| 51 | 51 virtual bool ShouldSwapProcessesForRedirect( |
| 52 ResourceContext* resource_context, |
| 53 const GURL& current_url, |
| 54 const GURL& new_url) OVERRIDE; |
| 52 virtual std::string GetCanonicalEncodingNameByAliasName( | 55 virtual std::string GetCanonicalEncodingNameByAliasName( |
| 53 const std::string& alias_name) OVERRIDE; | 56 const std::string& alias_name) OVERRIDE; |
| 54 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, | 57 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, |
| 55 int child_process_id) OVERRIDE; | 58 int child_process_id) OVERRIDE; |
| 56 virtual std::string GetApplicationLocale() OVERRIDE; | 59 virtual std::string GetApplicationLocale() OVERRIDE; |
| 57 virtual std::string GetAcceptLangs( | 60 virtual std::string GetAcceptLangs( |
| 58 content::BrowserContext* context) OVERRIDE; | 61 content::BrowserContext* context) OVERRIDE; |
| 59 virtual SkBitmap* GetDefaultFavicon() OVERRIDE; | 62 virtual SkBitmap* GetDefaultFavicon() OVERRIDE; |
| 60 virtual bool AllowAppCache(const GURL& manifest_url, | 63 virtual bool AllowAppCache(const GURL& manifest_url, |
| 61 const GURL& first_party, | 64 const GURL& first_party, |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 private: | 193 private: |
| 191 scoped_ptr<ShellResourceDispatcherHostDelegate> | 194 scoped_ptr<ShellResourceDispatcherHostDelegate> |
| 192 resource_dispatcher_host_delegate_; | 195 resource_dispatcher_host_delegate_; |
| 193 | 196 |
| 194 ShellBrowserMainParts* shell_browser_main_parts_; | 197 ShellBrowserMainParts* shell_browser_main_parts_; |
| 195 }; | 198 }; |
| 196 | 199 |
| 197 } // namespace content | 200 } // namespace content |
| 198 | 201 |
| 199 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ | 202 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |