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

Issue 1742953002: Simplify ash shelf layout code. (Closed)

Created:
4 years, 10 months ago by msw
Modified:
4 years, 9 months ago
Reviewers:
sky
CC:
chromium-reviews, kalyank, sadrul
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Simplify ash shelf layout code. Remove Shelf::[G|S]etShelfViewBounds. Remove ShelfWidget::DelegateView::Layout override. Use FillLayout instead, with an empty border on the parent. Use ScreenUtil::GetShelfDisplayBoundsInRoot consistently. Refactor ShelfLayoutManager::CalculateTargetBounds, etc. BUG=57406 TEST=No behavior changes or regressions. R=sky@chromium.org Committed: https://crrev.com/932c2ee1d4a454f926a725c38a3b5f78c88a0667 Cr-Commit-Position: refs/heads/master@{#378707}

Patch Set 1 #

Patch Set 2 : sync and rebase #

Patch Set 3 : Simplify patch and fix tests. #

Patch Set 4 : Restore ConvertRectToScreen calls. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -99 lines) Patch
M ash/shelf/shelf.h View 1 1 chunk +0 lines, -4 lines 0 comments Download
M ash/shelf/shelf.cc View 1 1 chunk +0 lines, -8 lines 0 comments Download
M ash/shelf/shelf_layout_manager.cc View 1 2 3 8 chunks +43 lines, -57 lines 0 comments Download
M ash/shelf/shelf_layout_manager_unittest.cc View 1 2 1 chunk +5 lines, -10 lines 0 comments Download
M ash/shelf/shelf_view.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M ash/shelf/shelf_view_unittest.cc View 1 1 chunk +4 lines, -5 lines 0 comments Download
M ash/shelf/shelf_widget.cc View 4 chunks +2 lines, -13 lines 0 comments Download

Messages

Total messages: 26 (15 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1742953002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1742953002/40001
4 years, 9 months ago (2016-03-01 21:19:36 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/138674) mac_chromium_compile_dbg_ng on ...
4 years, 9 months ago (2016-03-01 21:23:05 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1742953002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1742953002/60001
4 years, 9 months ago (2016-03-01 21:41:32 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/133232)
4 years, 9 months ago (2016-03-01 22:02:46 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1742953002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1742953002/80001
4 years, 9 months ago (2016-03-01 23:10:27 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-02 00:03:52 UTC) #18
msw
Hey Scott, please take a look; thanks! (this isn't necessary, but seems cleaner)
4 years, 9 months ago (2016-03-02 00:04:59 UTC) #19
sky
LGTM
4 years, 9 months ago (2016-03-02 03:38:31 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1742953002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1742953002/80001
4 years, 9 months ago (2016-03-02 06:53:55 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 9 months ago (2016-03-02 06:59:11 UTC) #24
commit-bot: I haz the power
4 years, 9 months ago (2016-03-02 07:00:55 UTC) #26
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/932c2ee1d4a454f926a725c38a3b5f78c88a0667
Cr-Commit-Position: refs/heads/master@{#378707}

Powered by Google App Engine
This is Rietveld 408576698