| 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 #ifndef ASH_APP_LIST_APP_LIST_ITEM_GROUP_VIEW_H_ | 5 #ifndef ASH_APP_LIST_APP_LIST_ITEM_GROUP_VIEW_H_ |
| 6 #define ASH_APP_LIST_APP_LIST_ITEM_GROUP_VIEW_H_ | 6 #define ASH_APP_LIST_APP_LIST_ITEM_GROUP_VIEW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "ash/ash_export.h" | 9 #include "ash/ash_export.h" |
| 10 #include "ui/base/models/list_model_observer.h" | 10 #include "ui/base/models/list_model_observer.h" |
| 11 #include "ui/views/view.h" | 11 #include "ui/views/view.h" |
| 12 | 12 |
| 13 namespace aura_shell { | 13 namespace ash { |
| 14 | 14 |
| 15 class AppListItemGroupModel; | 15 class AppListItemGroupModel; |
| 16 class AppListItemViewListener; | 16 class AppListItemViewListener; |
| 17 | 17 |
| 18 // AppListItemGroupView displays its children tiles in a grid. | 18 // AppListItemGroupView displays its children tiles in a grid. |
| 19 class ASH_EXPORT AppListItemGroupView | 19 class ASH_EXPORT AppListItemGroupView |
| 20 : public views::View, | 20 : public views::View, |
| 21 public ui::ListModelObserver { | 21 public ui::ListModelObserver { |
| 22 public: | 22 public: |
| 23 AppListItemGroupView(AppListItemGroupModel* model, | 23 AppListItemGroupView(AppListItemGroupModel* model, |
| (...skipping 29 matching lines...) Expand all Loading... |
| 53 | 53 |
| 54 // Tiles per row. | 54 // Tiles per row. |
| 55 int tiles_per_row_; | 55 int tiles_per_row_; |
| 56 | 56 |
| 57 // Index of focused tile view. | 57 // Index of focused tile view. |
| 58 int focused_index_; | 58 int focused_index_; |
| 59 | 59 |
| 60 DISALLOW_COPY_AND_ASSIGN(AppListItemGroupView); | 60 DISALLOW_COPY_AND_ASSIGN(AppListItemGroupView); |
| 61 }; | 61 }; |
| 62 | 62 |
| 63 } // namespace aura_shell | 63 } // namespace ash |
| 64 | 64 |
| 65 #endif // ASH_APP_LIST_APP_LIST_ITEM_GROUP_VIEW_H_ | 65 #endif // ASH_APP_LIST_APP_LIST_ITEM_GROUP_VIEW_H_ |
| OLD | NEW |