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

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

Issue 8539038: Add ChromeBrowserMainExtraParts for non main parts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase again + explicit reset of parts_ Created 9 years, 1 month 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/public/browser/content_browser_client.h" 12 #include "content/public/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 void CreateBrowserMainParts( 18 virtual content::BrowserMainParts* CreateBrowserMainParts(
19 const content::MainFunctionParams& parameters, 19 const content::MainFunctionParams& parameters) OVERRIDE;
20 std::vector<content::BrowserMainParts*>* parts_list) OVERRIDE;
21 virtual RenderWidgetHostView* CreateViewForWidget( 20 virtual RenderWidgetHostView* CreateViewForWidget(
22 RenderWidgetHost* widget) OVERRIDE; 21 RenderWidgetHost* widget) OVERRIDE;
23 virtual TabContentsView* CreateTabContentsView( 22 virtual TabContentsView* CreateTabContentsView(
24 TabContents* tab_contents) OVERRIDE; 23 TabContents* tab_contents) OVERRIDE;
25 virtual void RenderViewHostCreated(RenderViewHost* render_view_host) OVERRIDE; 24 virtual void RenderViewHostCreated(RenderViewHost* render_view_host) OVERRIDE;
26 virtual void BrowserRenderProcessHostCreated( 25 virtual void BrowserRenderProcessHostCreated(
27 BrowserRenderProcessHost* host) OVERRIDE; 26 BrowserRenderProcessHost* host) OVERRIDE;
28 virtual void PluginProcessHostCreated(PluginProcessHost* host) OVERRIDE; 27 virtual void PluginProcessHostCreated(PluginProcessHost* host) OVERRIDE;
29 virtual content::WebUIFactory* GetWebUIFactory() OVERRIDE; 28 virtual content::WebUIFactory* GetWebUIFactory() OVERRIDE;
30 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, 29 virtual bool ShouldUseProcessPerSite(content::BrowserContext* browser_context,
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 #if defined(USE_NSS) 146 #if defined(USE_NSS)
148 virtual 147 virtual
149 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 148 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
150 const GURL& url) OVERRIDE; 149 const GURL& url) OVERRIDE;
151 #endif 150 #endif
152 }; 151 };
153 152
154 } // namespace chrome 153 } // namespace chrome
155 154
156 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 155 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/chrome_browser_parts_views.cc ('k') | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698