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

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: address comments, add model observer and tests 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
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 d52178022f60c74406c3b7839164771cbd32757d..c0a1e4bd32deaf138cfcd8c3a23f79e0d9b0299e 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);
}

Powered by Google App Engine
This is Rietveld 408576698