| 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/select_profile_dialog.h" | 5 #include "chrome/browser/views/select_profile_dialog.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "app/l10n_util.h" |
| 9 #include "base/logging.h" | 10 #include "base/logging.h" |
| 10 #include "base/string_util.h" | 11 #include "base/string_util.h" |
| 11 #include "chrome/browser/user_data_manager.h" | 12 #include "chrome/browser/user_data_manager.h" |
| 12 #include "chrome/browser/views/new_profile_dialog.h" | 13 #include "chrome/browser/views/new_profile_dialog.h" |
| 13 #include "chrome/browser/views/standard_layout.h" | 14 #include "chrome/browser/views/standard_layout.h" |
| 14 #include "chrome/common/l10n_util.h" | |
| 15 #include "chrome/views/controls/combo_box.h" | 15 #include "chrome/views/controls/combo_box.h" |
| 16 #include "chrome/views/controls/label.h" | 16 #include "chrome/views/controls/label.h" |
| 17 #include "chrome/views/controls/message_box_view.h" | 17 #include "chrome/views/controls/message_box_view.h" |
| 18 #include "chrome/views/grid_layout.h" | 18 #include "chrome/views/grid_layout.h" |
| 19 #include "chrome/views/view.h" | 19 #include "chrome/views/view.h" |
| 20 #include "chrome/views/window/window.h" | 20 #include "chrome/views/window/window.h" |
| 21 #include "grit/chromium_strings.h" | 21 #include "grit/chromium_strings.h" |
| 22 #include "grit/generated_resources.h" | 22 #include "grit/generated_resources.h" |
| 23 #include "grit/locale_settings.h" | 23 #include "grit/locale_settings.h" |
| 24 | 24 |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 column_set->AddPaddingColumn(0, kRelatedControlHorizontalSpacing); | 139 column_set->AddPaddingColumn(0, kRelatedControlHorizontalSpacing); |
| 140 column_set->AddColumn(GridLayout::FILL, GridLayout::CENTER, 0, | 140 column_set->AddColumn(GridLayout::FILL, GridLayout::CENTER, 0, |
| 141 GridLayout::FIXED, 200, 0); | 141 GridLayout::FIXED, 200, 0); |
| 142 | 142 |
| 143 layout->StartRow(0, column_set_id); | 143 layout->StartRow(0, column_set_id); |
| 144 layout->AddView(select_profile_label_); | 144 layout->AddView(select_profile_label_); |
| 145 layout->AddPaddingRow(0, kRelatedControlVerticalSpacing); | 145 layout->AddPaddingRow(0, kRelatedControlVerticalSpacing); |
| 146 layout->StartRow(0, column_set_id); | 146 layout->StartRow(0, column_set_id); |
| 147 layout->AddView(profile_combobox_); | 147 layout->AddView(profile_combobox_); |
| 148 } | 148 } |
| OLD | NEW |