OLD | NEW |
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_APP_LIST_MODEL_H_ | 5 #ifndef UI_APP_LIST_APP_LIST_MODEL_H_ |
6 #define UI_APP_LIST_APP_LIST_MODEL_H_ | 6 #define UI_APP_LIST_APP_LIST_MODEL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 // must do so. | 162 // must do so. |
163 scoped_ptr<AppListItem> RemoveItemFromFolder(AppListFolderItem* folder, | 163 scoped_ptr<AppListItem> RemoveItemFromFolder(AppListFolderItem* folder, |
164 AppListItem* item); | 164 AppListItem* item); |
165 | 165 |
166 scoped_ptr<AppListItemList> top_level_item_list_; | 166 scoped_ptr<AppListItemList> top_level_item_list_; |
167 | 167 |
168 scoped_ptr<SearchBoxModel> search_box_; | 168 scoped_ptr<SearchBoxModel> search_box_; |
169 scoped_ptr<SearchResults> results_; | 169 scoped_ptr<SearchResults> results_; |
170 | 170 |
171 Status status_; | 171 Status status_; |
172 ObserverList<AppListModelObserver> observers_; | 172 ObserverList<AppListModelObserver, true> observers_; |
173 bool folders_enabled_; | 173 bool folders_enabled_; |
174 | 174 |
175 DISALLOW_COPY_AND_ASSIGN(AppListModel); | 175 DISALLOW_COPY_AND_ASSIGN(AppListModel); |
176 }; | 176 }; |
177 | 177 |
178 } // namespace app_list | 178 } // namespace app_list |
179 | 179 |
180 #endif // UI_APP_LIST_APP_LIST_MODEL_H_ | 180 #endif // UI_APP_LIST_APP_LIST_MODEL_H_ |
OLD | NEW |