OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 // Show password changed dialog. If |show_password_error| is not null | 161 // Show password changed dialog. If |show_password_error| is not null |
162 // user already tried to enter old password but it turned out to be incorrect. | 162 // user already tried to enter old password but it turned out to be incorrect. |
163 virtual void ShowPasswordChangedDialog(bool show_password_error) = 0; | 163 virtual void ShowPasswordChangedDialog(bool show_password_error) = 0; |
164 | 164 |
165 // Shows signin UI with specified email. | 165 // Shows signin UI with specified email. |
166 virtual void ShowSigninUI(const std::string& email) = 0; | 166 virtual void ShowSigninUI(const std::string& email) = 0; |
167 | 167 |
168 // Hides or shows login UI control bar with [Shut down] / [Add user] buttons. | 168 // Hides or shows login UI control bar with [Shut down] / [Add user] buttons. |
169 virtual void ShowControlBar(bool show) = 0; | 169 virtual void ShowControlBar(bool show) = 0; |
170 | 170 |
| 171 // Sets the virtual keyboard state. |
| 172 virtual void SetKeyboardState(bool shown) = 0; |
| 173 |
| 174 // Sets the WebUI client area size (based on display dimensions). |
| 175 virtual void SetClientAreaSize(int width, int height) = 0; |
| 176 |
171 gfx::Rect background_bounds() const { return background_bounds_; } | 177 gfx::Rect background_bounds() const { return background_bounds_; } |
172 void set_background_bounds(const gfx::Rect& background_bounds) { | 178 void set_background_bounds(const gfx::Rect& background_bounds) { |
173 background_bounds_ = background_bounds; | 179 background_bounds_ = background_bounds; |
174 } | 180 } |
175 | 181 |
176 Delegate* delegate() { return delegate_; } | 182 Delegate* delegate() { return delegate_; } |
177 void set_delegate(Delegate* delegate) { delegate_ = delegate; } | 183 void set_delegate(Delegate* delegate) { delegate_ = delegate; } |
178 | 184 |
179 gfx::NativeWindow parent_window() const { return parent_window_; } | 185 gfx::NativeWindow parent_window() const { return parent_window_; } |
180 void set_parent_window(gfx::NativeWindow window) { parent_window_ = window; } | 186 void set_parent_window(gfx::NativeWindow window) { parent_window_ = window; } |
(...skipping 18 matching lines...) Expand all Loading... |
199 // in redesigned login stack. | 205 // in redesigned login stack. |
200 // Login stack (and this object) will be recreated for next user sign in. | 206 // Login stack (and this object) will be recreated for next user sign in. |
201 bool is_signin_completed_; | 207 bool is_signin_completed_; |
202 | 208 |
203 DISALLOW_COPY_AND_ASSIGN(LoginDisplay); | 209 DISALLOW_COPY_AND_ASSIGN(LoginDisplay); |
204 }; | 210 }; |
205 | 211 |
206 } // namespace chromeos | 212 } // namespace chromeos |
207 | 213 |
208 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_H_ | 214 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_H_ |
OLD | NEW |