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

Unified Diff: ui/app_list/search_result.h

Issue 909773002: Fix apps sometimes not showing up in the app list search results. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix_shadow_border
Patch Set: Created 5 years, 10 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/mixer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/search_result.h
diff --git a/ui/app_list/search_result.h b/ui/app_list/search_result.h
index 5efcfd06a898d4a193c8b34f3f6263101ec0e664..90cd6cd2b931557c650acb285c8a778e3fa25caa 100644
--- a/ui/app_list/search_result.h
+++ b/ui/app_list/search_result.h
@@ -99,7 +99,11 @@ class APP_LIST_EXPORT SearchResult {
const std::string& id() const { return id_; }
double relevance() const { return relevance_; }
+
DisplayType display_type() const { return display_type_; }
+ void set_display_type(DisplayType display_type) {
+ display_type_ = display_type;
+ }
const Actions& actions() const {
return actions_;
@@ -143,9 +147,6 @@ class APP_LIST_EXPORT SearchResult {
protected:
void set_id(const std::string& id) { id_ = id; }
void set_relevance(double relevance) { relevance_ = relevance; }
- void set_display_type(DisplayType display_type) {
- display_type_ = display_type;
- }
void set_voice_result(bool voice_result) { voice_result_ = voice_result; }
private:
« no previous file with comments | « ui/app_list/search/mixer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698