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

Issue 494273003: Add a minimum cross axis size to BoxLayout. (Closed)

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

Description

Add a minimum cross axis size to BoxLayout. This CL allows clients to specify a minimum cross axis size when using a BoxLayout. BUG=406983 Committed: https://crrev.com/d1b26261efa014efe4a98e9dfb5ce2f510b6a8d5 Cr-Commit-Position: refs/heads/master@{#292299}

Patch Set 1 #

Total comments: 2

Patch Set 2 : fix test, remove oops #

Total comments: 2

Patch Set 3 : initialize #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -0 lines) Patch
M ui/views/layout/box_layout.h View 2 chunks +7 lines, -0 lines 0 comments Download
M ui/views/layout/box_layout.cc View 1 2 3 chunks +4 lines, -0 lines 0 comments Download
M ui/views/layout/box_layout_unittest.cc View 1 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
calamity
6 years, 4 months ago (2014-08-25 06:05:45 UTC) #1
Matt Giuca
I don't think I'm an appropriate reviewer for this. Can you add one of the ...
6 years, 3 months ago (2014-08-26 02:38:23 UTC) #2
calamity
calamity@chromium.org changed reviewers: + benwells@chromium.org
6 years, 3 months ago (2014-08-26 02:55:05 UTC) #3
calamity
Ok, sending to Ben for local review. This is necessary for https://codereview.chromium.org/463403003/ .
6 years, 3 months ago (2014-08-26 02:55:05 UTC) #4
calamity
calamity@chromium.org changed reviewers: - mgiuca@chromium.org
6 years, 3 months ago (2014-08-26 02:55:28 UTC) #5
benwells
https://codereview.chromium.org/494273003/diff/1/ui/views/layout/box_layout.cc File ui/views/layout/box_layout.cc (left): https://codereview.chromium.org/494273003/diff/1/ui/views/layout/box_layout.cc#oldcode172 ui/views/layout/box_layout.cc:172: int child_width = width - NonChildSize(host).width(); Why has this ...
6 years, 3 months ago (2014-08-26 07:22:16 UTC) #6
calamity
https://codereview.chromium.org/494273003/diff/1/ui/views/layout/box_layout.cc File ui/views/layout/box_layout.cc (left): https://codereview.chromium.org/494273003/diff/1/ui/views/layout/box_layout.cc#oldcode172 ui/views/layout/box_layout.cc:172: int child_width = width - NonChildSize(host).width(); On 2014/08/26 07:22:16, ...
6 years, 3 months ago (2014-08-26 08:38:24 UTC) #7
benwells
lgtm https://codereview.chromium.org/494273003/diff/20001/ui/views/layout/box_layout.cc File ui/views/layout/box_layout.cc (right): https://codereview.chromium.org/494273003/diff/20001/ui/views/layout/box_layout.cc#newcode165 ui/views/layout/box_layout.cc:165: width = std::max(width, minimum_cross_axis_size_); Nit: initialize minimum_cross_axis_size_
6 years, 3 months ago (2014-08-26 22:05:51 UTC) #8
calamity
calamity@chromium.org changed reviewers: + sky@chromium.org
6 years, 3 months ago (2014-08-27 03:59:33 UTC) #9
calamity
https://codereview.chromium.org/494273003/diff/20001/ui/views/layout/box_layout.cc File ui/views/layout/box_layout.cc (right): https://codereview.chromium.org/494273003/diff/20001/ui/views/layout/box_layout.cc#newcode165 ui/views/layout/box_layout.cc:165: width = std::max(width, minimum_cross_axis_size_); On 2014/08/26 22:05:51, benwells wrote: ...
6 years, 3 months ago (2014-08-27 03:59:33 UTC) #10
calamity
+sky for OWNERS.
6 years, 3 months ago (2014-08-27 04:00:34 UTC) #11
sky
LGTM
6 years, 3 months ago (2014-08-27 14:38:42 UTC) #12
calamity
The CQ bit was checked by calamity@chromium.org
6 years, 3 months ago (2014-08-28 00:06:02 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/calamity@chromium.org/494273003/40001
6 years, 3 months ago (2014-08-28 00:07:46 UTC) #14
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu_triggered_tests on tryserver.chromium.gpu ...
6 years, 3 months ago (2014-08-28 01:19:31 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 3 months ago (2014-08-28 01:47:11 UTC) #16
commit-bot: I haz the power
Failed to commit the patch.
6 years, 3 months ago (2014-08-28 01:47:12 UTC) #17
calamity
The CQ bit was checked by calamity@chromium.org
6 years, 3 months ago (2014-08-28 02:31:04 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/calamity@chromium.org/494273003/40001
6 years, 3 months ago (2014-08-28 02:32:28 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001) as b76bfbb135507694214f0dbd39dd311d01f44ea7
6 years, 3 months ago (2014-08-28 02:33:26 UTC) #20
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:56:44 UTC) #21
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d1b26261efa014efe4a98e9dfb5ce2f510b6a8d5
Cr-Commit-Position: refs/heads/master@{#292299}

Powered by Google App Engine
This is Rietveld 408576698