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

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

Issue 167663004: chromeos: Remove old LockScreen signal. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: bleh Created 6 years, 9 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 const UserList& users() const { return users_; } 115 const UserList& users() const { return users_; }
116 116
117 // Allow a LoginStatusConsumer to listen for 117 // Allow a LoginStatusConsumer to listen for
118 // the same login events that ScreenLocker does. 118 // the same login events that ScreenLocker does.
119 void SetLoginStatusConsumer(chromeos::LoginStatusConsumer* consumer); 119 void SetLoginStatusConsumer(chromeos::LoginStatusConsumer* consumer);
120 120
121 // Returns WebUI associated with screen locker implementation or NULL if 121 // Returns WebUI associated with screen locker implementation or NULL if
122 // there isn't one. 122 // there isn't one.
123 content::WebUI* GetAssociatedWebUI(); 123 content::WebUI* GetAssociatedWebUI();
124 124
125 // Initialize ScreenLocker class. It will listen to 125 // Initialize or uninitialize the ScreenLocker class. It listens to
126 // LOGIN_USER_CHANGED notification so that the screen locker accepts 126 // NOTIFICATION_SESSION_STARTED so that the screen locker accepts lock
127 // lock event only after a user is logged in. 127 // requests only after a user has logged in.
128 static void InitClass(); 128 static void InitClass();
129 static void ShutDownClass();
129 130
130 // Handles a request from the session manager to lock the screen. 131 // Handles a request from the session manager to lock the screen.
131 static void HandleLockScreenRequest(); 132 static void HandleLockScreenRequest();
132 133
133 // Show the screen locker. 134 // Show the screen locker.
134 static void Show(); 135 static void Show();
135 136
136 // Hide the screen locker. 137 // Hide the screen locker.
137 static void Hide(); 138 static void Hide();
138 139
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 scoped_ptr<ScreenlockIconProvider> screenlock_icon_provider_; 203 scoped_ptr<ScreenlockIconProvider> screenlock_icon_provider_;
203 204
204 base::WeakPtrFactory<ScreenLocker> weak_factory_; 205 base::WeakPtrFactory<ScreenLocker> weak_factory_;
205 206
206 DISALLOW_COPY_AND_ASSIGN(ScreenLocker); 207 DISALLOW_COPY_AND_ASSIGN(ScreenLocker);
207 }; 208 };
208 209
209 } // namespace chromeos 210 } // namespace chromeos
210 211
211 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_LOCKER_H_ 212 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_LOCKER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/dbus/screen_lock_service_provider.cc ('k') | chrome/browser/chromeos/login/screen_locker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698