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

Unified Diff: chrome/browser/chromeos/login/existing_user_controller.h

Issue 426063005: Allow recommended locales to be set for public sessions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/existing_user_controller.h
diff --git a/chrome/browser/chromeos/login/existing_user_controller.h b/chrome/browser/chromeos/login/existing_user_controller.h
index be197f65441834f041449776812924cfed8c5e20..0ce80fe315ad90959cc80abab1da4d0444358378 100644
--- a/chrome/browser/chromeos/login/existing_user_controller.h
+++ b/chrome/browser/chromeos/login/existing_user_controller.h
@@ -28,6 +28,10 @@
#include "ui/gfx/rect.h"
#include "url/gurl.h"
+namespace base {
+class ListValue;
+}
+
namespace chromeos {
class CrosSettings;
@@ -220,6 +224,17 @@ class ExistingUserController : public LoginDisplay::Delegate,
// Sends an accessibility alert event to extension listeners.
void SendAccessibilityAlert(const std::string& alert_text);
+ // Callback invoked when the keyboard layouts available for a public session
+ // have been retrieved. Selects the first layout from the list and continues
+ // login.
+ void SetPublicSessionKeyboardLayoutAndLogin(
+ const UserContext& user_context,
+ scoped_ptr<base::ListValue> keyboard_layouts);
+
+ // Starts the actual login process for a public session. Invoked when all
+ // preconditions have been verified.
+ void LoginAsPublicSessionInternal(const UserContext& user_context);
+
// Public session auto-login timer.
scoped_ptr<base::OneShotTimer<ExistingUserController> > auto_login_timer_;

Powered by Google App Engine
This is Rietveld 408576698