DescriptionEnumTraits for base::i18n::TextDirection.
Moves EnumTraits for base::i18n::TextDirection from autofill_types.mojom
to mojo/common/rtl.mojom so IME can also use it.
This also removes TEXT_DIRECTION_NUM_DIRECTIONS and introduces
TEXT_DIRECTION_MAX = LEFT_TO_RIGHT, to avoid having an extra unnecessary
case in switch statements on TextDirection.
BUG=NONE
Review-Url: https://codereview.chromium.org/2626093004
Cr-Commit-Position: refs/heads/master@{#443736}
Committed: https://chromium.googlesource.com/chromium/src/+/6c5bf8fac0cd765eb4152cb3b7c8f080d02bce2f
Patch Set 1 #Patch Set 2 : cleanup. #Patch Set 3 : fixed analyze errors. #Patch Set 4 : cleanup. #Patch Set 5 : Fixed compile error. #
Total comments: 2
Patch Set 6 : Addressed feedback. #Dependent Patchsets: Messages
Total messages: 34 (23 generated)
|