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

Issue 2367293002: Changed EListStyleType to an enum class and renamed its members to keywords (Closed)

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

Description

Changed EListStyleType to an enum class and renamed its members to keywords Changed EListStyleType 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 EListStyleType to be generated in ComputedStyleBase. BUG=628043 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/ff0c1a487b941b11478790642d92e94a1e765248 Cr-Commit-Position: refs/heads/master@{#432376}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Final patch + formatting #

Unified diffs Side-by-side diffs Delta from patch set Stats (+419 lines, -298 lines) Patch
M third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h View 1 2 2 chunks +171 lines, -58 lines 0 comments Download
M third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp View 1 2 1 chunk +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutListItem.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutListMarker.cpp View 1 1 chunk +56 lines, -56 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ListMarkerText.cpp View 1 2 16 chunks +177 lines, -173 lines 0 comments Download
M third_party/WebKit/Source/core/paint/ListMarkerPainter.cpp View 1 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.h View 1 2 2 chunks +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyleConstants.h View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 31 (22 generated)
sashab
4 years, 1 month ago (2016-11-15 04:09:07 UTC) #5
sashab
Bugs is heading out next week and needs to focus on own work - naina ...
4 years, 1 month ago (2016-11-15 04:15:09 UTC) #9
sashab
Nvm bugs is being super nice and helping me out anyway. (Y)
4 years, 1 month ago (2016-11-15 04:17:00 UTC) #11
Bugs Nash
On 2016/11/15 at 04:17:00, sashab wrote: > Nvm bugs is being super nice and helping ...
4 years, 1 month ago (2016-11-15 04:21:51 UTC) #13
sashab
Done, ty. nainar@ please RS.
4 years, 1 month ago (2016-11-15 04:24:08 UTC) #15
nainar
On 2016/11/15 at 04:24:08, sashab wrote: > Done, ty. > > nainar@ please RS. lgtm ...
4 years, 1 month ago (2016-11-15 04:28:41 UTC) #16
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/2367293002/40001
4 years, 1 month ago (2016-11-16 05:35:35 UTC) #28
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-11-16 06:12:33 UTC) #29
commit-bot: I haz the power
4 years, 1 month ago (2016-11-16 06:15:39 UTC) #31
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ff0c1a487b941b11478790642d92e94a1e765248
Cr-Commit-Position: refs/heads/master@{#432376}

Powered by Google App Engine
This is Rietveld 408576698