| 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_item_model.h" | 5 #include "ui/app_list/app_list_item_model.h" |
| 6 | 6 |
| 7 #include "ash/app_list/app_list_item_model_observer.h" | 7 #include "ui/app_list/app_list_item_model_observer.h" |
| 8 | 8 |
| 9 namespace ash { | 9 namespace app_list { |
| 10 | 10 |
| 11 AppListItemModel::AppListItemModel() : highlighted_(false) { | 11 AppListItemModel::AppListItemModel() : highlighted_(false) { |
| 12 } | 12 } |
| 13 | 13 |
| 14 AppListItemModel::~AppListItemModel() { | 14 AppListItemModel::~AppListItemModel() { |
| 15 } | 15 } |
| 16 | 16 |
| 17 void AppListItemModel::SetIcon(const SkBitmap& icon) { | 17 void AppListItemModel::SetIcon(const SkBitmap& icon) { |
| 18 icon_ = icon; | 18 icon_ = icon; |
| 19 FOR_EACH_OBSERVER(AppListItemModelObserver, observers_, | 19 FOR_EACH_OBSERVER(AppListItemModelObserver, observers_, |
| (...skipping 20 matching lines...) Expand all Loading... |
| 40 } | 40 } |
| 41 | 41 |
| 42 void AppListItemModel::RemoveObserver(AppListItemModelObserver* observer) { | 42 void AppListItemModel::RemoveObserver(AppListItemModelObserver* observer) { |
| 43 observers_.RemoveObserver(observer); | 43 observers_.RemoveObserver(observer); |
| 44 } | 44 } |
| 45 | 45 |
| 46 ui::MenuModel* AppListItemModel::GetContextMenuModel() { | 46 ui::MenuModel* AppListItemModel::GetContextMenuModel() { |
| 47 return NULL; | 47 return NULL; |
| 48 } | 48 } |
| 49 | 49 |
| 50 } // namespace ash | 50 } // namespace app_list |
| OLD | NEW |