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

Side by Side Diff: chrome/browser/resources/settings/certificate_manager_page/certificate_password_decryption_dialog.html

Issue 2795353002: WebUI: For cr-dialog, handle Enter keys in paper-inputs. (Closed)
Patch Set: update tests Created 3 years, 8 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/settings/certificate_manager_page/certificate_password_decryption_dialog.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html "> 1 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html ">
2 <link rel="import" href="chrome://resources/html/polymer.html"> 2 <link rel="import" href="chrome://resources/html/polymer.html">
3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input .html"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input .html">
5 <link rel="import" href="../i18n_setup.html"> 5 <link rel="import" href="../i18n_setup.html">
6 <link rel="import" href="../settings_shared_css.html"> 6 <link rel="import" href="../settings_shared_css.html">
7 <link rel="import" href="certificates_browser_proxy.html"> 7 <link rel="import" href="certificates_browser_proxy.html">
8 8
9 <dom-module id="settings-certificate-password-decryption-dialog"> 9 <dom-module id="settings-certificate-password-decryption-dialog">
10 <template> 10 <template>
11 <style include="settings-shared"></style> 11 <style include="settings-shared"></style>
12 <dialog is="cr-dialog" id="dialog" close-text="$i18n{close}"> 12 <dialog is="cr-dialog" id="dialog" close-text="$i18n{close}">
13 <div class="title">$i18n{certificateManagerDecryptPasswordTitle}</div> 13 <div class="title">$i18n{certificateManagerDecryptPasswordTitle}</div>
14 <div class="body"> 14 <div class="body">
15 <paper-input type="password" id="password" 15 <paper-input type="password" id="password"
16 label="$i18n{certificateManagerPassword}" 16 label="$i18n{certificateManagerPassword}" value="{{password_}}">
17 value="{{password_}}" on-keypress="onKeypress_">
18 </paper-input> 17 </paper-input>
19 </div> 18 </div>
20 <div class="button-container"> 19 <div class="button-container">
21 <paper-button class="cancel-button" on-tap="onCancelTap_"> 20 <paper-button class="cancel-button" on-tap="onCancelTap_">
22 $i18n{cancel} 21 $i18n{cancel}
23 </paper-button> 22 </paper-button>
24 <paper-button id="ok" class="action-button" on-tap="onOkTap_" 23 <paper-button id="ok" class="action-button" on-tap="onOkTap_"
25 disabled="[[!password_.length]]"> 24 disabled="[[!password_.length]]">
26 $i18n{ok} 25 $i18n{ok}
27 </paper-button> 26 </paper-button>
28 </div> 27 </div>
29 </dialog> 28 </dialog>
30 </template> 29 </template>
31 <script src="certificate_password_decryption_dialog.js"></script> 30 <script src="certificate_password_decryption_dialog.js"></script>
32 </dom-module> 31 </dom-module>
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/settings/certificate_manager_page/certificate_password_decryption_dialog.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698