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

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

Issue 2626373003: Gtk3: Fix link color in 3.12 and later (Closed)
Patch Set: 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 | « chrome/browser/ui/libgtkui/gtk_util.h ('k') | chrome/browser/ui/libgtkui/native_theme_gtk3.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/libgtkui/gtk_util.cc
diff --git a/chrome/browser/ui/libgtkui/gtk_util.cc b/chrome/browser/ui/libgtkui/gtk_util.cc
index edd6d3f6de9263e29bafd04f26d8ad2fdf3545ce..56f565b9d1dd307ad78e1b163b6ea3d6f6f9476e 100644
--- a/chrome/browser/ui/libgtkui/gtk_util.cc
+++ b/chrome/browser/ui/libgtkui/gtk_util.cc
@@ -244,12 +244,9 @@ ScopedStyleContext AppendNode(GtkStyleContext* context,
{"indeterminate", GTK_STATE_FLAG_INCONSISTENT},
{"focus", GTK_STATE_FLAG_FOCUSED},
{"backdrop", GTK_STATE_FLAG_BACKDROP},
- // TODO(thomasanderson): These state flags are only available in
- // GTK 3.10 or later, which is unavailable in the wheezy
- // sysroot. Add them once the sysroot is updated to jessie.
- // { "link", GTK_STATE_FLAG_LINK },
- // { "visited", GTK_STATE_FLAG_VISITED },
- // { "checked", GTK_STATE_FLAG_CHECKED },
+ {"link", GTK_STATE_FLAG_LINK},
+ {"visited", GTK_STATE_FLAG_VISITED},
+ {"checked", GTK_STATE_FLAG_CHECKED},
};
GtkStateFlags state =
context ? gtk_style_context_get_state(context) : GTK_STATE_FLAG_NORMAL;
« no previous file with comments | « chrome/browser/ui/libgtkui/gtk_util.h ('k') | chrome/browser/ui/libgtkui/native_theme_gtk3.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698