| Index: ui/app_list/search_result.cc
|
| diff --git a/ui/app_list/search_result.cc b/ui/app_list/search_result.cc
|
| index 12930dc1e970449095f9d222370854462a6e5da1..bd0719d87af16349e2f237162fa2fe5b13c779fd 100644
|
| --- a/ui/app_list/search_result.cc
|
| +++ b/ui/app_list/search_result.cc
|
| @@ -49,6 +49,18 @@ void SearchResult::SetBadgeIcon(const gfx::ImageSkia& badge_icon) {
|
| observer.OnBadgeIconChanged();
|
| }
|
|
|
| +void SearchResult::SetRating(float rating) {
|
| + rating_ = rating;
|
| + for (auto& observer : observers_)
|
| + observer.OnRatingChanged();
|
| +}
|
| +
|
| +void SearchResult::SetPrice(const base::string16& price) {
|
| + price_ = price;
|
| + for (auto& observer : observers_)
|
| + observer.OnPriceChanged();
|
| +}
|
| +
|
| void SearchResult::SetIsMouseInView(bool mouse_is_inside) {
|
| mouse_is_in_view_ = mouse_is_inside;
|
| for (auto& observer : observers_)
|
|
|