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

Unified Diff: chrome/browser/ui/libgtkui/gtk_ui.cc

Issue 2609943005: Gtk3: Add support for Gtk3.20 themes (Closed)
Patch Set: Move var in scope Created 3 years, 11 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 | « no previous file | chrome/browser/ui/libgtkui/gtk_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/libgtkui/gtk_ui.cc
diff --git a/chrome/browser/ui/libgtkui/gtk_ui.cc b/chrome/browser/ui/libgtkui/gtk_ui.cc
index 9c52094fe2710ea742a225f7dcd4f4d79868dd27..766da804e5912154e1f215d0e30f3f5539737f19 100644
--- a/chrome/browser/ui/libgtkui/gtk_ui.cc
+++ b/chrome/browser/ui/libgtkui/gtk_ui.cc
@@ -880,7 +880,7 @@ void GtkUi::LoadGtkValues() {
#if GTK_MAJOR_VERSION > 2
colors_[ThemeProperties::COLOR_TOOLBAR_BOTTOM_SEPARATOR] =
colors_[ThemeProperties::COLOR_DETACHED_BOOKMARK_BAR_SEPARATOR] =
- GetBorderColor("GtkToolbar.primary-toolbar.toolbar");
+ GetBorderColor("GtkToolbar#toolbar.primary-toolbar");
#endif
}
@@ -925,9 +925,9 @@ void GtkUi::BuildFrameColors() {
colors_[ThemeProperties::COLOR_FRAME_INCOGNITO_INACTIVE] = temp_color;
#else
// TODO(thomasanderson): Render a GtkHeaderBar directly.
- SkColor color_frame = GetBgColor(".headerbar.header-bar.titlebar");
+ SkColor color_frame = GetBgColor("#headerbar.header-bar.titlebar");
SkColor color_frame_inactive =
- GetBgColor(".headerbar.header-bar.titlebar:backdrop");
+ GetBgColor("#headerbar.header-bar.titlebar:backdrop");
colors_[ThemeProperties::COLOR_FRAME] = color_frame;
colors_[ThemeProperties::COLOR_FRAME_INACTIVE] = color_frame_inactive;
colors_[ThemeProperties::COLOR_FRAME_INCOGNITO] =
« no previous file with comments | « no previous file | chrome/browser/ui/libgtkui/gtk_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698