diff options
Diffstat (limited to 'chrome/browser/gtk/gtk_util.h')
-rw-r--r-- | chrome/browser/gtk/gtk_util.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/gtk/gtk_util.h b/chrome/browser/gtk/gtk_util.h index 8b83262..a507f8a 100644 --- a/chrome/browser/gtk/gtk_util.h +++ b/chrome/browser/gtk/gtk_util.h @@ -281,6 +281,12 @@ bool URLFromPrimarySelection(Profile* profile, GURL* url); // Set the colormap of the given window to rgba to allow transparency. bool AddWindowAlphaChannel(GtkWidget* window); +// Get the default colors for a text entry. Parameters may be NULL. +void GetTextColors(GdkColor* normal_base, + GdkColor* selected_base, + GdkColor* normal_text, + GdkColor* selected_text); + // Wrappers to show a GtkDialog. On Linux, it merely calls gtk_widget_show_all. // On ChromeOs, it calls ShowNativeDialog which hosts the its vbox // in a view based Window. |