| 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 bool LogWebUIUrl(const GURL& web_ui_url) const override; | 104 bool LogWebUIUrl(const GURL& web_ui_url) const override; |
| 105 bool IsHandledURL(const GURL& url) override; | 105 bool IsHandledURL(const GURL& url) override; |
| 106 bool CanCommitURL(content::RenderProcessHost* process_host, | 106 bool CanCommitURL(content::RenderProcessHost* process_host, |
| 107 const GURL& url) override; | 107 const GURL& url) override; |
| 108 bool ShouldAllowOpenURL(content::SiteInstance* site_instance, | 108 bool ShouldAllowOpenURL(content::SiteInstance* site_instance, |
| 109 const GURL& url) override; | 109 const GURL& url) override; |
| 110 void OverrideNavigationParams(content::SiteInstance* site_instance, | 110 void OverrideNavigationParams(content::SiteInstance* site_instance, |
| 111 ui::PageTransition* transition, | 111 ui::PageTransition* transition, |
| 112 bool* is_renderer_initiated, | 112 bool* is_renderer_initiated, |
| 113 content::Referrer* referrer) override; | 113 content::Referrer* referrer) override; |
| 114 bool ShouldFrameShareParentSiteInstanceDespiteTopDocumentIsolation( | 114 bool ShouldIsolateFrameFromMainContent( |
| 115 const GURL& url, | 115 content::RenderFrameHost* frame, |
| 116 content::SiteInstance* parent_site_instance) override; | 116 const GURL& dest_url, |
| 117 content::SiteInstance* main_frame_site_instance) override; |
| 117 bool IsSuitableHost(content::RenderProcessHost* process_host, | 118 bool IsSuitableHost(content::RenderProcessHost* process_host, |
| 118 const GURL& site_url) override; | 119 const GURL& site_url) override; |
| 119 bool MayReuseHost(content::RenderProcessHost* process_host) override; | 120 bool MayReuseHost(content::RenderProcessHost* process_host) override; |
| 120 bool ShouldTryToUseExistingProcessHost( | 121 bool ShouldTryToUseExistingProcessHost( |
| 121 content::BrowserContext* browser_context, | 122 content::BrowserContext* browser_context, |
| 122 const GURL& url) override; | 123 const GURL& url) override; |
| 123 void SiteInstanceGotProcess(content::SiteInstance* site_instance) override; | 124 void SiteInstanceGotProcess(content::SiteInstance* site_instance) override; |
| 124 void SiteInstanceDeleting(content::SiteInstance* site_instance) override; | 125 void SiteInstanceDeleting(content::SiteInstance* site_instance) override; |
| 125 bool ShouldSwapBrowsingInstancesForNavigation( | 126 bool ShouldSwapBrowsingInstancesForNavigation( |
| 126 content::SiteInstance* site_instance, | 127 content::SiteInstance* site_instance, |
| (...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 396 std::unique_ptr< | 397 std::unique_ptr< |
| 397 service_manager::BinderRegistryWithParams<content::RenderFrameHost*>> | 398 service_manager::BinderRegistryWithParams<content::RenderFrameHost*>> |
| 398 frame_interfaces_parameterized_; | 399 frame_interfaces_parameterized_; |
| 399 | 400 |
| 400 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 401 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 401 | 402 |
| 402 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 403 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 403 }; | 404 }; |
| 404 | 405 |
| 405 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 406 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |