diff options
author | derat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-06 22:17:26 +0000 |
---|---|---|
committer | derat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-06 22:17:26 +0000 |
commit | 05c453db1e7a357eb2cc1b6ac67ff32a5256bb19 (patch) | |
tree | 34a4f7e5e7062b378cab8a9c399ef4f6f5a403c5 /chrome/common/gtk_util.h | |
parent | d6f7d56a9f137a08fc65a06aa6fab3e1038f13c6 (diff) | |
download | chromium_src-05c453db1e7a357eb2cc1b6ac67ff32a5256bb19.zip chromium_src-05c453db1e7a357eb2cc1b6ac67ff32a5256bb19.tar.gz chromium_src-05c453db1e7a357eb2cc1b6ac67ff32a5256bb19.tar.bz2 |
Linux: Pass font settings through to interstitial renderers.
BUG=18483
TESTED=restarted and visited a page with a broken SSL cert a few times while changing font settings via gnome-appearance-properties
Review URL: http://codereview.chromium.org/164094
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22679 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/gtk_util.h')
-rw-r--r-- | chrome/common/gtk_util.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/common/gtk_util.h b/chrome/common/gtk_util.h index c5ef51e..786c5a3 100644 --- a/chrome/common/gtk_util.h +++ b/chrome/common/gtk_util.h @@ -16,6 +16,8 @@ typedef struct _GtkWidget GtkWidget; +struct RendererPreferences; // from common/renderer_preferences.h + namespace event_utils { // Translates event flags into what kind of disposition they represent. @@ -144,6 +146,10 @@ void SetLabelColor(GtkWidget* label, const GdkColor* color); // Adds the given widget to an alignment identing it by |kGroupIndent|. GtkWidget* IndentWidget(GtkWidget* content); +// Initialize the font settings in |prefs| (used when creating new renderers) +// based on GtkSettings (which itself comes from XSETTINGS). +void InitRendererPrefsFromGtkSettings(RendererPreferences* prefs); + } // namespace gtk_util #endif // CHROME_COMMON_GTK_UTIL_H_ |