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

Issue 2938563002: Vertically centered app list page switcher (Closed)

Created:
3 years, 6 months ago by weidongg
Modified:
3 years, 6 months ago
Reviewers:
xiyuan, newcomer
CC:
chromium-reviews, tfarina, Matt Giuca
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Vertically centered app list page switcher Change the app list page switcher from horizontally center to vertically center. All changes are behind a flag. This is one part of moving to full screen app list. BUG=732067 TEST="Add --enable-features=EnableFullscreenAppList to see the changes" Review-Url: https://codereview.chromium.org/2938563002 Cr-Commit-Position: refs/heads/master@{#479206} Committed: https://chromium.googlesource.com/chromium/src/+/e081605169d6f3c605d52050a3a13522a473daf6

Patch Set 1 #

Total comments: 16

Patch Set 2 : Clean up code #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -455 lines) Patch
M ui/app_list/BUILD.gn View 1 chunk +4 lines, -1 line 0 comments Download
M ui/app_list/views/apps_grid_view.cc View 1 5 chunks +35 lines, -12 lines 3 comments Download
M ui/app_list/views/page_switcher.h View 1 chunk +3 lines, -34 lines 0 comments Download
D ui/app_list/views/page_switcher.cc View 1 chunk +0 lines, -281 lines 0 comments Download
A + ui/app_list/views/page_switcher_horizontal.h View 1 3 chunks +14 lines, -19 lines 0 comments Download
A + ui/app_list/views/page_switcher_horizontal.cc View 1 12 chunks +27 lines, -31 lines 0 comments Download
A + ui/app_list/views/page_switcher_vertical.h View 1 3 chunks +15 lines, -20 lines 0 comments Download
A + ui/app_list/views/page_switcher_vertical.cc View 1 13 chunks +54 lines, -57 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
weidongg
xiyuan@, please review the changes.
3 years, 6 months ago (2017-06-13 00:41:59 UTC) #2
xiyuan
https://codereview.chromium.org/2938563002/diff/1/ui/app_list/views/apps_grid_view.cc File ui/app_list/views/apps_grid_view.cc (right): https://codereview.chromium.org/2938563002/diff/1/ui/app_list/views/apps_grid_view.cc#newcode7 ui/app_list/views/apps_grid_view.cc:7: #include <ui/app_list/views/page_switcher_vertical.h> Use " instead of < for chromium ...
3 years, 6 months ago (2017-06-13 18:29:55 UTC) #3
weidongg
Thanks for the review. https://codereview.chromium.org/2938563002/diff/1/ui/app_list/views/apps_grid_view.cc File ui/app_list/views/apps_grid_view.cc (right): https://codereview.chromium.org/2938563002/diff/1/ui/app_list/views/apps_grid_view.cc#newcode7 ui/app_list/views/apps_grid_view.cc:7: #include <ui/app_list/views/page_switcher_vertical.h> On 2017/06/13 18:29:55, ...
3 years, 6 months ago (2017-06-13 21:25:00 UTC) #4
weidongg
Thanks for the review.
3 years, 6 months ago (2017-06-13 21:25:01 UTC) #5
xiyuan
lgtm https://codereview.chromium.org/2938563002/diff/1/ui/app_list/views/page_switcher_vertical.cc File ui/app_list/views/page_switcher_vertical.cc (right): https://codereview.chromium.org/2938563002/diff/1/ui/app_list/views/page_switcher_vertical.cc#newcode78 ui/app_list/views/page_switcher_vertical.cc:78: rect.ClampToCenteredSize(gfx::Size(kButtonWidth, button_height_)); On 2017/06/13 21:25:00, weidongg wrote: > ...
3 years, 6 months ago (2017-06-13 21:58:26 UTC) #6
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/2938563002/20001
3 years, 6 months ago (2017-06-13 22:11:42 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/e081605169d6f3c605d52050a3a13522a473daf6
3 years, 6 months ago (2017-06-13 23:43:03 UTC) #11
newcomer
Weidong, Please address these and include me in further CLs. Thanks, Alex https://codereview.chromium.org/2938563002/diff/20001/ui/app_list/views/apps_grid_view.cc File ui/app_list/views/apps_grid_view.cc ...
3 years, 6 months ago (2017-06-15 15:07:02 UTC) #13
weidongg
3 years, 6 months ago (2017-06-15 19:37:02 UTC) #14
Message was sent while issue was closed.
On 2017/06/15 15:07:02, newcomer wrote:
> Weidong,
> 
> Please address these and include me in further CLs.
> 
> Thanks,
> Alex
> 
>
https://codereview.chromium.org/2938563002/diff/20001/ui/app_list/views/apps_...
> File ui/app_list/views/apps_grid_view.cc (right):
> 
>
https://codereview.chromium.org/2938563002/diff/20001/ui/app_list/views/apps_...
> ui/app_list/views/apps_grid_view.cc:235: if
> (features::IsFullscreenAppListEnabled()) {
> Call this once and cache it please.
> 
>
https://codereview.chromium.org/2938563002/diff/20001/ui/app_list/views/apps_...
> ui/app_list/views/apps_grid_view.cc:643: if
> (features::IsFullscreenAppListEnabled()) {
> Same as above.
> 
>
https://codereview.chromium.org/2938563002/diff/20001/ui/app_list/views/apps_...
> ui/app_list/views/apps_grid_view.cc:686: if
> (features::IsFullscreenAppListEnabled()) {
> Same as above.

Thanks for the review, will make the change in another CL.

Powered by Google App Engine
This is Rietveld 408576698