| 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 std::vector<std::string>* additional_schemes) override; | 85 std::vector<std::string>* additional_schemes) override; |
| 86 bool LogWebUIUrl(const GURL& web_ui_url) const override; | 86 bool LogWebUIUrl(const GURL& web_ui_url) const override; |
| 87 bool IsHandledURL(const GURL& url) override; | 87 bool IsHandledURL(const GURL& url) override; |
| 88 bool CanCommitURL(content::RenderProcessHost* process_host, | 88 bool CanCommitURL(content::RenderProcessHost* process_host, |
| 89 const GURL& url) override; | 89 const GURL& url) override; |
| 90 bool IsIllegalOrigin(content::ResourceContext* resource_context, | 90 bool IsIllegalOrigin(content::ResourceContext* resource_context, |
| 91 int child_process_id, | 91 int child_process_id, |
| 92 const GURL& origin) override; | 92 const GURL& origin) override; |
| 93 bool ShouldAllowOpenURL(content::SiteInstance* site_instance, | 93 bool ShouldAllowOpenURL(content::SiteInstance* site_instance, |
| 94 const GURL& url) override; | 94 const GURL& url) override; |
| 95 void OverrideOpenURLParams(content::SiteInstance* site_instance, |
| 96 content::OpenURLParams* params) override; |
| 95 bool IsSuitableHost(content::RenderProcessHost* process_host, | 97 bool IsSuitableHost(content::RenderProcessHost* process_host, |
| 96 const GURL& site_url) override; | 98 const GURL& site_url) override; |
| 97 bool MayReuseHost(content::RenderProcessHost* process_host) override; | 99 bool MayReuseHost(content::RenderProcessHost* process_host) override; |
| 98 bool ShouldTryToUseExistingProcessHost( | 100 bool ShouldTryToUseExistingProcessHost( |
| 99 content::BrowserContext* browser_context, | 101 content::BrowserContext* browser_context, |
| 100 const GURL& url) override; | 102 const GURL& url) override; |
| 101 void SiteInstanceGotProcess(content::SiteInstance* site_instance) override; | 103 void SiteInstanceGotProcess(content::SiteInstance* site_instance) override; |
| 102 void SiteInstanceDeleting(content::SiteInstance* site_instance) override; | 104 void SiteInstanceDeleting(content::SiteInstance* site_instance) override; |
| 103 bool ShouldSwapBrowsingInstancesForNavigation( | 105 bool ShouldSwapBrowsingInstancesForNavigation( |
| 104 content::SiteInstance* site_instance, | 106 content::SiteInstance* site_instance, |
| (...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 345 // Vector of additional ChromeContentBrowserClientParts. | 347 // Vector of additional ChromeContentBrowserClientParts. |
| 346 // Parts are deleted in the reverse order they are added. | 348 // Parts are deleted in the reverse order they are added. |
| 347 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 349 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 348 | 350 |
| 349 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 351 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 350 | 352 |
| 351 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 353 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 352 }; | 354 }; |
| 353 | 355 |
| 354 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 356 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |