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

Unified Diff: content/shell/shell_content_browser_client.cc

Issue 8488015: Revert 110327 - Add ChromeBrowserParts 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
===================================================================
--- content/shell/shell_content_browser_client.cc (revision 110349)
+++ content/shell/shell_content_browser_client.cc (working copy)
@@ -28,9 +28,10 @@
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