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

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

Issue 186483004: Add a skeleton Start Page to the experimental app list. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ares_change_experimental_animation
Patch Set: Created 6 years, 9 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/apps_grid_view.cc
diff --git a/ui/app_list/views/apps_grid_view.cc b/ui/app_list/views/apps_grid_view.cc
index 4016d5fdf965b1ad2dd85260b8ab7c9cf8fdd005..0cbdffca5fe2b015111f25d55a016e98b95ea4cf 100644
--- a/ui/app_list/views/apps_grid_view.cc
+++ b/ui/app_list/views/apps_grid_view.cc
@@ -328,7 +328,7 @@ AppsGridView::AppsGridView(AppsGridViewDelegate* delegate,
pagination_model_->AddObserver(this);
AddChildView(page_switcher_view_);
- if (start_page_contents) {
+ if (start_page_contents && app_list::switches::IsStartPageWebUIEnabled()) {
tapted 2014/03/10 02:41:54 With StartPageService::GetSearchPageContents(..) t
calamity 2014/03/14 07:50:02 Holding off on this in case we can just remove the
start_page_view_ =
new views::WebView(start_page_contents->GetBrowserContext());
start_page_view_->SetWebContents(start_page_contents);

Powered by Google App Engine
This is Rietveld 408576698