| 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/html/web_ui_listener_behavior.html"> | 5 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> |
| 6 <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-icon-button/paper
-icon-button-light.html"> |
| 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-group/paper
-radio-group.html"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-group/paper
-radio-group.html"> |
| 8 <link rel="import" href="../controls/settings_toggle_button.html"> | 8 <link rel="import" href="../controls/settings_toggle_button.html"> |
| 9 <link rel="import" href="easy_unlock_browser_proxy.html"> | 9 <link rel="import" href="easy_unlock_browser_proxy.html"> |
| 10 <link rel="import" href="easy_unlock_turn_off_dialog.html"> | 10 <link rel="import" href="easy_unlock_turn_off_dialog.html"> |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 padding: 11px 0; | 29 padding: 11px 0; |
| 30 } | 30 } |
| 31 | 31 |
| 32 .radio-indent { | 32 .radio-indent { |
| 33 -webkit-margin-start: 36px; | 33 -webkit-margin-start: 36px; |
| 34 } | 34 } |
| 35 </style> | 35 </style> |
| 36 | 36 |
| 37 <div> | 37 <div> |
| 38 <div class="list-frame"> | 38 <div class="list-frame"> |
| 39 <paper-radio-group selected="{{selectedUnlockType}}"> | 39 <paper-radio-group id="unlockType" selected="{{selectedUnlockType}}"> |
| 40 <paper-radio-button name="password"> | 40 <paper-radio-button name="password"> |
| 41 $i18n{lockScreenPasswordOnly} | 41 $i18n{lockScreenPasswordOnly} |
| 42 </paper-radio-button> | 42 </paper-radio-button> |
| 43 <paper-radio-button name="pin+password"> | 43 <paper-radio-button name="pin+password"> |
| 44 $i18n{lockScreenPinOrPassword} | 44 $i18n{lockScreenPinOrPassword} |
| 45 </paper-radio-button> | 45 </paper-radio-button> |
| 46 </paper-radio-group> | 46 </paper-radio-group> |
| 47 <div class="list-item radio-indent" | 47 <div class="list-item radio-indent" |
| 48 hidden$="[[!showConfigurePinButton_(selectedUnlockType)]]"> | 48 hidden$="[[!showConfigurePinButton_(selectedUnlockType)]]"> |
| 49 <a is="action-link" class="list-button" on-tap="onConfigurePin_"> | 49 <a id="setupPinLink" is="action-link" class="list-button" |
| 50 on-tap="onConfigurePin_"> |
| 50 [[getSetupPinText_(hasPin)]] | 51 [[getSetupPinText_(hasPin)]] |
| 51 </a> | 52 </a> |
| 52 </div> | 53 </div> |
| 53 </div> | 54 </div> |
| 54 | 55 |
| 55 <div id="screenLockDiv" class="settings-box"> | 56 <div id="screenLockDiv" class="settings-box"> |
| 56 <settings-toggle-button class="start" | 57 <settings-toggle-button class="start" |
| 57 pref="{{prefs.settings.enable_screen_lock}}" | 58 pref="{{prefs.settings.enable_screen_lock}}" |
| 58 label="$i18n{enableScreenlock}"> | 59 label="$i18n{enableScreenlock}"> |
| 59 </settings-toggle-button> | 60 </settings-toggle-button> |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 </template> | 121 </template> |
| 121 </div> | 122 </div> |
| 122 </div> | 123 </div> |
| 123 </template> | 124 </template> |
| 124 | 125 |
| 125 <settings-password-prompt-dialog id="passwordPrompt" | 126 <settings-password-prompt-dialog id="passwordPrompt" |
| 126 on-close="onPasswordClosed_" set-modes="{{setModes_}}"> | 127 on-close="onPasswordClosed_" set-modes="{{setModes_}}"> |
| 127 </settings-password-prompt-dialog> | 128 </settings-password-prompt-dialog> |
| 128 | 129 |
| 129 <settings-setup-pin-dialog id="setupPin" on-done="onPinSetupDone_" | 130 <settings-setup-pin-dialog id="setupPin" on-done="onPinSetupDone_" |
| 130 set-modes="[[setModes_]]"> | 131 on-close="onSetupPinClosed_" set-modes="[[setModes_]]"> |
| 131 </settings-setup-pin-dialog> | 132 </settings-setup-pin-dialog> |
| 132 | 133 |
| 133 <template is="dom-if" if="[[showEasyUnlockTurnOffDialog_]]"> | 134 <template is="dom-if" if="[[showEasyUnlockTurnOffDialog_]]"> |
| 134 <easy-unlock-turn-off-dialog id="easyUnlockTurnOffDialog" | 135 <easy-unlock-turn-off-dialog id="easyUnlockTurnOffDialog" |
| 135 on-close="onEasyUnlockTurnOffDialogClose_"> | 136 on-close="onEasyUnlockTurnOffDialogClose_"> |
| 136 </easy-unlock-turn-off-dialog> | 137 </easy-unlock-turn-off-dialog> |
| 137 </template> | 138 </template> |
| 138 </div> | 139 </div> |
| 139 </template> | 140 </template> |
| 140 | 141 |
| 141 <script src="lock_screen.js"></script> | 142 <script src="lock_screen.js"></script> |
| 142 </dom-module> | 143 </dom-module> |
| OLD | NEW |