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_SERVER_DATA_H_ | 5 #ifndef CHROME_BROWSER_VIEWS_CLEAR_SERVER_DATA_H_ |
6 #define CHROME_BROWSER_VIEWS_CLEAR_SERVER_DATA_H_ | 6 #define CHROME_BROWSER_VIEWS_CLEAR_SERVER_DATA_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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 // Enables/disables the clear button as appropriate | 84 // Enables/disables the clear button as appropriate |
85 void UpdateClearButtonEnabledState(bool delete_in_progress); | 85 void UpdateClearButtonEnabledState(bool delete_in_progress); |
86 | 86 |
87 // Starts the process of deleting the browsing data depending on what the | 87 // Starts the process of deleting the browsing data depending on what the |
88 // user selected. | 88 // user selected. |
89 void OnDelete(); | 89 void OnDelete(); |
90 | 90 |
91 // ProfileSyncServiceObserver method. | 91 // ProfileSyncServiceObserver method. |
92 virtual void OnStateChanged(); | 92 virtual void OnStateChanged(); |
93 | 93 |
94 // ConfirmMessageBoxObserver methods. | 94 // ProfileSyncServiceObserver |
95 virtual void OnConfirmMessageAccept(); | 95 virtual void OnConfirmMessageAccept(); |
96 virtual void OnConfirmMessageCancel(); | 96 virtual void OnConfirmMessageCancel(); |
97 | 97 |
98 ClearDataView* clear_data_parent_window_; | 98 ClearDataView* clear_data_parent_window_; |
99 Profile* profile_; | 99 Profile* profile_; |
100 ProfileSyncService* sync_service_; | 100 ProfileSyncService* sync_service_; |
101 bool allow_clear_; | 101 bool allow_clear_; |
102 | 102 |
103 views::Label* flash_title_label_; | 103 views::Label* flash_title_label_; |
104 views::Label* flash_description_label_; | 104 views::Label* flash_description_label_; |
105 views::Label* chrome_sync_title_label_; | 105 views::Label* chrome_sync_title_label_; |
106 views::Label* chrome_sync_description_label_; | 106 views::Label* chrome_sync_description_label_; |
107 views::Label* dashboard_label_; | 107 views::Label* dashboard_label_; |
108 views::Label* status_label_; | 108 views::Label* status_label_; |
109 views::Link* flash_link_; | 109 views::Link* flash_link_; |
110 views::Link* dashboard_link_; | 110 views::Link* dashboard_link_; |
111 views::NativeButton* clear_server_data_button_; | 111 views::NativeButton* clear_server_data_button_; |
112 views::Throbber* throbber_; | 112 views::Throbber* throbber_; |
113 | 113 |
114 DISALLOW_COPY_AND_ASSIGN(ClearServerDataView); | 114 DISALLOW_COPY_AND_ASSIGN(ClearServerDataView); |
115 }; | 115 }; |
116 | 116 |
117 #endif // CHROME_BROWSER_VIEWS_CLEAR_SERVER_DATA_H_ | 117 #endif // CHROME_BROWSER_VIEWS_CLEAR_SERVER_DATA_H_ |
118 | 118 |
OLD | NEW |