| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #ifndef CHROME_BROWSER_VIEWS_OPTIONS_CONTENT_PAGE_VIEW_H_ | 5 #ifndef CHROME_BROWSER_VIEWS_OPTIONS_CONTENT_PAGE_VIEW_H_ |
| 6 #define CHROME_BROWSER_VIEWS_OPTIONS_CONTENT_PAGE_VIEW_H_ | 6 #define CHROME_BROWSER_VIEWS_OPTIONS_CONTENT_PAGE_VIEW_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/autofill/personal_data_manager.h" | 8 #include "chrome/browser/autofill/personal_data_manager.h" |
| 9 #include "chrome/browser/pref_member.h" | 9 #include "chrome/browser/pref_member.h" |
| 10 #include "chrome/browser/sync/profile_sync_service.h" | 10 #include "chrome/browser/sync/profile_sync_service.h" |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 | 77 |
| 78 // Controls for the Password Saving group | 78 // Controls for the Password Saving group |
| 79 views::NativeButton* show_passwords_button_; | 79 views::NativeButton* show_passwords_button_; |
| 80 OptionsGroupView* passwords_group_; | 80 OptionsGroupView* passwords_group_; |
| 81 views::RadioButton* passwords_asktosave_radio_; | 81 views::RadioButton* passwords_asktosave_radio_; |
| 82 views::RadioButton* passwords_neversave_radio_; | 82 views::RadioButton* passwords_neversave_radio_; |
| 83 | 83 |
| 84 // Controls for the Form Autofill group | 84 // Controls for the Form Autofill group |
| 85 views::NativeButton* change_autofill_settings_button_; | 85 views::NativeButton* change_autofill_settings_button_; |
| 86 OptionsGroupView* form_autofill_group_; | 86 OptionsGroupView* form_autofill_group_; |
| 87 views::RadioButton* form_autofill_enable_radio_; | |
| 88 views::RadioButton* form_autofill_disable_radio_; | |
| 89 | 87 |
| 90 // Controls for the Themes group | 88 // Controls for the Themes group |
| 91 OptionsGroupView* themes_group_; | 89 OptionsGroupView* themes_group_; |
| 92 views::NativeButton* themes_reset_button_; | 90 views::NativeButton* themes_reset_button_; |
| 93 views::Link* themes_gallery_link_; | 91 views::Link* themes_gallery_link_; |
| 94 | 92 |
| 95 // Controls for the browsing data group. | 93 // Controls for the browsing data group. |
| 96 OptionsGroupView* browsing_data_group_; | 94 OptionsGroupView* browsing_data_group_; |
| 97 views::NativeButton* import_button_; | 95 views::NativeButton* import_button_; |
| 98 | 96 |
| 99 // Controls for the Sync group. | 97 // Controls for the Sync group. |
| 100 OptionsGroupView* sync_group_; | 98 OptionsGroupView* sync_group_; |
| 101 views::Label* sync_status_label_; | 99 views::Label* sync_status_label_; |
| 102 views::Link* sync_action_link_; | 100 views::Link* sync_action_link_; |
| 103 views::NativeButton* sync_start_stop_button_; | 101 views::NativeButton* sync_start_stop_button_; |
| 104 views::NativeButton* sync_customize_button_; | 102 views::NativeButton* sync_customize_button_; |
| 105 views::Link* privacy_dashboard_link_; | 103 views::Link* privacy_dashboard_link_; |
| 106 | 104 |
| 107 BooleanPrefMember ask_to_save_passwords_; | 105 BooleanPrefMember ask_to_save_passwords_; |
| 108 BooleanPrefMember ask_to_save_form_autofill_; | |
| 109 StringPrefMember is_using_default_theme_; | 106 StringPrefMember is_using_default_theme_; |
| 110 | 107 |
| 111 // Cached pointer to ProfileSyncService, if it exists. Kept up to date | 108 // Cached pointer to ProfileSyncService, if it exists. Kept up to date |
| 112 // and NULL-ed out on destruction. | 109 // and NULL-ed out on destruction. |
| 113 ProfileSyncService* sync_service_; | 110 ProfileSyncService* sync_service_; |
| 114 | 111 |
| 115 DISALLOW_COPY_AND_ASSIGN(ContentPageView); | 112 DISALLOW_COPY_AND_ASSIGN(ContentPageView); |
| 116 }; | 113 }; |
| 117 | 114 |
| 118 #endif // CHROME_BROWSER_VIEWS_OPTIONS_CONTENT_PAGE_VIEW_H_ | 115 #endif // CHROME_BROWSER_VIEWS_OPTIONS_CONTENT_PAGE_VIEW_H_ |
| OLD | NEW |