Index: ui/keyboard/resources/webui/api_adapter.js |
diff --git a/ui/keyboard/resources/webui/api_adapter.js b/ui/keyboard/resources/webui/api_adapter.js |
index 17d84b9d7c35c5c4c1a953bca5406d9a7e865bbb..415a04215604c5890ca4d5be6750081fad6b8d57 100644 |
--- a/ui/keyboard/resources/webui/api_adapter.js |
+++ b/ui/keyboard/resources/webui/api_adapter.js |
@@ -34,7 +34,10 @@ function hideKeyboard() { |
* "text" are supported. |
*/ |
function OnTextInputBoxFocused(inputContext) { |
- keyboard.inputType = inputContext.type; |
+ // Do not want to use the system keyboard for passwords in webui. |
+ if (inputContext.type == 'password') |
+ inputContext.type = 'text'; |
+ keyboard.inputTypeValue = inputContext.type; |
} |
/** |