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

Side by Side Diff: chrome/browser/resources/settings/people_page/manage_profile.html

Issue 1857203003: Settings People Revamp: Fix Mange Profile empty name crash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/settings/people_page/manage_profile.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <link rel="import" href="chrome://resources/html/polymer.html"> 1 <link rel="import" href="chrome://resources/html/polymer.html">
2 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> 2 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html">
3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input .html"> 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input .html">
4 <link rel="import" href="chrome://md-settings/people_page/sync_private_api.html" > 4 <link rel="import" href="chrome://md-settings/people_page/sync_private_api.html" >
5 <link rel="import" href="chrome://md-settings/settings_shared_css.html"> 5 <link rel="import" href="chrome://md-settings/settings_shared_css.html">
6 6
7 <dom-module id="settings-manage-profile"> 7 <dom-module id="settings-manage-profile">
8 <link rel="import" type="css" href="manage_profile.css"> 8 <link rel="import" type="css" href="manage_profile.css">
9 <template> 9 <template>
10 <style include="settings-shared"></style> 10 <style include="settings-shared"></style>
11 <div class="settings-box first"> 11 <div class="settings-box first">
12 <paper-input value="{{profileName}}" pattern=".*\S.*" auto-validate 12 <paper-input value="{{profileName}}" pattern=".*\S.*" auto-validate
13 on-blur="onProfileNameChanged_"> 13 required on-change="onProfileNameChanged_">
14 </paper-input> 14 </paper-input>
15 <div id="availableIcons"> 15 <div id="availableIcons">
16 <template is="dom-repeat" items="[[availableIconUrls]]"> 16 <template is="dom-repeat" items="[[availableIconUrls]]">
17 <paper-button toggles active="{{isActiveIcon_(item, profileIconUrl)}}" 17 <paper-button toggles active="{{isActiveIcon_(item, profileIconUrl)}}"
18 on-tap="onIconTap_" data-icon-url$="[[item]]"> 18 on-tap="onIconTap_" data-icon-url$="[[item]]">
19 <img src="[[item]]"> 19 <img src="[[item]]">
20 </paper-button> 20 </paper-button>
21 </template> 21 </template>
22 </div> 22 </div>
23 </div> 23 </div>
24 </template> 24 </template>
25 <script src="manage_profile.js"></script> 25 <script src="manage_profile.js"></script>
26 </dom-module> 26 </dom-module>
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/settings/people_page/manage_profile.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698