| 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 content::RenderViewHost* render_view_host) OVERRIDE; | 57 content::RenderViewHost* render_view_host) OVERRIDE; |
| 58 virtual void GuestWebContentsCreated( | 58 virtual void GuestWebContentsCreated( |
| 59 content::WebContents* guest_web_contents, | 59 content::WebContents* guest_web_contents, |
| 60 content::WebContents* embedder_web_contents) OVERRIDE; | 60 content::WebContents* embedder_web_contents) OVERRIDE; |
| 61 virtual void RenderProcessHostCreated( | 61 virtual void RenderProcessHostCreated( |
| 62 content::RenderProcessHost* host) OVERRIDE; | 62 content::RenderProcessHost* host) OVERRIDE; |
| 63 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, | 63 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, |
| 64 const GURL& effective_url) OVERRIDE; | 64 const GURL& effective_url) OVERRIDE; |
| 65 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, | 65 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, |
| 66 const GURL& url) OVERRIDE; | 66 const GURL& url) OVERRIDE; |
| 67 virtual std::vector<std::string> GetAdditionalWebUISchemes() OVERRIDE; |
| 67 virtual net::URLRequestContextGetter* CreateRequestContext( | 68 virtual net::URLRequestContextGetter* CreateRequestContext( |
| 68 content::BrowserContext* browser_context, | 69 content::BrowserContext* browser_context, |
| 69 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> | 70 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; |
| 70 blob_protocol_handler, | |
| 71 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> | |
| 72 file_system_protocol_handler, | |
| 73 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> | |
| 74 developer_protocol_handler, | |
| 75 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> | |
| 76 chrome_protocol_handler, | |
| 77 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> | |
| 78 chrome_devtools_protocol_handler) OVERRIDE; | |
| 79 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( | 71 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( |
| 80 content::BrowserContext* browser_context, | 72 content::BrowserContext* browser_context, |
| 81 const base::FilePath& partition_path, | 73 const base::FilePath& partition_path, |
| 82 bool in_memory, | 74 bool in_memory, |
| 83 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> | 75 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; |
| 84 blob_protocol_handler, | |
| 85 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> | |
| 86 file_system_protocol_handler, | |
| 87 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> | |
| 88 developer_protocol_handler, | |
| 89 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> | |
| 90 chrome_protocol_handler, | |
| 91 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> | |
| 92 chrome_devtools_protocol_handler) OVERRIDE; | |
| 93 virtual bool IsHandledURL(const GURL& url) OVERRIDE; | 76 virtual bool IsHandledURL(const GURL& url) OVERRIDE; |
| 94 virtual bool IsSuitableHost(content::RenderProcessHost* process_host, | 77 virtual bool IsSuitableHost(content::RenderProcessHost* process_host, |
| 95 const GURL& url) OVERRIDE; | 78 const GURL& url) OVERRIDE; |
| 96 virtual bool ShouldTryToUseExistingProcessHost( | 79 virtual bool ShouldTryToUseExistingProcessHost( |
| 97 content::BrowserContext* browser_context, const GURL& url) OVERRIDE; | 80 content::BrowserContext* browser_context, const GURL& url) OVERRIDE; |
| 98 virtual void SiteInstanceGotProcess( | 81 virtual void SiteInstanceGotProcess( |
| 99 content::SiteInstance* site_instance) OVERRIDE; | 82 content::SiteInstance* site_instance) OVERRIDE; |
| 100 virtual void SiteInstanceDeleting(content::SiteInstance* site_instance) | 83 virtual void SiteInstanceDeleting(content::SiteInstance* site_instance) |
| 101 OVERRIDE; | 84 OVERRIDE; |
| 102 virtual bool ShouldSwapProcessesForNavigation( | 85 virtual bool ShouldSwapProcessesForNavigation( |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 // Cached version of the locale so we can return the locale on the I/O | 248 // Cached version of the locale so we can return the locale on the I/O |
| 266 // thread. | 249 // thread. |
| 267 std::string io_thread_application_locale_; | 250 std::string io_thread_application_locale_; |
| 268 | 251 |
| 269 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 252 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 270 }; | 253 }; |
| 271 | 254 |
| 272 } // namespace chrome | 255 } // namespace chrome |
| 273 | 256 |
| 274 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 257 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |