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

Issue 553753003: Rework app list item drag zones. (Closed)

Created:
6 years, 3 months ago by calamity
Modified:
6 years, 3 months ago
Reviewers:
tapted
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@fasdaj
Project:
chromium
Visibility:
Public.

Description

Rework app list item drag zones. This CL changes the app list item drag zones to use the app icons as folder creation zones and the space between icons as reorder zones. The main difference from the previous implementation is that the space between icons no longer is a drop zone of both adjacent tiles. These new drag zones attempt to allow the user to move apps into the gaps between icons which will then create a space for it by moving other apps out of the way. The non-folder drag has been unified with the folder drag, causing the non-folder drag to lose the ability to drop onto the page switcher. BUG=411775 Committed: https://crrev.com/df474d8b2e9a64b4dad10512fbadee6169ea077e Cr-Commit-Position: refs/heads/master@{#294811}

Patch Set 1 : #

Patch Set 2 : #

Total comments: 52

Patch Set 3 : address comments #

Total comments: 11

Patch Set 4 : address comments #

Patch Set 5 : fix test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+195 lines, -270 lines) Patch
M ui/app_list/views/app_list_main_view_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M ui/app_list/views/apps_grid_view.h View 1 2 3 5 chunks +34 lines, -34 lines 0 comments Download
M ui/app_list/views/apps_grid_view.cc View 1 2 3 19 chunks +110 lines, -219 lines 0 comments Download
M ui/app_list/views/apps_grid_view_unittest.cc View 1 2 1 chunk +50 lines, -16 lines 0 comments Download

Messages

Total messages: 20 (10 generated)
calamity
6 years, 3 months ago (2014-09-10 08:53:22 UTC) #5
tapted
https://codereview.chromium.org/553753003/diff/80001/ui/app_list/views/apps_grid_view.cc File ui/app_list/views/apps_grid_view.cc (left): https://codereview.chromium.org/553753003/diff/80001/ui/app_list/views/apps_grid_view.cc#oldcode2045 ui/app_list/views/apps_grid_view.cc:2045: CanDropIntoTarget(folder_drop_target_); I don't think this belongs here. I'd always ...
6 years, 3 months ago (2014-09-11 08:08:55 UTC) #6
calamity
https://codereview.chromium.org/553753003/diff/80001/ui/app_list/views/apps_grid_view.cc File ui/app_list/views/apps_grid_view.cc (left): https://codereview.chromium.org/553753003/diff/80001/ui/app_list/views/apps_grid_view.cc#oldcode2045 ui/app_list/views/apps_grid_view.cc:2045: CanDropIntoTarget(folder_drop_target_); On 2014/09/11 08:08:54, tapted wrote: > I don't ...
6 years, 3 months ago (2014-09-15 03:26:12 UTC) #10
tapted
lgtm % nits and making-more-member-functions-const https://codereview.chromium.org/553753003/diff/80001/ui/app_list/views/apps_grid_view.cc File ui/app_list/views/apps_grid_view.cc (right): https://codereview.chromium.org/553753003/diff/80001/ui/app_list/views/apps_grid_view.cc#newcode485 ui/app_list/views/apps_grid_view.cc:485: reorder_placeholder_ = GetIndexOfView(drag_view_); On ...
6 years, 3 months ago (2014-09-15 06:12:53 UTC) #11
calamity
https://codereview.chromium.org/553753003/diff/80001/ui/app_list/views/apps_grid_view.cc File ui/app_list/views/apps_grid_view.cc (right): https://codereview.chromium.org/553753003/diff/80001/ui/app_list/views/apps_grid_view.cc#newcode485 ui/app_list/views/apps_grid_view.cc:485: reorder_placeholder_ = GetIndexOfView(drag_view_); On 2014/09/15 06:12:53, tapted wrote: > ...
6 years, 3 months ago (2014-09-15 06:36:16 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/553753003/180001
6 years, 3 months ago (2014-09-15 06:36:44 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_swarming on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_swarming/builds/9431)
6 years, 3 months ago (2014-09-15 07:46:02 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/553753003/200001
6 years, 3 months ago (2014-09-15 12:10:32 UTC) #18
commit-bot: I haz the power
Committed patchset #5 (id:200001) as 4baabb4123ed7eb550a41ace8daf571790069896
6 years, 3 months ago (2014-09-15 13:19:26 UTC) #19
commit-bot: I haz the power
6 years, 3 months ago (2014-09-15 13:22:12 UTC) #20
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/df474d8b2e9a64b4dad10512fbadee6169ea077e
Cr-Commit-Position: refs/heads/master@{#294811}

Powered by Google App Engine
This is Rietveld 408576698