Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(534)

Issue 136303008: Implement ui for re-parenting an item from an app list folder to another position or folder in the … (Closed)

Created:
6 years, 10 months ago by jennyz
Modified:
6 years, 10 months ago
Reviewers:
xiyuan
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, tfarina
Visibility:
Public.

Description

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

Patch Set 1 #

Total comments: 20

Patch Set 2 : Address review comments. #

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

Messages

Total messages: 11 (0 generated)
jennyz
6 years, 10 months ago (2014-02-06 21:09:34 UTC) #1
xiyuan
https://codereview.chromium.org/136303008/diff/1/ui/app_list/views/app_list_folder_view.h File ui/app_list/views/app_list_folder_view.h (right): https://codereview.chromium.org/136303008/diff/1/ui/app_list/views/app_list_folder_view.h#newcode9 ui/app_list/views/app_list_folder_view.h:9: #include "ui/app_list/views/apps_grid_view.h" nit: This can go in cc file. ...
6 years, 10 months ago (2014-02-06 22:45:12 UTC) #2
jennyz
https://codereview.chromium.org/136303008/diff/1/ui/app_list/views/app_list_folder_view.h File ui/app_list/views/app_list_folder_view.h (right): https://codereview.chromium.org/136303008/diff/1/ui/app_list/views/app_list_folder_view.h#newcode9 ui/app_list/views/app_list_folder_view.h:9: #include "ui/app_list/views/apps_grid_view.h" On 2014/02/06 22:45:12, xiyuan wrote: > nit: ...
6 years, 10 months ago (2014-02-07 00:03:10 UTC) #3
xiyuan
lgtm https://codereview.chromium.org/136303008/diff/1/ui/app_list/views/app_list_folder_view.h File ui/app_list/views/app_list_folder_view.h (right): https://codereview.chromium.org/136303008/diff/1/ui/app_list/views/app_list_folder_view.h#newcode9 ui/app_list/views/app_list_folder_view.h:9: #include "ui/app_list/views/apps_grid_view.h" On 2014/02/07 00:03:10, jennyz wrote: > ...
6 years, 10 months ago (2014-02-07 00:32:19 UTC) #4
jennyz
The CQ bit was checked by jennyz@chromium.org
6 years, 10 months ago (2014-02-07 05:26:37 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jennyz@chromium.org/136303008/110001
6 years, 10 months ago (2014-02-07 05:27:14 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-07 06:54:56 UTC) #7
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) ash_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=259620
6 years, 10 months ago (2014-02-07 06:54:57 UTC) #8
jennyz
The CQ bit was checked by jennyz@chromium.org
6 years, 10 months ago (2014-02-07 07:09:23 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jennyz@chromium.org/136303008/110001
6 years, 10 months ago (2014-02-07 07:09:31 UTC) #10
commit-bot: I haz the power
6 years, 10 months ago (2014-02-07 09:46:51 UTC) #11
Message was sent while issue was closed.
Change committed as 249665

Powered by Google App Engine
This is Rietveld 408576698