OLD | NEW |
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/chromeos/login/new_user_view.h" | 5 #include "chrome/browser/chromeos/login/new_user_view.h" |
6 | 6 |
7 #include <signal.h> | 7 #include <signal.h> |
8 #include <sys/types.h> | 8 #include <sys/types.h> |
9 | 9 |
10 #include <algorithm> | 10 #include <algorithm> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "app/l10n_util.h" | 13 #include "app/l10n_util.h" |
14 #include "app/resource_bundle.h" | |
15 #include "base/callback.h" | 14 #include "base/callback.h" |
16 #include "base/command_line.h" | 15 #include "base/command_line.h" |
17 #include "base/message_loop.h" | 16 #include "base/message_loop.h" |
18 #include "base/process_util.h" | 17 #include "base/process_util.h" |
19 #include "base/string_util.h" | 18 #include "base/string_util.h" |
20 #include "base/utf_string_conversions.h" | 19 #include "base/utf_string_conversions.h" |
21 #include "chrome/browser/chromeos/cros/cros_library.h" | 20 #include "chrome/browser/chromeos/cros/cros_library.h" |
22 #include "chrome/browser/chromeos/login/rounded_rect_painter.h" | 21 #include "chrome/browser/chromeos/login/rounded_rect_painter.h" |
23 #include "chrome/browser/chromeos/login/textfield_with_margin.h" | 22 #include "chrome/browser/chromeos/login/textfield_with_margin.h" |
24 #include "chrome/browser/chromeos/login/wizard_accessibility_helper.h" | 23 #include "chrome/browser/chromeos/login/wizard_accessibility_helper.h" |
25 #include "chrome/browser/chromeos/user_cros_settings_provider.h" | 24 #include "chrome/browser/chromeos/user_cros_settings_provider.h" |
26 #include "chrome/browser/chromeos/views/copy_background.h" | 25 #include "chrome/browser/chromeos/views/copy_background.h" |
27 #include "gfx/font.h" | 26 #include "gfx/font.h" |
28 #include "grit/app_resources.h" | 27 #include "grit/app_resources.h" |
29 #include "grit/chromium_strings.h" | 28 #include "grit/chromium_strings.h" |
30 #include "grit/generated_resources.h" | 29 #include "grit/generated_resources.h" |
31 #include "ui/base/keycodes/keyboard_codes.h" | 30 #include "ui/base/keycodes/keyboard_codes.h" |
| 31 #include "ui/base/resource/resource_bundle.h" |
32 #include "views/controls/label.h" | 32 #include "views/controls/label.h" |
33 #include "views/controls/throbber.h" | 33 #include "views/controls/throbber.h" |
34 #include "views/widget/widget_gtk.h" | 34 #include "views/widget/widget_gtk.h" |
35 | 35 |
36 using views::View; | 36 using views::View; |
37 | 37 |
38 namespace { | 38 namespace { |
39 | 39 |
40 const int kTextfieldWidth = 230; | 40 const int kTextfieldWidth = 230; |
41 const int kSplitterHeight = 1; | 41 const int kSplitterHeight = 1; |
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
573 | 573 |
574 void NewUserView::InitLink(views::Link** link) { | 574 void NewUserView::InitLink(views::Link** link) { |
575 *link = new views::Link(std::wstring()); | 575 *link = new views::Link(std::wstring()); |
576 (*link)->SetController(this); | 576 (*link)->SetController(this); |
577 (*link)->SetNormalColor(login::kLinkColor); | 577 (*link)->SetNormalColor(login::kLinkColor); |
578 (*link)->SetHighlightedColor(login::kLinkColor); | 578 (*link)->SetHighlightedColor(login::kLinkColor); |
579 AddChildView(*link); | 579 AddChildView(*link); |
580 } | 580 } |
581 | 581 |
582 } // namespace chromeos | 582 } // namespace chromeos |
OLD | NEW |