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 #include "chrome/browser/views/importer_view.h" | 5 #include "chrome/browser/views/importer_view.h" |
6 | 6 |
| 7 #include "app/l10n_util.h" |
7 #include "chrome/browser/browser_list.h" | 8 #include "chrome/browser/browser_list.h" |
8 #include "chrome/browser/views/standard_layout.h" | 9 #include "chrome/browser/views/standard_layout.h" |
9 #include "chrome/common/l10n_util.h" | |
10 #include "chrome/views/controls/button/checkbox.h" | 10 #include "chrome/views/controls/button/checkbox.h" |
11 #include "chrome/views/controls/label.h" | 11 #include "chrome/views/controls/label.h" |
12 #include "chrome/views/grid_layout.h" | 12 #include "chrome/views/grid_layout.h" |
13 #include "chrome/views/window/window.h" | 13 #include "chrome/views/window/window.h" |
14 #include "grit/generated_resources.h" | 14 #include "grit/generated_resources.h" |
15 #include "grit/locale_settings.h" | 15 #include "grit/locale_settings.h" |
16 | 16 |
17 using views::ColumnSet; | 17 using views::ColumnSet; |
18 using views::GridLayout; | 18 using views::GridLayout; |
19 | 19 |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 | 240 |
241 if (favorites_checkbox_->IsEnabled()) | 241 if (favorites_checkbox_->IsEnabled()) |
242 favorites_checkbox_->SetChecked(!!(items & FAVORITES)); | 242 favorites_checkbox_->SetChecked(!!(items & FAVORITES)); |
243 | 243 |
244 if (passwords_checkbox_->IsEnabled()) | 244 if (passwords_checkbox_->IsEnabled()) |
245 passwords_checkbox_->SetChecked(!!(items & PASSWORDS)); | 245 passwords_checkbox_->SetChecked(!!(items & PASSWORDS)); |
246 | 246 |
247 if (search_engines_checkbox_->IsEnabled()) | 247 if (search_engines_checkbox_->IsEnabled()) |
248 search_engines_checkbox_->SetChecked(!!(items & SEARCH_ENGINES)); | 248 search_engines_checkbox_->SetChecked(!!(items & SEARCH_ENGINES)); |
249 } | 249 } |
OLD | NEW |