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 0b75097bf82750b8fc66c25de9405bfb03d7b361..d2ba5c781c2f09a60073cca5ca5396f8698a552c 100644 |
--- a/ui/app_list/views/app_list_main_view.cc |
+++ b/ui/app_list/views/app_list_main_view.cc |
@@ -204,6 +204,13 @@ void AppListMainView::OnItemIconLoaded(IconLoader* loader) { |
} |
} |
+void AppListMainView::ChildVisibilityChanged(views::View* child) { |
+ // Repaint the AppListView's background which will repaint the background for |
+ // the search box. |
+ if (child == search_box_view_ && parent()) |
+ parent()->SchedulePaint(); |
+} |
+ |
void AppListMainView::ActivateApp(AppListItem* item, int event_flags) { |
// TODO(jennyz): Activate the folder via AppListModel notification. |
if (item->GetItemType() == AppListFolderItem::kItemType) |