| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "athena/test/test_app_model_builder.h" | 5 #include "athena/test/base/test_app_model_builder.h" |
| 6 | 6 |
| 7 #include "ui/app_list/app_list_item.h" | 7 #include "ui/app_list/app_list_item.h" |
| 8 #include "ui/app_list/app_list_model.h" | 8 #include "ui/app_list/app_list_model.h" |
| 9 | 9 |
| 10 namespace athena { | 10 namespace athena { |
| 11 | 11 |
| 12 namespace { | 12 namespace { |
| 13 | 13 |
| 14 const int kIconSize = 64; | 14 const int kIconSize = 64; |
| 15 | 15 |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 } | 97 } |
| 98 | 98 |
| 99 void TestAppModelBuilder::PopulateApps(app_list::AppListModel* model) { | 99 void TestAppModelBuilder::PopulateApps(app_list::AppListModel* model) { |
| 100 for (int i = 0; i < static_cast<int>(DummyItem::LAST_TYPE); ++i) { | 100 for (int i = 0; i < static_cast<int>(DummyItem::LAST_TYPE); ++i) { |
| 101 model->AddItem(scoped_ptr<app_list::AppListItem>( | 101 model->AddItem(scoped_ptr<app_list::AppListItem>( |
| 102 new DummyItem(static_cast<DummyItem::Type>(i)))); | 102 new DummyItem(static_cast<DummyItem::Type>(i)))); |
| 103 } | 103 } |
| 104 } | 104 } |
| 105 | 105 |
| 106 } // namespace athena | 106 } // namespace athena |
| OLD | NEW |