Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef UI_AURA_SHELL_APP_LIST_APP_LIST_MODEL_H_ | |
| 6 #define UI_AURA_SHELL_APP_LIST_APP_LIST_MODEL_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include "base/basictypes.h" | |
| 10 #include "ui/aura_shell/app_list/app_list_item_group_model.h" | |
| 11 #include "ui/aura_shell/aura_shell_export.h" | |
| 12 #include "ui/base/models/list_model.h" | |
| 13 | |
| 14 namespace aura_shell { | |
| 15 | |
| 16 // Model for AppListView. It is consisted of a list of AppListItemGroupModels, | |
| 17 // which in turn owns a list of AppListItemModels. | |
| 18 class AURA_SHELL_EXPORT AppListModel | |
|
sky
2011/12/14 16:51:33
Do you even need a new class for this? Can't this
xiyuan
2011/12/20 00:14:42
Not sure about whether we should use typedef here.
| |
| 19 : public ui::ListModel<AppListItemGroupModel> { | |
| 20 public: | |
| 21 AppListModel(); | |
| 22 virtual ~AppListModel(); | |
| 23 | |
| 24 private: | |
| 25 DISALLOW_COPY_AND_ASSIGN(AppListModel); | |
| 26 }; | |
| 27 | |
| 28 } // namespace aura_shell | |
| 29 | |
| 30 #endif // UI_AURA_SHELL_APP_LIST_APP_LIST_MODEL_H_ | |
| OLD | NEW |