diff options
author | derat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-25 01:02:51 +0000 |
---|---|---|
committer | derat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-25 01:02:51 +0000 |
commit | ce2e0067e9c239e3ecef153165b236c930f358d7 (patch) | |
tree | 4b5b733bcb78bf5c3abe99ba3eca250e6481391d /chrome/browser/gtk/gtk_util.h | |
parent | b3be6c2bbe2803419e4057794fd42cd617f834db (diff) | |
download | chromium_src-ce2e0067e9c239e3ecef153165b236c930f358d7.zip chromium_src-ce2e0067e9c239e3ecef153165b236c930f358d7.tar.gz chromium_src-ce2e0067e9c239e3ecef153165b236c930f358d7.tar.bz2 |
chromeos: Update autocomplete popup colors.
This fetches them from GTK using the same logic as is used in
the GTK port.
BUG=chromium-os:3916
TEST=built and ran it for GTK and Chrome OS Views
Review URL: http://codereview.chromium.org/3198013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57271 0039d316-1c4b-4281-b951-d872f2087c98
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. |