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

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

Issue 2929273002: Add the Play Store app search to the launcher. (Closed)
Patch Set: Implement methods in FakeAppInstance. 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
Index: ui/app_list/views/search_result_tile_item_view.cc
diff --git a/ui/app_list/views/search_result_tile_item_view.cc b/ui/app_list/views/search_result_tile_item_view.cc
index b5705e4856b720630acbc62b088890f6114d0283..5819f3a33a8744423a0e21c51adb9435445bd0e3 100644
--- a/ui/app_list/views/search_result_tile_item_view.cc
+++ b/ui/app_list/views/search_result_tile_item_view.cc
@@ -156,10 +156,12 @@ bool SearchResultTileItemView::OnKeyPressed(const ui::KeyEvent& event) {
void SearchResultTileItemView::OnIconChanged() {
SetIcon(item_->icon());
+ Layout();
}
void SearchResultTileItemView::OnBadgeIconChanged() {
SetBadgeIcon(item_->badge_icon());
+ Layout();
}
void SearchResultTileItemView::OnRatingChanged() {
« components/arc/test/fake_app_instance.cc ('K') | « ui/app_list/vector_icons/ic_badge_play.1x.icon ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698