DescriptionChanged 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 #Depends on Patchset: Messages
Total messages: 23 (15 generated)
|