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

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

Issue 2862613003: md settings: Show lock screen when pin/fingerprint disabled. (Closed)
Patch Set: Fix patch set 2 errors. Created 3 years, 7 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/cr_elements/cr_dialog/cr_dialog.html "> 1 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html ">
2 <link rel="import" href="chrome://resources/cr_elements/cr_expand_button/cr_expa nd_button.html"> 2 <link rel="import" href="chrome://resources/cr_elements/cr_expand_button/cr_expa nd_button.html">
3 <link rel="import" href="chrome://resources/cr_elements/icons.html"> 3 <link rel="import" href="chrome://resources/cr_elements/icons.html">
4 <link rel="import" href="chrome://resources/html/assert.html"> 4 <link rel="import" href="chrome://resources/html/assert.html">
5 <link rel="import" href="chrome://resources/html/cr/ui/focus_without_ink.html"> 5 <link rel="import" href="chrome://resources/html/cr/ui/focus_without_ink.html">
6 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> 6 <link rel="import" href="chrome://resources/html/i18n_behavior.html">
7 <link rel="import" href="chrome://resources/html/icon.html"> 7 <link rel="import" href="chrome://resources/html/icon.html">
8 <link rel="import" href="chrome://resources/html/polymer.html"> 8 <link rel="import" href="chrome://resources/html/polymer.html">
9 <link rel="import" href="chrome://resources/html/util.html"> 9 <link rel="import" href="chrome://resources/html/util.html">
10 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> 10 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html">
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 [[syncStatus.statusText]] 182 [[syncStatus.statusText]]
183 </div> 183 </div>
184 </div> 184 </div>
185 <button class="subpage-arrow" is="paper-icon-button-light" 185 <button class="subpage-arrow" is="paper-icon-button-light"
186 aria-label="$i18n{sync}" 186 aria-label="$i18n{sync}"
187 aria-describedby="syncSecondary"></button> 187 aria-describedby="syncSecondary"></button>
188 </div> 188 </div>
189 </template> 189 </template>
190 190
191 <if expr="chromeos"> 191 <if expr="chromeos">
192 <template is="dom-if" if="[[!quickUnlockEnabled_]]"> 192 <div class="settings-box two-line" actionable
193 <div class="settings-box"> 193 on-tap="onConfigureLockTap_">
194 <settings-toggle-button class="start" 194 <div class="start">
195 pref="{{prefs.settings.enable_screen_lock}}" 195 $i18n{lockScreenTitle}
196 label="$i18n{enableScreenlock}"> 196 <div class="secondary" id="lockScreenSecondary">
197 </settings-toggle-button> 197 [[getPasswordState_(hasPin,
198 prefs.settings.enable_screen_lock.value)]]
199 </div>
198 </div> 200 </div>
199 </template> 201 <button id="lockScreenSubpageTrigger" class="subpage-arrow"
200 202 is="paper-icon-button-light" aria-label="$i18n{lockScreenTitle}"
201 <template is="dom-if" if="[[quickUnlockEnabled_]]"> 203 aria-describedby="lockScrenSecondary"></button>
202 <div class="settings-box two-line" actionable 204 </div>
203 on-tap="onConfigureLockTap_">
204 <div class="start">
205 $i18n{lockScreenTitle}
206 <div class="secondary" id="lockScreenSecondary">
207 [[getPasswordState_(hasPin,
208 prefs.settings.enable_screen_lock.value)]]
209 </div>
210 </div>
211 <button id="lockScreenSubpageTrigger" class="subpage-arrow"
212 is="paper-icon-button-light" aria-label="$i18n{lockScreenTitle}"
213 aria-describedby="lockScrenSecondary"></button>
214 </div>
215 </template>
216 </if> 205 </if>
217 206
218 <div id="manage-other-people-subpage-trigger" 207 <div id="manage-other-people-subpage-trigger"
219 class="settings-box" on-tap="onManageOtherPeople_" actionable> 208 class="settings-box" on-tap="onManageOtherPeople_" actionable>
220 <div class="start">$i18n{manageOtherPeople}</div> 209 <div class="start">$i18n{manageOtherPeople}</div>
221 <button class="subpage-arrow" is="paper-icon-button-light" 210 <button class="subpage-arrow" is="paper-icon-button-light"
222 aria-label="$i18n{manageOtherPeople}"></button> 211 aria-label="$i18n{manageOtherPeople}"></button>
223 </div> 212 </div>
224 213
225 <if expr="not chromeos"> 214 <if expr="not chromeos">
(...skipping 19 matching lines...) Expand all
245 <template is="dom-if" route-path="/syncSetup" 234 <template is="dom-if" route-path="/syncSetup"
246 no-search$="[[!isAdvancedSyncSettingsVisible_(syncStatus)]]"> 235 no-search$="[[!isAdvancedSyncSettingsVisible_(syncStatus)]]">
247 <settings-subpage 236 <settings-subpage
248 associated-control="[[$$('#sync-status')]]" 237 associated-control="[[$$('#sync-status')]]"
249 page-title="$i18n{syncPageTitle}" 238 page-title="$i18n{syncPageTitle}"
250 no-search$="[[!isAdvancedSyncSettingsVisible_(syncStatus)]]"> 239 no-search$="[[!isAdvancedSyncSettingsVisible_(syncStatus)]]">
251 <settings-sync-page></settings-sync-page> 240 <settings-sync-page></settings-sync-page>
252 </settings-subpage> 241 </settings-subpage>
253 </template> 242 </template>
254 <if expr="chromeos"> 243 <if expr="chromeos">
255 <template is="dom-if" if="[[quickUnlockEnabled_]]"> 244 <template is="dom-if" route-path="/lockScreen" no-search>
256 <template is="dom-if" route-path="/lockScreen" no-search> 245 <settings-subpage page-title="$i18n{lockScreenTitle}">
257 <settings-subpage page-title="$i18n{lockScreenTitle}"> 246 <settings-lock-screen
258 <settings-lock-screen 247 prefs="{{prefs}}">
259 prefs="{{prefs}}"> 248 </settings-lock-screen>
260 </settings-lock-screen> 249 </settings-subpage>
261 </settings-subpage> 250 </template>
262 </template> 251 <template is="dom-if" if="[[fingerprintUnlockEnabled_]]">
263 <template is="dom-if" route-path="/lockScreen/fingerprint" no-search> 252 <template is="dom-if" route-path="/lockScreen/fingerprint" no-search>
264 <settings-subpage page-title="$i18n{lockScreenFingerprintTitle}"> 253 <settings-subpage page-title="$i18n{lockScreenFingerprintTitle}">
265 <settings-fingerprint-list></settings-fingerprint-list> 254 <settings-fingerprint-list></settings-fingerprint-list>
266 </settings-subpage> 255 </settings-subpage>
267 </template> 256 </template>
268 </template> 257 </template>
269 <template is="dom-if" route-path="/accounts"> 258 <template is="dom-if" route-path="/accounts">
270 <settings-subpage 259 <settings-subpage
271 associated-control="[[$$('#manage-other-people-subpage-trigger')]]" 260 associated-control="[[$$('#manage-other-people-subpage-trigger')]]"
272 page-title="$i18n{usersPageTitle}"> 261 page-title="$i18n{usersPageTitle}">
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 332
344 <template is="dom-if" if="[[showImportDataDialog_]]" restamp> 333 <template is="dom-if" if="[[showImportDataDialog_]]" restamp>
345 <settings-import-data-dialog prefs="{{prefs}}" 334 <settings-import-data-dialog prefs="{{prefs}}"
346 on-close="onImportDataDialogClosed_"> 335 on-close="onImportDataDialogClosed_">
347 </settings-import-data-dialog> 336 </settings-import-data-dialog>
348 </template> 337 </template>
349 338
350 </template> 339 </template>
351 <script src="people_page.js"></script> 340 <script src="people_page.js"></script>
352 </dom-module> 341 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698