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

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

Issue 301923002: Revert of Follow up change for disabling out-of-box VK overscroll (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/ui/login_display_host_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 // Proceed with Gaia flow because password has changed. 147 // Proceed with Gaia flow because password has changed.
148 virtual void ShowGaiaPasswordChanged(const std::string& username) = 0; 148 virtual void ShowGaiaPasswordChanged(const std::string& username) = 0;
149 149
150 // Show password changed dialog. If |show_password_error| is not null 150 // Show password changed dialog. If |show_password_error| is not null
151 // user already tried to enter old password but it turned out to be incorrect. 151 // user already tried to enter old password but it turned out to be incorrect.
152 virtual void ShowPasswordChangedDialog(bool show_password_error) = 0; 152 virtual void ShowPasswordChangedDialog(bool show_password_error) = 0;
153 153
154 // Shows signin UI with specified email. 154 // Shows signin UI with specified email.
155 virtual void ShowSigninUI(const std::string& email) = 0; 155 virtual void ShowSigninUI(const std::string& email) = 0;
156 156
157 // Hides or shows login UI control bar with [Shut down] / [Add user] buttons.
158 virtual void ShowControlBar(bool show) = 0;
159
160 // Sets the virtual keyboard state.
161 virtual void SetKeyboardState(bool shown) = 0;
162
163 // Sets the WebUI client area size (based on display dimensions).
164 virtual void SetClientAreaSize(int width, int height) = 0;
165
157 gfx::Rect background_bounds() const { return background_bounds_; } 166 gfx::Rect background_bounds() const { return background_bounds_; }
158 void set_background_bounds(const gfx::Rect& background_bounds) { 167 void set_background_bounds(const gfx::Rect& background_bounds) {
159 background_bounds_ = background_bounds; 168 background_bounds_ = background_bounds;
160 } 169 }
161 170
162 Delegate* delegate() { return delegate_; } 171 Delegate* delegate() { return delegate_; }
163 void set_delegate(Delegate* delegate) { delegate_ = delegate; } 172 void set_delegate(Delegate* delegate) { delegate_ = delegate; }
164 173
165 gfx::NativeWindow parent_window() const { return parent_window_; } 174 gfx::NativeWindow parent_window() const { return parent_window_; }
166 void set_parent_window(gfx::NativeWindow window) { parent_window_ = window; } 175 void set_parent_window(gfx::NativeWindow window) { parent_window_ = window; }
(...skipping 18 matching lines...) Expand all
185 // in redesigned login stack. 194 // in redesigned login stack.
186 // Login stack (and this object) will be recreated for next user sign in. 195 // Login stack (and this object) will be recreated for next user sign in.
187 bool is_signin_completed_; 196 bool is_signin_completed_;
188 197
189 DISALLOW_COPY_AND_ASSIGN(LoginDisplay); 198 DISALLOW_COPY_AND_ASSIGN(LoginDisplay);
190 }; 199 };
191 200
192 } // namespace chromeos 201 } // namespace chromeos
193 202
194 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_H_ 203 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/ui/login_display_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698