Index: chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc |
diff --git a/chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc b/chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc |
index f47540de9a6c9166e46ab8cc751a20baf694c004..11dd5bdfebe4fdc74d9ae3c6e36be74947266eba 100644 |
--- a/chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc |
+++ b/chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc |
@@ -236,6 +236,16 @@ GdkColor NativeThemeGtk2::GetSystemGdkColor(ColorId color_id) const { |
return GetButtonStyle()->text[GTK_STATE_PRELIGHT]; |
case kColorId_ButtonHoverBackgroundColor: |
return GetButtonStyle()->bg[GTK_STATE_PRELIGHT]; |
+ // TODO(estade): determine a more distinct color for the CallToAction |
msw
2014/06/02 21:06:20
How about using the existing button colors above (
Evan Stade
2014/06/02 22:18:14
I don't follow. This code just makes blue buttons
msw
2014/06/02 22:39:44
Yeah, I suggest (1) using readable versions of the
|
+ // buttons. |
+ case kColorId_CallToActionButtonEnabledColor: |
msw
2014/06/03 22:20:41
Rename these kColorId_BlueButton*, or rename BlueB
Evan Stade
2014/06/03 23:16:12
Done.
This reminds me of the part of Earthworm Ji
msw
2014/06/03 23:24:52
FYI, you haven't uploaded the latest patch set wit
Evan Stade
2014/06/04 00:12:10
Done.
|
+ return GetButtonStyle()->text[GTK_STATE_NORMAL]; |
+ case kColorId_CallToActionButtonDisabledColor: |
+ return GetButtonStyle()->text[GTK_STATE_INSENSITIVE]; |
+ case kColorId_CallToActionButtonHighlightColor: |
+ return GetButtonStyle()->base[GTK_STATE_SELECTED]; |
+ case kColorId_CallToActionButtonHoverColor: |
+ return GetButtonStyle()->text[GTK_STATE_PRELIGHT]; |
// Textfield |
case kColorId_TextfieldDefaultColor: |