OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_UI_VIEWS_CLEAR_BROWSING_DATA_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_CLEAR_BROWSING_DATA_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_CLEAR_BROWSING_DATA_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_CLEAR_BROWSING_DATA_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "app/combobox_model.h" | 9 #include "app/combobox_model.h" |
10 #include "chrome/browser/browsing_data_remover.h" | 10 #include "chrome/browser/browsing_data_remover.h" |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 // UI elements | 94 // UI elements |
95 views::View* throbber_view_; | 95 views::View* throbber_view_; |
96 views::Throbber* throbber_; | 96 views::Throbber* throbber_; |
97 views::Label* status_label_; | 97 views::Label* status_label_; |
98 views::Label* delete_all_label_; | 98 views::Label* delete_all_label_; |
99 views::Checkbox* del_history_checkbox_; | 99 views::Checkbox* del_history_checkbox_; |
100 views::Checkbox* del_downloads_checkbox_; | 100 views::Checkbox* del_downloads_checkbox_; |
101 views::Checkbox* del_cache_checkbox_; | 101 views::Checkbox* del_cache_checkbox_; |
102 views::Checkbox* del_cookies_checkbox_; | 102 views::Checkbox* del_cookies_checkbox_; |
103 views::Checkbox* del_passwords_checkbox_; | 103 views::Checkbox* del_passwords_checkbox_; |
| 104 views::Checkbox* del_lso_data_checkbox_; |
104 views::Checkbox* del_form_data_checkbox_; | 105 views::Checkbox* del_form_data_checkbox_; |
105 views::Label* time_period_label_; | 106 views::Label* time_period_label_; |
106 views::Combobox* time_period_combobox_; | 107 views::Combobox* time_period_combobox_; |
107 views::NativeButton* clear_browsing_data_button_; | 108 views::NativeButton* clear_browsing_data_button_; |
108 | 109 |
109 // Used to signal enabled/disabled state for controls in the UI. | 110 // Used to signal enabled/disabled state for controls in the UI. |
110 bool delete_in_progress_; | 111 bool delete_in_progress_; |
111 | 112 |
112 Profile* profile_; | 113 Profile* profile_; |
113 | 114 |
114 // If non-null it means removal is in progress. BrowsingDataRemover takes care | 115 // If non-null it means removal is in progress. BrowsingDataRemover takes care |
115 // of deleting itself when done. | 116 // of deleting itself when done. |
116 BrowsingDataRemover* remover_; | 117 BrowsingDataRemover* remover_; |
117 | 118 |
118 DISALLOW_COPY_AND_ASSIGN(ClearBrowsingDataView2); | 119 DISALLOW_COPY_AND_ASSIGN(ClearBrowsingDataView2); |
119 }; | 120 }; |
120 | 121 |
121 #endif // CHROME_BROWSER_UI_VIEWS_CLEAR_BROWSING_DATA_VIEW_H_ | 122 #endif // CHROME_BROWSER_UI_VIEWS_CLEAR_BROWSING_DATA_VIEW_H_ |
OLD | NEW |