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

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

Issue 6329016: Screen Locker fixes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 9 years, 11 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/screen_locker.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_SCREEN_LOCKER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_LOCKER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_LOCKER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_LOCKER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/scoped_ptr.h" 11 #include "base/scoped_ptr.h"
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 void ShowErrorMessage(const std::wstring& message, bool sign_out_only); 108 void ShowErrorMessage(const std::wstring& message, bool sign_out_only);
109 109
110 // Called when the all inputs are grabbed. 110 // Called when the all inputs are grabbed.
111 void OnGrabInputs(); 111 void OnGrabInputs();
112 112
113 // Returns the user to authenticate. 113 // Returns the user to authenticate.
114 const UserManager::User& user() const { 114 const UserManager::User& user() const {
115 return user_; 115 return user_;
116 } 116 }
117 117
118 // Returns a view that has given view |id|, or null if it doesn't exist.
119 views::View* GetViewByID(int id);
120
118 // Initialize ScreenLocker class. It will listen to 121 // Initialize ScreenLocker class. It will listen to
119 // LOGIN_USER_CHANGED notification so that the screen locker accepts 122 // LOGIN_USER_CHANGED notification so that the screen locker accepts
120 // lock event only after a user is logged in. 123 // lock event only after a user is logged in.
121 static void InitClass(); 124 static void InitClass();
122 125
123 // Show the screen locker. 126 // Show the screen locker.
124 static void Show(); 127 static void Show();
125 128
126 // Hide the screen locker. 129 // Hide the screen locker.
127 static void Hide(); 130 static void Hide();
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 base::Time start_time_; 243 base::Time start_time_;
241 // The time when the authentication is started. 244 // The time when the authentication is started.
242 base::Time authentication_start_time_; 245 base::Time authentication_start_time_;
243 246
244 DISALLOW_COPY_AND_ASSIGN(ScreenLocker); 247 DISALLOW_COPY_AND_ASSIGN(ScreenLocker);
245 }; 248 };
246 249
247 } // namespace chromeos 250 } // namespace chromeos
248 251
249 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_LOCKER_H_ 252 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_LOCKER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/screen_locker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698