| 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 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 "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "content/browser/content_browser_client.h" | 10 #include "content/browser/content_browser_client.h" |
| 11 | 11 |
| 12 namespace chrome { | 12 namespace chrome { |
| 13 | 13 |
| 14 class ChromeContentBrowserClient : public content::ContentBrowserClient { | 14 class ChromeContentBrowserClient : public content::ContentBrowserClient { |
| 15 public: | 15 public: |
| 16 virtual TabContentsView* CreateTabContentsView( |
| 17 TabContents* tab_contents) OVERRIDE; |
| 16 virtual void RenderViewHostCreated(RenderViewHost* render_view_host) OVERRIDE; | 18 virtual void RenderViewHostCreated(RenderViewHost* render_view_host) OVERRIDE; |
| 17 virtual void BrowserRenderProcessHostCreated( | 19 virtual void BrowserRenderProcessHostCreated( |
| 18 BrowserRenderProcessHost* host) OVERRIDE; | 20 BrowserRenderProcessHost* host) OVERRIDE; |
| 19 virtual void PluginProcessHostCreated(PluginProcessHost* host) OVERRIDE; | 21 virtual void PluginProcessHostCreated(PluginProcessHost* host) OVERRIDE; |
| 20 virtual void WorkerProcessHostCreated(WorkerProcessHost* host) OVERRIDE; | 22 virtual void WorkerProcessHostCreated(WorkerProcessHost* host) OVERRIDE; |
| 21 virtual content::WebUIFactory* GetWebUIFactory() OVERRIDE; | 23 virtual content::WebUIFactory* GetWebUIFactory() OVERRIDE; |
| 22 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, | 24 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, |
| 23 const GURL& effective_url) OVERRIDE; | 25 const GURL& effective_url) OVERRIDE; |
| 24 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, | 26 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, |
| 25 const GURL& url) OVERRIDE; | 27 const GURL& url) OVERRIDE; |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 #if defined(USE_NSS) | 119 #if defined(USE_NSS) |
| 118 virtual | 120 virtual |
| 119 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | 121 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
| 120 const GURL& url) OVERRIDE; | 122 const GURL& url) OVERRIDE; |
| 121 #endif | 123 #endif |
| 122 }; | 124 }; |
| 123 | 125 |
| 124 } // namespace chrome | 126 } // namespace chrome |
| 125 | 127 |
| 126 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 128 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |