| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 bool ShouldTryToUseExistingProcessHost( | 101 bool ShouldTryToUseExistingProcessHost( |
| 102 content::BrowserContext* browser_context, | 102 content::BrowserContext* browser_context, |
| 103 const GURL& url) override; | 103 const GURL& url) override; |
| 104 void SiteInstanceGotProcess(content::SiteInstance* site_instance) override; | 104 void SiteInstanceGotProcess(content::SiteInstance* site_instance) override; |
| 105 void SiteInstanceDeleting(content::SiteInstance* site_instance) override; | 105 void SiteInstanceDeleting(content::SiteInstance* site_instance) override; |
| 106 bool ShouldSwapBrowsingInstancesForNavigation( | 106 bool ShouldSwapBrowsingInstancesForNavigation( |
| 107 content::SiteInstance* site_instance, | 107 content::SiteInstance* site_instance, |
| 108 const GURL& current_url, | 108 const GURL& current_url, |
| 109 const GURL& new_url) override; | 109 const GURL& new_url) override; |
| 110 bool ShouldSwapProcessesForRedirect( | 110 bool ShouldSwapProcessesForRedirect( |
| 111 content::ResourceContext* resource_context, | 111 content::BrowserContext* browser_context, |
| 112 const GURL& current_url, | 112 const GURL& current_url, |
| 113 const GURL& new_url) override; | 113 const GURL& new_url) override; |
| 114 bool ShouldAssignSiteForURL(const GURL& url) override; | 114 bool ShouldAssignSiteForURL(const GURL& url) override; |
| 115 std::string GetCanonicalEncodingNameByAliasName( | 115 std::string GetCanonicalEncodingNameByAliasName( |
| 116 const std::string& alias_name) override; | 116 const std::string& alias_name) override; |
| 117 void AppendExtraCommandLineSwitches(base::CommandLine* command_line, | 117 void AppendExtraCommandLineSwitches(base::CommandLine* command_line, |
| 118 int child_process_id) override; | 118 int child_process_id) override; |
| 119 std::string GetApplicationLocale() override; | 119 std::string GetApplicationLocale() override; |
| 120 std::string GetAcceptLangs(content::BrowserContext* context) override; | 120 std::string GetAcceptLangs(content::BrowserContext* context) override; |
| 121 const gfx::ImageSkia* GetDefaultFavicon() override; | 121 const gfx::ImageSkia* GetDefaultFavicon() override; |
| (...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 359 // Vector of additional ChromeContentBrowserClientParts. | 359 // Vector of additional ChromeContentBrowserClientParts. |
| 360 // Parts are deleted in the reverse order they are added. | 360 // Parts are deleted in the reverse order they are added. |
| 361 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 361 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 362 | 362 |
| 363 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 363 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 364 | 364 |
| 365 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 365 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 366 }; | 366 }; |
| 367 | 367 |
| 368 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 368 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |