| 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 61f27dc21305de74c6a503f21ece5d7e660cf6ec..a479d3e0e8dd7326249ce0fd68d8ecc4dd656c03 100644
|
| --- a/ui/app_list/views/search_result_tile_item_view.cc
|
| +++ b/ui/app_list/views/search_result_tile_item_view.cc
|
| @@ -36,12 +36,13 @@ SearchResultTileItemView::SearchResultTileItemView(
|
| AppListViewDelegate* view_delegate)
|
| : result_container_(result_container),
|
| view_delegate_(view_delegate),
|
| - is_fullscreen_app_list_enabled_(features::IsFullscreenAppListEnabled()) {
|
| + is_play_store_app_search_enabled_(
|
| + features::IsPlayStoreAppSearchEnabled()) {
|
| // When |item_| is null, the tile is invisible. Calling SetSearchResult with a
|
| // non-null item makes the tile visible.
|
| SetVisible(false);
|
|
|
| - if (is_fullscreen_app_list_enabled_) {
|
| + if (is_play_store_app_search_enabled_) {
|
| const gfx::FontList& base_font =
|
| ui::ResourceBundle::GetSharedInstance().GetFontList(
|
| ui::ResourceBundle::BaseFont);
|
| @@ -91,7 +92,7 @@ void SearchResultTileItemView::SetSearchResult(SearchResult* item) {
|
| SetRating(item_->rating());
|
| SetPrice(item_->formatted_price());
|
|
|
| - if (is_fullscreen_app_list_enabled_) {
|
| + if (is_play_store_app_search_enabled_) {
|
| const gfx::FontList& base_font =
|
| ui::ResourceBundle::GetSharedInstance().GetFontList(
|
| ui::ResourceBundle::BaseFont);
|
| @@ -212,7 +213,7 @@ void SearchResultTileItemView::Layout() {
|
| if (rect.IsEmpty())
|
| return;
|
|
|
| - if (!is_fullscreen_app_list_enabled_ || !item_) {
|
| + if (!is_play_store_app_search_enabled_ || !item_) {
|
| TileItemView::Layout();
|
| return;
|
| }
|
| @@ -262,7 +263,7 @@ void SearchResultTileItemView::Layout() {
|
| }
|
|
|
| gfx::Size SearchResultTileItemView::CalculatePreferredSize() const {
|
| - if (is_fullscreen_app_list_enabled_ && item_) {
|
| + if (is_play_store_app_search_enabled_ && item_) {
|
| if (item_->display_type() == SearchResult::DISPLAY_RECOMMENDATION)
|
| return gfx::Size(kGridTileWidth, kGridTileHeight);
|
| if (item_->display_type() == SearchResult::DISPLAY_TILE)
|
|
|