From 0519e110045415c8d674a8a5d0cdd587b9ce8e1f Mon Sep 17 00:00:00 2001 From: "sky@chromium.org" Date: Tue, 29 Sep 2009 15:49:57 +0000 Subject: Wires up views on linux dialogs to use gtk ones. BUG=none TEST=none Review URL: http://codereview.chromium.org/254007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27484 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/gtk/options/content_page_gtk.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'chrome/browser/gtk/options/content_page_gtk.cc') diff --git a/chrome/browser/gtk/options/content_page_gtk.cc b/chrome/browser/gtk/options/content_page_gtk.cc index b634b69..8098a1b 100644 --- a/chrome/browser/gtk/options/content_page_gtk.cc +++ b/chrome/browser/gtk/options/content_page_gtk.cc @@ -52,8 +52,10 @@ ContentPageGtk::ContentPageGtk(Profile* profile) profile->GetPrefs(), this); ask_to_save_form_autofill_.Init(prefs::kFormAutofillEnabled, profile->GetPrefs(), this); - use_custom_chrome_frame_.Init(prefs::kUseCustomChromeFrame, - profile->GetPrefs(), this); + if (browser_defaults::kCanToggleSystemTitleBar) { + use_custom_chrome_frame_.Init(prefs::kUseCustomChromeFrame, + profile->GetPrefs(), this); + } // Load initial values NotifyPrefChanged(NULL); -- cgit v1.1