Chromium Code Reviews
DescriptionChanged ETableLayout to an enum class and renamed its members
Changed ETableLayout 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 ETableLayout to be used by generated
fields in ComputedStyleBase.
BUG=684966
Review-Url: https://codereview.chromium.org/2666483002
Cr-Commit-Position: refs/heads/master@{#447121}
Committed: https://chromium.googlesource.com/chromium/src/+/581521281404da94a7c8a6281d34c7ac65fa1d9d
Patch Set 1 #Patch Set 2 : Use CSS keywords #
Dependent Patchsets: Messages
Total messages: 15 (9 generated)
|
|||||||||||||||||||||||||||||||||||||