| 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 bool MayReuseHost(content::RenderProcessHost* process_host) override; | 114 bool MayReuseHost(content::RenderProcessHost* process_host) override; |
| 115 bool ShouldTryToUseExistingProcessHost( | 115 bool ShouldTryToUseExistingProcessHost( |
| 116 content::BrowserContext* browser_context, | 116 content::BrowserContext* browser_context, |
| 117 const GURL& url) override; | 117 const GURL& url) override; |
| 118 void SiteInstanceGotProcess(content::SiteInstance* site_instance) override; | 118 void SiteInstanceGotProcess(content::SiteInstance* site_instance) override; |
| 119 void SiteInstanceDeleting(content::SiteInstance* site_instance) override; | 119 void SiteInstanceDeleting(content::SiteInstance* site_instance) override; |
| 120 bool ShouldSwapBrowsingInstancesForNavigation( | 120 bool ShouldSwapBrowsingInstancesForNavigation( |
| 121 content::SiteInstance* site_instance, | 121 content::SiteInstance* site_instance, |
| 122 const GURL& current_url, | 122 const GURL& current_url, |
| 123 const GURL& new_url) override; | 123 const GURL& new_url) override; |
| 124 bool ShouldSwapProcessesForRedirect( | |
| 125 content::BrowserContext* browser_context, | |
| 126 const GURL& current_url, | |
| 127 const GURL& new_url) override; | |
| 128 bool ShouldAssignSiteForURL(const GURL& url) override; | 124 bool ShouldAssignSiteForURL(const GURL& url) override; |
| 129 void AppendExtraCommandLineSwitches(base::CommandLine* command_line, | 125 void AppendExtraCommandLineSwitches(base::CommandLine* command_line, |
| 130 int child_process_id) override; | 126 int child_process_id) override; |
| 131 std::string GetApplicationLocale() override; | 127 std::string GetApplicationLocale() override; |
| 132 std::string GetAcceptLangs(content::BrowserContext* context) override; | 128 std::string GetAcceptLangs(content::BrowserContext* context) override; |
| 133 const gfx::ImageSkia* GetDefaultFavicon() override; | 129 const gfx::ImageSkia* GetDefaultFavicon() override; |
| 134 bool IsDataSaverEnabled(content::BrowserContext* context) override; | 130 bool IsDataSaverEnabled(content::BrowserContext* context) override; |
| 135 bool AllowAppCache(const GURL& manifest_url, | 131 bool AllowAppCache(const GURL& manifest_url, |
| 136 const GURL& first_party, | 132 const GURL& first_party, |
| 137 content::ResourceContext* context) override; | 133 content::ResourceContext* context) override; |
| (...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 386 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 382 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 387 | 383 |
| 388 service_manager::BinderRegistry gpu_binder_registry_; | 384 service_manager::BinderRegistry gpu_binder_registry_; |
| 389 | 385 |
| 390 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 386 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 391 | 387 |
| 392 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 388 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 393 }; | 389 }; |
| 394 | 390 |
| 395 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 391 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |