blob: 898dfc52a1e61c12404b2abd1a0f867c626172b4 [file] [log] [blame]
<style include="settings-shared"></style>
<settings-animated-pages id="reset-pages" section="reset">
<div route-path="default">
<cr-link-row id="resetProfile" label="$i18n{resetTrigger}"
on-click="onShowResetProfileDialog_"></cr-link-row>
<!-- Keep a single instance of reset-profile-dialog on purpose, to
preserve state across show/hide operations. -->
<cr-lazy-render id="resetProfileDialog">
<template>
<settings-reset-profile-dialog
on-close="onResetProfileDialogClose_">
</settings-reset-profile-dialog>
</template>
</cr-lazy-render>
<if expr="_google_chrome and is_win">
<cr-link-row class="hr" id="chromeCleanupSubpageTrigger"
label="$i18n{resetCleanupComputerTrigger}"
on-click="onChromeCleanupTap_"
role-description="$i18n{subpageArrowRoleDescription}"></cr-link-row>
<template is="dom-if" if="[[showIncompatibleApplications_]]" restamp>
<cr-link-row class="hr" id="incompatibleApplicationsSubpageTrigger"
label="$i18n{incompatibleApplicationsResetCardTitle}"
on-click="onIncompatibleApplicationsTap_"
role-description="$i18n{subpageArrowRoleDescription}">
</cr-link-row>
</template>
</if>
</div>
<if expr="_google_chrome and is_win">
<template is="dom-if" route-path="/cleanup">
<settings-subpage id="chromeCleanupSubpage"
associated-control="[[$$('#chromeCleanupSubpageTrigger')]]"
page-title="$i18n{resetCleanupComputerTrigger}"
learn-more-url="$i18n{chromeCleanupLearnMoreUrl}">
<settings-chrome-cleanup-page prefs="{{prefs}}">
</settings-chrome-cleanup-page>
</settings-subpage>
</template>
<template is="dom-if" if="[[showIncompatibleApplications_]]">
<template is="dom-if" route-path="/incompatibleApplications">
<settings-subpage id="incompatibleApplicationsSubpage"
associated-control="[[$$('#incompatibleApplicationsSubpageTrigger')]]"
page-title="$i18n{incompatibleApplicationsResetCardTitle}">
<settings-incompatible-applications-page>
</settings-incompatible-applications-page>
</settings-subpage>
</template>
</template>
</if>
</settings-animated-pages>