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

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

Issue 2180823004: Migrate <cr-dialog> from PaperDialogBehavior to native <dialog>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/icons.html"> 1 <link rel="import" href="chrome://resources/cr_elements/icons.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/cr_elements/cr_dialog/cr_dialog.html "> 7 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html ">
8 <link rel="import" href="/controls/settings_checkbox.html"> 8 <link rel="import" href="/controls/settings_checkbox.html">
9 <link rel="import" href="/people_page/sync_page.html"> 9 <link rel="import" href="/people_page/sync_page.html">
10 <link rel="import" href="/people_page/profile_info_browser_proxy.html"> 10 <link rel="import" href="/people_page/profile_info_browser_proxy.html">
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 <template is="dom-if" name="manageProfile"> 277 <template is="dom-if" name="manageProfile">
278 <settings-subpage page-title="$i18n{editPerson}"> 278 <settings-subpage page-title="$i18n{editPerson}">
279 <settings-manage-profile profile-icon-url="[[profileIconUrl_]]" 279 <settings-manage-profile profile-icon-url="[[profileIconUrl_]]"
280 profile-name="[[profileName_]]"> 280 profile-name="[[profileName_]]">
281 </settings-manage-profile> 281 </settings-manage-profile>
282 </settings-subpage> 282 </settings-subpage>
283 </template> 283 </template>
284 </if> 284 </if>
285 </settings-animated-pages> 285 </settings-animated-pages>
286 286
287 <cr-dialog id="disconnectDialog"> 287 <dialog is="cr-dialog" id="disconnectDialog">
288 <div class="title">$i18n{syncDisconnectTitle}</div> 288 <div class="title">$i18n{syncDisconnectTitle}</div>
289 <div class="body"> 289 <div class="body">
290 <div inner-h-t-m-l="[[getDisconnectExplanationHtml_(syncStatus.domain)]] "> 290 <div inner-h-t-m-l="[[getDisconnectExplanationHtml_(syncStatus.domain)]] ">
291 </div> 291 </div>
292 <if expr="(not chromeos and is_posix) or is_win or is_macosx"> 292 <if expr="(not chromeos and is_posix) or is_win or is_macosx">
293 <paper-checkbox id="deleteProfile" hidden=[[syncStatus.domain]]> 293 <paper-checkbox id="deleteProfile" hidden=[[syncStatus.domain]]>
294 $i18n{syncDisconnectDeleteProfile} 294 $i18n{syncDisconnectDeleteProfile}
295 </paper-checkbox> 295 </paper-checkbox>
296 </if> 296 </if>
297 </div> 297 </div>
298 <div class="button-container"> 298 <div class="button-container">
299 <paper-button on-tap="onDisconnectCancel_" class="cancel-button"> 299 <paper-button on-tap="onDisconnectCancel_" class="cancel-button">
300 $i18n{cancel} 300 $i18n{cancel}
301 </paper-button> 301 </paper-button>
302 <paper-button id="disconnectConfirm" class="action-button" 302 <paper-button id="disconnectConfirm" class="action-button"
303 hidden=[[syncStatus.domain]] on-tap="onDisconnectConfirm_"> 303 hidden=[[syncStatus.domain]] on-tap="onDisconnectConfirm_">
304 $i18n{syncDisconnect} 304 $i18n{syncDisconnect}
305 </paper-button> 305 </paper-button>
306 <paper-button id="disconnectManagedProfileConfirm" class="action-button" 306 <paper-button id="disconnectManagedProfileConfirm" class="action-button"
307 hidden=[[!syncStatus.domain]] on-tap="onDisconnectConfirm_"> 307 hidden=[[!syncStatus.domain]] on-tap="onDisconnectConfirm_">
308 $i18n{syncDisconnectConfirm} 308 $i18n{syncDisconnectConfirm}
309 </paper-button> 309 </paper-button>
310 </div> 310 </div>
311 </cr-dialog> 311 </dialog>
312 312
313 <if expr="chromeos"> 313 <if expr="chromeos">
314 <template is="dom-if" if="[[easyUnlockEnabled_]]"> 314 <template is="dom-if" if="[[easyUnlockEnabled_]]">
315 <easy-unlock-turn-off-dialog id="easyUnlockTurnOffDialog"> 315 <easy-unlock-turn-off-dialog id="easyUnlockTurnOffDialog">
316 </easy-unlock-turn-off-dialog> 316 </easy-unlock-turn-off-dialog>
317 </template> 317 </template>
318 </if> 318 </if>
319 </template> 319 </template>
320 <script src="people_page.js"></script> 320 <script src="people_page.js"></script>
321 </dom-module> 321 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698