DescriptionChanged EBoxSizing to an enum class and renamed its members
Changed EBoxSizing 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 EBoxSizing to be used by generated
fields in ComputedStyleBase.
BUG=628043
Review-Url: https://codereview.chromium.org/2625553005
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Review-Url: https://codereview.chromium.org/2635143002
Cr-Commit-Position: refs/heads/master@{#444278}
Committed: https://chromium.googlesource.com/chromium/src/+/dabe54f6a65efa95a6587d88c2745fac3188c80c
Patch Set 1 #
Total comments: 1
Patch Set 2 : Aded k prefix #Messages
Total messages: 19 (13 generated)
|