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

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

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 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 (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_USER_INPUT_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USER_INPUT_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USER_INPUT_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USER_INPUT_H_
7 7
8 #include "gfx/rect.h" 8 #include "ui/gfx/rect.h"
9 9
10 namespace chromeos { 10 namespace chromeos {
11 11
12 // Interface that is used to manage the state of the user input controls. 12 // Interface that is used to manage the state of the user input controls.
13 class UserInput { 13 class UserInput {
14 public: 14 public:
15 virtual ~UserInput() {} 15 virtual ~UserInput() {}
16 16
17 // Enables/Disables the input controls. 17 // Enables/Disables the input controls.
18 virtual void EnableInputControls(bool enabled) = 0; 18 virtual void EnableInputControls(bool enabled) = 0;
19 19
20 // Clears and focuses the controls. 20 // Clears and focuses the controls.
21 virtual void ClearAndFocusControls() = 0; 21 virtual void ClearAndFocusControls() = 0;
22 22
23 // Clears and focuses the password field. 23 // Clears and focuses the password field.
24 virtual void ClearAndFocusPassword() = 0; 24 virtual void ClearAndFocusPassword() = 0;
25 25
26 // Returns bounds of the main input field in the screen coordinates (e.g. 26 // Returns bounds of the main input field in the screen coordinates (e.g.
27 // these bounds could be used to choose positions for the error bubble). 27 // these bounds could be used to choose positions for the error bubble).
28 virtual gfx::Rect GetMainInputScreenBounds() const = 0; 28 virtual gfx::Rect GetMainInputScreenBounds() const = 0;
29 }; 29 };
30 30
31 } // namespace chromeos 31 } // namespace chromeos
32 32
33 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_INPUT_H_ 33 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_INPUT_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/user_image_view.cc ('k') | chrome/browser/chromeos/login/user_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698