OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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/input_window_dialog.h" | 5 #include "chrome/browser/input_window_dialog.h" |
6 | 6 |
| 7 #include "app/l10n_util.h" |
7 #include "base/message_loop.h" | 8 #include "base/message_loop.h" |
8 #include "base/task.h" | 9 #include "base/task.h" |
9 #include "chrome/browser/views/standard_layout.h" | 10 #include "chrome/browser/views/standard_layout.h" |
10 #include "chrome/common/l10n_util.h" | |
11 #include "chrome/views/grid_layout.h" | 11 #include "chrome/views/grid_layout.h" |
12 #include "chrome/views/controls/label.h" | 12 #include "chrome/views/controls/label.h" |
13 #include "chrome/views/controls/text_field.h" | 13 #include "chrome/views/controls/text_field.h" |
14 #include "chrome/views/window/dialog_delegate.h" | 14 #include "chrome/views/window/dialog_delegate.h" |
15 #include "chrome/views/window/window.h" | 15 #include "chrome/views/window/window.h" |
16 #include "grit/generated_resources.h" | 16 #include "grit/generated_resources.h" |
17 | 17 |
18 // Width to make the text field, in pixels. | 18 // Width to make the text field, in pixels. |
19 static const int kTextFieldWidth = 200; | 19 static const int kTextFieldWidth = 200; |
20 | 20 |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 const std::wstring& window_title, | 225 const std::wstring& window_title, |
226 const std::wstring& label, | 226 const std::wstring& label, |
227 const std::wstring& contents, | 227 const std::wstring& contents, |
228 Delegate* delegate) { | 228 Delegate* delegate) { |
229 return new WinInputWindowDialog(parent, | 229 return new WinInputWindowDialog(parent, |
230 window_title, | 230 window_title, |
231 label, | 231 label, |
232 contents, | 232 contents, |
233 delegate); | 233 delegate); |
234 } | 234 } |
OLD | NEW |