| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 content::WebContents* web_contents) OVERRIDE; | 59 content::WebContents* web_contents) OVERRIDE; |
| 60 virtual void RenderViewHostCreated( | 60 virtual void RenderViewHostCreated( |
| 61 content::RenderViewHost* render_view_host) OVERRIDE; | 61 content::RenderViewHost* render_view_host) OVERRIDE; |
| 62 virtual void RenderProcessHostCreated( | 62 virtual void RenderProcessHostCreated( |
| 63 content::RenderProcessHost* host) OVERRIDE; | 63 content::RenderProcessHost* host) OVERRIDE; |
| 64 virtual content::WebUIControllerFactory* GetWebUIControllerFactory() OVERRIDE; | 64 virtual content::WebUIControllerFactory* GetWebUIControllerFactory() OVERRIDE; |
| 65 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, | 65 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, |
| 66 const GURL& effective_url) OVERRIDE; | 66 const GURL& effective_url) OVERRIDE; |
| 67 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, | 67 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, |
| 68 const GURL& url) OVERRIDE; | 68 const GURL& url) OVERRIDE; |
| 69 virtual net::URLRequestContextGetter* CreateRequestContext( |
| 70 content::BrowserContext* browser_context, |
| 71 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
| 72 blob_protocol_handler, |
| 73 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
| 74 file_system_protocol_handler, |
| 75 scoped_ptr<net::URLRequestJobFactory::Interceptor> |
| 76 developer_protocol_handler) OVERRIDE; |
| 77 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( |
| 78 content::BrowserContext* browser_context, |
| 79 const FilePath& partition_path, |
| 80 bool in_memory, |
| 81 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
| 82 blob_protocol_handler, |
| 83 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
| 84 file_system_protocol_handler, |
| 85 scoped_ptr<net::URLRequestJobFactory::Interceptor> |
| 86 developer_protocol_handler) OVERRIDE; |
| 69 virtual bool IsHandledURL(const GURL& url) OVERRIDE; | 87 virtual bool IsHandledURL(const GURL& url) OVERRIDE; |
| 70 virtual bool IsSuitableHost(content::RenderProcessHost* process_host, | 88 virtual bool IsSuitableHost(content::RenderProcessHost* process_host, |
| 71 const GURL& url) OVERRIDE; | 89 const GURL& url) OVERRIDE; |
| 72 virtual bool ShouldTryToUseExistingProcessHost( | 90 virtual bool ShouldTryToUseExistingProcessHost( |
| 73 content::BrowserContext* browser_context, const GURL& url) OVERRIDE; | 91 content::BrowserContext* browser_context, const GURL& url) OVERRIDE; |
| 74 virtual void SiteInstanceGotProcess( | 92 virtual void SiteInstanceGotProcess( |
| 75 content::SiteInstance* site_instance) OVERRIDE; | 93 content::SiteInstance* site_instance) OVERRIDE; |
| 76 virtual void SiteInstanceDeleting(content::SiteInstance* site_instance) | 94 virtual void SiteInstanceDeleting(content::SiteInstance* site_instance) |
| 77 OVERRIDE; | 95 OVERRIDE; |
| 78 virtual bool ShouldSwapProcessesForNavigation(const GURL& current_url, | 96 virtual bool ShouldSwapProcessesForNavigation(const GURL& current_url, |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 // Cached version of the locale so we can return the locale on the I/O | 256 // Cached version of the locale so we can return the locale on the I/O |
| 239 // thread. | 257 // thread. |
| 240 std::string io_thread_application_locale_; | 258 std::string io_thread_application_locale_; |
| 241 | 259 |
| 242 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 260 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 243 }; | 261 }; |
| 244 | 262 |
| 245 } // namespace chrome | 263 } // namespace chrome |
| 246 | 264 |
| 247 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 265 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |