summaryrefslogtreecommitdiffstats
path: root/chromium/chrome/browser/resources/settings/privacy_page/security_keys_pin_field.html
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2019-08-30 10:22:43 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2019-08-30 12:36:28 +0000
commit271a6c3487a14599023a9106329505597638d793 (patch)
treee040d58ffc86c1480b79ca8528020ca9ec919bf8 /chromium/chrome/browser/resources/settings/privacy_page/security_keys_pin_field.html
parent7b2ffa587235a47d4094787d72f38102089f402a (diff)
BASELINE: Update Chromium to 77.0.3865.59
Change-Id: I1e89a5f3b009a9519a6705102ad65c92fe736f21 Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'chromium/chrome/browser/resources/settings/privacy_page/security_keys_pin_field.html')
-rw-r--r--chromium/chrome/browser/resources/settings/privacy_page/security_keys_pin_field.html34
1 files changed, 34 insertions, 0 deletions
diff --git a/chromium/chrome/browser/resources/settings/privacy_page/security_keys_pin_field.html b/chromium/chrome/browser/resources/settings/privacy_page/security_keys_pin_field.html
new file mode 100644
index 00000000000..bd62a4001c0
--- /dev/null
+++ b/chromium/chrome/browser/resources/settings/privacy_page/security_keys_pin_field.html
@@ -0,0 +1,34 @@
+<link rel="import" href="chrome://resources/html/polymer.html">
+
+<link rel="import" href="chrome://resources/html/i18n_behavior.html">
+<link rel="import" href="chrome://resources/cr_elements/cr_input/cr_input.html">
+<link rel="import" href="chrome://resources/cr_elements/cr_icon_button/cr_icon_button.html">
+<link rel="import" href="../i18n_setup.html">
+<link rel="import" href="../settings_shared_css.html">
+
+<dom-module id="settings-security-keys-pin-field">
+ <template>
+ <style include="settings-shared">
+ cr-input {
+ display: inline-block;
+ padding-inline-end: 2em;
+ --cr-input-width: 8em;
+ }
+ </style>
+
+ <cr-input id="pin" value="{{value}}" minLength="4"
+ maxLength="255" spellcheck="false"
+ on-input="onPINInput_"
+ invalid="[[isNonEmpty_(error)]]"
+ label="[[label]]" tabindex="0"
+ type$="[[inputType_(inputVisible_)]]"
+ error-message="[[error]]">
+ <cr-icon-button slot="suffix" id="showButton"
+ class$="[[showButtonClass_(inputVisible_)]]"
+ title="[[showButtonTitle_(inputVisible_)]]"
+ focus-row-control focus-type="showPassword"
+ on-click="showButtonClick_"></cr-icon-button>
+ </cr-input>
+ </template>
+ <script src="security_keys_pin_field.js"></script>
+</dom-module>