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 GuestWebContentsCreated( | 62 virtual void GuestWebContentsCreated( |
63 content::WebContents* guest_web_contents, | 63 content::WebContents* guest_web_contents, |
64 content::WebContents* embedder_web_contents) OVERRIDE; | 64 content::WebContents* embedder_web_contents) OVERRIDE; |
65 virtual void RenderProcessHostCreated( | 65 virtual void RenderProcessHostCreated( |
66 content::RenderProcessHost* host) OVERRIDE; | 66 content::RenderProcessHost* host) OVERRIDE; |
67 virtual void RenderProcessHostDeleted( | 67 virtual void RenderProcessHostDeleted( |
68 content::RenderProcessHost* host) OVERRIDE; | 68 content::RenderProcessHost* host) OVERRIDE; |
69 virtual content::WebUIControllerFactory* GetWebUIControllerFactory() OVERRIDE; | |
70 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, | 69 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, |
71 const GURL& effective_url) OVERRIDE; | 70 const GURL& effective_url) OVERRIDE; |
72 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, | 71 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, |
73 const GURL& url) OVERRIDE; | 72 const GURL& url) OVERRIDE; |
74 virtual bool IsHandledURL(const GURL& url) OVERRIDE; | 73 virtual bool IsHandledURL(const GURL& url) OVERRIDE; |
75 virtual bool IsSuitableHost(content::RenderProcessHost* process_host, | 74 virtual bool IsSuitableHost(content::RenderProcessHost* process_host, |
76 const GURL& url) OVERRIDE; | 75 const GURL& url) OVERRIDE; |
77 virtual bool ShouldTryToUseExistingProcessHost( | 76 virtual bool ShouldTryToUseExistingProcessHost( |
78 content::BrowserContext* browser_context, const GURL& url) OVERRIDE; | 77 content::BrowserContext* browser_context, const GURL& url) OVERRIDE; |
79 virtual void SiteInstanceGotProcess( | 78 virtual void SiteInstanceGotProcess( |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 // Cached version of the locale so we can return the locale on the I/O | 241 // Cached version of the locale so we can return the locale on the I/O |
243 // thread. | 242 // thread. |
244 std::string io_thread_application_locale_; | 243 std::string io_thread_application_locale_; |
245 | 244 |
246 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 245 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
247 }; | 246 }; |
248 | 247 |
249 } // namespace chrome | 248 } // namespace chrome |
250 | 249 |
251 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 250 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |