Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Side by Side Diff: chrome/browser/views/importer_view.cc

Issue 2106015: Move data types used in the importer process to common/, in preparation for i... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « chrome/browser/views/bookmark_bar_view.cc ('k') | chrome/browser/views/importing_progress_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698