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

Issue 458983004: Move app list search result icon sizes to app_list_constants. (Closed)

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

Description

Move app list search result icon sizes to app_list_constants. This CL is a pure refactor of app list search result icon sizes which were previously constants scattered about the codebase. This CL puts the icon size as a static function in SearchResult so that there is only one place the size needs to be changed. BUG=391348 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289517

Patch Set 1 : #

Total comments: 8

Patch Set 2 : address comments #

Total comments: 10

Patch Set 3 : address comments #

Patch Set 4 : fix compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -44 lines) Patch
M chrome/browser/ui/app_list/search/app_result.cc View 1 2 1 chunk +7 lines, -8 lines 0 comments Download
M chrome/browser/ui/app_list/search/people/people_result.cc View 1 2 2 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/ui/app_list/search/webstore/webstore_result.cc View 1 2 3 chunks +13 lines, -15 lines 0 comments Download
M ui/app_list/app_list_constants.h View 1 chunk +3 lines, -0 lines 0 comments Download
M ui/app_list/app_list_constants.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/app_list/search_result.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M ui/app_list/search_result.cc View 1 2 3 2 chunks +12 lines, -0 lines 0 comments Download
M ui/app_list/views/search_result_view.cc View 1 2 4 chunks +13 lines, -11 lines 0 comments Download
M ui/app_list/views/tile_item_view.cc View 2 chunks +1 line, -2 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
calamity
6 years, 4 months ago (2014-08-12 02:59:10 UTC) #1
Matt Giuca
Very good cleanup. Small discussion and some nits. https://codereview.chromium.org/458983004/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/458983004/diff/40001/chrome/browser/ui/app_list/search/app_result.cc#newcode54 chrome/browser/ui/app_list/search/app_result.cc:54: GetPreferredIconSize(), ...
6 years, 4 months ago (2014-08-12 06:43:24 UTC) #2
calamity
https://codereview.chromium.org/458983004/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/458983004/diff/40001/chrome/browser/ui/app_list/search/app_result.cc#newcode54 chrome/browser/ui/app_list/search/app_result.cc:54: GetPreferredIconSize(), On 2014/08/12 06:43:24, Matt Giuca wrote: > So ...
6 years, 4 months ago (2014-08-13 06:03:17 UTC) #3
Matt Giuca
lgtm https://codereview.chromium.org/458983004/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/458983004/diff/40001/chrome/browser/ui/app_list/search/app_result.cc#newcode54 chrome/browser/ui/app_list/search/app_result.cc:54: GetPreferredIconSize(), On 2014/08/13 06:03:17, calamity wrote: > On ...
6 years, 4 months ago (2014-08-13 06:15:25 UTC) #4
calamity
The CQ bit was checked by calamity@chromium.org
6 years, 4 months ago (2014-08-13 07:06:13 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/calamity@chromium.org/458983004/80001
6 years, 4 months ago (2014-08-13 07:08:02 UTC) #6
tapted
https://codereview.chromium.org/458983004/diff/80001/chrome/browser/ui/app_list/search/webstore/webstore_result.cc File chrome/browser/ui/app_list/search/webstore/webstore_result.cc (right): https://codereview.chromium.org/458983004/diff/80001/chrome/browser/ui/app_list/search/webstore/webstore_result.cc#newcode42 chrome/browser/ui/app_list/search/webstore/webstore_result.cc:42: explicit BadgedIconSource(const gfx::ImageSkia& icon, nit: explicit not needed https://codereview.chromium.org/458983004/diff/80001/ui/app_list/search_result.h ...
6 years, 4 months ago (2014-08-13 08:09:06 UTC) #7
tapted
The CQ bit was unchecked by tapted@chromium.org
6 years, 4 months ago (2014-08-13 08:09:13 UTC) #8
tapted
(a couple more nits) https://codereview.chromium.org/458983004/diff/80001/ui/app_list/search_result.cc File ui/app_list/search_result.cc (right): https://codereview.chromium.org/458983004/diff/80001/ui/app_list/search_result.cc#newcode77 ui/app_list/search_result.cc:77: default: nit: you don't need ...
6 years, 4 months ago (2014-08-13 08:15:22 UTC) #9
calamity
All done, thanks Trent! https://codereview.chromium.org/458983004/diff/80001/chrome/browser/ui/app_list/search/webstore/webstore_result.cc File chrome/browser/ui/app_list/search/webstore/webstore_result.cc (right): https://codereview.chromium.org/458983004/diff/80001/chrome/browser/ui/app_list/search/webstore/webstore_result.cc#newcode42 chrome/browser/ui/app_list/search/webstore/webstore_result.cc:42: explicit BadgedIconSource(const gfx::ImageSkia& icon, On ...
6 years, 4 months ago (2014-08-13 08:25:09 UTC) #10
calamity
The CQ bit was checked by calamity@chromium.org
6 years, 4 months ago (2014-08-13 08:25:14 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/calamity@chromium.org/458983004/100001
6 years, 4 months ago (2014-08-13 08:29:39 UTC) #12
tapted
lgtm - thanks!
6 years, 4 months ago (2014-08-13 08:31:00 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_gpu on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-08-13 09:44:54 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-13 09:51:06 UTC) #15
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/5442)
6 years, 4 months ago (2014-08-13 09:51:07 UTC) #16
calamity
The CQ bit was checked by calamity@chromium.org
6 years, 4 months ago (2014-08-14 00:50:20 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/calamity@chromium.org/458983004/120001
6 years, 4 months ago (2014-08-14 00:55:22 UTC) #18
commit-bot: I haz the power
6 years, 4 months ago (2014-08-14 11:00:41 UTC) #19
Message was sent while issue was closed.
Committed patchset #4 (120001) as 289517

Powered by Google App Engine
This is Rietveld 408576698