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

Issue 439703002: Allow app list tiles to show search results in the experimental app list. (Closed)

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

Description

Allow app list tiles to show search results in the experimental app list. This CL makes app results show as tiles in the experimental app list by making TileItemViews take SearchResults instead of AppListItems and by introducing a DisplayType for SearchResults which determines which surface the result will display on. Only 4 tiles appear at any one time. This will be fixed in a future patch. This CL also has the side effect of fixing a focus bug which was happening because StartPageView was listening to the AppListModel. BUG=398801, 349727 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289826

Patch Set 1 : #

Total comments: 18

Patch Set 2 : rebase #

Patch Set 3 : address comments #

Patch Set 4 : address comments #

Patch Set 5 : fix tests #

Patch Set 6 : fix athena #

Total comments: 2

Patch Set 7 : rebase address comments #

Total comments: 6

Patch Set 8 : rebase #

Patch Set 9 : fix merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+204 lines, -89 lines) Patch
M ui/app_list/app_list_model.h View 1 2 3 4 chunks +9 lines, -1 line 0 comments Download
M ui/app_list/app_list_model.cc View 1 2 3 2 chunks +16 lines, -1 line 0 comments Download
M ui/app_list/search_result.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -1 line 0 comments Download
M ui/app_list/search_result_observer.h View 1 2 1 chunk +9 lines, -6 lines 0 comments Download
M ui/app_list/views/app_list_main_view.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -4 lines 0 comments Download
M ui/app_list/views/app_list_view_unittest.cc View 1 2 3 4 5 6 4 chunks +26 lines, -12 lines 0 comments Download
M ui/app_list/views/search_result_list_view.cc View 1 2 3 2 chunks +10 lines, -4 lines 0 comments Download
M ui/app_list/views/start_page_view.h View 1 2 3 4 5 6 4 chunks +29 lines, -12 lines 0 comments Download
M ui/app_list/views/start_page_view.cc View 1 2 3 4 5 6 8 chunks +54 lines, -26 lines 0 comments Download
M ui/app_list/views/tile_item_view.h View 3 chunks +10 lines, -4 lines 0 comments Download
M ui/app_list/views/tile_item_view.cc View 1 4 chunks +35 lines, -18 lines 0 comments Download

Messages

Total messages: 31 (0 generated)
calamity
6 years, 4 months ago (2014-08-05 10:20:42 UTC) #1
Matt Giuca
So it looks like the plan to split this up has at least 3 parts: ...
6 years, 4 months ago (2014-08-06 08:54:53 UTC) #2
calamity
https://codereview.chromium.org/439703002/diff/40001/chrome/browser/ui/app_list/search/app_result.cc File chrome/browser/ui/app_list/search/app_result.cc (right): https://codereview.chromium.org/439703002/diff/40001/chrome/browser/ui/app_list/search/app_result.cc#newcode40 chrome/browser/ui/app_list/search/app_result.cc:40: set_display_type(DISPLAY_TILE); On 2014/08/06 08:54:53, Matt Giuca wrote: > I ...
6 years, 4 months ago (2014-08-12 05:03:37 UTC) #3
Matt Giuca
lgtm
6 years, 4 months ago (2014-08-12 06:46:45 UTC) #4
calamity
+mukai for athena/ Please note that this change breaks the start page view tiles for ...
6 years, 4 months ago (2014-08-13 08:50:46 UTC) #5
Jun Mukai
athena lgtm I'm thinking to stop using tile_item_view because our latest design mock looks completely ...
6 years, 4 months ago (2014-08-13 15:47:23 UTC) #6
calamity
The CQ bit was checked by calamity@chromium.org
6 years, 4 months ago (2014-08-14 00:28:26 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/calamity@chromium.org/439703002/160001
6 years, 4 months ago (2014-08-14 00:32:55 UTC) #8
calamity
The CQ bit was unchecked by calamity@chromium.org
6 years, 4 months ago (2014-08-14 00:47:34 UTC) #9
calamity
The CQ bit was checked by calamity@chromium.org
6 years, 4 months ago (2014-08-14 00:47:35 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/calamity@chromium.org/439703002/140001
6 years, 4 months ago (2014-08-14 00:49:30 UTC) #11
calamity
The CQ bit was unchecked by calamity@chromium.org
6 years, 4 months ago (2014-08-14 01:07:13 UTC) #12
Matt Giuca
https://codereview.chromium.org/439703002/diff/140001/ui/app_list/views/start_page_view.h File ui/app_list/views/start_page_view.h (right): https://codereview.chromium.org/439703002/diff/140001/ui/app_list/views/start_page_view.h#newcode50 ui/app_list/views/start_page_view.h:50: friend class test::AppListViewTestContext; As discussed, instead of friending, add ...
6 years, 4 months ago (2014-08-14 02:54:22 UTC) #13
calamity
https://codereview.chromium.org/439703002/diff/140001/ui/app_list/views/start_page_view.h File ui/app_list/views/start_page_view.h (right): https://codereview.chromium.org/439703002/diff/140001/ui/app_list/views/start_page_view.h#newcode50 ui/app_list/views/start_page_view.h:50: friend class test::AppListViewTestContext; On 2014/08/14 02:54:22, Matt Giuca wrote: ...
6 years, 4 months ago (2014-08-14 04:28:05 UTC) #14
calamity
The CQ bit was checked by calamity@chromium.org
6 years, 4 months ago (2014-08-14 04:28:10 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/calamity@chromium.org/439703002/200001
6 years, 4 months ago (2014-08-14 04:30:26 UTC) #16
Matt Giuca
https://codereview.chromium.org/439703002/diff/200001/ui/app_list/views/app_list_view_unittest.cc File ui/app_list/views/app_list_view_unittest.cc (right): https://codereview.chromium.org/439703002/diff/200001/ui/app_list/views/app_list_view_unittest.cc#newcode324 ui/app_list/views/app_list_view_unittest.cc:324: EXPECT_FALSE(main_view->search_box_view()->visible()); nit: Maybe put this back with expect(0, ...). ...
6 years, 4 months ago (2014-08-14 04:51:56 UTC) #17
calamity
https://codereview.chromium.org/439703002/diff/200001/ui/app_list/views/app_list_view_unittest.cc File ui/app_list/views/app_list_view_unittest.cc (right): https://codereview.chromium.org/439703002/diff/200001/ui/app_list/views/app_list_view_unittest.cc#newcode324 ui/app_list/views/app_list_view_unittest.cc:324: EXPECT_FALSE(main_view->search_box_view()->visible()); On 2014/08/14 04:51:56, Matt Giuca wrote: > nit: ...
6 years, 4 months ago (2014-08-14 05:42:37 UTC) #18
Matt Giuca
slgtm https://codereview.chromium.org/439703002/diff/200001/ui/app_list/views/app_list_view_unittest.cc File ui/app_list/views/app_list_view_unittest.cc (right): https://codereview.chromium.org/439703002/diff/200001/ui/app_list/views/app_list_view_unittest.cc#newcode324 ui/app_list/views/app_list_view_unittest.cc:324: EXPECT_FALSE(main_view->search_box_view()->visible()); On 2014/08/14 05:42:37, calamity wrote: > On ...
6 years, 4 months ago (2014-08-14 05:45:51 UTC) #19
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-14 10:34:06 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-14 11:01:22 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/5915)
6 years, 4 months ago (2014-08-14 11:01:23 UTC) #22
calamity
The CQ bit was checked by calamity@chromium.org
6 years, 4 months ago (2014-08-15 00:49:33 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/calamity@chromium.org/439703002/200001
6 years, 4 months ago (2014-08-15 00:50:52 UTC) #24
Jun Mukai
On 2014/08/15 00:50:52, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
6 years, 4 months ago (2014-08-15 00:56:15 UTC) #25
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_gn_rel on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-15 01:23:17 UTC) #26
calamity
The CQ bit was checked by calamity@chromium.org
6 years, 4 months ago (2014-08-15 01:43:13 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/calamity@chromium.org/439703002/220001
6 years, 4 months ago (2014-08-15 01:48:14 UTC) #28
calamity
The CQ bit was checked by calamity@chromium.org
6 years, 4 months ago (2014-08-15 02:47:10 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/calamity@chromium.org/439703002/240001
6 years, 4 months ago (2014-08-15 02:51:12 UTC) #30
commit-bot: I haz the power
6 years, 4 months ago (2014-08-15 09:20:50 UTC) #31
Message was sent while issue was closed.
Committed patchset #9 (240001) as 289826

Powered by Google App Engine
This is Rietveld 408576698