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

Issue 2165483002: Fill the launcher with all found apps. (Closed)

Created:
4 years, 5 months ago by mtomasz
Modified:
4 years, 5 months ago
Reviewers:
calamity, Matt Giuca
CC:
chromium-reviews, tfarina, tapted
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fill the launcher with all found apps. Before, only 4 were shown, even though there was space for more. It could confuse users, that there are no other apps matching the criteria. This CL increases this limit to 8, which fill the available space. TEST=Tested manually on Samus. BUG=629411 Committed: https://crrev.com/e9b526245329d9f5106ddcf9c7791a17b2d0650b Cr-Commit-Position: refs/heads/master@{#407078}

Patch Set 1 #

Patch Set 2 : Fixed. #

Total comments: 6

Patch Set 3 : Reverted history.cc #

Patch Set 4 : Spacing -> padding, changed layout to GridLayout. #

Total comments: 2

Patch Set 5 : Removed consts. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -7 lines) Patch
M chrome/browser/ui/app_list/search/search_controller_factory.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ui/app_list/views/search_result_tile_item_list_view.cc View 1 2 3 4 3 chunks +12 lines, -6 lines 0 comments Download

Messages

Total messages: 40 (23 generated)
mtomasz
@mgiuca: PTAL. Do we need to confirm it with UX? Thanks! https://codereview.chromium.org/2165483002/diff/20001/ui/app_list/search/history.cc File ui/app_list/search/history.cc (right): ...
4 years, 5 months ago (2016-07-19 07:07:56 UTC) #7
Matt Giuca
Yes I think we should confirm with UX. Thanks for looking at this. https://codereview.chromium.org/2165483002/diff/20001/ui/app_list/search/history.cc File ...
4 years, 5 months ago (2016-07-19 07:29:10 UTC) #8
mtomasz
@xiyuan: PTAL at ui/app_list/search/history.cc. Thanks! https://codereview.chromium.org/2165483002/diff/20001/ui/app_list/views/search_result_tile_item_list_view.cc File ui/app_list/views/search_result_tile_item_list_view.cc (right): https://codereview.chromium.org/2165483002/diff/20001/ui/app_list/views/search_result_tile_item_list_view.cc#newcode23 ui/app_list/views/search_result_tile_item_list_view.cc:23: const int kTileSpacing = ...
4 years, 5 months ago (2016-07-19 07:41:22 UTC) #10
xiyuan
https://codereview.chromium.org/2165483002/diff/20001/ui/app_list/search/history.cc File ui/app_list/search/history.cc (right): https://codereview.chromium.org/2165483002/diff/20001/ui/app_list/search/history.cc#newcode31 ui/app_list/search/history.cc:31: const size_t kMaxSecondaryQueries = 8; On 2016/07/19 07:29:10, Matt ...
4 years, 5 months ago (2016-07-19 15:22:56 UTC) #13
mtomasz
https://codereview.chromium.org/2165483002/diff/20001/ui/app_list/search/history.cc File ui/app_list/search/history.cc (right): https://codereview.chromium.org/2165483002/diff/20001/ui/app_list/search/history.cc#newcode31 ui/app_list/search/history.cc:31: const size_t kMaxSecondaryQueries = 8; On 2016/07/19 15:22:55, xiyuan ...
4 years, 5 months ago (2016-07-20 00:46:49 UTC) #14
Matt Giuca
lgtm (after offline discussion with bettes@; he said to go 8 and reduce the margins).
4 years, 5 months ago (2016-07-21 00:45:50 UTC) #15
mtomasz
@mgiuca: PTAL one more time, as the code changed significantly. Thanks!
4 years, 5 months ago (2016-07-21 02:53:07 UTC) #18
Matt Giuca
Hmm, hang on, I'm not quite clear why this is changing from BoxLayout to GridLayout. ...
4 years, 5 months ago (2016-07-21 04:27:39 UTC) #22
mtomasz
On 2016/07/21 04:27:39, Matt Giuca wrote: > Hmm, hang on, I'm not quite clear why ...
4 years, 5 months ago (2016-07-21 04:31:01 UTC) #23
Matt Giuca
https://codereview.chromium.org/2165483002/diff/60001/ui/app_list/views/search_result_tile_item_list_view.cc File ui/app_list/views/search_result_tile_item_list_view.cc (right): https://codereview.chromium.org/2165483002/diff/60001/ui/app_list/views/search_result_tile_item_list_view.cc#newcode33 ui/app_list/views/search_result_tile_item_list_view.cc:33: views::GridLayout* const layout = new views::GridLayout(this); nit: I think ...
4 years, 5 months ago (2016-07-21 04:36:08 UTC) #24
mtomasz
https://codereview.chromium.org/2165483002/diff/60001/ui/app_list/views/search_result_tile_item_list_view.cc File ui/app_list/views/search_result_tile_item_list_view.cc (right): https://codereview.chromium.org/2165483002/diff/60001/ui/app_list/views/search_result_tile_item_list_view.cc#newcode33 ui/app_list/views/search_result_tile_item_list_view.cc:33: views::GridLayout* const layout = new views::GridLayout(this); On 2016/07/21 04:36:08, ...
4 years, 5 months ago (2016-07-21 09:03:14 UTC) #25
mtomasz
@mgiuca: Is it ready to commit? Or, do you want calamity@ to take a look?
4 years, 5 months ago (2016-07-21 09:04:09 UTC) #27
calamity
I see. If BoxLayout supported laying out children that weren't visible, you could just set ...
4 years, 5 months ago (2016-07-22 03:42:31 UTC) #32
Matt Giuca
On 2016/07/22 03:42:31, calamity wrote: > I see. If BoxLayout supported laying out children that ...
4 years, 5 months ago (2016-07-22 05:39:16 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2165483002/80001
4 years, 5 months ago (2016-07-22 06:13:35 UTC) #36
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 5 months ago (2016-07-22 06:17:43 UTC) #38
commit-bot: I haz the power
4 years, 5 months ago (2016-07-22 06:19:32 UTC) #40
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/e9b526245329d9f5106ddcf9c7791a17b2d0650b
Cr-Commit-Position: refs/heads/master@{#407078}

Powered by Google App Engine
This is Rietveld 408576698