Chromium Code Reviews| OLD | NEW |
|---|---|
| 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/html/action_link.html"> | 2 <link rel="import" href="chrome://resources/html/action_link.html"> |
| 3 <link rel="import" href="chrome://resources/html/action_link_css.html"> | 3 <link rel="import" href="chrome://resources/html/action_link_css.html"> |
| 4 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> | 4 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html"> |
| 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-group/paper -radio-group.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-group/paper -radio-group.html"> |
| 7 <link rel="import" href="../controls/settings_toggle_button.html"> | 7 <link rel="import" href="../controls/settings_toggle_button.html"> |
| 8 <link rel="import" href="fingerprint_browser_proxy.html"> | 8 <link rel="import" href="fingerprint_browser_proxy.html"> |
| 9 <link rel="import" href="lock_screen_constants.html"> | 9 <link rel="import" href="lock_screen_constants.html"> |
| 10 <link rel="import" href="lock_state_behavior.html"> | 10 <link rel="import" href="lock_state_behavior.html"> |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 43 </div> | 43 </div> |
| 44 | 44 |
| 45 <div class="settings-box"> | 45 <div class="settings-box"> |
| 46 <settings-toggle-button class="start" | 46 <settings-toggle-button class="start" |
| 47 pref="{{prefs.settings.enable_screen_lock}}" | 47 pref="{{prefs.settings.enable_screen_lock}}" |
| 48 label="$i18n{enableScreenlock}"> | 48 label="$i18n{enableScreenlock}"> |
| 49 </settings-toggle-button> | 49 </settings-toggle-button> |
| 50 </div> | 50 </div> |
| 51 | 51 |
| 52 <template is="dom-if" if="[[fingerprintUnlockEnabled_]]"> | 52 <template is="dom-if" if="[[fingerprintUnlockEnabled_]]"> |
| 53 <div class="settings-box"> | 53 <div class="fingerprint-div"> |
|
stevenjb
2017/02/22 22:07:45
For unique identifiers use an id, not a class, e.g
sammiequon
2017/02/23 01:54:41
Done.
| |
| 54 <settings-toggle-button class="start" | 54 <div class="settings-box"> |
| 55 pref="{{prefs.settings.enable_quick_unlock_fingerprint}}" | 55 <settings-toggle-button class="start" |
| 56 label="$i18n{lockScreenFingerprintEnable}"> | 56 pref="{{prefs.settings.enable_quick_unlock_fingerprint}}" |
| 57 </settings-toggle-button> | 57 label="$i18n{lockScreenFingerprintEnable}"> |
| 58 </settings-toggle-button> | |
| 59 </div> | |
| 60 <iron-collapse | |
| 61 opened="[[prefs.settings.enable_quick_unlock_fingerprint.value]]"> | |
| 62 <div class="settings-box continuation" on-tap="onEditFingerprints_" | |
| 63 actionable> | |
| 64 <div class="start"> | |
| 65 $i18n{lockScreenEditFingerprints} | |
| 66 <div class="secondary" id="lockScreenEditFingerprintsSecondary"> | |
| 67 [[getDescriptionText_(numFingerprints_)]] | |
| 68 </div> | |
| 69 </div> | |
| 70 <button class="subpage-arrow" is="paper-icon-button-light" | |
| 71 aria-label="$i18n{lockScreenEditFingerprints}" | |
| 72 aria-describedby="lockScreenEditFingerprintsSecondary"></butto n> | |
| 73 </div> | |
| 74 </iron-collapse> | |
| 58 </div> | 75 </div> |
| 59 <iron-collapse | |
| 60 opened="[[prefs.settings.enable_quick_unlock_fingerprint.value]]"> | |
| 61 <div class="settings-box continuation" on-tap="onEditFingerprints_" | |
| 62 actionable> | |
| 63 <div class="start"> | |
| 64 $i18n{lockScreenEditFingerprints} | |
| 65 <div class="secondary" id="lockScreenEditFingerprintsSecondary"> | |
| 66 [[getDescriptionText_(numFingerprints_)]] | |
| 67 </div> | |
| 68 </div> | |
| 69 <button class="subpage-arrow" is="paper-icon-button-light" | |
| 70 aria-label="$i18n{lockScreenEditFingerprints}" | |
| 71 aria-describedby="lockScreenEditFingerprintsSecondary"></button> | |
| 72 </div> | |
| 73 </iron-collapse> | |
| 74 </template> | 76 </template> |
| 75 | 77 |
| 76 <settings-password-prompt-dialog id="passwordPrompt" | 78 <settings-password-prompt-dialog id="passwordPrompt" |
| 77 on-close="onPasswordClosed_" set-modes="{{setModes_}}"> | 79 on-close="onPasswordClosed_" set-modes="{{setModes_}}"> |
| 78 </settings-password-prompt-dialog> | 80 </settings-password-prompt-dialog> |
| 79 <settings-setup-pin-dialog id="setupPin" on-done="onPinSetupDone_" | 81 <settings-setup-pin-dialog id="setupPin" on-done="onPinSetupDone_" |
| 80 set-modes="[[setModes_]]"> | 82 set-modes="[[setModes_]]"> |
| 81 </settings-setup-pin-dialog> | 83 </settings-setup-pin-dialog> |
| 82 </div> | 84 </div> |
| 83 </template> | 85 </template> |
| 84 | 86 |
| 85 <script src="lock_screen.js"></script> | 87 <script src="lock_screen.js"></script> |
| 86 </dom-module> | 88 </dom-module> |
| OLD | NEW |