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/sync/profile_sync_service.h" | 9 #include "chrome/browser/sync/profile_sync_service.h" |
10 #include "chrome/browser/views/options/options_page_view.h" | 10 #include "chrome/browser/views/options/options_page_view.h" |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 | 81 |
82 // Controls for the Password Saving group | 82 // Controls for the Password Saving group |
83 views::NativeButton* passwords_exceptions_button_; | 83 views::NativeButton* passwords_exceptions_button_; |
84 OptionsGroupView* passwords_group_; | 84 OptionsGroupView* passwords_group_; |
85 views::RadioButton* passwords_asktosave_radio_; | 85 views::RadioButton* passwords_asktosave_radio_; |
86 views::RadioButton* passwords_neversave_radio_; | 86 views::RadioButton* passwords_neversave_radio_; |
87 | 87 |
88 // Controls for the Form Autofill group | 88 // Controls for the Form Autofill group |
89 views::NativeButton* change_autofill_settings_button_; | 89 views::NativeButton* change_autofill_settings_button_; |
90 OptionsGroupView* form_autofill_group_; | 90 OptionsGroupView* form_autofill_group_; |
91 views::RadioButton* form_autofill_asktosave_radio_; | 91 views::RadioButton* form_autofill_enable_radio_; |
92 views::RadioButton* form_autofill_neversave_radio_; | 92 views::RadioButton* form_autofill_disable_radio_; |
93 | 93 |
94 // Controls for the Themes group | 94 // Controls for the Themes group |
95 OptionsGroupView* themes_group_; | 95 OptionsGroupView* themes_group_; |
96 views::NativeButton* themes_reset_button_; | 96 views::NativeButton* themes_reset_button_; |
97 views::Link* themes_gallery_link_; | 97 views::Link* themes_gallery_link_; |
98 | 98 |
99 // Controls for the browsing data group. | 99 // Controls for the browsing data group. |
100 OptionsGroupView* browsing_data_group_; | 100 OptionsGroupView* browsing_data_group_; |
101 views::NativeButton* import_button_; | 101 views::NativeButton* import_button_; |
102 | 102 |
103 // Controls for the Sync group. | 103 // Controls for the Sync group. |
104 OptionsGroupView* sync_group_; | 104 OptionsGroupView* sync_group_; |
105 views::Label* sync_status_label_; | 105 views::Label* sync_status_label_; |
106 views::Link* sync_action_link_; | 106 views::Link* sync_action_link_; |
107 views::NativeButton* sync_start_stop_button_; | 107 views::NativeButton* sync_start_stop_button_; |
108 | 108 |
109 BooleanPrefMember ask_to_save_passwords_; | 109 BooleanPrefMember ask_to_save_passwords_; |
110 BooleanPrefMember ask_to_save_form_autofill_; | 110 BooleanPrefMember ask_to_save_form_autofill_; |
111 StringPrefMember is_using_default_theme_; | 111 StringPrefMember is_using_default_theme_; |
112 | 112 |
113 // Cached pointer to ProfileSyncService, if it exists. Kept up to date | 113 // Cached pointer to ProfileSyncService, if it exists. Kept up to date |
114 // and NULL-ed out on destruction. | 114 // and NULL-ed out on destruction. |
115 ProfileSyncService* sync_service_; | 115 ProfileSyncService* sync_service_; |
116 | 116 |
117 DISALLOW_COPY_AND_ASSIGN(ContentPageView); | 117 DISALLOW_COPY_AND_ASSIGN(ContentPageView); |
118 }; | 118 }; |
119 | 119 |
120 #endif // CHROME_BROWSER_VIEWS_OPTIONS_CONTENT_PAGE_VIEW_H_ | 120 #endif // CHROME_BROWSER_VIEWS_OPTIONS_CONTENT_PAGE_VIEW_H_ |
OLD | NEW |