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

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

Issue 16278003: Made possible to lock and unlock with several logged in users. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 6 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
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_WEBUI_SCREEN_LOCKER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ash/wm/session_state_observer.h" 10 #include "ash/wm/session_state_observer.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 public ScreenLockerDelegate, 44 public ScreenLockerDelegate,
45 public LockWindow::Observer, 45 public LockWindow::Observer,
46 public ash::SessionStateObserver, 46 public ash::SessionStateObserver,
47 public views::WidgetObserver, 47 public views::WidgetObserver,
48 public PowerManagerClient::Observer, 48 public PowerManagerClient::Observer,
49 public content::WebContentsObserver { 49 public content::WebContentsObserver {
50 public: 50 public:
51 explicit WebUIScreenLocker(ScreenLocker* screen_locker); 51 explicit WebUIScreenLocker(ScreenLocker* screen_locker);
52 52
53 // ScreenLockerDelegate implementation. 53 // ScreenLockerDelegate implementation.
54 virtual void LockScreen(bool unlock_on_input) OVERRIDE; 54 virtual void LockScreen() OVERRIDE;
55 virtual void ScreenLockReady() OVERRIDE; 55 virtual void ScreenLockReady() OVERRIDE;
56 virtual void OnAuthenticate() OVERRIDE; 56 virtual void OnAuthenticate() OVERRIDE;
57 virtual void SetInputEnabled(bool enabled) OVERRIDE; 57 virtual void SetInputEnabled(bool enabled) OVERRIDE;
58 virtual void ShowErrorMessage( 58 virtual void ShowErrorMessage(
59 int error_msg_id, 59 int error_msg_id,
60 HelpAppLauncher::HelpTopic help_topic_id) OVERRIDE; 60 HelpAppLauncher::HelpTopic help_topic_id) OVERRIDE;
61 virtual void ClearErrors() OVERRIDE; 61 virtual void ClearErrors() OVERRIDE;
62 virtual void AnimateAuthenticationSuccess() OVERRIDE; 62 virtual void AnimateAuthenticationSuccess() OVERRIDE;
63 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; 63 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE;
64 virtual content::WebUI* GetAssociatedWebUI() OVERRIDE; 64 virtual content::WebUI* GetAssociatedWebUI() OVERRIDE;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 base::TimeTicks lock_time_; 134 base::TimeTicks lock_time_;
135 135
136 base::WeakPtrFactory<WebUIScreenLocker> weak_factory_; 136 base::WeakPtrFactory<WebUIScreenLocker> weak_factory_;
137 137
138 DISALLOW_COPY_AND_ASSIGN(WebUIScreenLocker); 138 DISALLOW_COPY_AND_ASSIGN(WebUIScreenLocker);
139 }; 139 };
140 140
141 } // namespace chromeos 141 } // namespace chromeos
142 142
143 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_ 143 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/screen_locker_delegate.h ('k') | chrome/browser/chromeos/login/webui_screen_locker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698