summaryrefslogtreecommitdiffstats
path: root/chrome/common/gtk_util.h
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-18 21:20:33 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-18 21:20:33 +0000
commitdd092159f3252df0afc3863ed052a417d1590d81 (patch)
tree7dec4d705b0b797887a00221b7736c0cba433ab3 /chrome/common/gtk_util.h
parent2237ce6abe23d4e4610af5a492eb60016fb85171 (diff)
downloadchromium_src-dd092159f3252df0afc3863ed052a417d1590d81.zip
chromium_src-dd092159f3252df0afc3863ed052a417d1590d81.tar.gz
chromium_src-dd092159f3252df0afc3863ed052a417d1590d81.tar.bz2
linux: unify all the dialog layout code for visual consistency.
We follow the GNOME HIG where possible, which mostly means the pixel spacing of the borders and buttons in dialogs. BUG=12056 Review URL: http://codereview.chromium.org/113539 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16320 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/gtk_util.h')
-rw-r--r--chrome/common/gtk_util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/common/gtk_util.h b/chrome/common/gtk_util.h
index ab9a29d..8a9b3f0 100644
--- a/chrome/common/gtk_util.h
+++ b/chrome/common/gtk_util.h
@@ -38,6 +38,9 @@ gfx::Point GetWidgetScreenPosition(GtkWidget* widget);
// Returns the bounds of the specified widget in screen coordinates.
gfx::Rect GetWidgetScreenBounds(GtkWidget* widget);
+// Initialize some GTK settings so that our dialogs are consistent.
+void InitRCStyles();
+
} // namespace gtk_util
#endif // CHROME_COMMON_GTK_UTIL_H_