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

Unified Diff: ui/app_list/views/contents_view.cc

Issue 297643002: Add tiles to the experimental app list start page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mac test Created 6 years, 7 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 | « ui/app_list/views/app_list_view_unittest.cc ('k') | ui/app_list/views/start_page_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/contents_view.cc
diff --git a/ui/app_list/views/contents_view.cc b/ui/app_list/views/contents_view.cc
index fb5b98a48b6ec93813b6e409e2de4774ecc20c0d..c4a79d194e98e3319c07cc6cf3ff46b3eebfd8ca 100644
--- a/ui/app_list/views/contents_view.cc
+++ b/ui/app_list/views/contents_view.cc
@@ -78,10 +78,7 @@ ContentsView::ContentsView(AppListMainView* app_list_main_view,
view_model_->Add(search_results_view, kIndexSearchResults);
if (app_list::switches::IsExperimentalAppListEnabled()) {
- content::WebContents* start_page_contents =
- view_delegate->GetStartPageContents();
- start_page_view_ =
- new StartPageView(app_list_main_view, start_page_contents);
+ start_page_view_ = new StartPageView(app_list_main_view, view_delegate);
AddChildView(start_page_view_);
view_model_->Add(start_page_view_, kIndexStartPage);
}
« no previous file with comments | « ui/app_list/views/app_list_view_unittest.cc ('k') | ui/app_list/views/start_page_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698