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

Issue 2942453002: Remove references to ui/views/layout/layout_constants.h (Closed)

Created:
3 years, 6 months ago by ananta
Modified:
3 years, 6 months ago
Reviewers:
Peter Kasting, sky
CC:
chromium-reviews, tfarina
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove references to ui/views/layout/layout_constants.h This patch removes layout_constants.h and inlines them in layout_provider.cc and chrome_layout_provider.cc. Last step of the set of changes which were around replacing these constants with their equivalents from the layout provider. BUG=691897 TBR=sky Review-Url: https://codereview.chromium.org/2942453002 Cr-Commit-Position: refs/heads/master@{#479616} Committed: https://chromium.googlesource.com/chromium/src/+/f131ea653e12fd70bcf10dc91ac5a731734e41ea

Patch Set 1 #

Patch Set 2 : Address redness #

Total comments: 4

Patch Set 3 : Inline constants #

Patch Set 4 : Remove newlines #

Patch Set 5 : Rebase to tip #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -126 lines) Patch
M chrome/browser/ui/views/harmony/chrome_layout_provider.cc View 1 2 3 4 2 chunks +9 lines, -10 lines 0 comments Download
M ui/views/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M ui/views/examples/dialog_example.cc View 1 chunk +0 lines, -1 line 0 comments Download
D ui/views/layout/layout_constants.h View 1 chunk +0 lines, -100 lines 0 comments Download
M ui/views/layout/layout_provider.cc View 1 2 3 4 3 chunks +15 lines, -14 lines 0 comments Download

Messages

Total messages: 35 (22 generated)
ananta
3 years, 6 months ago (2017-06-13 23:01:46 UTC) #8
Peter Kasting
LGTM https://codereview.chromium.org/2942453002/diff/20001/chrome/browser/ui/views/harmony/chrome_layout_provider.cc File chrome/browser/ui/views/harmony/chrome_layout_provider.cc (right): https://codereview.chromium.org/2942453002/diff/20001/chrome/browser/ui/views/harmony/chrome_layout_provider.cc#newcode16 chrome/browser/ui/views/harmony/chrome_layout_provider.cc:16: constexpr int kMinimumButtonWidth = 48; I would inline ...
3 years, 6 months ago (2017-06-13 23:33:35 UTC) #9
ananta
https://codereview.chromium.org/2942453002/diff/20001/chrome/browser/ui/views/harmony/chrome_layout_provider.cc File chrome/browser/ui/views/harmony/chrome_layout_provider.cc (right): https://codereview.chromium.org/2942453002/diff/20001/chrome/browser/ui/views/harmony/chrome_layout_provider.cc#newcode16 chrome/browser/ui/views/harmony/chrome_layout_provider.cc:16: constexpr int kMinimumButtonWidth = 48; On 2017/06/13 23:33:35, Peter ...
3 years, 6 months ago (2017-06-14 18:48:11 UTC) #14
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/2942453002/60001
3 years, 6 months ago (2017-06-14 18:48:49 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-xcode-clang/builds/117375) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 6 months ago (2017-06-14 18:52:17 UTC) #17
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/2942453002/80001
3 years, 6 months ago (2017-06-15 02:55:24 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/464350)
3 years, 6 months ago (2017-06-15 03:01:44 UTC) #22
ananta
+sky for ui/views owners. TBR'ing as this is a simple enough change
3 years, 6 months ago (2017-06-15 03:07:14 UTC) #25
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/2942453002/80001
3 years, 6 months ago (2017-06-15 03:07:35 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/479324)
3 years, 6 months ago (2017-06-15 04:55:21 UTC) #29
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/2942453002/80001
3 years, 6 months ago (2017-06-15 05:03:58 UTC) #31
commit-bot: I haz the power
Committed patchset #5 (id:80001) as https://chromium.googlesource.com/chromium/src/+/f131ea653e12fd70bcf10dc91ac5a731734e41ea
3 years, 6 months ago (2017-06-15 06:03:30 UTC) #34
sky
3 years, 6 months ago (2017-06-19 16:23:23 UTC) #35
Message was sent while issue was closed.
Yay! LGTM

Powered by Google App Engine
This is Rietveld 408576698