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

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: Merge conflicts with Tommy's CL. Created 4 years, 4 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 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 <template is="dom-if" name="manageProfile"> 278 <template is="dom-if" name="manageProfile">
279 <settings-subpage page-title="$i18n{editPerson}"> 279 <settings-subpage page-title="$i18n{editPerson}">
280 <settings-manage-profile profile-icon-url="[[profileIconUrl_]]" 280 <settings-manage-profile profile-icon-url="[[profileIconUrl_]]"
281 profile-name="[[profileName_]]"> 281 profile-name="[[profileName_]]">
282 </settings-manage-profile> 282 </settings-manage-profile>
283 </settings-subpage> 283 </settings-subpage>
284 </template> 284 </template>
285 </if> 285 </if>
286 </settings-animated-pages> 286 </settings-animated-pages>
287 287
288 <cr-dialog id="disconnectDialog"> 288 <dialog is="cr-dialog" id="disconnectDialog">
289 <div class="title">$i18n{syncDisconnectTitle}</div> 289 <div class="title">$i18n{syncDisconnectTitle}</div>
290 <div class="body"> 290 <div class="body">
291 <div inner-h-t-m-l="[[getDisconnectExplanationHtml_(syncStatus.domain)]] "> 291 <div inner-h-t-m-l="[[getDisconnectExplanationHtml_(syncStatus.domain)]] ">
292 </div> 292 </div>
293 <if expr="(not chromeos and is_posix) or is_win or is_macosx"> 293 <if expr="(not chromeos and is_posix) or is_win or is_macosx">
294 <paper-checkbox id="deleteProfile" hidden=[[syncStatus.domain]]> 294 <paper-checkbox id="deleteProfile" hidden=[[syncStatus.domain]]>
295 $i18n{syncDisconnectDeleteProfile} 295 $i18n{syncDisconnectDeleteProfile}
296 </paper-checkbox> 296 </paper-checkbox>
297 </if> 297 </if>
298 </div> 298 </div>
299 <div class="button-container"> 299 <div class="button-container">
300 <paper-button on-tap="onDisconnectCancel_" class="cancel-button"> 300 <paper-button on-tap="onDisconnectCancel_" class="cancel-button">
301 $i18n{cancel} 301 $i18n{cancel}
302 </paper-button> 302 </paper-button>
303 <paper-button id="disconnectConfirm" class="action-button" 303 <paper-button id="disconnectConfirm" class="action-button"
304 hidden=[[syncStatus.domain]] on-tap="onDisconnectConfirm_"> 304 hidden=[[syncStatus.domain]] on-tap="onDisconnectConfirm_">
305 $i18n{syncDisconnect} 305 $i18n{syncDisconnect}
306 </paper-button> 306 </paper-button>
307 <paper-button id="disconnectManagedProfileConfirm" class="action-button" 307 <paper-button id="disconnectManagedProfileConfirm" class="action-button"
308 hidden=[[!syncStatus.domain]] on-tap="onDisconnectConfirm_"> 308 hidden=[[!syncStatus.domain]] on-tap="onDisconnectConfirm_">
309 $i18n{syncDisconnectConfirm} 309 $i18n{syncDisconnectConfirm}
310 </paper-button> 310 </paper-button>
311 </div> 311 </div>
312 </cr-dialog> 312 </dialog>
313 313
314 <if expr="chromeos"> 314 <if expr="chromeos">
315 <template is="dom-if" if="[[easyUnlockEnabled_]]"> 315 <template is="dom-if" if="[[easyUnlockEnabled_]]">
316 <easy-unlock-turn-off-dialog id="easyUnlockTurnOffDialog"> 316 <easy-unlock-turn-off-dialog id="easyUnlockTurnOffDialog">
317 </easy-unlock-turn-off-dialog> 317 </easy-unlock-turn-off-dialog>
318 </template> 318 </template>
319 </if> 319 </if>
320 </template> 320 </template>
321 <script src="people_page.js"></script> 321 <script src="people_page.js"></script>
322 </dom-module> 322 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698