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

Issue 2528573002: Changed EBorderCollapse to an enum class and renamed its members (Closed)

Created:
4 years ago by sashab
Modified:
4 years ago
Reviewers:
nainar, aazzam
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, blink-reviews-layout_chromium.org, blink-reviews-style_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, rwlbuis, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Changed EBorderCollapse to an enum class and renamed its members Changed EBorderCollapse to an enum class and gave it an unsigned underlying type. Also renamed its members to match its keywords from CSSValueKeywords.in. Changing it to an enum class enforces better namespacing and code practices. Adding the unsigned underlying type is pre-work for when the class is eventually stored as an enum bitfield (it would be done in this patch, except a presubmit warning already exists that prevents that. The presubmit warning needs to be updated before that change can occur.) This is also pre-work to move EBorderCollapse to be generated in ComputedStyleBase. BUG=628043 Committed: https://crrev.com/ae3bbc4f69ea52e4b505c8fcaffe4d4dca484c0c Cr-Commit-Position: refs/heads/master@{#434602}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -11 lines) Patch
M third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h View 1 2 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutTable.h View 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.h View 1 2 chunks +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyleConstants.h View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 18 (10 generated)
sashab
4 years ago (2016-11-23 05:11:36 UTC) #4
aazzam
lgtm
4 years ago (2016-11-23 05:35:16 UTC) #5
aazzam
lgtm
4 years ago (2016-11-23 05:35:33 UTC) #6
sashab
nainar@ rs please :)
4 years ago (2016-11-23 05:37:33 UTC) #8
nainar
lgtm
4 years ago (2016-11-23 05:45:09 UTC) #9
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/2528573002/40001
4 years ago (2016-11-28 03:13:26 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-11-28 04:33:45 UTC) #16
commit-bot: I haz the power
4 years ago (2016-11-28 04:36:49 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ae3bbc4f69ea52e4b505c8fcaffe4d4dca484c0c
Cr-Commit-Position: refs/heads/master@{#434602}

Powered by Google App Engine
This is Rietveld 408576698