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

Unified Diff: chrome/browser/gtk/tabs/tab_renderer_gtk.h

Issue 155183: GTK Themes: Use the correct text color in the tab strip. (Closed)
Patch Set: Created 11 years, 5 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/gtk/browser_window_gtk.cc ('k') | chrome/browser/gtk/tabs/tab_renderer_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/tabs/tab_renderer_gtk.h
diff --git a/chrome/browser/gtk/tabs/tab_renderer_gtk.h b/chrome/browser/gtk/tabs/tab_renderer_gtk.h
index fd0343cf067d7df595298911c36e531a88151b96..4b38df03647d16050a90eb4194c4469b9a135dc2 100644
--- a/chrome/browser/gtk/tabs/tab_renderer_gtk.h
+++ b/chrome/browser/gtk/tabs/tab_renderer_gtk.h
@@ -121,6 +121,10 @@ class TabRendererGtk : public AnimationDelegate {
// Loads the images to be used for the tab background.
static void LoadTabImages();
+ // Sets the colors used for painting text on the tabs.
+ static void SetSelectedTitleColor(SkColor color);
+ static void SetUnselectedTitleColor(SkColor color);
+
// Returns the bounds of the Tab.
int x() const { return bounds_.x(); }
int y() const { return bounds_.y(); }
@@ -258,6 +262,9 @@ class TabRendererGtk : public AnimationDelegate {
static int close_button_width_;
static int close_button_height_;
+ static SkColor selected_title_color_;
+ static SkColor unselected_title_color_;
+
// The GtkDrawingArea we draw the tab on.
OwnedWidgetGtk tab_;
« no previous file with comments | « chrome/browser/gtk/browser_window_gtk.cc ('k') | chrome/browser/gtk/tabs/tab_renderer_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698