Chromium Code Reviews
DescriptionUse style::CONTEXT_TEXTFIELD for Combobox and Textfield
Combobox currently uses all of the folowing text-color constants:
ui::NativeTheme::kColorId_TextfieldDefaultColor
ui::NativeTheme::kColorId_TextfieldReadOnlyColor
ui::NativeTheme::kColorId_LabelEnabledColor
ui::NativeTheme::kColorId_LabelDisabledColor
ui::NativeTheme::kColorId_ButtonEnabledColor
That's too many, and kColorId_ButtonEnabledColor wants to go lighter
under Harmony. Stop using it for Combobox.
Also Textfields under Harmony are currently using Black only, but they
should use the "primary" text color, which is a tiny bit lighter than
black.
Consolidate them both under views::style::CONTEXT_TEXTFIELD and a
corresponding disabled style.
Some tests didn't have a ViewsDelegate. Fix that.
BUG=691891
Review-Url: https://codereview.chromium.org/2964453002
Cr-Commit-Position: refs/heads/master@{#483968}
Committed: https://chromium.googlesource.com/chromium/src/+/1397566bcda02ab4f38737a2bd46a2e013341e0b
Patch Set 1 #Patch Set 2 : Fix tests #Patch Set 3 : Try mac again #
Total comments: 6
Patch Set 4 : comments + Adds GetHarmonyTextColorForNonStandardNativeTheme, but I think this belongs in CL-Zero #Patch Set 5 : Rebase on top of https://codereview.chromium.org/2957263002 #
Depends on Patchset: Messages
Total messages: 34 (28 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||