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

Side by Side Diff: chrome/browser/chromeos/login/new_user_view.h

Issue 3201003: Fixed error message bubbles according to the latest mocks (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Comments resolved Created 10 years, 4 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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_NEW_USER_VIEW_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_NEW_USER_VIEW_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_NEW_USER_VIEW_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_NEW_USER_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 // Resets password and username text and focuses on username. 73 // Resets password and username text and focuses on username.
74 void ClearAndEnableFields(); 74 void ClearAndEnableFields();
75 75
76 // Stops throbber shown during login. 76 // Stops throbber shown during login.
77 void StopThrobber(); 77 void StopThrobber();
78 78
79 // Returns bounds of password field in screen coordinates. 79 // Returns bounds of password field in screen coordinates.
80 gfx::Rect GetPasswordBounds() const; 80 gfx::Rect GetPasswordBounds() const;
81 81
82 // Returns bounds of username field in screen coordinates.
83 gfx::Rect GetUsernameBounds() const;
84
82 // Overridden from views::View: 85 // Overridden from views::View:
83 virtual gfx::Size GetPreferredSize(); 86 virtual gfx::Size GetPreferredSize();
84 virtual void Layout(); 87 virtual void Layout();
85 virtual void RequestFocus(); 88 virtual void RequestFocus();
86 89
87 // Setters for textfields. 90 // Setters for textfields.
88 void SetUsername(const std::string& username); 91 void SetUsername(const std::string& username);
89 void SetPassword(const std::string& password); 92 void SetPassword(const std::string& password);
90 93
91 // Attempt to login with the current field values. 94 // Attempt to login with the current field values.
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 165
163 FRIEND_TEST_ALL_PREFIXES(LoginScreenTest, IncognitoLogin); 166 FRIEND_TEST_ALL_PREFIXES(LoginScreenTest, IncognitoLogin);
164 friend class LoginScreenTest; 167 friend class LoginScreenTest;
165 168
166 DISALLOW_COPY_AND_ASSIGN(NewUserView); 169 DISALLOW_COPY_AND_ASSIGN(NewUserView);
167 }; 170 };
168 171
169 } // namespace chromeos 172 } // namespace chromeos
170 173
171 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_NEW_USER_VIEW_H_ 174 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_NEW_USER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/message_bubble.cc ('k') | chrome/browser/chromeos/login/new_user_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698