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

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

Issue 1162943002: Replace more ObserverList with base::ObserverList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@observer
Patch Set: Created 5 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 unified diff | Download patch
« no previous file with comments | « ui/app_list/search_box_model.h ('k') | ui/app_list/speech_ui_model.h » ('j') | 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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 // The Manhattan distance from the origin of all search results to this 188 // The Manhattan distance from the origin of all search results to this
189 // result. This is logged for UMA. 189 // result. This is logged for UMA.
190 int distance_from_origin_; 190 int distance_from_origin_;
191 191
192 Actions actions_; 192 Actions actions_;
193 bool voice_result_; 193 bool voice_result_;
194 194
195 bool is_installing_; 195 bool is_installing_;
196 int percent_downloaded_; 196 int percent_downloaded_;
197 197
198 ObserverList<SearchResultObserver> observers_; 198 base::ObserverList<SearchResultObserver> observers_;
199 199
200 DISALLOW_COPY_AND_ASSIGN(SearchResult); 200 DISALLOW_COPY_AND_ASSIGN(SearchResult);
201 }; 201 };
202 202
203 } // namespace app_list 203 } // namespace app_list
204 204
205 #endif // UI_APP_LIST_SEARCH_RESULT_H_ 205 #endif // UI_APP_LIST_SEARCH_RESULT_H_
OLDNEW
« no previous file with comments | « ui/app_list/search_box_model.h ('k') | ui/app_list/speech_ui_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698