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

Unified Diff: chrome/browser/resources/chromeos/login/login_shared.js

Issue 2814863002: cros: Allow JS to control virtual keyboard on sign-in screen. (Closed)
Patch Set: Remove login_display_host_impl.cc keyboard logic Created 3 years, 8 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/resources/chromeos/login/login_shared.js
diff --git a/chrome/browser/resources/chromeos/login/login_shared.js b/chrome/browser/resources/chromeos/login/login_shared.js
index 00832b5b8724636ad562c8528fcaca1d92a2e40b..5aeaba1d0c1b0b5e2d776c596e734df2ade3bc02 100644
--- a/chrome/browser/resources/chromeos/login/login_shared.js
+++ b/chrome/browser/resources/chromeos/login/login_shared.js
@@ -412,10 +412,11 @@ cr.define('cr.ui', function() {
};
/**
- * Shows/hides pin keyboard on the lock screen.
+ * Changes some UI which depends on the virtual keyboard being shown/hidden.
*/
- Oobe.showPinKeyboard = function(show) {
- Oobe.getInstance().pinHidden = !show;
+ Oobe.setVirtualKeyboardShown = function(shown) {
+ Oobe.getInstance().virtualKeyboardShown = shown;
+ $('pod-row').setFocusedPodPinVisibility(!shown);
};
/**
« no previous file with comments | « chrome/browser/chromeos/login/ui/webui_login_view.cc ('k') | chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698