DescriptionMove spellcheck underline colors into LayoutTheme
I'm adding support in Chrome for the Android spellcheck menu in
https://codereview.chromium.org/2931443003. When a user taps on a misspelled
word, I need to highlight the word in a color based on the color of the
spellcheck underline (we add some transparency). We're trying to avoid
hard-coding the spellcheck color in editing code. Therefore, we think it makes
sense to move the colors for spelling/grammar markers out of
InlineTextBoxPainter into LayoutTheme, so other code can make use of them.
BUG=715365
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Review-Url: https://codereview.chromium.org/2932913002
Cr-Commit-Position: refs/heads/master@{#478755}
Committed: https://chromium.googlesource.com/chromium/src/+/61856d2266ce3b76ac8485a9ad2091d18842472a
Patch Set 1 #Patch Set 2 : Fix Mac build #
Total comments: 3
Patch Set 3 : Remove redundant wrapper methods #Patch Set 4 : Fix Mac buildc #
Messages
Total messages: 32 (19 generated)
|