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

Issue 1885183002: Allow constexpr, and use it in a few places. (Closed)

Created:
4 years, 8 months ago by Peter Kasting
Modified:
4 years, 8 months ago
Reviewers:
danakj, Nico, Evan Stade
CC:
chromium-reviews, danakj+watch_chromium.org, jbroman+cpp_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow constexpr, and use it in a few places. BUG=none TEST=none Committed: https://crrev.com/ce246fab1effdfa0cc52e3954b86690f389a9e5d Cr-Commit-Position: refs/heads/master@{#387355}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add guidance #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -55 lines) Patch
M chrome/browser/themes/theme_properties.cc View 5 chunks +61 lines, -43 lines 0 comments Download
M styleguide/c++/c++11.html View 1 2 chunks +8 lines, -11 lines 0 comments Download
M ui/gfx/color_palette.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 19 (5 generated)
Peter Kasting
estade: theme_properties.cc OWNERS danakj: ui/gfx OWNERS and formal C++11 owners approval
4 years, 8 months ago (2016-04-13 20:59:48 UTC) #2
Nico
https://codereview.chromium.org/1885183002/diff/1/chrome/browser/themes/theme_properties.cc File chrome/browser/themes/theme_properties.cc (right): https://codereview.chromium.org/1885183002/diff/1/chrome/browser/themes/theme_properties.cc#newcode103 chrome/browser/themes/theme_properties.cc:103: constexpr SkColor kDefaultColorNTPBackground = SK_ColorWHITE; Does this help any? ...
4 years, 8 months ago (2016-04-13 21:06:12 UTC) #4
Peter Kasting
https://codereview.chromium.org/1885183002/diff/1/chrome/browser/themes/theme_properties.cc File chrome/browser/themes/theme_properties.cc (right): https://codereview.chromium.org/1885183002/diff/1/chrome/browser/themes/theme_properties.cc#newcode103 chrome/browser/themes/theme_properties.cc:103: constexpr SkColor kDefaultColorNTPBackground = SK_ColorWHITE; On 2016/04/13 21:06:12, Nico ...
4 years, 8 months ago (2016-04-13 21:25:09 UTC) #5
danakj
LGTM
4 years, 8 months ago (2016-04-13 22:08:21 UTC) #6
Nico
https://codereview.chromium.org/1885183002/diff/1/chrome/browser/themes/theme_properties.cc File chrome/browser/themes/theme_properties.cc (right): https://codereview.chromium.org/1885183002/diff/1/chrome/browser/themes/theme_properties.cc#newcode103 chrome/browser/themes/theme_properties.cc:103: constexpr SkColor kDefaultColorNTPBackground = SK_ColorWHITE; On 2016/04/13 21:25:09, Peter ...
4 years, 8 months ago (2016-04-13 22:49:15 UTC) #7
Nico
sorry, to be clear, i'm not against allowing this! i just don't understand when we ...
4 years, 8 months ago (2016-04-13 22:54:25 UTC) #8
danakj
On Wed, Apr 13, 2016 at 3:54 PM, <thakis@chromium.org> wrote: > sorry, to be clear, ...
4 years, 8 months ago (2016-04-13 23:23:20 UTC) #9
Peter Kasting
On 2016/04/13 23:23:20, danakj wrote: > On Wed, Apr 13, 2016 at 3:54 PM, <mailto:thakis@chromium.org> ...
4 years, 8 months ago (2016-04-14 04:55:24 UTC) #10
Peter Kasting
(BTW, not submitting this quite yet, in case you'd like to direct me to update ...
4 years, 8 months ago (2016-04-14 04:56:17 UTC) #11
Nico
I think adding some of what you said to the page would be helpful. (For ...
4 years, 8 months ago (2016-04-14 11:21:59 UTC) #12
Peter Kasting
I added some guidance to the styleguide itself.
4 years, 8 months ago (2016-04-14 17:01:31 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1885183002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1885183002/20001
4 years, 8 months ago (2016-04-14 17:02:04 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-14 17:54:17 UTC) #17
commit-bot: I haz the power
4 years, 8 months ago (2016-04-14 17:55:29 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/ce246fab1effdfa0cc52e3954b86690f389a9e5d
Cr-Commit-Position: refs/heads/master@{#387355}

Powered by Google App Engine
This is Rietveld 408576698