| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/gtk/options/content_page_gtk.h" | 5 #include "chrome/browser/gtk/options/content_page_gtk.h" |
| 6 | 6 |
| 7 #include "app/gfx/gtk_util.h" |
| 7 #include "app/l10n_util.h" | 8 #include "app/l10n_util.h" |
| 8 #include "app/resource_bundle.h" | 9 #include "app/resource_bundle.h" |
| 9 #include "base/gfx/gtk_util.h" | |
| 10 #include "chrome/browser/browser_list.h" | 10 #include "chrome/browser/browser_list.h" |
| 11 #include "chrome/browser/defaults.h" | 11 #include "chrome/browser/defaults.h" |
| 12 #include "chrome/browser/gtk/clear_browsing_data_dialog_gtk.h" | 12 #include "chrome/browser/gtk/clear_browsing_data_dialog_gtk.h" |
| 13 #include "chrome/browser/gtk/gtk_chrome_link_button.h" | 13 #include "chrome/browser/gtk/gtk_chrome_link_button.h" |
| 14 #include "chrome/browser/gtk/import_dialog_gtk.h" | 14 #include "chrome/browser/gtk/import_dialog_gtk.h" |
| 15 #include "chrome/browser/gtk/options/options_layout_gtk.h" | 15 #include "chrome/browser/gtk/options/options_layout_gtk.h" |
| 16 #include "chrome/browser/gtk/options/passwords_exceptions_window_gtk.h" | 16 #include "chrome/browser/gtk/options/passwords_exceptions_window_gtk.h" |
| 17 #include "chrome/common/gtk_util.h" | 17 #include "chrome/common/gtk_util.h" |
| 18 #include "chrome/common/pref_names.h" | 18 #include "chrome/common/pref_names.h" |
| 19 #include "chrome/common/pref_service.h" | 19 #include "chrome/common/pref_service.h" |
| (...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 356 GTK_TOGGLE_BUTTON(page->form_autofill_asktosave_radio_)); | 356 GTK_TOGGLE_BUTTON(page->form_autofill_asktosave_radio_)); |
| 357 if (enabled) { | 357 if (enabled) { |
| 358 page->UserMetricsRecordAction(L"Options_FormAutofill_Enable", | 358 page->UserMetricsRecordAction(L"Options_FormAutofill_Enable", |
| 359 page->profile()->GetPrefs()); | 359 page->profile()->GetPrefs()); |
| 360 } else { | 360 } else { |
| 361 page->UserMetricsRecordAction(L"Options_FormAutofill_Disable", | 361 page->UserMetricsRecordAction(L"Options_FormAutofill_Disable", |
| 362 page->profile()->GetPrefs()); | 362 page->profile()->GetPrefs()); |
| 363 } | 363 } |
| 364 page->ask_to_save_form_autofill_.SetValue(enabled); | 364 page->ask_to_save_form_autofill_.SetValue(enabled); |
| 365 } | 365 } |
| OLD | NEW |