GTK: Use color data from the MetaFrames class in newer versions of GTK+.

When codereviewing my r36867, evmar suggested that I implement our trying to
match WM frames in terms of gtk_rc_get_style_by_paths(). This worked...  on the
version of gtk+ included with hardy. It notably doesn't work under the version
included with Karmic. This is the original patch from CL 552092 with some
cleanup, before I rewrote it.

BUG=32173
TEST=New Wave has a dark border color under GNOME on Karmic.

Review URL: http://codereview.chromium.org/564048

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38682 0039d316-1c4b-4281-b951-d872f2087c98
5 files changed