Index: ui/app_list/views/app_list_background.cc |
diff --git a/ui/app_list/views/app_list_background.cc b/ui/app_list/views/app_list_background.cc |
index 509d01a5accaf132d140a7c23b3445a3e1f73359..2167aba66221478accb4ad090bbbcc151e50a9bf 100644 |
--- a/ui/app_list/views/app_list_background.cc |
+++ b/ui/app_list/views/app_list_background.cc |
@@ -19,9 +19,6 @@ |
namespace { |
-// Size of top separator between searchbox and grid view. |
-const int kTopSeparatorSize = 1; |
- |
// Size of bottom separator between contents view and contents switcher. |
const int kBottomSeparatorSize = 1; |
@@ -53,26 +50,6 @@ void AppListBackground::Paint(gfx::Canvas* canvas, |
paint.setStyle(SkPaint::kFill_Style); |
int contents_top = bounds.y(); |
- views::View* search_box_view = main_view_->search_box_view(); |
- if (main_view_->visible() && search_box_view->visible() && |
- !app_list::switches::IsExperimentalAppListEnabled()) { |
- const gfx::Rect search_box_view_bounds = |
- search_box_view->ConvertRectToWidget(search_box_view->GetLocalBounds()); |
- gfx::Rect search_box_rect(bounds.x(), |
- bounds.y(), |
- bounds.width(), |
- search_box_view_bounds.bottom() - bounds.y()); |
- |
- paint.setColor(kSearchBoxBackground); |
- canvas->DrawRect(search_box_rect, paint); |
- |
- gfx::Rect separator_rect(search_box_rect); |
- separator_rect.set_y(separator_rect.bottom()); |
- separator_rect.set_height(kTopSeparatorSize); |
- canvas->FillRect(separator_rect, kTopSeparatorColor); |
- contents_top = separator_rect.bottom(); |
- } |
- |
gfx::Rect contents_rect(bounds.x(), |
contents_top, |
bounds.width(), |