|
Implement ui for re-parenting an item from an app list folder to another position or folder in the top level data model item list.
This cl implement the following features:
1. When an item is dragged inside a folder, an ink bubble will show to indicate whether the item is dragged within the folder(reorder within the folder), or dragged out of the folder.
2. If the item is dragged out of the folder, the folder view UI will transit back to top level apps grid view, the dragged item will be removed from its parent folder and reparented to:
(1). Another position in the top level item list, if user drops it to another position in the top level grid view.
(2). Another folder in the top level item list, if user drops it to another item or folder in the top level grid view.
(3). Go back its original parent folder, if user release the mouse without dropping it to a valid target.
3. Enable drag/drop a item inside a folder to the shelf.
BUG= 308765
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=249665
Total comments: 20
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1116 lines, -190 lines) |
Patch |
|
M |
ui/app_list/app_list.gyp
|
View
|
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/app_list/app_list_folder_item.h
|
View
|
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/app_list/app_list_folder_item.cc
|
View
|
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/app_list/views/app_list_folder_view.h
|
View
|
1
|
5 chunks |
+44 lines, -1 line |
0 comments
|
Download
|
|
M |
ui/app_list/views/app_list_folder_view.cc
|
View
|
|
9 chunks |
+113 lines, -10 lines |
0 comments
|
Download
|
|
M |
ui/app_list/views/app_list_item_view.h
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/app_list/views/app_list_item_view.cc
|
View
|
1
|
2 chunks |
+18 lines, -3 lines |
0 comments
|
Download
|
|
M |
ui/app_list/views/apps_container_view.h
|
View
|
1
|
4 chunks |
+25 lines, -16 lines |
0 comments
|
Download
|
|
M |
ui/app_list/views/apps_container_view.cc
|
View
|
1
|
8 chunks |
+53 lines, -125 lines |
0 comments
|
Download
|
|
M |
ui/app_list/views/apps_grid_view.h
|
View
|
|
6 chunks |
+83 lines, -1 line |
0 comments
|
Download
|
|
M |
ui/app_list/views/apps_grid_view.cc
|
View
|
1
|
15 chunks |
+412 lines, -25 lines |
0 comments
|
Download
|
|
M |
ui/app_list/views/contents_view.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
A |
ui/app_list/views/folder_background_view.h
|
View
|
|
1 chunk |
+54 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/app_list/views/folder_background_view.cc
|
View
|
|
1 chunk |
+94 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/app_list/views/folder_header_view.h
|
View
|
|
3 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
|
M |
ui/app_list/views/folder_header_view.cc
|
View
|
|
3 chunks |
+16 lines, -3 lines |
0 comments
|
Download
|
|
A |
ui/app_list/views/top_icon_animation_view.h
|
View
|
1
|
1 chunk |
+77 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/app_list/views/top_icon_animation_view.cc
|
View
|
1
|
1 chunk |
+82 lines, -0 lines |
0 comments
|
Download
|
Total messages: 11 (0 generated)
|