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

Issue 557673002: Split app list drop target into reorder and folder drop targets. (Closed)

Created:
6 years, 3 months ago by calamity
Modified:
6 years, 3 months ago
Reviewers:
Matt Giuca
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

Split app list drop target into reorder and folder drop targets. This CL splits the common drop_target_ member of AppsGridView into reorder_drop_target_ and folder_drop_target_. This more clearly shows the purpose which a drop target is being used for. This also slightly changes the behavior when dropping an app into a full folder as the latest reorder drop target will be used for reordering instead of the common drop target which would have pointed at the folder. BUG=411775 Committed: https://crrev.com/cc0485133fd3ec2ecb462c8bd1a4a1d5cd34faac Cr-Commit-Position: refs/heads/master@{#294777}

Patch Set 1 : #

Total comments: 8

Patch Set 2 : address comments #

Total comments: 6

Patch Set 3 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -69 lines) Patch
M ui/app_list/views/apps_grid_view.h View 1 2 3 chunks +16 lines, -9 lines 0 comments Download
M ui/app_list/views/apps_grid_view.cc View 1 2 21 chunks +54 lines, -56 lines 0 comments Download
M ui/app_list/views/apps_grid_view_unittest.cc View 1 chunk +1 line, -4 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
calamity
6 years, 3 months ago (2014-09-10 06:16:21 UTC) #5
Matt Giuca
Seems legit. https://codereview.chromium.org/557673002/diff/60001/ui/app_list/views/apps_grid_view.cc File ui/app_list/views/apps_grid_view.cc (right): https://codereview.chromium.org/557673002/diff/60001/ui/app_list/views/apps_grid_view.cc#newcode1190 ui/app_list/views/apps_grid_view.cc:1190: if (reorder_drop_target_ == view_index && Can you ...
6 years, 3 months ago (2014-09-11 03:35:40 UTC) #6
calamity
https://codereview.chromium.org/557673002/diff/60001/ui/app_list/views/apps_grid_view.cc File ui/app_list/views/apps_grid_view.cc (right): https://codereview.chromium.org/557673002/diff/60001/ui/app_list/views/apps_grid_view.cc#newcode1190 ui/app_list/views/apps_grid_view.cc:1190: if (reorder_drop_target_ == view_index && On 2014/09/11 03:35:39, Matt ...
6 years, 3 months ago (2014-09-11 07:05:17 UTC) #8
Matt Giuca
https://codereview.chromium.org/557673002/diff/100001/ui/app_list/views/apps_grid_view.cc File ui/app_list/views/apps_grid_view.cc (right): https://codereview.chromium.org/557673002/diff/100001/ui/app_list/views/apps_grid_view.cc#newcode1393 ui/app_list/views/apps_grid_view.cc:1393: bool use_page_button_hovering) { Shouldn't this set drop_attempt_ to DROP_FOR_FOLDER ...
6 years, 3 months ago (2014-09-12 01:13:28 UTC) #9
calamity
https://codereview.chromium.org/557673002/diff/100001/ui/app_list/views/apps_grid_view.cc File ui/app_list/views/apps_grid_view.cc (right): https://codereview.chromium.org/557673002/diff/100001/ui/app_list/views/apps_grid_view.cc#newcode1393 ui/app_list/views/apps_grid_view.cc:1393: bool use_page_button_hovering) { On 2014/09/12 01:13:28, Matt Giuca wrote: ...
6 years, 3 months ago (2014-09-12 08:26:06 UTC) #10
Matt Giuca
lgtm
6 years, 3 months ago (2014-09-12 09:15:46 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/557673002/120001
6 years, 3 months ago (2014-09-15 01:19:29 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:120001) as 93346fcf6f9c82a94a997589658df9372090dc51
6 years, 3 months ago (2014-09-15 02:15:49 UTC) #14
commit-bot: I haz the power
6 years, 3 months ago (2014-09-15 02:17:56 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/cc0485133fd3ec2ecb462c8bd1a4a1d5cd34faac
Cr-Commit-Position: refs/heads/master@{#294777}

Powered by Google App Engine
This is Rietveld 408576698