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
3 // found in the LICENSE file.
5 #include "ash/app_list/app_list_model.h"
9 AppListModel::AppListModel() {
12 AppListModel::~AppListModel() {
15 void AppListModel::AddItem(AppListItemModel
* item
) {
19 AppListItemModel
* AppListModel::GetItem(int index
) {
20 return items_
.item_at(index
);
23 void AppListModel::AddObserver(ui::ListModelObserver
* observer
) {
24 items_
.AddObserver(observer
);
27 void AppListModel::RemoveObserver(ui::ListModelObserver
* observer
) {
28 items_
.RemoveObserver(observer
);