blob: 0d0a8da2d938d8a88a46bd2d86df4b8643a4e837 [file] [log] [blame]
<link rel="import" href="chrome://resources/html/polymer.html">
<link rel="import" href="chrome://resources/html/cr.html">
<link rel="import" href="chrome://resources/cr_components/chromeos/multidevice_setup/multidevice_setup_shared_css.html">
<link rel="import" href="chrome://resources/cr_components/chromeos/multidevice_setup/multidevice_setup.html">
<link rel="import" href="chrome://resources/cr_elements/cr_button/cr_button.html">
<link rel="import" href="chrome://resources/html/i18n_behavior.html">
<link rel="import" href="post_oobe_delegate.html">
<dom-module id="multidevice-setup-post-oobe">
<template>
<style include="multidevice-setup-shared">
#backward-button,
#cancel-button,
#forward-button {
align-items: center;
display: flex;
justify-content: center;
text-transform: none;
}
</style>
<multidevice-setup delegate="[[delegate_]]"
on-setup-exited="onExitRequested_"
on-forward-button-focus-requested="onForwardButtonFocusRequested_"
on-visible-page-name-changed="onVisiblePageNameChanged_"
forward-button-text-id="{{forwardButtonTextId_}}"
forward-button-disabled="{{forwardButtonDisabled_}}"
cancel-button-text-id="{{cancelButtonTextId_}}"
backward-button-text-id="{{backwardButtonTextId_}}">
<cr-button id="backward-button"
slot="backward-button" class="cancel-button">
[[i18n(backwardButtonTextId_)]]
</cr-button>
<cr-button id="cancel-button"
slot="cancel-button" class="cancel-button">
[[i18n(cancelButtonTextId_)]]
</cr-button>
<cr-button id="forward-button"
slot="forward-button" class="action-button"
disabled$="[[forwardButtonDisabled_]]">
[[i18n(forwardButtonTextId_)]]
</cr-button>
</multidevice-setup>
</template>
<script src="multidevice_setup_post_oobe.js">
</script>
</dom-module>