OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/webui_login_display.h" | 5 #include "chrome/browser/chromeos/login/webui_login_display.h" |
6 | 6 |
7 #include "chrome/browser/chromeos/input_method/xkeyboard.h" | 7 #include "chrome/browser/chromeos/input_method/xkeyboard.h" |
8 #include "chrome/browser/chromeos/login/user_manager.h" | |
9 #include "chrome/browser/chromeos/login/webui_login_view.h" | 8 #include "chrome/browser/chromeos/login/webui_login_view.h" |
10 #include "chrome/browser/chromeos/login/wizard_accessibility_helper.h" | 9 #include "chrome/browser/chromeos/login/wizard_accessibility_helper.h" |
11 #include "chrome/browser/profiles/profile_manager.h" | 10 #include "chrome/browser/profiles/profile_manager.h" |
12 #include "chrome/browser/ui/browser_window.h" | 11 #include "chrome/browser/ui/browser_window.h" |
13 #include "grit/chromium_strings.h" | 12 #include "grit/chromium_strings.h" |
14 #include "grit/generated_resources.h" | 13 #include "grit/generated_resources.h" |
15 #include "ui/base/l10n/l10n_util.h" | 14 #include "ui/base/l10n/l10n_util.h" |
16 #include "ui/views/widget/widget.h" | 15 #include "ui/views/widget/widget.h" |
17 | 16 |
18 #if defined(TOOLKIT_USES_GTK) | 17 #if defined(TOOLKIT_USES_GTK) |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 } | 189 } |
191 | 190 |
192 bool WebUILoginDisplay::IsShowGuest() const { | 191 bool WebUILoginDisplay::IsShowGuest() const { |
193 return show_guest_; | 192 return show_guest_; |
194 } | 193 } |
195 | 194 |
196 bool WebUILoginDisplay::IsShowNewUser() const { | 195 bool WebUILoginDisplay::IsShowNewUser() const { |
197 return show_new_user_; | 196 return show_new_user_; |
198 } | 197 } |
199 | 198 |
| 199 void WebUILoginDisplay::SetDisplayEmail(const std::string& email) { |
| 200 if (delegate_) |
| 201 delegate_->SetDisplayEmail(email); |
| 202 } |
| 203 |
200 } // namespace chromeos | 204 } // namespace chromeos |
OLD | NEW |