| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/cr_elements/cr_profile_avatar_select
or/cr_profile_avatar_selector.html"> | 1 <link rel="import" href="chrome://resources/cr_elements/cr_profile_avatar_select
or/cr_profile_avatar_selector.html"> |
| 2 <link rel="import" href="chrome://resources/html/polymer.html"> | 2 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 3 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> | 3 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> |
| 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input
.html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input
.html"> |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm
l"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm
l"> |
| 6 <link rel="import" href="/people_page/manage_profile_browser_proxy.html"> | 6 <link rel="import" href="/people_page/manage_profile_browser_proxy.html"> |
| 7 <link rel="import" href="/route.html"> |
| 7 <link rel="import" href="/settings_shared_css.html"> | 8 <link rel="import" href="/settings_shared_css.html"> |
| 8 | 9 |
| 9 <dom-module id="settings-manage-profile"> | 10 <dom-module id="settings-manage-profile"> |
| 10 <template> | 11 <template> |
| 11 <style include="settings-shared"> | 12 <style include="settings-shared"> |
| 12 #selector { | 13 #selector { |
| 13 margin: 16px 20px; | 14 margin: 16px 20px; |
| 14 } | 15 } |
| 15 </style> | 16 </style> |
| 16 <div class="settings-box first"> | 17 <div class="settings-box first"> |
| 17 <paper-input id="name" value="{{profileName}}" pattern=".*\S.*" | 18 <paper-input id="name" value="[[profileName]]" pattern=".*\S.*" |
| 18 auto-validate required on-change="onProfileNameChanged_" | 19 auto-validate required on-change="onProfileNameChanged_" |
| 19 disabled="[[isProfileNameDisabled_(syncStatus)]]"> | 20 disabled="[[isProfileNameDisabled_(syncStatus)]]"> |
| 20 </paper-input> | 21 </paper-input> |
| 21 </div> | 22 </div> |
| 22 <cr-profile-avatar-selector id="selector" avatars="[[availableIcons]]" | 23 <cr-profile-avatar-selector id="selector" avatars="[[availableIcons]]" |
| 23 selected-avatar-url="{{profileIconUrl}}" | 24 selected-avatar-url="{{profileIconUrl}}" |
| 24 on-iron-activate="onIconActivate_"> | 25 on-iron-activate="onIconActivate_"> |
| 25 </cr-profile-avatar-selector> | 26 </cr-profile-avatar-selector> |
| 26 </template> | 27 </template> |
| 27 <script src="manage_profile.js"></script> | 28 <script src="manage_profile.js"></script> |
| 28 </dom-module> | 29 </dom-module> |
| OLD | NEW |