OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_group_view.h" | 5 #include "ash/app_list/app_list_item_group_view.h" |
6 | 6 |
7 #include "ash/app_list/app_list_item_group_model.h" | 7 #include "ash/app_list/app_list_item_group_model.h" |
8 #include "ash/app_list/app_list_item_view.h" | 8 #include "ash/app_list/app_list_item_view.h" |
9 #include "ui/views/layout/grid_layout.h" | 9 #include "ui/views/layout/grid_layout.h" |
10 | 10 |
11 namespace aura_shell { | 11 namespace ash { |
12 | 12 |
13 AppListItemGroupView::AppListItemGroupView(AppListItemGroupModel* model, | 13 AppListItemGroupView::AppListItemGroupView(AppListItemGroupModel* model, |
14 AppListItemViewListener* listener) | 14 AppListItemViewListener* listener) |
15 : model_(model), | 15 : model_(model), |
16 listener_(listener), | 16 listener_(listener), |
17 tiles_per_row_(0), | 17 tiles_per_row_(0), |
18 focused_index_(0) { | 18 focused_index_(0) { |
19 Update(); | 19 Update(); |
20 } | 20 } |
21 | 21 |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 } | 105 } |
106 | 106 |
107 void AppListItemGroupView::ListItemsRemoved(int start, int count) { | 107 void AppListItemGroupView::ListItemsRemoved(int start, int count) { |
108 Update(); | 108 Update(); |
109 } | 109 } |
110 | 110 |
111 void AppListItemGroupView::ListItemsChanged(int start, int count) { | 111 void AppListItemGroupView::ListItemsChanged(int start, int count) { |
112 NOTREACHED(); | 112 NOTREACHED(); |
113 } | 113 } |
114 | 114 |
115 } // namespace aura_shell | 115 } // namespace ash |
OLD | NEW |