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

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: Created 4 years, 9 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 </div> 130 </div>
131 </template> 131 </template>
132 </if> 132 </if>
133 133
134 <div class="settings-box"> 134 <div class="settings-box">
135 <paper-button class="primary-button" i18n-content="manageOtherPeople" 135 <paper-button class="primary-button" i18n-content="manageOtherPeople"
136 on-tap="onManageOtherPeople_"> 136 on-tap="onManageOtherPeople_">
137 </paper-button> 137 </paper-button>
138 </div> 138 </div>
139 </neon-animatable> 139 </neon-animatable>
140 <neon-animatable id="sync"> 140 <template is="dom-if" name="sync">
141 <settings-subheader i18n-values="page-title:syncPageTitle"> 141 <settings-subpage page-title="[[i18n('syncPageTitle')]]">
142 </settings-subheader> 142 <settings-sync-page current-route="[[currentRoute]]">
143 <settings-sync-page current-route="[[currentRoute]]"> 143 </settings-sync-page>
144 </settings-sync-page> 144 </settings-subpage>
145 </neon-animatable> 145 </template>
146 <if expr="chromeos"> 146 <if expr="chromeos">
147 <neon-animatable id="users"> 147 <template is="dom-if" name="users">
148 <settings-subheader i18n-values="page-title:usersPageTitle"> 148 <settings-subpage page-title="[[i18n('usersPageTitle')]]">
149 </settings-subheader> 149 <settings-users-page prefs="{{prefs}}"></settings-users-page>
150 <settings-users-page prefs="{{prefs}}"></settings-users-page> 150 </settings-subpage>
151 </neon-animatable> 151 </template>
152 <neon-animatable id="changePicture"> 152 <template is="dom-if" name="changePicture">
153 <settings-subheader i18n-values="page-title:changePictureTitle"> 153 <settings-subpage page-title="[[i18n('changePictureTitle')]]">
154 </settings-subheader> 154 <settings-change-picture></settings-change-picture>
155 <settings-change-picture></settings-change-picture> 155 </settings-subpage>
156 </neon-animatable> 156 </template>
157 </if> 157 </if>
158 <if expr="not chromeos"> 158 <if expr="not chromeos">
159 <neon-animatable id="manageProfile"> 159 <template is="dom-if" name="manageProfile">
160 <settings-subheader i18n-values="page-title:editPerson"> 160 <settings-subpage page-title="[[i18n('editPerson')]]">
161 </settings-subheader> 161 <settings-manage-profile profile-icon-url="[[profileIconUrl_]]"
162 <settings-manage-profile profile-icon-url="[[profileIconUrl_]]" 162 profile-name="[[profileName_]]">
163 profile-name="[[profileName_]]"> 163 </settings-manage-profile>
164 </settings-manage-profile> 164 </settings-subpage>
165 </neon-animatable> 165 </template>
166 </if> 166 </if>
167 </settings-animated-pages> 167 </settings-animated-pages>
168 168
169 <paper-dialog modal id="disconnectDialog"> 169 <paper-dialog modal id="disconnectDialog">
170 <h2 i18n-content="syncDisconnectTitle"></h2> 170 <h2 i18n-content="syncDisconnectTitle"></h2>
171 <div i18n-values=".innerHTML:syncDisconnectExplanation"></div> 171 <div i18n-values=".innerHTML:syncDisconnectExplanation"></div>
172 <if expr="(not chromeos and is_posix) or is_win or is_macosx"> 172 <if expr="(not chromeos and is_posix) or is_win or is_macosx">
173 <paper-checkbox id="deleteProfile" 173 <paper-checkbox id="deleteProfile"
174 i18n-content="syncDisconnectDeleteProfile"> 174 i18n-content="syncDisconnectDeleteProfile">
175 </paper-checkbox> 175 </paper-checkbox>
176 </if> 176 </if>
177 <div class="button-strip"> 177 <div class="button-strip">
178 <paper-button dialog-dismiss i18n-content="cancel"> 178 <paper-button dialog-dismiss i18n-content="cancel">
179 </paper-button> 179 </paper-button>
180 <paper-button dialog-confirm class="action-button" 180 <paper-button dialog-confirm class="action-button"
181 on-tap="onDisconnectConfirm_" i18n-content="syncDisconnectConfirm"> 181 on-tap="onDisconnectConfirm_" i18n-content="syncDisconnectConfirm">
182 </paper-button> 182 </paper-button>
183 </div> 183 </div>
184 </paper-dialog> 184 </paper-dialog>
185 185
186 <if expr="chromeos"> 186 <if expr="chromeos">
187 <template is="dom-if" if="[[easyUnlockEnabled_]]"> 187 <template is="dom-if" if="[[easyUnlockEnabled_]]">
188 <easy-unlock-turn-off-dialog id="easyUnlockTurnOffDialog"> 188 <easy-unlock-turn-off-dialog id="easyUnlockTurnOffDialog">
189 </easy-unlock-turn-off-dialog> 189 </easy-unlock-turn-off-dialog>
190 </template> 190 </template>
191 </if> 191 </if>
192 </template> 192 </template>
193 <script src="people_page.js"></script> 193 <script src="people_page.js"></script>
194 </dom-module> 194 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698