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

Issue 2860953002: Harmony: Apply the upper bound on equal-sized button widths in DialogClientView. (Closed)

Created:
3 years, 7 months ago by tapted
Modified:
3 years, 7 months ago
Reviewers:
msw
CC:
chromium-reviews, tfarina, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Harmony: Apply the upper bound on equal-sized button widths in DialogClientView. This involves moving the layout constant into views. The explicit check for IsSecondaryUiMaterial() is no longer needed since linking with an upper bound of 0 pixels has the same effect as not linking at all. Also, reduce the upper bound from 128 to 112 pixels, per http://crbug.com/671820#c19 BUG=671820 Review-Url: https://codereview.chromium.org/2860953002 Cr-Commit-Position: refs/heads/master@{#469929} Committed: https://chromium.googlesource.com/chromium/src/+/bee127cb13495a34bdf6e05c5729840c2a0a89a1

Patch Set 1 #

Patch Set 2 : Update test #

Patch Set 3 : Make it 112, per http://crbug.com/671820#c19 #

Total comments: 4

Patch Set 4 : Rebase / clear upstream #

Patch Set 5 : test_layout_provider.h, sanity checks #

Patch Set 6 : test_layout_provider.h, sanity checks, self-review: nit data member names #

Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -59 lines) Patch
M chrome/browser/ui/views/collected_cookies_views.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/harmony/chrome_layout_provider.h View 1 chunk +1 line, -5 lines 0 comments Download
M chrome/browser/ui/views/harmony/chrome_layout_provider.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/harmony/harmony_layout_provider.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M ui/views/BUILD.gn View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M ui/views/bubble/bubble_frame_view_unittest.cc View 1 2 3 4 3 chunks +3 lines, -20 lines 0 comments Download
M ui/views/layout/layout_provider.h View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/views/layout/layout_provider.cc View 2 chunks +4 lines, -2 lines 0 comments Download
A ui/views/test/test_layout_provider.h View 1 2 3 4 5 1 chunk +43 lines, -0 lines 0 comments Download
A ui/views/test/test_layout_provider.cc View 1 2 3 4 5 1 chunk +31 lines, -0 lines 0 comments Download
M ui/views/window/dialog_client_view.cc View 1 3 chunks +21 lines, -19 lines 0 comments Download
M ui/views/window/dialog_client_view_unittest.cc View 1 2 3 4 5 chunks +13 lines, -8 lines 0 comments Download

Messages

Total messages: 24 (19 generated)
tapted
Hi Mike, please take a look - hopefully the last one for http://crbug.com/671820 - Thanks!
3 years, 7 months ago (2017-05-04 09:06:19 UTC) #12
msw
lgtm with test nits https://codereview.chromium.org/2860953002/diff/40001/ui/views/window/dialog_client_view_unittest.cc File ui/views/window/dialog_client_view_unittest.cc (right): https://codereview.chromium.org/2860953002/diff/40001/ui/views/window/dialog_client_view_unittest.cc#newcode168 ui/views/window/dialog_client_view_unittest.cc:168: class TestLayoutProvider : public LayoutProvider ...
3 years, 7 months ago (2017-05-05 18:07:43 UTC) #13
tapted
Thanks Mike! https://codereview.chromium.org/2860953002/diff/40001/ui/views/window/dialog_client_view_unittest.cc File ui/views/window/dialog_client_view_unittest.cc (right): https://codereview.chromium.org/2860953002/diff/40001/ui/views/window/dialog_client_view_unittest.cc#newcode168 ui/views/window/dialog_client_view_unittest.cc:168: class TestLayoutProvider : public LayoutProvider { On ...
3 years, 7 months ago (2017-05-08 06:53:57 UTC) #18
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/2860953002/100001
3 years, 7 months ago (2017-05-08 06:55:25 UTC) #21
commit-bot: I haz the power
3 years, 7 months ago (2017-05-08 09:04:38 UTC) #24
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/bee127cb13495a34bdf6e05c5729...

Powered by Google App Engine
This is Rietveld 408576698