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

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

Issue 2893053002: md-settings: wrap lock screen dialogs in dom-if. (Closed)
Patch Set: Fixed patch set 1 errors. Created 3 years, 6 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/polymer.html"> 1 <link rel="import" href="chrome://resources/html/polymer.html">
2 2
3 <link rel="import" href="chrome://resources/html/assert.html"> 3 <link rel="import" href="chrome://resources/html/assert.html">
4 <link rel="import" href="chrome://resources/html/cr/ui/focus_without_ink.html"> 4 <link rel="import" href="chrome://resources/html/cr/ui/focus_without_ink.html">
5 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> 5 <link rel="import" href="chrome://resources/html/i18n_behavior.html">
6 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> 6 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html">
7 <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-icon-button/paper -icon-button-light.html">
8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-group/paper -radio-group.html"> 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-group/paper -radio-group.html">
9 <link rel="import" href="../controls/settings_toggle_button.html"> 9 <link rel="import" href="../controls/settings_toggle_button.html">
10 <link rel="import" href="easy_unlock_browser_proxy.html"> 10 <link rel="import" href="easy_unlock_browser_proxy.html">
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 </template> 153 </template>
154 <template is="dom-if" if="[[easyUnlockEnabled_]]"> 154 <template is="dom-if" if="[[easyUnlockEnabled_]]">
155 <paper-button id="easyUnlockTurnOff" class="secondary-button" 155 <paper-button id="easyUnlockTurnOff" class="secondary-button"
156 on-tap="onEasyUnlockTurnOffTap_"> 156 on-tap="onEasyUnlockTurnOffTap_">
157 $i18n{easyUnlockTurnOffButton} 157 $i18n{easyUnlockTurnOffButton}
158 </paper-button> 158 </paper-button>
159 </template> 159 </template>
160 </div> 160 </div>
161 </template> 161 </template>
162 162
163 <settings-password-prompt-dialog id="passwordPrompt" 163 <template is="dom-if" if="[[showPasswordPromptDialog_]]" restamp>
164 on-close="onPasswordClosed_" set-modes="{{setModes_}}"> 164 <settings-password-prompt-dialog id="passwordPrompt"
165 </settings-password-prompt-dialog> 165 on-close="onPasswordPromptDialogClose_" set-modes="{{setModes_}}">
166 </settings-password-prompt-dialog>
167 </template>
166 168
167 <settings-setup-pin-dialog id="setupPin" on-done="onPinSetupDone_" 169 <template is="dom-if" if="[[showSetupPinDialog_]]" restamp>
168 on-close="onSetupPinClosed_" set-modes="[[setModes_]]"> 170 <settings-setup-pin-dialog id="setupPin" set-modes="[[setModes_]]"
169 </settings-setup-pin-dialog> 171 on-close="onSetupPinDialogClose_">
172 </settings-setup-pin-dialog>
173 </template>
170 174
171 <template is="dom-if" if="[[showEasyUnlockTurnOffDialog_]]" restamp> 175 <template is="dom-if" if="[[showEasyUnlockTurnOffDialog_]]" restamp>
172 <easy-unlock-turn-off-dialog id="easyUnlockTurnOffDialog" 176 <easy-unlock-turn-off-dialog id="easyUnlockTurnOffDialog"
173 on-close="onEasyUnlockTurnOffDialogClose_"> 177 on-close="onEasyUnlockTurnOffDialogClose_">
174 </easy-unlock-turn-off-dialog> 178 </easy-unlock-turn-off-dialog>
175 </template> 179 </template>
176 </div> 180 </div>
177 </template> 181 </template>
178 182
179 <script src="lock_screen.js"></script> 183 <script src="lock_screen.js"></script>
180 </dom-module> 184 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698