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

Issue 369693004: Make app list search result mixer more resilient to reordering. (Closed)

Created:
6 years, 5 months ago by calamity
Modified:
6 years, 5 months ago
Reviewers:
Matt Giuca
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, tfarina
Project:
chromium
Visibility:
Public.

Description

Make app list search result mixer more resilient to reordering. To add more result display types to the app list search results, we plan to have a large pool of results which will be filtered by display type. As a displayed result may retain its display index but have a different model index, it is necessary to handle reordering of the items in an in-place way to avoid icon flickering. The current implementation only avoids flickering when the result is in the same model index which is unsuitable for our purposes. BUG=349727 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282299

Patch Set 1 : #

Total comments: 17

Patch Set 2 : rework algorithm, rebase onto https://codereview.chromium.org/372843003/ #

Total comments: 6

Patch Set 3 : address comments, rebase on top of final version of https://codereview.chromium.org/372843003/ #

Patch Set 4 : fix compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -21 lines) Patch
M chrome/browser/ui/app_list/search/mixer.h View 1 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/app_list/search/mixer.cc View 1 2 3 3 chunks +54 lines, -18 lines 0 comments Download
M chrome/browser/ui/app_list/search/mixer_unittest.cc View 1 2 2 chunks +25 lines, -0 lines 0 comments Download
M ui/app_list/views/search_result_list_view.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
calamity
6 years, 5 months ago (2014-07-03 08:01:45 UTC) #1
Matt Giuca
Nice work! I only have a very large handful of comments. https://codereview.chromium.org/369693004/diff/60001/chrome/browser/ui/app_list/search/mixer.cc File chrome/browser/ui/app_list/search/mixer.cc (right): ...
6 years, 5 months ago (2014-07-04 08:21:22 UTC) #2
calamity
https://codereview.chromium.org/369693004/diff/60001/chrome/browser/ui/app_list/search/mixer.cc File chrome/browser/ui/app_list/search/mixer.cc (right): https://codereview.chromium.org/369693004/diff/60001/chrome/browser/ui/app_list/search/mixer.cc#newcode69 chrome/browser/ui/app_list/search/mixer.cc:69: // Publishes the given |new_results| to |ui_results|. Reuse existing ...
6 years, 5 months ago (2014-07-08 09:47:21 UTC) #3
calamity
The CQ bit was checked by calamity@chromium.org
6 years, 5 months ago (2014-07-08 09:47:29 UTC) #4
calamity
The CQ bit was unchecked by calamity@chromium.org
6 years, 5 months ago (2014-07-08 09:47:31 UTC) #5
Matt Giuca
https://codereview.chromium.org/369693004/diff/100001/chrome/browser/ui/app_list/search/mixer.cc File chrome/browser/ui/app_list/search/mixer.cc (right): https://codereview.chromium.org/369693004/diff/100001/chrome/browser/ui/app_list/search/mixer.cc#newcode182 chrome/browser/ui/app_list/search/mixer.cc:182: // The following algorithm is used: nit: Move this ...
6 years, 5 months ago (2014-07-09 01:30:55 UTC) #6
calamity
Rebase got mashed into the patchset =( Only 2 small chunks so hopefully it doesn't ...
6 years, 5 months ago (2014-07-09 03:03:49 UTC) #7
Matt Giuca
lgtm
6 years, 5 months ago (2014-07-09 03:15:53 UTC) #8
calamity
The CQ bit was checked by calamity@chromium.org
6 years, 5 months ago (2014-07-09 08:04:57 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/calamity@chromium.org/369693004/160001
6 years, 5 months ago (2014-07-09 08:06:27 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-09 09:59:34 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-09 10:05:18 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/mac_chromium_rel/builds/47120)
6 years, 5 months ago (2014-07-09 10:05:19 UTC) #13
calamity
The CQ bit was checked by calamity@chromium.org
6 years, 5 months ago (2014-07-10 04:53:33 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/calamity@chromium.org/369693004/200001
6 years, 5 months ago (2014-07-10 04:55:07 UTC) #15
commit-bot: I haz the power
6 years, 5 months ago (2014-07-10 10:56:30 UTC) #16
Message was sent while issue was closed.
Change committed as 282299

Powered by Google App Engine
This is Rietveld 408576698