| 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 #include "ash/app_list/app_list_model.h" | 5 #include "ui/app_list/app_list_model.h" |
| 6 | 6 |
| 7 namespace ash { | 7 namespace app_list { |
| 8 | 8 |
| 9 AppListModel::AppListModel() { | 9 AppListModel::AppListModel() { |
| 10 } | 10 } |
| 11 | 11 |
| 12 AppListModel::~AppListModel() { | 12 AppListModel::~AppListModel() { |
| 13 } | 13 } |
| 14 | 14 |
| 15 void AppListModel::AddItem(AppListItemModel* item) { | 15 void AppListModel::AddItem(AppListItemModel* item) { |
| 16 items_.Add(item); | 16 items_.Add(item); |
| 17 } | 17 } |
| (...skipping 11 matching lines...) Expand all Loading... |
| 29 } | 29 } |
| 30 | 30 |
| 31 void AppListModel::AddObserver(ui::ListModelObserver* observer) { | 31 void AppListModel::AddObserver(ui::ListModelObserver* observer) { |
| 32 items_.AddObserver(observer); | 32 items_.AddObserver(observer); |
| 33 } | 33 } |
| 34 | 34 |
| 35 void AppListModel::RemoveObserver(ui::ListModelObserver* observer) { | 35 void AppListModel::RemoveObserver(ui::ListModelObserver* observer) { |
| 36 items_.RemoveObserver(observer); | 36 items_.RemoveObserver(observer); |
| 37 } | 37 } |
| 38 | 38 |
| 39 } // namespace ash | 39 } // namespace app_list |
| OLD | NEW |