DescriptionChanged PrintColorAdjust to an enum class and renamed its members
Changed PrintColorAdjust to an enum class and gave it an unsigned
underlying type. Also renamed its members to match its keywords from
CSSValueKeywords.in, and removed PrintColorAdjustBits which will be
generated.
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 PrintColorAdjust to be generated in
ComputedStyleBase.
BUG=628043
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Committed: https://crrev.com/dfd37d2b7b9be6fcc2da32d58ee83a1bcaad0990
Cr-Commit-Position: refs/heads/master@{#433477}
Patch Set 1 #
Messages
Total messages: 13 (8 generated)
|