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

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

Issue 2950943002: MD Settings: Stop using IronMenuBehavior from cr-profile-avatar-selector-grid. (Closed)
Patch Set: Added comment. Created 3 years, 6 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
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">
+
+<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>

Powered by Google App Engine
This is Rietveld 408576698