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

Side by Side Diff: ui/app_list/app_list_item.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/android/window_android.h ('k') | ui/app_list/app_list_item_list.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_APP_LIST_ITEM_H_ 5 #ifndef UI_APP_LIST_APP_LIST_ITEM_H_
6 #define UI_APP_LIST_APP_LIST_ITEM_H_ 6 #define UI_APP_LIST_APP_LIST_ITEM_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 // The full name of an item. Used for display if |short_name_| is empty. 126 // The full name of an item. Used for display if |short_name_| is empty.
127 std::string name_; 127 std::string name_;
128 128
129 // A shortened name for the item, used for display. 129 // A shortened name for the item, used for display.
130 std::string short_name_; 130 std::string short_name_;
131 131
132 bool highlighted_; 132 bool highlighted_;
133 bool is_installing_; 133 bool is_installing_;
134 int percent_downloaded_; 134 int percent_downloaded_;
135 135
136 ObserverList<AppListItemObserver> observers_; 136 base::ObserverList<AppListItemObserver> observers_;
137 137
138 DISALLOW_COPY_AND_ASSIGN(AppListItem); 138 DISALLOW_COPY_AND_ASSIGN(AppListItem);
139 }; 139 };
140 140
141 } // namespace app_list 141 } // namespace app_list
142 142
143 #endif // UI_APP_LIST_APP_LIST_ITEM_H_ 143 #endif // UI_APP_LIST_APP_LIST_ITEM_H_
OLDNEW
« no previous file with comments | « ui/android/window_android.h ('k') | ui/app_list/app_list_item_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698