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 CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ |
6 #define CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ | 6 #define CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 15 matching lines...) Expand all Loading... |
26 } | 26 } |
27 | 27 |
28 virtual BrowserMainParts* CreateBrowserMainParts( | 28 virtual BrowserMainParts* CreateBrowserMainParts( |
29 const content::MainFunctionParams& parameters) OVERRIDE; | 29 const content::MainFunctionParams& parameters) OVERRIDE; |
30 virtual WebContentsView* CreateWebContentsView( | 30 virtual WebContentsView* CreateWebContentsView( |
31 WebContents* web_contents) OVERRIDE; | 31 WebContents* web_contents) OVERRIDE; |
32 virtual void RenderViewHostCreated( | 32 virtual void RenderViewHostCreated( |
33 RenderViewHost* render_view_host) OVERRIDE; | 33 RenderViewHost* render_view_host) OVERRIDE; |
34 virtual void RenderProcessHostCreated( | 34 virtual void RenderProcessHostCreated( |
35 RenderProcessHost* host) OVERRIDE; | 35 RenderProcessHost* host) OVERRIDE; |
36 virtual WebUIFactory* GetWebUIFactory() OVERRIDE; | 36 virtual WebUIControllerFactory* GetWebUIControllerFactory() OVERRIDE; |
37 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, | 37 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, |
38 const GURL& url) OVERRIDE; | 38 const GURL& url) OVERRIDE; |
39 virtual bool ShouldUseProcessPerSite(BrowserContext* browser_context, | 39 virtual bool ShouldUseProcessPerSite(BrowserContext* browser_context, |
40 const GURL& effective_url) OVERRIDE; | 40 const GURL& effective_url) OVERRIDE; |
41 virtual bool IsURLSameAsAnySiteInstance(const GURL& url) OVERRIDE; | 41 virtual bool IsURLSameAsAnySiteInstance(const GURL& url) OVERRIDE; |
42 virtual bool IsHandledURL(const GURL& url) OVERRIDE; | 42 virtual bool IsHandledURL(const GURL& url) OVERRIDE; |
43 virtual bool IsSuitableHost(RenderProcessHost* process_host, | 43 virtual bool IsSuitableHost(RenderProcessHost* process_host, |
44 const GURL& site_url) OVERRIDE; | 44 const GURL& site_url) OVERRIDE; |
45 virtual void SiteInstanceGotProcess(SiteInstance* site_instance) OVERRIDE; | 45 virtual void SiteInstanceGotProcess(SiteInstance* site_instance) OVERRIDE; |
46 virtual void SiteInstanceDeleting(SiteInstance* site_instance) OVERRIDE; | 46 virtual void SiteInstanceDeleting(SiteInstance* site_instance) OVERRIDE; |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 const GURL& url) OVERRIDE; | 161 const GURL& url) OVERRIDE; |
162 #endif | 162 #endif |
163 | 163 |
164 private: | 164 private: |
165 ShellBrowserMainParts* shell_browser_main_parts_; | 165 ShellBrowserMainParts* shell_browser_main_parts_; |
166 }; | 166 }; |
167 | 167 |
168 } // namespace content | 168 } // namespace content |
169 | 169 |
170 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ | 170 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |