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/apps_grid_view.h" | 5 #include "ui/app_list/views/apps_grid_view.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 13 matching lines...) Expand all Loading... |
24 #include "ui/app_list/views/top_icon_animation_view.h" | 24 #include "ui/app_list/views/top_icon_animation_view.h" |
25 #include "ui/compositor/scoped_layer_animation_settings.h" | 25 #include "ui/compositor/scoped_layer_animation_settings.h" |
26 #include "ui/events/event.h" | 26 #include "ui/events/event.h" |
27 #include "ui/gfx/animation/animation.h" | 27 #include "ui/gfx/animation/animation.h" |
28 #include "ui/views/border.h" | 28 #include "ui/views/border.h" |
29 #include "ui/views/controls/webview/webview.h" | 29 #include "ui/views/controls/webview/webview.h" |
30 #include "ui/views/view_model_utils.h" | 30 #include "ui/views/view_model_utils.h" |
31 #include "ui/views/widget/widget.h" | 31 #include "ui/views/widget/widget.h" |
32 | 32 |
33 #if defined(USE_AURA) | 33 #if defined(USE_AURA) |
34 #include "ui/aura/root_window.h" | |
35 #include "ui/aura/window.h" | 34 #include "ui/aura/window.h" |
| 35 #include "ui/aura/window_event_dispatcher.h" |
36 #if defined(OS_WIN) | 36 #if defined(OS_WIN) |
37 #include "ui/views/win/hwnd_util.h" | 37 #include "ui/views/win/hwnd_util.h" |
38 #endif // defined(OS_WIN) | 38 #endif // defined(OS_WIN) |
39 #endif // defined(USE_AURA) | 39 #endif // defined(USE_AURA) |
40 | 40 |
41 #if defined(OS_WIN) | 41 #if defined(OS_WIN) |
42 #include "base/command_line.h" | 42 #include "base/command_line.h" |
43 #include "base/files/file_path.h" | 43 #include "base/files/file_path.h" |
44 #include "base/win/shortcut.h" | 44 #include "base/win/shortcut.h" |
45 #include "ui/base/dragdrop/drag_utils.h" | 45 #include "ui/base/dragdrop/drag_utils.h" |
(...skipping 2003 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2049 void AppsGridView::SetAsFolderDroppingTarget(const Index& target_index, | 2049 void AppsGridView::SetAsFolderDroppingTarget(const Index& target_index, |
2050 bool is_target_folder) { | 2050 bool is_target_folder) { |
2051 AppListItemView* target_view = | 2051 AppListItemView* target_view = |
2052 static_cast<AppListItemView*>( | 2052 static_cast<AppListItemView*>( |
2053 GetViewAtSlotOnCurrentPage(target_index.slot)); | 2053 GetViewAtSlotOnCurrentPage(target_index.slot)); |
2054 if (target_view) | 2054 if (target_view) |
2055 target_view->SetAsAttemptedFolderTarget(is_target_folder); | 2055 target_view->SetAsAttemptedFolderTarget(is_target_folder); |
2056 } | 2056 } |
2057 | 2057 |
2058 } // namespace app_list | 2058 } // namespace app_list |
OLD | NEW |