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

Unified Diff: chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.html

Issue 2654663006: MD Settings: Update Autofill Address Dialog to accept Enter Key (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « no previous file | chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.html
diff --git a/chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.html b/chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.html
index 442b1c7f7395bc026394c47bf82af1e4248eb4be..204a016fa80bd7baf8d7fcd1f553f7907f81c6c7 100644
--- a/chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.html
+++ b/chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.html
@@ -3,6 +3,7 @@
<link rel="import" href="chrome://resources/html/i18n_behavior.html">
<link rel="import" href="chrome://resources/html/md_select_css.html">
<link rel="import" href="chrome://resources/html/polymer.html">
+<link rel="import" href="chrome://resources/polymer/v1_0/iron-a11y-keys/iron-a11y-keys.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-textarea.html">
<link rel="import" href="/settings_shared_css.html">
@@ -69,7 +70,11 @@
<paper-input type="text" label="[[item.component.fieldName]]"
always-float-label value="{{item.value}}"
on-value-changed="updateCanSave_"
- class$="address-column [[long_(item)]]"></paper-input>
+ class$="address-column [[long_(item)]]">
+ <iron-a11y-keys keys="enter"
+ on-keys-pressed="onSaveButtonTap_">
+ </iron-a11y-keys>
+ </paper-input>
</template>
</template>
</div>
@@ -91,6 +96,8 @@
</span>
</div>
<div class="address-row">
+ <iron-a11y-keys keys="enter" on-keys-pressed="onSaveButtonTap_">
+ </iron-a11y-keys>
<paper-input id="phoneInput" type="text" label="$i18n{addressPhone}"
always-float-label class="address-column"
on-value-changed="updateCanSave_" value="{{phoneNumber_}}">
« no previous file with comments | « no previous file | chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698