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

Unified Diff: chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h

Issue 18856014: We should switch the keyboard layout to the layout the user set according to (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix clang build. Created 7 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/ui/webui/chromeos/login/signin_screen_handler.h
diff --git a/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h b/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h
index 1c17b8cc328142821050a835e1c8bba980d71230..c77bc35b11fa875ce4d5d2321c1c0d7cb9fae9c8 100644
--- a/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h
+++ b/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h
@@ -193,6 +193,9 @@ class SigninScreenHandler
virtual void UpdateState(NetworkStateInformer::State state,
ErrorScreenActor::ErrorReason reason) OVERRIDE;
+ // Required Local State preferences
Nikita (slow) 2013/07/15 12:56:38 nit: dot is missing.
Alexander Alekseev 2013/07/22 14:24:21 Done.
+ static void RegisterPrefs(PrefRegistrySimple* registry);
+
private:
enum UIState {
UI_STATE_UNKNOWN = 0,
@@ -379,6 +382,12 @@ class SigninScreenHandler
// Attempts login for test.
void SubmitLoginFormForTest();
+ // Update current input method (namely keyboard layout) to LRU by this user
Nikita (slow) 2013/07/15 12:56:38 nit: dot is missing.
Alexander Alekseev 2013/07/22 14:24:21 Done.
+ void SetUserInputMethod(const std::string& username);
+
+ // Update current input method to HW default
Nikita (slow) 2013/07/15 12:56:38 nit: dot is missing.
Alexander Alekseev 2013/07/22 14:24:21 Done.
+ void SetUserInputMethodHWDefault();
+
// Current UI state of the signin screen.
UIState ui_state_;

Powered by Google App Engine
This is Rietveld 408576698