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

Unified Diff: content/shell/shell_content_browser_client.cc

Issue 8302016: Make GTK and Aura parts orthogonal to OS parts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 9 years, 2 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 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 a97abf53e817d64533da8e926236697225cf54e0..0176c2b4b213a489287c14a4493e42ba4697f2a6 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 MainFunctionParams& parameters) {
- return new ShellBrowserMainParts(parameters);
+void ShellContentBrowserClient::CreateBrowserMainParts(
+ const 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