| OLD | NEW |
| 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_SCREEN_LOCK_VIEW_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_LOCK_VIEW_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_LOCK_VIEW_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_LOCK_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_view.h" | 10 #include "chrome/browser/chromeos/login/user_view.h" |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 virtual gfx::Size GetPreferredSize(); | 53 virtual gfx::Size GetPreferredSize(); |
| 54 | 54 |
| 55 // NotificationObserver implementation: | 55 // NotificationObserver implementation: |
| 56 virtual void Observe(NotificationType type, | 56 virtual void Observe(NotificationType type, |
| 57 const NotificationSource& source, | 57 const NotificationSource& source, |
| 58 const NotificationDetails& details); | 58 const NotificationDetails& details); |
| 59 | 59 |
| 60 // views::Textfield::Controller implementation: | 60 // views::Textfield::Controller implementation: |
| 61 virtual void ContentsChanged(views::Textfield* sender, | 61 virtual void ContentsChanged(views::Textfield* sender, |
| 62 const string16& new_contents) {} | 62 const string16& new_contents) {} |
| 63 virtual bool HandleKeystroke(views::Textfield* sender, | 63 virtual bool HandleKeyEvent(views::Textfield* sender, |
| 64 const views::Textfield::Keystroke& keystroke); | 64 const views::KeyEvent& keystroke); |
| 65 | 65 |
| 66 // UserView::Delegate implementation: | 66 // UserView::Delegate implementation: |
| 67 virtual void OnSignout(); | 67 virtual void OnSignout(); |
| 68 | 68 |
| 69 protected: | 69 protected: |
| 70 // views::View implementation: | 70 // views::View implementation: |
| 71 virtual void ViewHierarchyChanged(bool is_add, | 71 virtual void ViewHierarchyChanged(bool is_add, |
| 72 views::View* parent, | 72 views::View* parent, |
| 73 views::View* child); | 73 views::View* child); |
| 74 | 74 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 90 | 90 |
| 91 // Username that overlays on top of user's picture. | 91 // Username that overlays on top of user's picture. |
| 92 views::View* username_; | 92 views::View* username_; |
| 93 | 93 |
| 94 DISALLOW_COPY_AND_ASSIGN(ScreenLockView); | 94 DISALLOW_COPY_AND_ASSIGN(ScreenLockView); |
| 95 }; | 95 }; |
| 96 | 96 |
| 97 } // namespace chromeos | 97 } // namespace chromeos |
| 98 | 98 |
| 99 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_LOCK_VIEW_H_ | 99 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_LOCK_VIEW_H_ |
| OLD | NEW |