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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 GURL GetEffectiveURL(content::BrowserContext* browser_context, | 76 GURL GetEffectiveURL(content::BrowserContext* browser_context, |
77 const GURL& url) override; | 77 const GURL& url) override; |
78 bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, | 78 bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, |
79 const GURL& effective_url) override; | 79 const GURL& effective_url) override; |
80 bool DoesSiteRequireDedicatedProcess(content::BrowserContext* browser_context, | 80 bool DoesSiteRequireDedicatedProcess(content::BrowserContext* browser_context, |
81 const GURL& effective_url) override; | 81 const GURL& effective_url) override; |
82 bool ShouldLockToOrigin(content::BrowserContext* browser_context, | 82 bool ShouldLockToOrigin(content::BrowserContext* browser_context, |
83 const GURL& effective_site_url) override; | 83 const GURL& effective_site_url) override; |
84 void GetAdditionalWebUISchemes( | 84 void GetAdditionalWebUISchemes( |
85 std::vector<std::string>* additional_schemes) override; | 85 std::vector<std::string>* additional_schemes) override; |
86 void GetAdditionalWebUIHostsToIgnoreParititionCheck( | |
87 std::vector<std::string>* hosts) override; | |
88 bool LogWebUIUrl(const GURL& web_ui_url) const override; | 86 bool LogWebUIUrl(const GURL& web_ui_url) const override; |
89 bool IsHandledURL(const GURL& url) override; | 87 bool IsHandledURL(const GURL& url) override; |
90 bool CanCommitURL(content::RenderProcessHost* process_host, | 88 bool CanCommitURL(content::RenderProcessHost* process_host, |
91 const GURL& url) override; | 89 const GURL& url) override; |
92 bool IsIllegalOrigin(content::ResourceContext* resource_context, | 90 bool IsIllegalOrigin(content::ResourceContext* resource_context, |
93 int child_process_id, | 91 int child_process_id, |
94 const GURL& origin) override; | 92 const GURL& origin) override; |
95 bool ShouldAllowOpenURL(content::SiteInstance* site_instance, | 93 bool ShouldAllowOpenURL(content::SiteInstance* site_instance, |
96 const GURL& url) override; | 94 const GURL& url) override; |
97 bool IsSuitableHost(content::RenderProcessHost* process_host, | 95 bool IsSuitableHost(content::RenderProcessHost* process_host, |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 // Vector of additional ChromeContentBrowserClientParts. | 335 // Vector of additional ChromeContentBrowserClientParts. |
338 // Parts are deleted in the reverse order they are added. | 336 // Parts are deleted in the reverse order they are added. |
339 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 337 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
340 | 338 |
341 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 339 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
342 | 340 |
343 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 341 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
344 }; | 342 }; |
345 | 343 |
346 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 344 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |