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

Side by Side Diff: ui/app_list/search_result.h

Issue 379333005: Allow AppSearchProvider to provide recommendations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: const Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/app_list/search/search_controller.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_SEARCH_RESULT_H_ 5 #ifndef UI_APP_LIST_SEARCH_RESULT_H_
6 #define UI_APP_LIST_SEARCH_RESULT_H_ 6 #define UI_APP_LIST_SEARCH_RESULT_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 const Tags& title_tags() const { return title_tags_; } 82 const Tags& title_tags() const { return title_tags_; }
83 void set_title_tags(const Tags& tags) { title_tags_ = tags; } 83 void set_title_tags(const Tags& tags) { title_tags_ = tags; }
84 84
85 const base::string16& details() const { return details_; } 85 const base::string16& details() const { return details_; }
86 void set_details(const base::string16& details) { details_ = details; } 86 void set_details(const base::string16& details) { details_ = details; }
87 87
88 const Tags& details_tags() const { return details_tags_; } 88 const Tags& details_tags() const { return details_tags_; }
89 void set_details_tags(const Tags& tags) { details_tags_ = tags; } 89 void set_details_tags(const Tags& tags) { details_tags_ = tags; }
90 90
91 const std::string& id() const { return id_; } 91 const std::string& id() const { return id_; }
92 double relevance() { return relevance_; } 92 double relevance() const { return relevance_; }
93 93
94 const Actions& actions() const { 94 const Actions& actions() const {
95 return actions_; 95 return actions_;
96 } 96 }
97 void SetActions(const Actions& sets); 97 void SetActions(const Actions& sets);
98 98
99 bool is_installing() const { return is_installing_; } 99 bool is_installing() const { return is_installing_; }
100 void SetIsInstalling(bool is_installing); 100 void SetIsInstalling(bool is_installing);
101 101
102 int percent_downloaded() const { return percent_downloaded_; } 102 int percent_downloaded() const { return percent_downloaded_; }
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 int percent_downloaded_; 141 int percent_downloaded_;
142 142
143 ObserverList<SearchResultObserver> observers_; 143 ObserverList<SearchResultObserver> observers_;
144 144
145 DISALLOW_COPY_AND_ASSIGN(SearchResult); 145 DISALLOW_COPY_AND_ASSIGN(SearchResult);
146 }; 146 };
147 147
148 } // namespace app_list 148 } // namespace app_list
149 149
150 #endif // UI_APP_LIST_SEARCH_RESULT_H_ 150 #endif // UI_APP_LIST_SEARCH_RESULT_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/search/search_controller.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698