Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Side by Side Diff: chrome/browser/chromeos/login/webui_login_display.cc

Issue 8773046: [cros] Display emails of users are stored in a separate dictionary in Local State. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/webui_login_display.h ('k') | chrome/browser/chromeos/login/webui_screen_locker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698