Chromium Code Reviews| Index: chrome/browser/resources/settings/people_page/setup_pin_dialog.js |
| diff --git a/chrome/browser/resources/settings/people_page/setup_pin_dialog.js b/chrome/browser/resources/settings/people_page/setup_pin_dialog.js |
| index 72b68c829117e51f0c2c6f3cd11895926a6be534..b12c03353aaeb692a12635b071180dd7848593f8 100644 |
| --- a/chrome/browser/resources/settings/people_page/setup_pin_dialog.js |
| +++ b/chrome/browser/resources/settings/people_page/setup_pin_dialog.js |
| @@ -78,6 +78,11 @@ Polymer({ |
| open: function() { |
| this.$.dialog.showModal(); |
| this.$.pinKeyboard.focus(); |
| + |
| + // Each tap of the PIN keyboard button transfers focus to the PIN input, |
| + // which will keep opening the virtual keyboard. Disable the virtual |
| + // keyboard while this dialog is present. |
| + chrome.send('ForceDisableVirtualKeyboard', [true]); |
|
jdufault
2016/10/27 19:54:14
SetForceDisableVirtualKeyboard?
sammiequon
2016/10/27 22:00:20
Done.
|
| }, |
| close: function() { |
| @@ -85,6 +90,9 @@ Polymer({ |
| this.$.dialog.close(); |
| this.resetState_(); |
| + |
| + // Renable the virtual keyboard. |
| + chrome.send('ForceDisableVirtualKeyboard', [false]); |
| }, |
| /** |