Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(673)

Unified Diff: ui/views/controls/button/md_text_button.cc

Issue 2961223002: Rename native theme color constants relating to text on dialog buttons
Patch Set: rebase Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/controls/button/label_button_unittest.cc ('k') | ui/views/controls/tabbed_pane/tabbed_pane.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/button/md_text_button.cc
diff --git a/ui/views/controls/button/md_text_button.cc b/ui/views/controls/button/md_text_button.cc
index 2846f3f02eb7df0fb6cce6af20ba597a341c87b8..58bcaafd59ee718dd736ba8900b303c7352dfc4e 100644
--- a/ui/views/controls/button/md_text_button.cc
+++ b/ui/views/controls/button/md_text_button.cc
@@ -235,8 +235,8 @@ void MdTextButton::UpdatePadding() {
void MdTextButton::UpdateColors() {
ui::NativeTheme::ColorId fg_color_id =
- is_prominent_ ? ui::NativeTheme::kColorId_TextOnProminentButtonColor
- : ui::NativeTheme::kColorId_ButtonEnabledColor;
+ is_prominent_ ? ui::NativeTheme::kColorId_TextOnProminentDialogButton
+ : ui::NativeTheme::kColorId_TextOnEnabledDialogButton;
ui::NativeTheme* theme = GetNativeTheme();
if (!explicitly_set_normal_color()) {
« no previous file with comments | « ui/views/controls/button/label_button_unittest.cc ('k') | ui/views/controls/tabbed_pane/tabbed_pane.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698