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

Side by Side Diff: ui/app_list/views/search_result_tile_item_view.h

Issue 2961923002: Use EnablePlayStoreAppSearch feature flag. (Closed)
Patch Set: Oshima's comment. Created 3 years, 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_APP_LIST_VIEWS_SEARCH_RESULT_TILE_ITEM_VIEW_H_ 5 #ifndef UI_APP_LIST_VIEWS_SEARCH_RESULT_TILE_ITEM_VIEW_H_
6 #define UI_APP_LIST_VIEWS_SEARCH_RESULT_TILE_ITEM_VIEW_H_ 6 #define UI_APP_LIST_VIEWS_SEARCH_RESULT_TILE_ITEM_VIEW_H_
7 7
8 #include <memory>
9
8 #include "base/macros.h" 10 #include "base/macros.h"
9 #include "ui/app_list/search_result_observer.h" 11 #include "ui/app_list/search_result_observer.h"
10 #include "ui/app_list/views/tile_item_view.h" 12 #include "ui/app_list/views/tile_item_view.h"
11 #include "ui/views/context_menu_controller.h" 13 #include "ui/views/context_menu_controller.h"
12 14
13 namespace views { 15 namespace views {
14 class MenuRunner; 16 class MenuRunner;
15 class Label; 17 class Label;
16 } 18 }
17 19
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 68
67 // Owned by the model provided by the AppListViewDelegate. 69 // Owned by the model provided by the AppListViewDelegate.
68 SearchResult* item_ = nullptr; 70 SearchResult* item_ = nullptr;
69 71
70 views::Label* rating_ = nullptr; // Owned by views hierarchy. 72 views::Label* rating_ = nullptr; // Owned by views hierarchy.
71 views::Label* price_ = nullptr; // Owned by views hierarchy. 73 views::Label* price_ = nullptr; // Owned by views hierarchy.
72 views::ImageView* rating_star_ = nullptr; // Owned by views hierarchy. 74 views::ImageView* rating_star_ = nullptr; // Owned by views hierarchy.
73 75
74 AppListViewDelegate* view_delegate_; 76 AppListViewDelegate* view_delegate_;
75 77
76 const bool is_fullscreen_app_list_enabled_; 78 // Whether the Play Store app search feature is enabled.
79 const bool is_play_store_app_search_enabled_;
77 80
78 std::unique_ptr<views::MenuRunner> context_menu_runner_; 81 std::unique_ptr<views::MenuRunner> context_menu_runner_;
79 82
80 DISALLOW_COPY_AND_ASSIGN(SearchResultTileItemView); 83 DISALLOW_COPY_AND_ASSIGN(SearchResultTileItemView);
81 }; 84 };
82 85
83 } // namespace app_list 86 } // namespace app_list
84 87
85 #endif // UI_APP_LIST_VIEWS_SEARCH_RESULT_TILE_ITEM_VIEW_H_ 88 #endif // UI_APP_LIST_VIEWS_SEARCH_RESULT_TILE_ITEM_VIEW_H_
OLDNEW
« no previous file with comments | « ui/app_list/views/search_result_tile_item_list_view.cc ('k') | ui/app_list/views/search_result_tile_item_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698