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 void RenderViewHostCreated(RenderViewHost* render_view_host) OVERRIDE; | 16 virtual void RenderViewHostCreated(RenderViewHost* render_view_host) OVERRIDE; |
| 17 virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE; |
17 virtual void BrowserRenderProcessHostCreated( | 18 virtual void BrowserRenderProcessHostCreated( |
18 BrowserRenderProcessHost* host) OVERRIDE; | 19 BrowserRenderProcessHost* host) OVERRIDE; |
19 virtual void PluginProcessHostCreated(PluginProcessHost* host) OVERRIDE; | 20 virtual void PluginProcessHostCreated(PluginProcessHost* host) OVERRIDE; |
20 virtual void WorkerProcessHostCreated(WorkerProcessHost* host) OVERRIDE; | 21 virtual void WorkerProcessHostCreated(WorkerProcessHost* host) OVERRIDE; |
21 virtual content::WebUIFactory* GetWebUIFactory() OVERRIDE; | 22 virtual content::WebUIFactory* GetWebUIFactory() OVERRIDE; |
22 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, | 23 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, |
23 const GURL& effective_url) OVERRIDE; | 24 const GURL& effective_url) OVERRIDE; |
24 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, | 25 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, |
25 const GURL& url) OVERRIDE; | 26 const GURL& url) OVERRIDE; |
26 virtual bool IsURLSameAsAnySiteInstance(const GURL& url) OVERRIDE; | 27 virtual bool IsURLSameAsAnySiteInstance(const GURL& url) OVERRIDE; |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 #if defined(USE_NSS) | 114 #if defined(USE_NSS) |
114 virtual | 115 virtual |
115 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | 116 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
116 const GURL& url) OVERRIDE; | 117 const GURL& url) OVERRIDE; |
117 #endif | 118 #endif |
118 }; | 119 }; |
119 | 120 |
120 } // namespace chrome | 121 } // namespace chrome |
121 | 122 |
122 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 123 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |