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

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

Issue 1826683002: MD Settings: Lazy-load sub-pages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@WebAnimationsExterns
Patch Set: closure 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
OLDNEW
1 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> 1 <link rel="import" href="chrome://resources/html/i18n_behavior.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/neon-animation/neon-ani matable.html"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable.html">
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-checkbox/paper-ch eckbox.html"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-checkbox/paper-ch eckbox.html">
7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-dialog/paper-dial og.html"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-dialog/paper-dial og.html">
8 <link rel="import" href="chrome://md-settings/controls/settings_checkbox.html"> 8 <link rel="import" href="chrome://md-settings/controls/settings_checkbox.html">
9 <link rel="import" href="chrome://md-settings/people_page/sync_page.html"> 9 <link rel="import" href="chrome://md-settings/people_page/sync_page.html">
10 <link rel="import" href="chrome://md-settings/people_page/sync_private_api.html" > 10 <link rel="import" href="chrome://md-settings/people_page/sync_private_api.html" >
11 <link rel="import" href="chrome://md-settings/settings_page/settings_animated_pa ges.html"> 11 <link rel="import" href="chrome://md-settings/settings_page/settings_animated_pa ges.html">
12 <link rel="import" href="chrome://md-settings/settings_page/settings_subheader.h tml"> 12 <link rel="import" href="chrome://md-settings/settings_page/settings_subpage.htm l">
13 <link rel="import" href="chrome://md-settings/settings_shared_css.html"> 13 <link rel="import" href="chrome://md-settings/settings_shared_css.html">
14 14
15 <if expr="chromeos"> 15 <if expr="chromeos">
16 <link rel="import" href="chrome://md-settings/people_page/change_picture.html"> 16 <link rel="import" href="chrome://md-settings/people_page/change_picture.html">
17 <link rel="import" href="chrome://md-settings/people_page/easy_unlock_browser_pr oxy.html"> 17 <link rel="import" href="chrome://md-settings/people_page/easy_unlock_browser_pr oxy.html">
18 <link rel="import" href="chrome://md-settings/people_page/easy_unlock_turn_off_d ialog.html"> 18 <link rel="import" href="chrome://md-settings/people_page/easy_unlock_turn_off_d ialog.html">
19 <link rel="import" href="chrome://md-settings/people_page/users_page.html"> 19 <link rel="import" href="chrome://md-settings/people_page/users_page.html">
20 </if> 20 </if>
21 <if expr="not chromeos"> 21 <if expr="not chromeos">
22 <link rel="import" href="chrome://md-settings/people_page/manage_profile.html"> 22 <link rel="import" href="chrome://md-settings/people_page/manage_profile.html">
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 </div> 148 </div>
149 </template> 149 </template>
150 </if> 150 </if>
151 151
152 <div class="settings-box"> 152 <div class="settings-box">
153 <paper-button class="primary-button" i18n-content="manageOtherPeople" 153 <paper-button class="primary-button" i18n-content="manageOtherPeople"
154 on-tap="onManageOtherPeople_"> 154 on-tap="onManageOtherPeople_">
155 </paper-button> 155 </paper-button>
156 </div> 156 </div>
157 </neon-animatable> 157 </neon-animatable>
158 <neon-animatable id="sync"> 158 <template is="dom-if" name="sync">
159 <settings-subheader i18n-values="page-title:syncPageTitle"> 159 <settings-subpage page-title="[[i18n('syncPageTitle')]]">
160 </settings-subheader> 160 <settings-sync-page current-route="[[currentRoute]]">
161 <settings-sync-page current-route="[[currentRoute]]"> 161 </settings-sync-page>
162 </settings-sync-page> 162 </settings-subpage>
163 </neon-animatable> 163 </template>
164 <if expr="chromeos"> 164 <if expr="chromeos">
165 <neon-animatable id="users"> 165 <template is="dom-if" name="users">
166 <settings-subheader i18n-values="page-title:usersPageTitle"> 166 <settings-subpage page-title="[[i18n('usersPageTitle')]]">
167 </settings-subheader> 167 <settings-users-page prefs="{{prefs}}"></settings-users-page>
168 <settings-users-page prefs="{{prefs}}"></settings-users-page> 168 </settings-subpage>
169 </neon-animatable> 169 </template>
170 <neon-animatable id="changePicture"> 170 <template is="dom-if" name="changePicture">
171 <settings-subheader i18n-values="page-title:changePictureTitle"> 171 <settings-subpage page-title="[[i18n('changePictureTitle')]]">
172 </settings-subheader> 172 <settings-change-picture></settings-change-picture>
173 <settings-change-picture></settings-change-picture> 173 </settings-subpage>
174 </neon-animatable> 174 </template>
175 </if> 175 </if>
176 <if expr="not chromeos"> 176 <if expr="not chromeos">
177 <neon-animatable id="manageProfile"> 177 <template is="dom-if" name="manageProfile">
178 <settings-subheader i18n-values="page-title:editPerson"> 178 <settings-subpage page-title="[[i18n('editPerson')]]">
179 </settings-subheader> 179 <settings-manage-profile profile-icon-url="[[profileIconUrl_]]"
180 <settings-manage-profile profile-icon-url="[[profileIconUrl_]]" 180 profile-name="[[profileName_]]">
181 profile-name="[[profileName_]]"> 181 </settings-manage-profile>
182 </settings-manage-profile> 182 </settings-subpage>
183 </neon-animatable> 183 </template>
184 </if> 184 </if>
185 </settings-animated-pages> 185 </settings-animated-pages>
186 186
187 <paper-dialog modal id="disconnectDialog"> 187 <paper-dialog modal id="disconnectDialog">
188 <h2 i18n-content="syncDisconnectTitle"></h2> 188 <h2 i18n-content="syncDisconnectTitle"></h2>
189 <div i18n-values=".innerHTML:syncDisconnectExplanation"></div> 189 <div i18n-values=".innerHTML:syncDisconnectExplanation"></div>
190 <if expr="(not chromeos and is_posix) or is_win or is_macosx"> 190 <if expr="(not chromeos and is_posix) or is_win or is_macosx">
191 <paper-checkbox id="deleteProfile" 191 <paper-checkbox id="deleteProfile"
192 i18n-content="syncDisconnectDeleteProfile"> 192 i18n-content="syncDisconnectDeleteProfile">
193 </paper-checkbox> 193 </paper-checkbox>
194 </if> 194 </if>
195 <div class="button-strip"> 195 <div class="button-strip">
196 <paper-button dialog-dismiss i18n-content="cancel"> 196 <paper-button dialog-dismiss i18n-content="cancel">
197 </paper-button> 197 </paper-button>
198 <paper-button dialog-confirm class="action-button" 198 <paper-button dialog-confirm class="action-button"
199 on-tap="onDisconnectConfirm_" i18n-content="syncDisconnectConfirm"> 199 on-tap="onDisconnectConfirm_" i18n-content="syncDisconnectConfirm">
200 </paper-button> 200 </paper-button>
201 </div> 201 </div>
202 </paper-dialog> 202 </paper-dialog>
203 203
204 <if expr="chromeos"> 204 <if expr="chromeos">
205 <template is="dom-if" if="[[easyUnlockEnabled_]]"> 205 <template is="dom-if" if="[[easyUnlockEnabled_]]">
206 <easy-unlock-turn-off-dialog id="easyUnlockTurnOffDialog"> 206 <easy-unlock-turn-off-dialog id="easyUnlockTurnOffDialog">
207 </easy-unlock-turn-off-dialog> 207 </easy-unlock-turn-off-dialog>
208 </template> 208 </template>
209 </if> 209 </if>
210 </template> 210 </template>
211 <script src="people_page.js"></script> 211 <script src="people_page.js"></script>
212 </dom-module> 212 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698