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

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

Issue 6257017: views: Move standard_layout.h into the layout directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win Created 9 years, 11 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) 2011 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/ui/views/importer_view.h" 5 #include "chrome/browser/ui/views/importer_view.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 #include "chrome/browser/browser_list.h" 9 #include "chrome/browser/browser_list.h"
10 #include "chrome/browser/browser_window.h" 10 #include "chrome/browser/browser_window.h"
11 #include "chrome/browser/importer/importer_data_types.h" 11 #include "chrome/browser/importer/importer_data_types.h"
12 #include "grit/generated_resources.h" 12 #include "grit/generated_resources.h"
13 #include "grit/locale_settings.h" 13 #include "grit/locale_settings.h"
14 #include "ui/base/l10n/l10n_util.h" 14 #include "ui/base/l10n/l10n_util.h"
15 #include "views/controls/button/checkbox.h" 15 #include "views/controls/button/checkbox.h"
16 #include "views/controls/label.h" 16 #include "views/controls/label.h"
17 #include "views/grid_layout.h" 17 #include "views/grid_layout.h"
18 #include "views/standard_layout.h" 18 #include "views/layout/layout_constants.h"
19 #include "views/widget/widget.h" 19 #include "views/widget/widget.h"
20 #include "views/window/window.h" 20 #include "views/window/window.h"
21 21
22 using views::ColumnSet; 22 using views::ColumnSet;
23 using views::GridLayout; 23 using views::GridLayout;
24 24
25 namespace browser { 25 namespace browser {
26 26
27 // Declared in browser_dialogs.h so caller's don't have to depend on our header. 27 // Declared in browser_dialogs.h so caller's don't have to depend on our header.
28 void ShowImporterView(views::Widget* parent, 28 void ShowImporterView(views::Widget* parent,
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 292
293 if (favorites_checkbox_->IsEnabled()) 293 if (favorites_checkbox_->IsEnabled())
294 favorites_checkbox_->SetChecked(!!(items & importer::FAVORITES)); 294 favorites_checkbox_->SetChecked(!!(items & importer::FAVORITES));
295 295
296 if (passwords_checkbox_->IsEnabled()) 296 if (passwords_checkbox_->IsEnabled())
297 passwords_checkbox_->SetChecked(!!(items & importer::PASSWORDS)); 297 passwords_checkbox_->SetChecked(!!(items & importer::PASSWORDS));
298 298
299 if (search_engines_checkbox_->IsEnabled()) 299 if (search_engines_checkbox_->IsEnabled())
300 search_engines_checkbox_->SetChecked(!!(items & importer::SEARCH_ENGINES)); 300 search_engines_checkbox_->SetChecked(!!(items & importer::SEARCH_ENGINES));
301 } 301 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/importer_lock_view.cc ('k') | chrome/browser/ui/views/importing_progress_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698