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

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

Issue 2510203002: Implement auto-login for ARC kiosk. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@kiosk_session
Patch Set: Stop timer if running in StartAutoLoginTimer() Created 4 years, 1 month 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_LOCK_WEBUI_SCREEN_LOCKER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_WEBUI_SCREEN_LOCKER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_WEBUI_SCREEN_LOCKER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_WEBUI_SCREEN_LOCKER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 94
95 // LoginDisplay::Delegate: 95 // LoginDisplay::Delegate:
96 void CancelPasswordChangedFlow() override; 96 void CancelPasswordChangedFlow() override;
97 void CompleteLogin(const UserContext& user_context) override; 97 void CompleteLogin(const UserContext& user_context) override;
98 base::string16 GetConnectedNetworkName() override; 98 base::string16 GetConnectedNetworkName() override;
99 bool IsSigninInProgress() const override; 99 bool IsSigninInProgress() const override;
100 void Login(const UserContext& user_context, 100 void Login(const UserContext& user_context,
101 const SigninSpecifics& specifics) override; 101 const SigninSpecifics& specifics) override;
102 void MigrateUserData(const std::string& old_password) override; 102 void MigrateUserData(const std::string& old_password) override;
103 void OnSigninScreenReady() override; 103 void OnSigninScreenReady() override;
104 void OnGaiaScreenReady() override;
104 void OnStartEnterpriseEnrollment() override; 105 void OnStartEnterpriseEnrollment() override;
105 void OnStartEnableDebuggingScreen() override; 106 void OnStartEnableDebuggingScreen() override;
106 void OnStartKioskEnableScreen() override; 107 void OnStartKioskEnableScreen() override;
107 void OnStartKioskAutolaunchScreen() override; 108 void OnStartKioskAutolaunchScreen() override;
108 void ShowWrongHWIDScreen() override; 109 void ShowWrongHWIDScreen() override;
109 void ResetPublicSessionAutoLoginTimer() override; 110 void ResetAutoLoginTimer() override;
110 void ResyncUserData() override; 111 void ResyncUserData() override;
111 void SetDisplayEmail(const std::string& email) override; 112 void SetDisplayEmail(const std::string& email) override;
112 void Signout() override; 113 void Signout() override;
113 bool IsUserWhitelisted(const AccountId& account_id) override; 114 bool IsUserWhitelisted(const AccountId& account_id) override;
114 115
115 // LockStateObserver: 116 // LockStateObserver:
116 void OnLockStateEvent(ash::LockStateObserver::EventType event) override; 117 void OnLockStateEvent(ash::LockStateObserver::EventType event) override;
117 118
118 // WidgetObserver: 119 // WidgetObserver:
119 void OnWidgetDestroying(views::Widget* widget) override; 120 void OnWidgetDestroying(views::Widget* widget) override;
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 bool is_observing_keyboard_ = false; 182 bool is_observing_keyboard_ = false;
182 183
183 base::WeakPtrFactory<WebUIScreenLocker> weak_factory_; 184 base::WeakPtrFactory<WebUIScreenLocker> weak_factory_;
184 185
185 DISALLOW_COPY_AND_ASSIGN(WebUIScreenLocker); 186 DISALLOW_COPY_AND_ASSIGN(WebUIScreenLocker);
186 }; 187 };
187 188
188 } // namespace chromeos 189 } // namespace chromeos
189 190
190 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_WEBUI_SCREEN_LOCKER_H_ 191 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_WEBUI_SCREEN_LOCKER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698