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

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

Issue 2933673002: Preparing to making answer-card independent of fullscreen. (Closed)
Patch Set: Created 3 years, 6 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/app_list_features.cc ('k') | ui/app_list/views/search_result_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/app_list_main_view.cc
diff --git a/ui/app_list/views/app_list_main_view.cc b/ui/app_list/views/app_list_main_view.cc
index eb060ac02d6ac406d0a7d27946cc83afed4bbf42..0b53720eae1b01a9f09636d984cc14093857b8f7 100644
--- a/ui/app_list/views/app_list_main_view.cc
+++ b/ui/app_list/views/app_list_main_view.cc
@@ -51,11 +51,8 @@ AppListMainView::AppListMainView(AppListViewDelegate* delegate,
search_box_view_(nullptr),
contents_view_(nullptr),
app_list_view_(app_list_view) {
- SetLayoutManager(
- features::IsAnswerCardEnabled()
- ? static_cast<views::LayoutManager*>(new views::FillLayout)
- : static_cast<views::LayoutManager*>(new views::BoxLayout(
- views::BoxLayout::kVertical, gfx::Insets(), 0)));
+ SetLayoutManager(static_cast<views::LayoutManager*>(
xiyuan 2017/06/12 16:16:13 Is static_cast still necessary?
vadimt 2017/06/12 18:13:11 Done.
+ new views::BoxLayout(views::BoxLayout::kVertical, gfx::Insets(), 0)));
model_->AddObserver(this);
}
« no previous file with comments | « ui/app_list/app_list_features.cc ('k') | ui/app_list/views/search_result_page_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698