| 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 virtual void SiteInstanceGotProcess( | 74 virtual void SiteInstanceGotProcess( |
| 75 content::SiteInstance* site_instance) OVERRIDE; | 75 content::SiteInstance* site_instance) OVERRIDE; |
| 76 virtual void SiteInstanceDeleting(content::SiteInstance* site_instance) | 76 virtual void SiteInstanceDeleting(content::SiteInstance* site_instance) |
| 77 OVERRIDE; | 77 OVERRIDE; |
| 78 virtual bool ShouldSwapProcessesForNavigation(const GURL& current_url, | 78 virtual bool ShouldSwapProcessesForNavigation(const GURL& current_url, |
| 79 const GURL& new_url) OVERRIDE; | 79 const GURL& new_url) OVERRIDE; |
| 80 virtual bool ShouldSwapProcessesForRedirect( | 80 virtual bool ShouldSwapProcessesForRedirect( |
| 81 content::ResourceContext* resource_context, | 81 content::ResourceContext* resource_context, |
| 82 const GURL& current_url, | 82 const GURL& current_url, |
| 83 const GURL& new_url) OVERRIDE; | 83 const GURL& new_url) OVERRIDE; |
| 84 virtual void GuestWebContentsCreated( |
| 85 content::WebContents* guest_web_contents, |
| 86 content::WebContents* embedder_web_contents) OVERRIDE; |
| 84 virtual std::string GetCanonicalEncodingNameByAliasName( | 87 virtual std::string GetCanonicalEncodingNameByAliasName( |
| 85 const std::string& alias_name) OVERRIDE; | 88 const std::string& alias_name) OVERRIDE; |
| 86 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, | 89 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, |
| 87 int child_process_id) OVERRIDE; | 90 int child_process_id) OVERRIDE; |
| 88 virtual std::string GetApplicationLocale() OVERRIDE; | 91 virtual std::string GetApplicationLocale() OVERRIDE; |
| 89 virtual std::string GetAcceptLangs( | 92 virtual std::string GetAcceptLangs( |
| 90 content::BrowserContext* context) OVERRIDE; | 93 content::BrowserContext* context) OVERRIDE; |
| 91 virtual gfx::ImageSkia* GetDefaultFavicon() OVERRIDE; | 94 virtual gfx::ImageSkia* GetDefaultFavicon() OVERRIDE; |
| 92 virtual bool AllowAppCache(const GURL& manifest_url, | 95 virtual bool AllowAppCache(const GURL& manifest_url, |
| 93 const GURL& first_party, | 96 const GURL& first_party, |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 // Cached version of the locale so we can return the locale on the I/O | 240 // Cached version of the locale so we can return the locale on the I/O |
| 238 // thread. | 241 // thread. |
| 239 std::string io_thread_application_locale_; | 242 std::string io_thread_application_locale_; |
| 240 | 243 |
| 241 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 244 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 242 }; | 245 }; |
| 243 | 246 |
| 244 } // namespace chrome | 247 } // namespace chrome |
| 245 | 248 |
| 246 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 249 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |