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

Issue 2653123002: Changed EClear to an enum class and renamed its members (Closed)

Created:
3 years, 11 months ago by shend
Modified:
3 years, 10 months ago
Reviewers:
sashab, Bugs Nash
CC:
darktears, apavlov+blink_chromium.org, atotic+reviews_chromium.org, blink-reviews, blink-reviews-css, blink-reviews-layout_chromium.org, blink-reviews-style_chromium.org, cbiesinger, chromium-reviews, dglazkov+blink, dgrogan+ng_chromium.org, eae+blinkwatch, glebl+reviews_chromium.org, jchaffraix+rendering, leviw+renderwatch, ojan+watch_chromium.org, pdr+renderingwatchlist_chromium.org, rwlbuis, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Changed EClear to an enum class and renamed its members Changed EClear to an enum class and gave it an unsigned underlying type. Also renamed its members to match the CSS keywords they represent, and added the 'k' prefix in line with the Blink rename to match Chromium style. 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 allow EClear to be used by generated fields in ComputedStyleBase. BUG=684966 Review-Url: https://codereview.chromium.org/2653123002 Cr-Commit-Position: refs/heads/master@{#447197} Committed: https://chromium.googlesource.com/chromium/src/+/c5bebbb612832e8d1feee0f0cf972f41283496e0

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Rebase #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -40 lines) Patch
M third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h View 1 2 3 2 chunks +9 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBlock.cpp View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBlockFlow.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp View 1 2 3 3 chunks +8 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp View 1 2 3 2 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/line/LineBreaker.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc View 1 2 3 4 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.h View 1 2 3 2 chunks +5 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyleConstants.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 23 (15 generated)
shend
hi Bugs, PTAL. Thanks!
3 years, 11 months ago (2017-01-24 23:53:50 UTC) #6
Bugs Nash
On 2017/01/24 at 23:53:50, shend wrote: > hi Bugs, PTAL. Thanks! lgtm, outstanding patch description ...
3 years, 11 months ago (2017-01-25 01:17:34 UTC) #7
shend
Sasha PTAL. No trybot results since bugsnash@ doesn't seem to be a full committer :(
3 years, 11 months ago (2017-01-25 03:50:55 UTC) #14
sashab
LGTM no need for trybots, this either works or it doesnt :)
3 years, 11 months ago (2017-01-25 04:36:34 UTC) #15
sashab
On 2017/01/25 at 04:36:34, sashab wrote: > LGTM no need for trybots, this either works ...
3 years, 11 months ago (2017-01-25 04:36:52 UTC) #16
shend
On 2017/01/25 at 04:36:52, sashab wrote: > On 2017/01/25 at 04:36:34, sashab wrote: > > ...
3 years, 11 months ago (2017-01-25 04:43:58 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/2653123002/60001
3 years, 10 months ago (2017-01-31 04:49:01 UTC) #20
commit-bot: I haz the power
3 years, 10 months ago (2017-01-31 06:17:09 UTC) #23
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/c5bebbb612832e8d1feee0f0cf97...

Powered by Google App Engine
This is Rietveld 408576698