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

Unified Diff: ui/login/display_manager.js

Issue 2260653002: Pin keyboard works with virtual keyboard. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Nit. Created 4 years, 4 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 | « ui/login/account_picker/user_pod_template.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/login/display_manager.js
diff --git a/ui/login/display_manager.js b/ui/login/display_manager.js
index 702590d13f77df04560337d7ef816bafdaccfa45..6338015c61b8887cb3fa2a449355368ddebd95af 100644
--- a/ui/login/display_manager.js
+++ b/ui/login/display_manager.js
@@ -202,6 +202,12 @@ cr.define('cr.ui.login', function() {
forceKeyboardFlow_: false,
/**
+ * Whether the virtual keyboard is displayed.
+ * @type {boolean}
+ */
+ virtualKeyboardShown: false,
+
+ /**
* Type of UI.
* @type {string}
*/
@@ -254,6 +260,11 @@ cr.define('cr.ui.login', function() {
$('login-header-bar').hidden = hidden;
},
+ set pinHidden(hidden) {
+ this.virtualKeyboardShown = hidden;
+ $('pod-row').setPinHidden(hidden);
+ },
+
/**
* Sets the current size of the client area (display size).
* @param {number} width client area width
« no previous file with comments | « ui/login/account_picker/user_pod_template.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698