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