| 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 "ui/app_list/app_list_item_model.h" | 5 #include "ui/app_list/app_list_item_model.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "ui/app_list/app_list_item_model_observer.h" | 8 #include "ui/app_list/app_list_item_model_observer.h" |
| 9 | 9 |
| 10 namespace app_list { | 10 namespace app_list { |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 } | 65 } |
| 66 | 66 |
| 67 void AppListItemModel::AddObserver(AppListItemModelObserver* observer) { | 67 void AppListItemModel::AddObserver(AppListItemModelObserver* observer) { |
| 68 observers_.AddObserver(observer); | 68 observers_.AddObserver(observer); |
| 69 } | 69 } |
| 70 | 70 |
| 71 void AppListItemModel::RemoveObserver(AppListItemModelObserver* observer) { | 71 void AppListItemModel::RemoveObserver(AppListItemModelObserver* observer) { |
| 72 observers_.RemoveObserver(observer); | 72 observers_.RemoveObserver(observer); |
| 73 } | 73 } |
| 74 | 74 |
| 75 void AppListItemModel::Activate(int event_flags) { |
| 76 } |
| 77 |
| 75 ui::MenuModel* AppListItemModel::GetContextMenuModel() { | 78 ui::MenuModel* AppListItemModel::GetContextMenuModel() { |
| 76 return NULL; | 79 return NULL; |
| 77 } | 80 } |
| 78 | 81 |
| 79 } // namespace app_list | 82 } // namespace app_list |
| OLD | NEW |