| 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 a5d94bcfab448daee3417e49e7485033e8264fd0..dae4a498e0f98e42fe4cd99a13541639b6940fd0 100644
|
| --- a/ui/app_list/views/app_list_main_view.cc
|
| +++ b/ui/app_list/views/app_list_main_view.cc
|
| @@ -42,9 +42,6 @@ const int kPadding = 1;
|
| // The maximum allowed time to wait for icon loading in milliseconds.
|
| const int kMaxIconLoadingWaitTimeInMs = 50;
|
|
|
| -// The padding around the search box in the experimental app list.
|
| -const int kSearchBoxViewPadding = 23;
|
| -
|
| // A view that holds another view and takes its preferred size. This is used for
|
| // wrapping the search box view so it still gets laid out while hidden. This is
|
| // a separate class so it can notify the main view on search box visibility
|
| @@ -125,10 +122,10 @@ AppListMainView::AppListMainView(AppListViewDelegate* delegate,
|
| views::View* container = new SearchBoxContainerView(this, search_box_view_);
|
| if (switches::IsExperimentalAppListEnabled()) {
|
| container->SetBorder(
|
| - views::Border::CreateEmptyBorder(kSearchBoxViewPadding,
|
| - kSearchBoxViewPadding,
|
| + views::Border::CreateEmptyBorder(kExperimentalWindowPadding,
|
| + kExperimentalWindowPadding,
|
| 0,
|
| - kSearchBoxViewPadding));
|
| + kExperimentalWindowPadding));
|
| }
|
| AddChildView(container);
|
| AddContentsViews();
|
|
|