OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/accessibility/accessibility_util.h" | 7 #include "chrome/browser/chromeos/accessibility/accessibility_util.h" |
8 #include "chrome/browser/chromeos/input_method/input_method_manager.h" | 8 #include "chrome/browser/chromeos/input_method/input_method_manager.h" |
9 #include "chrome/browser/chromeos/input_method/xkeyboard.h" | 9 #include "chrome/browser/chromeos/input_method/xkeyboard.h" |
10 #include "chrome/browser/chromeos/login/webui_login_view.h" | 10 #include "chrome/browser/chromeos/login/webui_login_view.h" |
11 #include "chrome/browser/profiles/profile_manager.h" | 11 #include "chrome/browser/profiles/profile_manager.h" |
12 #include "chrome/browser/ui/browser_window.h" | 12 #include "chrome/browser/ui/browser_window.h" |
13 #include "grit/chromium_strings.h" | 13 #include "grit/chromium_strings.h" |
14 #include "grit/generated_resources.h" | 14 #include "grit/generated_resources.h" |
15 #include "ui/base/l10n/l10n_util.h" | 15 #include "ui/base/l10n/l10n_util.h" |
16 #include "ui/views/widget/widget.h" | 16 #include "ui/views/widget/widget.h" |
17 | 17 |
18 #if defined(TOOLKIT_USES_GTK) | |
19 #include "chrome/browser/chromeos/legacy_window_manager/wm_ipc.h" | |
20 #endif | |
21 | |
22 namespace chromeos { | 18 namespace chromeos { |
23 | 19 |
24 // WebUILoginDisplay, public: -------------------------------------------------- | 20 // WebUILoginDisplay, public: -------------------------------------------------- |
25 | 21 |
26 WebUILoginDisplay::~WebUILoginDisplay() { | 22 WebUILoginDisplay::~WebUILoginDisplay() { |
27 } | 23 } |
28 | 24 |
29 // LoginDisplay implementation: ------------------------------------------------ | 25 // LoginDisplay implementation: ------------------------------------------------ |
30 | 26 |
31 WebUILoginDisplay::WebUILoginDisplay(LoginDisplay::Delegate* delegate) | 27 WebUILoginDisplay::WebUILoginDisplay(LoginDisplay::Delegate* delegate) |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 bool WebUILoginDisplay::IsShowNewUser() const { | 223 bool WebUILoginDisplay::IsShowNewUser() const { |
228 return show_new_user_; | 224 return show_new_user_; |
229 } | 225 } |
230 | 226 |
231 void WebUILoginDisplay::SetDisplayEmail(const std::string& email) { | 227 void WebUILoginDisplay::SetDisplayEmail(const std::string& email) { |
232 if (delegate_) | 228 if (delegate_) |
233 delegate_->SetDisplayEmail(email); | 229 delegate_->SetDisplayEmail(email); |
234 } | 230 } |
235 | 231 |
236 } // namespace chromeos | 232 } // namespace chromeos |
OLD | NEW |