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 16 matching lines...) Expand all Loading... |
27 virtual ~ChromeContentBrowserClient(); | 27 virtual ~ChromeContentBrowserClient(); |
28 | 28 |
29 static void RegisterUserPrefs(PrefService* prefs); | 29 static void RegisterUserPrefs(PrefService* prefs); |
30 | 30 |
31 virtual content::BrowserMainParts* CreateBrowserMainParts( | 31 virtual content::BrowserMainParts* CreateBrowserMainParts( |
32 const content::MainFunctionParams& parameters) OVERRIDE; | 32 const content::MainFunctionParams& parameters) OVERRIDE; |
33 virtual content::WebContentsView* OverrideCreateWebContentsView( | 33 virtual content::WebContentsView* OverrideCreateWebContentsView( |
34 content::WebContents* web_contents, | 34 content::WebContents* web_contents, |
35 content::RenderViewHostDelegateView** render_view_host_delegate_view) | 35 content::RenderViewHostDelegateView** render_view_host_delegate_view) |
36 OVERRIDE; | 36 OVERRIDE; |
| 37 virtual std::string GetStoragePartitionIdForChildProcess( |
| 38 content::BrowserContext* browser_context, |
| 39 int child_process_id) OVERRIDE; |
37 virtual content::WebContentsViewDelegate* GetWebContentsViewDelegate( | 40 virtual content::WebContentsViewDelegate* GetWebContentsViewDelegate( |
38 content::WebContents* web_contents) OVERRIDE; | 41 content::WebContents* web_contents) OVERRIDE; |
39 virtual void RenderViewHostCreated( | 42 virtual void RenderViewHostCreated( |
40 content::RenderViewHost* render_view_host) OVERRIDE; | 43 content::RenderViewHost* render_view_host) OVERRIDE; |
41 virtual void RenderProcessHostCreated( | 44 virtual void RenderProcessHostCreated( |
42 content::RenderProcessHost* host) OVERRIDE; | 45 content::RenderProcessHost* host) OVERRIDE; |
43 virtual void BrowserChildProcessHostCreated( | 46 virtual void BrowserChildProcessHostCreated( |
44 content::BrowserChildProcessHost* host) OVERRIDE; | 47 content::BrowserChildProcessHost* host) OVERRIDE; |
45 virtual content::WebUIControllerFactory* GetWebUIControllerFactory() OVERRIDE; | 48 virtual content::WebUIControllerFactory* GetWebUIControllerFactory() OVERRIDE; |
46 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, | 49 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 // Cached version of the locale so we can return the locale on the I/O | 213 // Cached version of the locale so we can return the locale on the I/O |
211 // thread. | 214 // thread. |
212 std::string io_thread_application_locale_; | 215 std::string io_thread_application_locale_; |
213 | 216 |
214 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 217 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
215 }; | 218 }; |
216 | 219 |
217 } // namespace chrome | 220 } // namespace chrome |
218 | 221 |
219 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 222 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |