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

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

Issue 720663002: Move app list search tiles into SearchResultTileItemListView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 6 years, 1 month 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.gyp ('k') | ui/app_list/views/search_result_list_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/search_result_container_view.cc
diff --git a/ui/app_list/views/search_result_container_view.cc b/ui/app_list/views/search_result_container_view.cc
index f2cd4d8962cbbe52611680e92a4691afcc378685..15223817363fefe8b30674caee8fd86e70b6bffe 100644
--- a/ui/app_list/views/search_result_container_view.cc
+++ b/ui/app_list/views/search_result_container_view.cc
@@ -27,7 +27,7 @@ void SearchResultContainerView::SetResults(
if (results_)
results_->AddObserver(this);
- Update();
+ DoUpdate();
}
void SearchResultContainerView::ScheduleUpdate() {
@@ -60,6 +60,8 @@ void SearchResultContainerView::ListItemsChanged(size_t start, size_t count) {
void SearchResultContainerView::DoUpdate() {
Update();
+ Layout();
+ PreferredSizeChanged();
update_factory_.InvalidateWeakPtrs();
}
« no previous file with comments | « ui/app_list/app_list.gyp ('k') | ui/app_list/views/search_result_list_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698