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

Unified Diff: ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.js

Issue 2586113002: MD Settings: ignore modified key events in the profile avatar grid (Closed)
Patch Set: closure Created 4 years 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
Index: ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.js
diff --git a/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.js b/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.js
index c650ff3e18fc24807bd960a0ccda7a7787e0ffc2..9f6f9da4da03ac8703b002892ba6c3edb50f20f0 100644
--- a/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.js
+++ b/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.js
@@ -15,6 +15,15 @@ Polymer({
properties: {
/**
+ * The list of profile avatar URLs and labels.
+ * @type {!Array<!AvatarIcon>}
+ */
+ avatars: {
+ type: Array,
+ value: function() { return []; }
+ },
+
+ /**
* The currently selected profile avatar URL. May be a data URI.
* @type {string}
*/
@@ -23,14 +32,10 @@ Polymer({
notify: true
},
- /**
- * The list of profile avatar URLs and labels.
- * @type {!Array<!AvatarIcon>}
- */
- avatars: {
- type: Array,
- value: function() { return []; }
- }
+ ignoreModifiedKeyEvents: {
+ type: Boolean,
+ value: false,
+ },
},
/**

Powered by Google App Engine
This is Rietveld 408576698