Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4214)

Unified Diff: chrome/browser/gtk/options/content_page_gtk.cc

Issue 661327: Fix the content page of the options dialog to use kAutoFillEnabled instead of... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/cocoa/preferences_window_controller.mm ('k') | chrome/browser/options_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/options/content_page_gtk.cc
===================================================================
--- chrome/browser/gtk/options/content_page_gtk.cc (revision 40291)
+++ chrome/browser/gtk/options/content_page_gtk.cc (working copy)
@@ -4,6 +4,8 @@
#include "chrome/browser/gtk/options/content_page_gtk.h"
+#include <string>
GeorgeY 2010/03/02 01:30:26 Is explicit <string> inclusion needed? I do not se
James Hawkins 2010/03/02 01:31:31 Yes, std::string is used on line 166 w/out the pro
+
#include "app/gfx/gtk_util.h"
#include "app/l10n_util.h"
#include "app/resource_bundle.h"
@@ -72,7 +74,7 @@
// Add preferences observers.
ask_to_save_passwords_.Init(prefs::kPasswordManagerEnabled,
profile->GetPrefs(), this);
- enable_form_autofill_.Init(prefs::kFormAutofillEnabled,
+ enable_form_autofill_.Init(prefs::kAutoFillEnabled,
profile->GetPrefs(), this);
if (browser_defaults::kCanToggleSystemTitleBar) {
use_custom_chrome_frame_.Init(prefs::kUseCustomChromeFrame,
@@ -124,7 +126,7 @@
GTK_TOGGLE_BUTTON(passwords_neversave_radio_), TRUE);
}
}
- if (!pref_name || *pref_name == prefs::kFormAutofillEnabled) {
+ if (!pref_name || *pref_name == prefs::kAutoFillEnabled) {
if (enable_form_autofill_.GetValue()) {
gtk_toggle_button_set_active(
GTK_TOGGLE_BUTTON(form_autofill_enable_radio_), TRUE);
« no previous file with comments | « chrome/browser/cocoa/preferences_window_controller.mm ('k') | chrome/browser/options_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698