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

Unified Diff: content/shell/shell_content_browser_client.cc

Issue 8596015: Revert 110710 - Add ChromeBrowserMainExtraParts for non main parts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/shell/shell_content_browser_client.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/shell_content_browser_client.cc
diff --git a/content/shell/shell_content_browser_client.cc b/content/shell/shell_content_browser_client.cc
index 394af26a05b12618e5d60b8a1c43b9c359554613..ec25de508038e56d588142335de81627fe14e95e 100644
--- a/content/shell/shell_content_browser_client.cc
+++ b/content/shell/shell_content_browser_client.cc
@@ -28,9 +28,10 @@ ShellContentBrowserClient::ShellContentBrowserClient()
ShellContentBrowserClient::~ShellContentBrowserClient() {
}
-BrowserMainParts* ShellContentBrowserClient::CreateBrowserMainParts(
- const content::MainFunctionParams& parameters) {
- return new ShellBrowserMainParts(parameters);
+void ShellContentBrowserClient::CreateBrowserMainParts(
+ const content::MainFunctionParams& parameters,
+ std::vector<BrowserMainParts*>* parts_list) {
+ parts_list->push_back(new ShellBrowserMainParts(parameters));
}
RenderWidgetHostView* ShellContentBrowserClient::CreateViewForWidget(
« no previous file with comments | « content/shell/shell_content_browser_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698