summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_main.cc
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/browser/browser_main.cc
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/browser/browser_main.cc')
-rw-r--r--chrome/browser/browser_main.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc
index c357c6e..aedc95d 100644
--- a/chrome/browser/browser_main.cc
+++ b/chrome/browser/browser_main.cc
@@ -104,6 +104,10 @@
#endif // defined(OS_WIN)
+#if defined(TOOLKIT_GTK)
+#include "chrome/common/gtk_util.h"
+#endif
+
namespace Platform {
void WillInitializeMainMessageLoop(const CommandLine & command_line);
@@ -553,6 +557,9 @@ int BrowserMain(const MainFunctionParams& parameters) {
// the installation event.
RLZTracker::InitRlzDelayed(base::DIR_MODULE, is_first_run);
#endif
+#if defined(TOOLKIT_GTK)
+ gtk_util::InitRCStyles();
+#endif
// Config the network module so it has access to resources.
net::NetModule::SetResourceProvider(NetResourceProvider);