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

Issue 614213004: Refactor app list max folder logic. (Closed)

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

Description

Refactor app list max folder logic. This CL refactors the logic to fit all the folder dropping logic in CalculateFolderDropTarget(). BUG=419642 Committed: https://crrev.com/91d3b69357342a5d47595e81791d6b56aac531b6 Cr-Commit-Position: refs/heads/master@{#300068}

Patch Set 1 : #

Total comments: 10

Patch Set 2 : move tests to mergeable patch #

Patch Set 3 : address comments #

Patch Set 4 : fix tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -29 lines) Patch
M ui/app_list/views/apps_grid_view.h View 1 chunk +0 lines, -4 lines 0 comments Download
M ui/app_list/views/apps_grid_view.cc View 1 2 3 chunks +31 lines, -23 lines 0 comments Download
M ui/app_list/views/apps_grid_view_unittest.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (8 generated)
calamity
This is much nicer.
6 years, 2 months ago (2014-10-02 05:13:29 UTC) #3
Matt Giuca
https://codereview.chromium.org/614213004/diff/20001/ui/app_list/views/apps_grid_view.cc File ui/app_list/views/apps_grid_view.cc (right): https://codereview.chromium.org/614213004/diff/20001/ui/app_list/views/apps_grid_view.cc#newcode1403 ui/app_list/views/apps_grid_view.cc:1403: if (GetLastViewIndex() < nearest_tile_index || I don't understand where ...
6 years, 2 months ago (2014-10-02 06:08:59 UTC) #4
calamity
https://codereview.chromium.org/614213004/diff/20001/ui/app_list/views/apps_grid_view.cc File ui/app_list/views/apps_grid_view.cc (right): https://codereview.chromium.org/614213004/diff/20001/ui/app_list/views/apps_grid_view.cc#newcode1403 ui/app_list/views/apps_grid_view.cc:1403: if (GetLastViewIndex() < nearest_tile_index || On 2014/10/02 06:08:59, Matt ...
6 years, 2 months ago (2014-10-03 03:37:37 UTC) #5
Matt Giuca
lgtm. Please change the CL description removing the reference to tests (since you moved the ...
6 years, 2 months ago (2014-10-09 17:25:18 UTC) #6
calamity
Changed CL description.
6 years, 2 months ago (2014-10-10 20:39:53 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/614213004/60001
6 years, 2 months ago (2014-10-10 20:41:13 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_swarming/builds/22994)
6 years, 2 months ago (2014-10-10 21:40:16 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/614213004/270001
6 years, 2 months ago (2014-10-16 23:56:25 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_swarming/builds/26492)
6 years, 2 months ago (2014-10-17 01:18:47 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/614213004/290001
6 years, 2 months ago (2014-10-17 04:57:44 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:290001)
6 years, 2 months ago (2014-10-17 06:09:01 UTC) #19
commit-bot: I haz the power
6 years, 2 months ago (2014-10-17 06:09:48 UTC) #20
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/91d3b69357342a5d47595e81791d6b56aac531b6
Cr-Commit-Position: refs/heads/master@{#300068}

Powered by Google App Engine
This is Rietveld 408576698