| Index: chrome/browser/ui/libgtkui/native_theme_gtk2.cc
|
| diff --git a/chrome/browser/ui/libgtkui/native_theme_gtk2.cc b/chrome/browser/ui/libgtkui/native_theme_gtk2.cc
|
| index b734c1c873d877882a1366c38e5fb47bb089ead0..edf6ef9dbb28ac377b59e6d9ec709131ee2f2e4c 100644
|
| --- a/chrome/browser/ui/libgtkui/native_theme_gtk2.cc
|
| +++ b/chrome/browser/ui/libgtkui/native_theme_gtk2.cc
|
| @@ -197,6 +197,10 @@ SkColor NativeThemeGtk2::GetSystemColor(ColorId color_id) const {
|
| case kColorId_LinkPressed:
|
| return SK_ColorRED;
|
|
|
| + // Separator
|
| + case kColorId_SeparatorColor:
|
| + return GetFgColor(GetSeparator(), INSENSITIVE);
|
| +
|
| // Button
|
| case kColorId_ButtonEnabledColor:
|
| return GetTextColor(GetButton(), NORMAL);
|
| @@ -447,4 +451,13 @@ GtkWidget* NativeThemeGtk2::GetMenuItem() const {
|
| return fake_menu_item;
|
| }
|
|
|
| +GtkWidget* NativeThemeGtk2::GetSeparator() const {
|
| + static GtkWidget* fake_separator = NULL;
|
| +
|
| + if (!fake_separator)
|
| + fake_separator = gtk_hseparator_new();
|
| +
|
| + return fake_separator;
|
| +}
|
| +
|
| } // namespace libgtkui
|
|
|