| 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_VIEWS_CLEAR_BROWSING_DATA_H_ | 5 #ifndef CHROME_BROWSER_VIEWS_CLEAR_BROWSING_DATA_H_ |
| 6 #define CHROME_BROWSER_VIEWS_CLEAR_BROWSING_DATA_H_ | 6 #define CHROME_BROWSER_VIEWS_CLEAR_BROWSING_DATA_H_ |
| 7 | 7 |
| 8 #include "app/combobox_model.h" | 8 #include "app/combobox_model.h" |
| 9 #include "chrome/browser/browsing_data_remover.h" | 9 #include "chrome/browser/browsing_data_remover.h" |
| 10 #include "views/controls/button/button.h" | 10 #include "views/controls/button/button.h" |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 virtual void OnBrowsingDataRemoverDone(); | 92 virtual void OnBrowsingDataRemoverDone(); |
| 93 | 93 |
| 94 // UI elements we add to the parent view. | 94 // UI elements we add to the parent view. |
| 95 scoped_ptr<views::Throbber> throbber_; | 95 scoped_ptr<views::Throbber> throbber_; |
| 96 views::Label status_label_; | 96 views::Label status_label_; |
| 97 // Other UI elements. | 97 // Other UI elements. |
| 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_local_storage_checkbox_; |
| 102 views::Checkbox* del_cookies_checkbox_; | 103 views::Checkbox* del_cookies_checkbox_; |
| 103 views::Checkbox* del_passwords_checkbox_; | 104 views::Checkbox* del_passwords_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 | 108 |
| 108 // Used to signal enabled/disabled state for controls in the UI. | 109 // Used to signal enabled/disabled state for controls in the UI. |
| 109 bool delete_in_progress_; | 110 bool delete_in_progress_; |
| 110 | 111 |
| 111 Profile* profile_; | 112 Profile* profile_; |
| 112 | 113 |
| 113 // If non-null it means removal is in progress. BrowsingDataRemover takes care | 114 // If non-null it means removal is in progress. BrowsingDataRemover takes care |
| 114 // of deleting itself when done. | 115 // of deleting itself when done. |
| 115 BrowsingDataRemover* remover_; | 116 BrowsingDataRemover* remover_; |
| 116 | 117 |
| 117 DISALLOW_COPY_AND_ASSIGN(ClearBrowsingDataView); | 118 DISALLOW_COPY_AND_ASSIGN(ClearBrowsingDataView); |
| 118 }; | 119 }; |
| 119 | 120 |
| 120 #endif // CHROME_BROWSER_VIEWS_CLEAR_BROWSING_DATA_H_ | 121 #endif // CHROME_BROWSER_VIEWS_CLEAR_BROWSING_DATA_H_ |
| OLD | NEW |