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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 bool can_be_default, | 55 bool can_be_default, |
56 std::string* partition_domain, | 56 std::string* partition_domain, |
57 std::string* partition_name, | 57 std::string* partition_name, |
58 bool* in_memory) OVERRIDE; | 58 bool* in_memory) OVERRIDE; |
59 virtual content::WebContentsViewDelegate* GetWebContentsViewDelegate( | 59 virtual content::WebContentsViewDelegate* GetWebContentsViewDelegate( |
60 content::WebContents* web_contents) OVERRIDE; | 60 content::WebContents* web_contents) OVERRIDE; |
61 virtual void RenderViewHostCreated( | 61 virtual void RenderViewHostCreated( |
62 content::RenderViewHost* render_view_host) OVERRIDE; | 62 content::RenderViewHost* render_view_host) OVERRIDE; |
63 virtual void RenderProcessHostCreated( | 63 virtual void RenderProcessHostCreated( |
64 content::RenderProcessHost* host) OVERRIDE; | 64 content::RenderProcessHost* host) OVERRIDE; |
| 65 virtual content::WebUIControllerFactory* GetWebUIControllerFactory() OVERRIDE; |
65 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, | 66 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, |
66 const GURL& effective_url) OVERRIDE; | 67 const GURL& effective_url) OVERRIDE; |
67 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, | 68 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, |
68 const GURL& url) OVERRIDE; | 69 const GURL& url) OVERRIDE; |
69 virtual bool IsHandledURL(const GURL& url) OVERRIDE; | 70 virtual bool IsHandledURL(const GURL& url) OVERRIDE; |
70 virtual bool IsSuitableHost(content::RenderProcessHost* process_host, | 71 virtual bool IsSuitableHost(content::RenderProcessHost* process_host, |
71 const GURL& url) OVERRIDE; | 72 const GURL& url) OVERRIDE; |
72 virtual bool ShouldTryToUseExistingProcessHost( | 73 virtual bool ShouldTryToUseExistingProcessHost( |
73 content::BrowserContext* browser_context, const GURL& url) OVERRIDE; | 74 content::BrowserContext* browser_context, const GURL& url) OVERRIDE; |
74 virtual void SiteInstanceGotProcess( | 75 virtual void SiteInstanceGotProcess( |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 // Cached version of the locale so we can return the locale on the I/O | 245 // Cached version of the locale so we can return the locale on the I/O |
245 // thread. | 246 // thread. |
246 std::string io_thread_application_locale_; | 247 std::string io_thread_application_locale_; |
247 | 248 |
248 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 249 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
249 }; | 250 }; |
250 | 251 |
251 } // namespace chrome | 252 } // namespace chrome |
252 | 253 |
253 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 254 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |