summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/options/content_page_gtk.cc
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-29 15:49:57 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-29 15:49:57 +0000
commit0519e110045415c8d674a8a5d0cdd587b9ce8e1f (patch)
tree694e989b739f39c086dbc62bdf276d9c92f10aa7 /chrome/browser/gtk/options/content_page_gtk.cc
parenteae033a397da42c049575245c276a6eb6f5be93e (diff)
downloadchromium_src-0519e110045415c8d674a8a5d0cdd587b9ce8e1f.zip
chromium_src-0519e110045415c8d674a8a5d0cdd587b9ce8e1f.tar.gz
chromium_src-0519e110045415c8d674a8a5d0cdd587b9ce8e1f.tar.bz2
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
Diffstat (limited to 'chrome/browser/gtk/options/content_page_gtk.cc')
-rw-r--r--chrome/browser/gtk/options/content_page_gtk.cc6
1 files changed, 4 insertions, 2 deletions
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);