| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "app/l10n_util.h" |
| 8 #include "chrome/browser/browser_list.h" | 8 #include "chrome/browser/browser_list.h" |
| 9 #include "chrome/browser/browser_window.h" | 9 #include "chrome/browser/browser_window.h" |
| 10 #include "chrome/browser/importer/importer_data_types.h" | 10 #include "chrome/common/importer_data_types.h" |
| 11 #include "grit/generated_resources.h" | 11 #include "grit/generated_resources.h" |
| 12 #include "grit/locale_settings.h" | 12 #include "grit/locale_settings.h" |
| 13 #include "views/controls/button/checkbox.h" | 13 #include "views/controls/button/checkbox.h" |
| 14 #include "views/controls/label.h" | 14 #include "views/controls/label.h" |
| 15 #include "views/grid_layout.h" | 15 #include "views/grid_layout.h" |
| 16 #include "views/standard_layout.h" | 16 #include "views/standard_layout.h" |
| 17 #include "views/widget/widget.h" | 17 #include "views/widget/widget.h" |
| 18 #include "views/window/window.h" | 18 #include "views/window/window.h" |
| 19 | 19 |
| 20 using views::ColumnSet; | 20 using views::ColumnSet; |
| (...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 if (favorites_checkbox_->IsEnabled()) | 276 if (favorites_checkbox_->IsEnabled()) |
| 277 favorites_checkbox_->SetChecked(!!(items & importer::FAVORITES)); | 277 favorites_checkbox_->SetChecked(!!(items & importer::FAVORITES)); |
| 278 | 278 |
| 279 if (passwords_checkbox_->IsEnabled()) | 279 if (passwords_checkbox_->IsEnabled()) |
| 280 passwords_checkbox_->SetChecked(!!(items & importer::PASSWORDS)); | 280 passwords_checkbox_->SetChecked(!!(items & importer::PASSWORDS)); |
| 281 | 281 |
| 282 if (search_engines_checkbox_->IsEnabled()) | 282 if (search_engines_checkbox_->IsEnabled()) |
| 283 search_engines_checkbox_->SetChecked(!!(items & | 283 search_engines_checkbox_->SetChecked(!!(items & |
| 284 importer::SEARCH_ENGINES)); | 284 importer::SEARCH_ENGINES)); |
| 285 } | 285 } |
| OLD | NEW |