OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_EXISTING_USER_VIEW_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_VIEW_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_VIEW_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "chrome/browser/chromeos/login/helper.h" | 9 #include "chrome/browser/chromeos/login/helper.h" |
10 #include "chrome/browser/chromeos/login/user_input.h" | 10 #include "chrome/browser/chromeos/login/user_input.h" |
11 #include "views/accelerator.h" | 11 #include "views/accelerator.h" |
(...skipping 26 matching lines...) Expand all Loading... |
38 | 38 |
39 // Overriden from UserInput: | 39 // Overriden from UserInput: |
40 virtual void EnableInputControls(bool enabled); | 40 virtual void EnableInputControls(bool enabled); |
41 virtual void ClearAndFocusControls(); | 41 virtual void ClearAndFocusControls(); |
42 virtual void ClearAndFocusPassword(); | 42 virtual void ClearAndFocusPassword(); |
43 virtual gfx::Rect GetMainInputScreenBounds() const; | 43 virtual gfx::Rect GetMainInputScreenBounds() const; |
44 | 44 |
45 protected: | 45 protected: |
46 // Overridden from views::View: | 46 // Overridden from views::View: |
47 virtual void OnLocaleChanged(); | 47 virtual void OnLocaleChanged(); |
48 virtual void ViewHierarchyChanged(bool is_add, | |
49 views::View* parent, | |
50 views::View* child); | |
51 | 48 |
52 private: | 49 private: |
53 UserController* user_controller_; | 50 UserController* user_controller_; |
54 | 51 |
55 // For editing the password. | 52 // For editing the password. |
56 views::Textfield* password_field_; | 53 views::Textfield* password_field_; |
57 | 54 |
58 views::Accelerator accel_login_off_the_record_; | 55 views::Accelerator accel_login_off_the_record_; |
59 views::Accelerator accel_toggle_accessibility_; | 56 views::Accelerator accel_toggle_accessibility_; |
60 | 57 |
61 DISALLOW_COPY_AND_ASSIGN(ExistingUserView); | 58 DISALLOW_COPY_AND_ASSIGN(ExistingUserView); |
62 }; | 59 }; |
63 | 60 |
64 } // chromeos | 61 } // chromeos |
65 | 62 |
66 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_VIEW_H_ | 63 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_VIEW_H_ |
OLD | NEW |