| 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 CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 chrome_devtools_protocol_handler) OVERRIDE; | 96 chrome_devtools_protocol_handler) OVERRIDE; |
| 97 virtual bool IsHandledURL(const GURL& url) OVERRIDE; | 97 virtual bool IsHandledURL(const GURL& url) OVERRIDE; |
| 98 virtual bool IsSuitableHost(content::RenderProcessHost* process_host, | 98 virtual bool IsSuitableHost(content::RenderProcessHost* process_host, |
| 99 const GURL& url) OVERRIDE; | 99 const GURL& url) OVERRIDE; |
| 100 virtual bool ShouldTryToUseExistingProcessHost( | 100 virtual bool ShouldTryToUseExistingProcessHost( |
| 101 content::BrowserContext* browser_context, const GURL& url) OVERRIDE; | 101 content::BrowserContext* browser_context, const GURL& url) OVERRIDE; |
| 102 virtual void SiteInstanceGotProcess( | 102 virtual void SiteInstanceGotProcess( |
| 103 content::SiteInstance* site_instance) OVERRIDE; | 103 content::SiteInstance* site_instance) OVERRIDE; |
| 104 virtual void SiteInstanceDeleting(content::SiteInstance* site_instance) | 104 virtual void SiteInstanceDeleting(content::SiteInstance* site_instance) |
| 105 OVERRIDE; | 105 OVERRIDE; |
| 106 virtual bool ShouldSwapProcessesForNavigation(const GURL& current_url, | 106 virtual bool ShouldSwapProcessesForNavigation( |
| 107 const GURL& new_url) OVERRIDE; | 107 content::SiteInstance* site_instance, |
| 108 const GURL& current_url, |
| 109 const GURL& new_url) OVERRIDE; |
| 108 virtual bool ShouldSwapProcessesForRedirect( | 110 virtual bool ShouldSwapProcessesForRedirect( |
| 109 content::ResourceContext* resource_context, | 111 content::ResourceContext* resource_context, |
| 110 const GURL& current_url, | 112 const GURL& current_url, |
| 111 const GURL& new_url) OVERRIDE; | 113 const GURL& new_url) OVERRIDE; |
| 112 virtual std::string GetCanonicalEncodingNameByAliasName( | 114 virtual std::string GetCanonicalEncodingNameByAliasName( |
| 113 const std::string& alias_name) OVERRIDE; | 115 const std::string& alias_name) OVERRIDE; |
| 114 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, | 116 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, |
| 115 int child_process_id) OVERRIDE; | 117 int child_process_id) OVERRIDE; |
| 116 virtual std::string GetApplicationLocale() OVERRIDE; | 118 virtual std::string GetApplicationLocale() OVERRIDE; |
| 117 virtual std::string GetAcceptLangs( | 119 virtual std::string GetAcceptLangs( |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 // Cached version of the locale so we can return the locale on the I/O | 268 // Cached version of the locale so we can return the locale on the I/O |
| 267 // thread. | 269 // thread. |
| 268 std::string io_thread_application_locale_; | 270 std::string io_thread_application_locale_; |
| 269 | 271 |
| 270 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 272 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 271 }; | 273 }; |
| 272 | 274 |
| 273 } // namespace chrome | 275 } // namespace chrome |
| 274 | 276 |
| 275 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 277 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |