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

Unified Diff: ui/app_list/search_result.cc

Issue 2949353002: Revert of Show Play Store rating and price in app list (Closed)
Patch Set: 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
« no previous file with comments | « ui/app_list/search_result.h ('k') | ui/app_list/search_result_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/search_result.cc
diff --git a/ui/app_list/search_result.cc b/ui/app_list/search_result.cc
index 5eece0addc7c2a4c86f6e1913e4fee21db77a7a6..12930dc1e970449095f9d222370854462a6e5da1 100644
--- a/ui/app_list/search_result.cc
+++ b/ui/app_list/search_result.cc
@@ -47,18 +47,6 @@
badge_icon_ = badge_icon;
for (auto& observer : observers_)
observer.OnBadgeIconChanged();
-}
-
-void SearchResult::SetRating(float rating) {
- rating_ = rating;
- for (auto& observer : observers_)
- observer.OnRatingChanged();
-}
-
-void SearchResult::SetFormattedPrice(const base::string16& formatted_price) {
- formatted_price_ = formatted_price;
- for (auto& observer : observers_)
- observer.OnFormattedPriceChanged();
}
void SearchResult::SetIsMouseInView(bool mouse_is_inside) {
« no previous file with comments | « ui/app_list/search_result.h ('k') | ui/app_list/search_result_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698