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" |
11 #include "chrome/browser/views/clear_data_view.h" | 11 #include "chrome/browser/views/clear_data_view.h" |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 // have a delete operation in progress or not. | 81 // have a delete operation in progress or not. |
82 void UpdateControlEnabledState(); | 82 void UpdateControlEnabledState(); |
83 | 83 |
84 // Starts the process of deleting the browsing data depending on what the | 84 // Starts the process of deleting the browsing data depending on what the |
85 // user selected. | 85 // user selected. |
86 void OnDelete(); | 86 void OnDelete(); |
87 | 87 |
88 // ProfileSyncServiceObserver method. | 88 // ProfileSyncServiceObserver method. |
89 virtual void OnStateChanged(); | 89 virtual void OnStateChanged(); |
90 | 90 |
91 // ProfileSyncServiceObserver | 91 // ConfirmMessageBoxObserver methods. |
92 virtual void OnConfirmMessageAccept(); | 92 virtual void OnConfirmMessageAccept(); |
93 virtual void OnConfirmMessageCancel(); | 93 virtual void OnConfirmMessageCancel(); |
94 | 94 |
95 ClearDataView* clear_data_parent_window_; | 95 ClearDataView* clear_data_parent_window_; |
96 Profile* profile_; | 96 Profile* profile_; |
97 bool allow_clear_; | 97 bool allow_clear_; |
98 | 98 |
99 views::Label* flash_title_label_; | 99 views::Label* flash_title_label_; |
100 views::Label* flash_description_label_; | 100 views::Label* flash_description_label_; |
101 views::Label* chrome_sync_title_label_; | 101 views::Label* chrome_sync_title_label_; |
102 views::Label* chrome_sync_description_label_; | 102 views::Label* chrome_sync_description_label_; |
103 views::Label* dashboard_label_; | 103 views::Label* dashboard_label_; |
104 views::Label* status_label_; | 104 views::Label* status_label_; |
105 views::Link* flash_link_; | 105 views::Link* flash_link_; |
106 views::Link* dashboard_link_; | 106 views::Link* dashboard_link_; |
107 views::NativeButton* clear_server_data_button_; | 107 views::NativeButton* clear_server_data_button_; |
108 views::Throbber* throbber_; | 108 views::Throbber* throbber_; |
109 | 109 |
110 DISALLOW_COPY_AND_ASSIGN(ClearServerDataView); | 110 DISALLOW_COPY_AND_ASSIGN(ClearServerDataView); |
111 }; | 111 }; |
112 | 112 |
113 #endif // CHROME_BROWSER_VIEWS_CLEAR_SERVER_DATA_H_ | 113 #endif // CHROME_BROWSER_VIEWS_CLEAR_SERVER_DATA_H_ |
114 | 114 |
OLD | NEW |