Index: ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.html |
diff --git a/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.html b/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.html |
index ad15468fbcc3b1045f85951aa0afcfa91b18cfd4..3c3747bb74afe059945743f3b63fbe611d9c8585 100644 |
--- a/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.html |
+++ b/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector.html |
@@ -1,5 +1,6 @@ |
-<link rel="import" href="chrome://resources/html/icon.html"> |
<link rel="import" href="chrome://resources/html/polymer.html"> |
tommycli
2017/06/22 21:45:31
Is this change intentional?
dpapad
2017/06/22 23:22:48
Yes. This was discussed at https://groups.google.c
|
+ |
+<link rel="import" href="chrome://resources/html/icon.html"> |
<link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-button.html"> |
<link rel="import" href="cr_profile_avatar_selector_grid.html"> |
@@ -42,12 +43,11 @@ |
} |
</style> |
<cr-profile-avatar-selector-grid id="avatar-grid" |
- selected="{{selectedAvatarUrl}}" attr-for-selected="data-avatar-url" |
ignore-modified-key-events="[[ignoreModifiedKeyEvents]]"> |
<template is="dom-repeat" items="[[avatars]]"> |
- <paper-button class="avatar" data-avatar-url$="[[item.url]]" |
- title="[[item.label]]" data-is-gaia-avatar$="[[item.isGaiaAvatar]]" |
- style$="background-image: [[getIconImageset_(item.url)]]"> |
+ <paper-button class="avatar" title="[[item.label]]" |
+ style$="background-image: [[getIconImageset_(item.url)]]" |
+ on-tap="onAvatarTap_"> |
</paper-button> |
</template> |
</cr-profile-avatar-selector-grid> |