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

Unified Diff: chrome/browser/resources/settings/people_page/users_add_user_dialog.html

Issue 2533173002: MD Settings: Listen to the Enter key in the Add User ChromeOS dialog. (Closed)
Patch Set: Created 4 years, 1 month 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/people_page/users_add_user_dialog.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/people_page/users_add_user_dialog.html
diff --git a/chrome/browser/resources/settings/people_page/users_add_user_dialog.html b/chrome/browser/resources/settings/people_page/users_add_user_dialog.html
index cc2180c3f442f8d48fa9862852ee8b7cd273f84c..c680ac93d730efd9716515d28737fd67e194f22f 100644
--- a/chrome/browser/resources/settings/people_page/users_add_user_dialog.html
+++ b/chrome/browser/resources/settings/people_page/users_add_user_dialog.html
@@ -1,6 +1,7 @@
<link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html">
<link rel="import" href="chrome://resources/html/assert.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-button/paper-button.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input.html">
<link rel="import" href="/settings_shared_css.html">
@@ -19,6 +20,8 @@
<dialog is="cr-dialog" id="dialog">
<div class="title">$i18n{addUsers}</div>
<div class="body">
+ <iron-a11y-keys id="keys" keys="enter" on-keys-pressed="addUser_">
michaelpg 2016/11/29 02:54:10 the Polymer example sets the "target" attribute so
tommycli 2016/11/30 15:48:34 Hello. If there is no target attr set, the target
michaelpg 2016/11/30 18:02:19 well gee, thanks Polymer for mentioning that in yo
tommycli 2016/11/30 18:14:59 Done.
+ </iron-a11y-keys>
<paper-input id="addUserInput" label="$i18n{addUsersEmail}" autofocus
on-input="validate_">
</paper-input>
« no previous file with comments | « no previous file | chrome/browser/resources/settings/people_page/users_add_user_dialog.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698