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 ShouldIsolateFrameForTopDocumentIsolation( |
115 const GURL& url, | 115 content::NavigationHandle* navigation_handle, |
116 content::SiteInstance* parent_site_instance) override; | 116 content::SiteInstance* main_frame_site_instance) override; |
117 bool IsSuitableHost(content::RenderProcessHost* process_host, | 117 bool IsSuitableHost(content::RenderProcessHost* process_host, |
118 const GURL& site_url) override; | 118 const GURL& site_url) override; |
119 bool MayReuseHost(content::RenderProcessHost* process_host) override; | 119 bool MayReuseHost(content::RenderProcessHost* process_host) override; |
120 bool ShouldTryToUseExistingProcessHost( | 120 bool ShouldTryToUseExistingProcessHost( |
121 content::BrowserContext* browser_context, | 121 content::BrowserContext* browser_context, |
122 const GURL& url) override; | 122 const GURL& url) override; |
123 void SiteInstanceGotProcess(content::SiteInstance* site_instance) override; | 123 void SiteInstanceGotProcess(content::SiteInstance* site_instance) override; |
124 void SiteInstanceDeleting(content::SiteInstance* site_instance) override; | 124 void SiteInstanceDeleting(content::SiteInstance* site_instance) override; |
125 bool ShouldSwapBrowsingInstancesForNavigation( | 125 bool ShouldSwapBrowsingInstancesForNavigation( |
126 content::SiteInstance* site_instance, | 126 content::SiteInstance* site_instance, |
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 std::unique_ptr< | 401 std::unique_ptr< |
402 service_manager::BinderRegistryWithParams<content::RenderFrameHost*>> | 402 service_manager::BinderRegistryWithParams<content::RenderFrameHost*>> |
403 frame_interfaces_parameterized_; | 403 frame_interfaces_parameterized_; |
404 | 404 |
405 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 405 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
406 | 406 |
407 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 407 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
408 }; | 408 }; |
409 | 409 |
410 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 410 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |