| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 24 matching lines...) Expand all Loading... |
| 35 | 35 |
| 36 virtual void CreateBrowserMainParts( | 36 virtual void CreateBrowserMainParts( |
| 37 const content::MainFunctionParams& parameters, | 37 const content::MainFunctionParams& parameters, |
| 38 std::vector<BrowserMainParts*>* parts_list) OVERRIDE; | 38 std::vector<BrowserMainParts*>* parts_list) OVERRIDE; |
| 39 virtual RenderWidgetHostView* CreateViewForWidget( | 39 virtual RenderWidgetHostView* CreateViewForWidget( |
| 40 RenderWidgetHost* widget) OVERRIDE; | 40 RenderWidgetHost* widget) OVERRIDE; |
| 41 virtual TabContentsView* CreateTabContentsView( | 41 virtual TabContentsView* CreateTabContentsView( |
| 42 TabContents* tab_contents) OVERRIDE; | 42 TabContents* tab_contents) OVERRIDE; |
| 43 virtual void RenderViewHostCreated( | 43 virtual void RenderViewHostCreated( |
| 44 RenderViewHost* render_view_host) OVERRIDE; | 44 RenderViewHost* render_view_host) OVERRIDE; |
| 45 virtual void BrowserRenderProcessHostCreated( | 45 virtual void RenderProcessHostCreated( |
| 46 BrowserRenderProcessHost* host) OVERRIDE; | 46 RenderProcessHost* host) OVERRIDE; |
| 47 virtual void PluginProcessHostCreated(PluginProcessHost* host) OVERRIDE; | 47 virtual void PluginProcessHostCreated(PluginProcessHost* host) OVERRIDE; |
| 48 virtual WebUIFactory* GetWebUIFactory() OVERRIDE; | 48 virtual WebUIFactory* GetWebUIFactory() OVERRIDE; |
| 49 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, | 49 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, |
| 50 const GURL& url) OVERRIDE; | 50 const GURL& url) OVERRIDE; |
| 51 virtual bool ShouldUseProcessPerSite(BrowserContext* browser_context, | 51 virtual bool ShouldUseProcessPerSite(BrowserContext* browser_context, |
| 52 const GURL& effective_url) OVERRIDE; | 52 const GURL& effective_url) OVERRIDE; |
| 53 virtual bool IsURLSameAsAnySiteInstance(const GURL& url) OVERRIDE; | 53 virtual bool IsURLSameAsAnySiteInstance(const GURL& url) OVERRIDE; |
| 54 virtual bool IsSuitableHost(RenderProcessHost* process_host, | 54 virtual bool IsSuitableHost(RenderProcessHost* process_host, |
| 55 const GURL& site_url) OVERRIDE; | 55 const GURL& site_url) OVERRIDE; |
| 56 virtual void SiteInstanceGotProcess(SiteInstance* site_instance) OVERRIDE; | 56 virtual void SiteInstanceGotProcess(SiteInstance* site_instance) OVERRIDE; |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 const ViewHostMsg_CreateWindow_Params& params) OVERRIDE; | 180 const ViewHostMsg_CreateWindow_Params& params) OVERRIDE; |
| 181 #endif | 181 #endif |
| 182 | 182 |
| 183 private: | 183 private: |
| 184 ShellBrowserMainParts* shell_browser_main_parts_; | 184 ShellBrowserMainParts* shell_browser_main_parts_; |
| 185 }; | 185 }; |
| 186 | 186 |
| 187 } // namespace content | 187 } // namespace content |
| 188 | 188 |
| 189 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ | 189 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |