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

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

Issue 1058433002: [cros login, new GAIA] New UI for not authorized error (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 8 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
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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 // Proceed with Gaia flow because password has changed. 131 // Proceed with Gaia flow because password has changed.
132 virtual void ShowGaiaPasswordChanged(const std::string& username) = 0; 132 virtual void ShowGaiaPasswordChanged(const std::string& username) = 0;
133 133
134 // Show password changed dialog. If |show_password_error| is not null 134 // Show password changed dialog. If |show_password_error| is not null
135 // user already tried to enter old password but it turned out to be incorrect. 135 // user already tried to enter old password but it turned out to be incorrect.
136 virtual void ShowPasswordChangedDialog(bool show_password_error) = 0; 136 virtual void ShowPasswordChangedDialog(bool show_password_error) = 0;
137 137
138 // Shows signin UI with specified email. 138 // Shows signin UI with specified email.
139 virtual void ShowSigninUI(const std::string& email) = 0; 139 virtual void ShowSigninUI(const std::string& email) = 0;
140 140
141 // Show whitelist check failed error. Happens after user completes online
142 // signin but whitelist check fails.
143 virtual void ShowWhitelistCheckFailedError() = 0;
144
141 gfx::Rect background_bounds() const { return background_bounds_; } 145 gfx::Rect background_bounds() const { return background_bounds_; }
142 void set_background_bounds(const gfx::Rect& background_bounds) { 146 void set_background_bounds(const gfx::Rect& background_bounds) {
143 background_bounds_ = background_bounds; 147 background_bounds_ = background_bounds;
144 } 148 }
145 149
146 Delegate* delegate() { return delegate_; } 150 Delegate* delegate() { return delegate_; }
147 void set_delegate(Delegate* delegate) { delegate_ = delegate; } 151 void set_delegate(Delegate* delegate) { delegate_ = delegate; }
148 152
149 gfx::NativeWindow parent_window() const { return parent_window_; } 153 gfx::NativeWindow parent_window() const { return parent_window_; }
150 void set_parent_window(gfx::NativeWindow window) { parent_window_ = window; } 154 void set_parent_window(gfx::NativeWindow window) { parent_window_ = window; }
(...skipping 18 matching lines...) Expand all
169 // in redesigned login stack. 173 // in redesigned login stack.
170 // Login stack (and this object) will be recreated for next user sign in. 174 // Login stack (and this object) will be recreated for next user sign in.
171 bool is_signin_completed_; 175 bool is_signin_completed_;
172 176
173 DISALLOW_COPY_AND_ASSIGN(LoginDisplay); 177 DISALLOW_COPY_AND_ASSIGN(LoginDisplay);
174 }; 178 };
175 179
176 } // namespace chromeos 180 } // namespace chromeos
177 181
178 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_H_ 182 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/help_app_launcher.h ('k') | chrome/browser/chromeos/login/ui/mock_login_display.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698