| 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> |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 AddChildView(title_hint_label_); | 161 AddChildView(title_hint_label_); |
| 162 | 162 |
| 163 splitter_up1_ = CreateSplitter(kSplitterUp1Color); | 163 splitter_up1_ = CreateSplitter(kSplitterUp1Color); |
| 164 splitter_up2_ = CreateSplitter(kSplitterUp2Color); | 164 splitter_up2_ = CreateSplitter(kSplitterUp2Color); |
| 165 splitter_down1_ = CreateSplitter(kSplitterDown1Color); | 165 splitter_down1_ = CreateSplitter(kSplitterDown1Color); |
| 166 splitter_down2_ = CreateSplitter(kSplitterDown2Color); | 166 splitter_down2_ = CreateSplitter(kSplitterDown2Color); |
| 167 | 167 |
| 168 username_field_ = new UsernameField(this); | 168 username_field_ = new UsernameField(this); |
| 169 username_field_->set_background(new CopyBackground(this)); | 169 username_field_->set_background(new CopyBackground(this)); |
| 170 username_field_->SetAccessibleName( | 170 username_field_->SetAccessibleName( |
| 171 ASCIIToWide(l10n_util::GetStringUTF8(IDS_CHROMEOS_ACC_USERNAME_LABEL))); | 171 l10n_util::GetStringUTF16(IDS_CHROMEOS_ACC_USERNAME_LABEL)); |
| 172 AddChildView(username_field_); | 172 AddChildView(username_field_); |
| 173 | 173 |
| 174 password_field_ = new TextfieldWithMargin(views::Textfield::STYLE_PASSWORD); | 174 password_field_ = new TextfieldWithMargin(views::Textfield::STYLE_PASSWORD); |
| 175 password_field_->set_background(new CopyBackground(this)); | 175 password_field_->set_background(new CopyBackground(this)); |
| 176 AddChildView(password_field_); | 176 AddChildView(password_field_); |
| 177 | 177 |
| 178 language_switch_menu_.InitLanguageMenu(); | 178 language_switch_menu_.InitLanguageMenu(); |
| 179 | 179 |
| 180 RecreatePeculiarControls(); | 180 RecreatePeculiarControls(); |
| 181 | 181 |
| (...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 571 | 571 |
| 572 void NewUserView::InitLink(views::Link** link) { | 572 void NewUserView::InitLink(views::Link** link) { |
| 573 *link = new views::Link(std::wstring()); | 573 *link = new views::Link(std::wstring()); |
| 574 (*link)->SetController(this); | 574 (*link)->SetController(this); |
| 575 (*link)->SetNormalColor(login::kLinkColor); | 575 (*link)->SetNormalColor(login::kLinkColor); |
| 576 (*link)->SetHighlightedColor(login::kLinkColor); | 576 (*link)->SetHighlightedColor(login::kLinkColor); |
| 577 AddChildView(*link); | 577 AddChildView(*link); |
| 578 } | 578 } |
| 579 | 579 |
| 580 } // namespace chromeos | 580 } // namespace chromeos |
| OLD | NEW |