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

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: Fixed patch set 2 errors. 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
Index: ui/login/display_manager.js
diff --git a/ui/login/display_manager.js b/ui/login/display_manager.js
index 626bf7b9181b6e4643c9350491013aedfdb12a58..96e7f6cb546bdf419a3a75f3b833a081348fc882 100644
--- a/ui/login/display_manager.js
+++ b/ui/login/display_manager.js
@@ -204,6 +204,12 @@ cr.define('cr.ui.login', function() {
forceKeyboardFlow_: false,
/**
+ * Whether the virtual keyboard is displayed.
+ * @type {boolean}
+ */
+ virtualKeyboardShown: false,
+
+ /**
* Type of UI.
* @type {string}
*/
@@ -256,6 +262,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
« ui/login/account_picker/user_pod_row.js ('K') | « 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