OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_UNINSTALL_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_UNINSTALL_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_UNINSTALL_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_UNINSTALL_VIEW_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 private: | 50 private: |
51 typedef std::map<base::string16, base::string16> BrowsersMap; | 51 typedef std::map<base::string16, base::string16> BrowsersMap; |
52 | 52 |
53 // Initializes the controls on the dialog. | 53 // Initializes the controls on the dialog. |
54 void SetupControls(); | 54 void SetupControls(); |
55 | 55 |
56 views::Label* confirm_label_; | 56 views::Label* confirm_label_; |
57 views::Checkbox* delete_profile_; | 57 views::Checkbox* delete_profile_; |
58 views::Checkbox* change_default_browser_; | 58 views::Checkbox* change_default_browser_; |
59 views::Combobox* browsers_combo_; | 59 views::Combobox* browsers_combo_; |
60 scoped_ptr<BrowsersMap> browsers_; | 60 std::unique_ptr<BrowsersMap> browsers_; |
61 int& user_selection_; | 61 int& user_selection_; |
62 base::Closure quit_closure_; | 62 base::Closure quit_closure_; |
63 | 63 |
64 DISALLOW_COPY_AND_ASSIGN(UninstallView); | 64 DISALLOW_COPY_AND_ASSIGN(UninstallView); |
65 }; | 65 }; |
66 | 66 |
67 #endif // CHROME_BROWSER_UI_VIEWS_UNINSTALL_VIEW_H_ | 67 #endif // CHROME_BROWSER_UI_VIEWS_UNINSTALL_VIEW_H_ |
OLD | NEW |