| 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 #ifndef UI_APP_LIST_VIEWS_APP_LIST_ITEM_VIEW_H_ | 5 #ifndef UI_APP_LIST_VIEWS_APP_LIST_ITEM_VIEW_H_ |
| 6 #define UI_APP_LIST_VIEWS_APP_LIST_ITEM_VIEW_H_ | 6 #define UI_APP_LIST_VIEWS_APP_LIST_ITEM_VIEW_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/strings/string16.h" | 13 #include "base/strings/string16.h" |
| 14 #include "base/timer/timer.h" | 14 #include "base/timer/timer.h" |
| 15 #include "ui/app_list/app_list_export.h" | 15 #include "ui/app_list/app_list_export.h" |
| 16 #include "ui/app_list/app_list_item_observer.h" | 16 #include "ui/app_list/app_list_item_observer.h" |
| 17 #include "ui/app_list/views/image_shadow_animator.h" | 17 #include "ui/app_list/views/image_shadow_animator.h" |
| 18 #include "ui/views/context_menu_controller.h" | 18 #include "ui/views/context_menu_controller.h" |
| 19 #include "ui/views/controls/button/custom_button.h" | 19 #include "ui/views/controls/button/custom_button.h" |
| 20 | 20 |
| 21 class SkBitmap; | |
| 22 | |
| 23 namespace views { | 21 namespace views { |
| 24 class ImageView; | 22 class ImageView; |
| 25 class Label; | 23 class Label; |
| 26 class MenuRunner; | 24 class MenuRunner; |
| 27 class ProgressBar; | 25 class ProgressBar; |
| 28 } | 26 } |
| 29 | 27 |
| 30 namespace app_list { | 28 namespace app_list { |
| 31 | 29 |
| 32 class AppListItem; | 30 class AppListItem; |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 | 167 |
| 170 // A timer to defer showing drag UI when mouse is pressed. | 168 // A timer to defer showing drag UI when mouse is pressed. |
| 171 base::OneShotTimer mouse_drag_timer_; | 169 base::OneShotTimer mouse_drag_timer_; |
| 172 | 170 |
| 173 DISALLOW_COPY_AND_ASSIGN(AppListItemView); | 171 DISALLOW_COPY_AND_ASSIGN(AppListItemView); |
| 174 }; | 172 }; |
| 175 | 173 |
| 176 } // namespace app_list | 174 } // namespace app_list |
| 177 | 175 |
| 178 #endif // UI_APP_LIST_VIEWS_APP_LIST_ITEM_VIEW_H_ | 176 #endif // UI_APP_LIST_VIEWS_APP_LIST_ITEM_VIEW_H_ |
| OLD | NEW |