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

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

Issue 2665753003: Gtk: Remove some unused members of GtkUi (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 | « no previous file | chrome/browser/ui/libgtkui/gtk_ui.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.h
diff --git a/chrome/browser/ui/libgtkui/gtk_ui.h b/chrome/browser/ui/libgtkui/gtk_ui.h
index ba3dded32500b4d83d7cd17c1b70184be1fc04f9..330232782f25bcc6de56d175799b3de8e250b51b 100644
--- a/chrome/browser/ui/libgtkui/gtk_ui.h
+++ b/chrome/browser/ui/libgtkui/gtk_ui.h
@@ -126,23 +126,6 @@ class GtkUi : public views::LinuxUI {
// or generates them per our fallback algorithm.
void BuildFrameColors();
- // Gets a tint which depends on the default for |id| as well as |color|.
- color_utils::HSL ColorToTint(int id, SkColor color);
-
- // Returns the tint for buttons that contrasts with the normal window
- // background color.
- void GetNormalButtonTintHSL(color_utils::HSL* tint) const;
-
- // Returns a tint that's the color of the current normal text in an entry.
- void GetNormalEntryForegroundHSL(color_utils::HSL* tint) const;
-
- // Returns a tint that's the color of the current highlighted text in an
- // entry.
- void GetSelectedEntryForegroundHSL(color_utils::HSL* tint) const;
-
- // Gets a color for the background of the prominent button.
- SkColor GetProminentButtonBgColor(int gtk_state) const;
-
// Updates |default_font_*|.
void UpdateDefaultFont();
@@ -159,11 +142,6 @@ class GtkUi : public views::LinuxUI {
// caller while |use_gtk_| is true.
ColorMap colors_;
- // Colors used to tint certain icons.
- color_utils::HSL button_tint_;
- color_utils::HSL entry_tint_;
- color_utils::HSL selected_entry_tint_;
-
// Colors that we pass to WebKit. These are generated each time the theme
// changes.
SkColor focus_ring_color_;
« no previous file with comments | « no previous file | chrome/browser/ui/libgtkui/gtk_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698