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/new_profile_dialog.h" | 5 #include "chrome/browser/views/new_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/file_util.h" | 11 #include "base/file_util.h" |
11 #include "chrome/browser/user_data_manager.h" | 12 #include "chrome/browser/user_data_manager.h" |
12 #include "chrome/common/l10n_util.h" | |
13 #include "chrome/common/message_box_flags.h" | 13 #include "chrome/common/message_box_flags.h" |
14 #include "chrome/views/controls/message_box_view.h" | 14 #include "chrome/views/controls/message_box_view.h" |
15 #include "chrome/views/controls/text_field.h" | 15 #include "chrome/views/controls/text_field.h" |
16 #include "chrome/views/view.h" | 16 #include "chrome/views/view.h" |
17 #include "chrome/views/window/window.h" | 17 #include "chrome/views/window/window.h" |
18 #include "grit/chromium_strings.h" | 18 #include "grit/chromium_strings.h" |
19 #include "grit/generated_resources.h" | 19 #include "grit/generated_resources.h" |
20 #include "grit/locale_settings.h" | 20 #include "grit/locale_settings.h" |
21 | 21 |
22 // static | 22 // static |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 UserDataManager::Get()->CreateDesktopShortcutForProfile( | 92 UserDataManager::Get()->CreateDesktopShortcutForProfile( |
93 profile_name); | 93 profile_name); |
94 | 94 |
95 UserDataManager::Get()->LaunchChromeForProfile(profile_name); | 95 UserDataManager::Get()->LaunchChromeForProfile(profile_name); |
96 return true; | 96 return true; |
97 } | 97 } |
98 | 98 |
99 views::View* NewProfileDialog::GetContentsView() { | 99 views::View* NewProfileDialog::GetContentsView() { |
100 return message_box_view_; | 100 return message_box_view_; |
101 } | 101 } |
OLD | NEW |