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

Issue 889403005: Make start page fill app list bounds. (Closed)

Created:
5 years, 10 months ago by calamity
Modified:
5 years, 10 months ago
Reviewers:
Matt Giuca
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@new_apps_grid_paddings
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make start page fill app list bounds. This CL makes the start page fully fill the app list bounds. This will ensure the start page WebContents has maximal space. In order to do this, this CL decouples code from some layout assumptions and uses more future-proof calculations instead. BUG=453205 Committed: https://crrev.com/05c5d5ab671cca266f088f743970604a12ef940b Cr-Commit-Position: refs/heads/master@{#315273}

Patch Set 1 #

Total comments: 2

Patch Set 2 : address comments, fix tests #

Total comments: 2

Patch Set 3 : address_comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -86 lines) Patch
M ui/app_list/views/app_list_view_unittest.cc View 1 5 chunks +30 lines, -33 lines 0 comments Download
M ui/app_list/views/contents_animator.h View 1 1 chunk +0 lines, -8 lines 0 comments Download
M ui/app_list/views/contents_animator.cc View 1 5 chunks +23 lines, -35 lines 0 comments Download
M ui/app_list/views/contents_view.h View 1 1 chunk +8 lines, -0 lines 0 comments Download
M ui/app_list/views/contents_view.cc View 1 2 3 chunks +25 lines, -9 lines 0 comments Download
M ui/app_list/views/start_page_view.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (3 generated)
calamity
5 years, 10 months ago (2015-02-09 03:32:47 UTC) #2
Matt Giuca
https://codereview.chromium.org/889403005/diff/1/ui/app_list/views/contents_animator.cc File ui/app_list/views/contents_animator.cc (right): https://codereview.chromium.org/889403005/diff/1/ui/app_list/views/contents_animator.cc#newcode39 ui/app_list/views/contents_animator.cc:39: gfx::Rect ContentsAnimator::GetOnscreenPageBounds(int page_index) const { I think it's better ...
5 years, 10 months ago (2015-02-09 03:51:14 UTC) #3
calamity
https://codereview.chromium.org/889403005/diff/1/ui/app_list/views/contents_animator.cc File ui/app_list/views/contents_animator.cc (right): https://codereview.chromium.org/889403005/diff/1/ui/app_list/views/contents_animator.cc#newcode39 ui/app_list/views/contents_animator.cc:39: gfx::Rect ContentsAnimator::GetOnscreenPageBounds(int page_index) const { On 2015/02/09 03:51:14, Matt ...
5 years, 10 months ago (2015-02-09 05:25:14 UTC) #4
Matt Giuca
lgtm https://codereview.chromium.org/889403005/diff/20001/ui/app_list/views/contents_view.cc File ui/app_list/views/contents_view.cc (right): https://codereview.chromium.org/889403005/diff/20001/ui/app_list/views/contents_view.cc#newcode357 ui/app_list/views/contents_view.cc:357: return (state == AppListModel::STATE_CUSTOM_LAUNCHER_PAGE || To match the ...
5 years, 10 months ago (2015-02-09 05:32:17 UTC) #5
calamity
https://codereview.chromium.org/889403005/diff/20001/ui/app_list/views/contents_view.cc File ui/app_list/views/contents_view.cc (right): https://codereview.chromium.org/889403005/diff/20001/ui/app_list/views/contents_view.cc#newcode357 ui/app_list/views/contents_view.cc:357: return (state == AppListModel::STATE_CUSTOM_LAUNCHER_PAGE || On 2015/02/09 05:32:17, Matt ...
5 years, 10 months ago (2015-02-09 06:12:27 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/889403005/40001
5 years, 10 months ago (2015-02-09 06:12:43 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 10 months ago (2015-02-09 06:41:04 UTC) #10
commit-bot: I haz the power
5 years, 10 months ago (2015-02-09 06:41:34 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/05c5d5ab671cca266f088f743970604a12ef940b
Cr-Commit-Position: refs/heads/master@{#315273}

Powered by Google App Engine
This is Rietveld 408576698