Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Side by Side Diff: chrome/browser/chrome_content_browser_client.h

Issue 7779040: Start moving code from BrowserMain to content, so that it can be reused by all embedders of conte... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix windows unittest Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 <string> 9 #include <string>
10 10
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "content/browser/content_browser_client.h" 12 #include "content/browser/content_browser_client.h"
13 13
14 namespace chrome { 14 namespace chrome {
15 15
16 class ChromeContentBrowserClient : public content::ContentBrowserClient { 16 class ChromeContentBrowserClient : public content::ContentBrowserClient {
17 public: 17 public:
18 virtual content::BrowserMainParts* CreateBrowserMainParts(
19 const MainFunctionParams& parameters) OVERRIDE;
18 virtual TabContentsView* CreateTabContentsView( 20 virtual TabContentsView* CreateTabContentsView(
19 TabContents* tab_contents) OVERRIDE; 21 TabContents* tab_contents) OVERRIDE;
20 virtual void RenderViewHostCreated(RenderViewHost* render_view_host) OVERRIDE; 22 virtual void RenderViewHostCreated(RenderViewHost* render_view_host) OVERRIDE;
21 virtual void BrowserRenderProcessHostCreated( 23 virtual void BrowserRenderProcessHostCreated(
22 BrowserRenderProcessHost* host) OVERRIDE; 24 BrowserRenderProcessHost* host) OVERRIDE;
23 virtual void PluginProcessHostCreated(PluginProcessHost* host) OVERRIDE; 25 virtual void PluginProcessHostCreated(PluginProcessHost* host) OVERRIDE;
24 virtual void WorkerProcessHostCreated(WorkerProcessHost* host) OVERRIDE; 26 virtual void WorkerProcessHostCreated(WorkerProcessHost* host) OVERRIDE;
25 virtual content::WebUIFactory* GetWebUIFactory() OVERRIDE; 27 virtual content::WebUIFactory* GetWebUIFactory() OVERRIDE;
26 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, 28 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context,
27 const GURL& effective_url) OVERRIDE; 29 const GURL& effective_url) OVERRIDE;
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 #if defined(USE_NSS) 129 #if defined(USE_NSS)
128 virtual 130 virtual
129 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 131 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
130 const GURL& url) OVERRIDE; 132 const GURL& url) OVERRIDE;
131 #endif 133 #endif
132 }; 134 };
133 135
134 } // namespace chrome 136 } // namespace chrome
135 137
136 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 138 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698