| 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_VIEW_H_ | 5 #ifndef ASH_APP_LIST_APP_LIST_ITEM_VIEW_H_ |
| 6 #define ASH_APP_LIST_APP_LIST_ITEM_VIEW_H_ | 6 #define ASH_APP_LIST_APP_LIST_ITEM_VIEW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "ash/app_list/app_list_item_model_observer.h" | 9 #include "ash/app_list/app_list_item_model_observer.h" |
| 10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
| 11 #include "ui/views/view.h" | 11 #include "ui/views/view.h" |
| 12 | 12 |
| 13 class SkBitmap; | 13 class SkBitmap; |
| 14 | 14 |
| 15 namespace views { | 15 namespace views { |
| 16 class ImageView; | 16 class ImageView; |
| 17 class Label; | 17 class Label; |
| 18 } | 18 } |
| 19 | 19 |
| 20 namespace aura_shell { | 20 namespace ash { |
| 21 | 21 |
| 22 class AppListItemModel; | 22 class AppListItemModel; |
| 23 class AppListItemViewListener; | 23 class AppListItemViewListener; |
| 24 | 24 |
| 25 class ASH_EXPORT AppListItemView : public views::View, | 25 class ASH_EXPORT AppListItemView : public views::View, |
| 26 public AppListItemModelObserver { | 26 public AppListItemModelObserver { |
| 27 public: | 27 public: |
| 28 AppListItemView(AppListItemModel* model, | 28 AppListItemView(AppListItemModel* model, |
| 29 AppListItemViewListener* listener); | 29 AppListItemViewListener* listener); |
| 30 virtual ~AppListItemView(); | 30 virtual ~AppListItemView(); |
| (...skipping 29 matching lines...) Expand all Loading... |
| 60 private: | 60 private: |
| 61 AppListItemModel* model_; | 61 AppListItemModel* model_; |
| 62 AppListItemViewListener* listener_; | 62 AppListItemViewListener* listener_; |
| 63 | 63 |
| 64 views::ImageView* icon_; | 64 views::ImageView* icon_; |
| 65 views::Label* title_; | 65 views::Label* title_; |
| 66 | 66 |
| 67 DISALLOW_COPY_AND_ASSIGN(AppListItemView); | 67 DISALLOW_COPY_AND_ASSIGN(AppListItemView); |
| 68 }; | 68 }; |
| 69 | 69 |
| 70 } // namespace aura_shell | 70 } // namespace ash |
| 71 | 71 |
| 72 #endif // ASH_APP_LIST_APP_LIST_ITEM_VIEW_H_ | 72 #endif // ASH_APP_LIST_APP_LIST_ITEM_VIEW_H_ |
| OLD | NEW |