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

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

Issue 2702393003: [ChromeOS] Expose keyboard remapping to signin screen. (Closed)
Patch Set: Address xiyuan@'s comments. Created 3 years, 10 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
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc
diff --git a/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc b/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc
index cf023763f334e81d2a5efb3dcdeb3b0cd3ce2f4e..b1e9c0227b6e84eea14f0eb65ef090f794ab0389 100644
--- a/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc
+++ b/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc
@@ -676,6 +676,14 @@ void SigninScreenHandler::ZeroOfflineTimeoutForTesting() {
zero_offline_timeout_for_test_ = true;
}
+bool SigninScreenHandler::GetKeyboardRemappedPrefValue(
+ const std::string& pref_name,
+ int* value) {
+ return focused_pod_account_id_ && focused_pod_account_id_->is_valid() &&
+ user_manager::known_user::GetIntegerPref(*focused_pod_account_id_,
+ pref_name, value);
+}
+
// SigninScreenHandler, private: -----------------------------------------------
void SigninScreenHandler::ShowImpl() {
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698