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