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

Side by Side Diff: chrome/browser/chromeos/login/ui/login_display.h

Issue 292233002: Disable VK overscroll for login/out-of-box. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, keyboard override value: convert to bool Created 6 years, 6 months 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 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
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/screens/core_oobe_actor.h ('k') | chrome/browser/chromeos/login/ui/login_display_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698