OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/ui/views/importer_view.h" |
6 | 6 |
7 #include "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/utf_string_conversions.h" | 9 #include "base/utf_string_conversions.h" |
10 #include "chrome/browser/browser_list.h" | 10 #include "chrome/browser/browser_list.h" |
11 #include "chrome/browser/browser_window.h" | 11 #include "chrome/browser/browser_window.h" |
12 #include "chrome/browser/importer/importer_data_types.h" | 12 #include "chrome/browser/importer/importer_data_types.h" |
13 #include "grit/generated_resources.h" | 13 #include "grit/generated_resources.h" |
14 #include "grit/locale_settings.h" | 14 #include "grit/locale_settings.h" |
15 #include "views/controls/button/checkbox.h" | 15 #include "views/controls/button/checkbox.h" |
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 | 291 |
292 if (favorites_checkbox_->IsEnabled()) | 292 if (favorites_checkbox_->IsEnabled()) |
293 favorites_checkbox_->SetChecked(!!(items & importer::FAVORITES)); | 293 favorites_checkbox_->SetChecked(!!(items & importer::FAVORITES)); |
294 | 294 |
295 if (passwords_checkbox_->IsEnabled()) | 295 if (passwords_checkbox_->IsEnabled()) |
296 passwords_checkbox_->SetChecked(!!(items & importer::PASSWORDS)); | 296 passwords_checkbox_->SetChecked(!!(items & importer::PASSWORDS)); |
297 | 297 |
298 if (search_engines_checkbox_->IsEnabled()) | 298 if (search_engines_checkbox_->IsEnabled()) |
299 search_engines_checkbox_->SetChecked(!!(items & importer::SEARCH_ENGINES)); | 299 search_engines_checkbox_->SetChecked(!!(items & importer::SEARCH_ENGINES)); |
300 } | 300 } |
OLD | NEW |