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

Issue 2669503002: Move some class-scope constants to file-scope in the lone subclass using them. (Closed)

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

Description

Move some class-scope constants to file-scope in the lone subclass using them. This will make future changes clearer when these are replaced by runtime- computed values. This also changes the layout constants from const to constexpr, so I can make the new file-scope constants constexpr. Of course, that won't be needed after the change above, but it's a reasonable change to make anyway, so going ahead. BUG=686285 TEST=none Review-Url: https://codereview.chromium.org/2669503002 Cr-Commit-Position: refs/heads/master@{#447202} Committed: https://chromium.googlesource.com/chromium/src/+/d62cf13204608ddc4d54a2dc5bbb10abb9fdb0f4

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -29 lines) Patch
M chrome/browser/ui/views/infobars/confirm_infobar.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/infobars/infobar_view.h View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/infobars/infobar_view.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M ui/views/layout/layout_constants.h View 1 chunk +20 lines, -20 lines 0 comments Download

Messages

Total messages: 13 (9 generated)
Peter Kasting
3 years, 10 months ago (2017-01-31 02:57:04 UTC) #4
sky
LGTM
3 years, 10 months ago (2017-01-31 05:18:36 UTC) #8
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/2669503002/1
3 years, 10 months ago (2017-01-31 06:53:12 UTC) #10
commit-bot: I haz the power
3 years, 10 months ago (2017-01-31 06:57:30 UTC) #13
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/d62cf13204608ddc4d54a2dc5bbb...

Powered by Google App Engine
This is Rietveld 408576698