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

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

Issue 3442011: Enabling access notifications for login wizard (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 2 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_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/user_view.h" 9 #include "chrome/browser/chromeos/login/user_view.h"
10 #include "chrome/common/notification_observer.h" 10 #include "chrome/common/notification_observer.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 // views::Textfield::Controller implementation: 62 // views::Textfield::Controller implementation:
63 virtual void ContentsChanged(views::Textfield* sender, 63 virtual void ContentsChanged(views::Textfield* sender,
64 const string16& new_contents) {} 64 const string16& new_contents) {}
65 virtual bool HandleKeystroke(views::Textfield* sender, 65 virtual bool HandleKeystroke(views::Textfield* sender,
66 const views::Textfield::Keystroke& keystroke); 66 const views::Textfield::Keystroke& keystroke);
67 67
68 // UserView::Delegate implementation: 68 // UserView::Delegate implementation:
69 virtual void OnSignout(); 69 virtual void OnSignout();
70 70
71 protected:
72 // views::View implementation:
73 virtual void ViewHierarchyChanged(bool is_add,
74 views::View* parent,
75 views::View* child);
76
71 private: 77 private:
72 friend class test::ScreenLockerTester; 78 friend class test::ScreenLockerTester;
73 79
74 UserView* user_view_; 80 UserView* user_view_;
75 81
76 // For editing the password. 82 // For editing the password.
77 views::Textfield* password_field_; 83 views::Textfield* password_field_;
78 views::Button* unlock_button_; 84 views::Button* unlock_button_;
79 85
80 // ScreenLocker is owned by itself. 86 // ScreenLocker is owned by itself.
81 ScreenLocker* screen_locker_; 87 ScreenLocker* screen_locker_;
82 88
83 NotificationRegistrar registrar_; 89 NotificationRegistrar registrar_;
84 90
85 DISALLOW_COPY_AND_ASSIGN(ScreenLockView); 91 DISALLOW_COPY_AND_ASSIGN(ScreenLockView);
86 }; 92 };
87 93
88 } // namespace chromeos 94 } // namespace chromeos
89 95
90 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_LOCK_VIEW_H_ 96 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_LOCK_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698