| 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 <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 content::WebContents* embedder_web_contents, | 70 content::WebContents* embedder_web_contents, |
| 71 const base::DictionaryValue& extra_params) OVERRIDE; | 71 const base::DictionaryValue& extra_params) OVERRIDE; |
| 72 virtual void RenderProcessWillLaunch( | 72 virtual void RenderProcessWillLaunch( |
| 73 content::RenderProcessHost* host) OVERRIDE; | 73 content::RenderProcessHost* host) OVERRIDE; |
| 74 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, | 74 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, |
| 75 const GURL& effective_url) OVERRIDE; | 75 const GURL& effective_url) OVERRIDE; |
| 76 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, | 76 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, |
| 77 const GURL& url) OVERRIDE; | 77 const GURL& url) OVERRIDE; |
| 78 virtual void GetAdditionalWebUISchemes( | 78 virtual void GetAdditionalWebUISchemes( |
| 79 std::vector<std::string>* additional_schemes) OVERRIDE; | 79 std::vector<std::string>* additional_schemes) OVERRIDE; |
| 80 virtual void GetAdditionalSchemesForViewSource( |
| 81 std::vector<std::string>* additional_schemes) OVERRIDE; |
| 80 virtual net::URLRequestContextGetter* CreateRequestContext( | 82 virtual net::URLRequestContextGetter* CreateRequestContext( |
| 81 content::BrowserContext* browser_context, | 83 content::BrowserContext* browser_context, |
| 82 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; | 84 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; |
| 83 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( | 85 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( |
| 84 content::BrowserContext* browser_context, | 86 content::BrowserContext* browser_context, |
| 85 const base::FilePath& partition_path, | 87 const base::FilePath& partition_path, |
| 86 bool in_memory, | 88 bool in_memory, |
| 87 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; | 89 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; |
| 88 virtual bool IsHandledURL(const GURL& url) OVERRIDE; | 90 virtual bool IsHandledURL(const GURL& url) OVERRIDE; |
| 89 virtual bool CanCommitURL(content::RenderProcessHost* process_host, | 91 virtual bool CanCommitURL(content::RenderProcessHost* process_host, |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 #endif | 280 #endif |
| 279 scoped_ptr<extensions::BrowserPermissionsPolicyDelegate> | 281 scoped_ptr<extensions::BrowserPermissionsPolicyDelegate> |
| 280 permissions_policy_delegate_; | 282 permissions_policy_delegate_; |
| 281 | 283 |
| 282 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 284 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 283 }; | 285 }; |
| 284 | 286 |
| 285 } // namespace chrome | 287 } // namespace chrome |
| 286 | 288 |
| 287 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 289 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |