| 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 bool LogWebUIUrl(const GURL& web_ui_url) const override; | 91 bool LogWebUIUrl(const GURL& web_ui_url) const override; |
| 92 bool IsHandledURL(const GURL& url) override; | 92 bool IsHandledURL(const GURL& url) override; |
| 93 bool CanCommitURL(content::RenderProcessHost* process_host, | 93 bool CanCommitURL(content::RenderProcessHost* process_host, |
| 94 const GURL& url) override; | 94 const GURL& url) override; |
| 95 bool ShouldAllowOpenURL(content::SiteInstance* site_instance, | 95 bool ShouldAllowOpenURL(content::SiteInstance* site_instance, |
| 96 const GURL& url) override; | 96 const GURL& url) override; |
| 97 void OverrideNavigationParams(content::SiteInstance* site_instance, | 97 void OverrideNavigationParams(content::SiteInstance* site_instance, |
| 98 ui::PageTransition* transition, | 98 ui::PageTransition* transition, |
| 99 bool* is_renderer_initiated, | 99 bool* is_renderer_initiated, |
| 100 content::Referrer* referrer) override; | 100 content::Referrer* referrer) override; |
| 101 bool ShouldFrameShareParentSiteInstanceDespiteTopDocumentIsolation( |
| 102 const GURL& url, |
| 103 content::SiteInstance* parent_site_instance) override; |
| 101 bool IsSuitableHost(content::RenderProcessHost* process_host, | 104 bool IsSuitableHost(content::RenderProcessHost* process_host, |
| 102 const GURL& site_url) override; | 105 const GURL& site_url) override; |
| 103 bool MayReuseHost(content::RenderProcessHost* process_host) override; | 106 bool MayReuseHost(content::RenderProcessHost* process_host) override; |
| 104 bool ShouldTryToUseExistingProcessHost( | 107 bool ShouldTryToUseExistingProcessHost( |
| 105 content::BrowserContext* browser_context, | 108 content::BrowserContext* browser_context, |
| 106 const GURL& url) override; | 109 const GURL& url) override; |
| 107 void SiteInstanceGotProcess(content::SiteInstance* site_instance) override; | 110 void SiteInstanceGotProcess(content::SiteInstance* site_instance) override; |
| 108 void SiteInstanceDeleting(content::SiteInstance* site_instance) override; | 111 void SiteInstanceDeleting(content::SiteInstance* site_instance) override; |
| 109 bool ShouldSwapBrowsingInstancesForNavigation( | 112 bool ShouldSwapBrowsingInstancesForNavigation( |
| 110 content::SiteInstance* site_instance, | 113 content::SiteInstance* site_instance, |
| (...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 // Vector of additional ChromeContentBrowserClientParts. | 358 // Vector of additional ChromeContentBrowserClientParts. |
| 356 // Parts are deleted in the reverse order they are added. | 359 // Parts are deleted in the reverse order they are added. |
| 357 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 360 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 358 | 361 |
| 359 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 362 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 360 | 363 |
| 361 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 364 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 362 }; | 365 }; |
| 363 | 366 |
| 364 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 367 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |