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 #include "ui/app_list/views/app_list_item_view.h" | 5 #include "ui/app_list/views/app_list_item_view.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "base/strings/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
10 #include "ui/app_list/app_list_constants.h" | 10 #include "ui/app_list/app_list_constants.h" |
11 #include "ui/app_list/app_list_item_model.h" | 11 #include "ui/app_list/app_list_item_model.h" |
12 #include "ui/app_list/views/apps_grid_view.h" | 12 #include "ui/app_list/views/apps_grid_view.h" |
13 #include "ui/app_list/views/cached_label.h" | 13 #include "ui/app_list/views/cached_label.h" |
14 #include "ui/app_list/views/progress_bar_view.h" | 14 #include "ui/app_list/views/progress_bar_view.h" |
15 #include "ui/base/accessibility/accessible_view_state.h" | 15 #include "ui/base/accessibility/accessible_view_state.h" |
16 #include "ui/base/animation/throb_animation.h" | |
17 #include "ui/base/dragdrop/drag_utils.h" | 16 #include "ui/base/dragdrop/drag_utils.h" |
18 #include "ui/base/resource/resource_bundle.h" | 17 #include "ui/base/resource/resource_bundle.h" |
19 #include "ui/compositor/layer.h" | 18 #include "ui/compositor/layer.h" |
20 #include "ui/compositor/scoped_layer_animation_settings.h" | 19 #include "ui/compositor/scoped_layer_animation_settings.h" |
| 20 #include "ui/gfx/animation/throb_animation.h" |
21 #include "ui/gfx/canvas.h" | 21 #include "ui/gfx/canvas.h" |
22 #include "ui/gfx/font.h" | 22 #include "ui/gfx/font.h" |
23 #include "ui/gfx/image/image_skia_operations.h" | 23 #include "ui/gfx/image/image_skia_operations.h" |
24 #include "ui/gfx/transform_util.h" | 24 #include "ui/gfx/transform_util.h" |
25 #include "ui/views/controls/image_view.h" | 25 #include "ui/views/controls/image_view.h" |
26 #include "ui/views/controls/label.h" | 26 #include "ui/views/controls/label.h" |
27 #include "ui/views/controls/menu/menu_item_view.h" | 27 #include "ui/views/controls/menu/menu_item_view.h" |
28 #include "ui/views/controls/menu/menu_runner.h" | 28 #include "ui/views/controls/menu/menu_runner.h" |
29 #include "ui/views/drag_controller.h" | 29 #include "ui/views/drag_controller.h" |
30 | 30 |
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 SetTouchDragging(false); | 405 SetTouchDragging(false); |
406 break; | 406 break; |
407 default: | 407 default: |
408 break; | 408 break; |
409 } | 409 } |
410 if (!event->handled()) | 410 if (!event->handled()) |
411 CustomButton::OnGestureEvent(event); | 411 CustomButton::OnGestureEvent(event); |
412 } | 412 } |
413 | 413 |
414 } // namespace app_list | 414 } // namespace app_list |
OLD | NEW |