Commit 4494dd29 authored by Yue Li's avatar Yue Li Committed by Commit Bot

Assistant OptIn: Migrate templates from <content> to <slot>

Bug: b/78190629
Cq-Include-Trybots: luci.chromium.try:closure_compilation
Change-Id: I553fb8a9363775f3dfe110bef559f12c2e93db34
Reviewed-on: https://chromium-review.googlesource.com/1103614
Commit-Queue: Yue Li <updowndota@chromium.org>
Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#568150}
parent f049f6e1
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<link rel="stylesheet" href="assistant_get_more.css"> <link rel="stylesheet" href="assistant_get_more.css">
<oobe-dialog id="get-more-dialog" role="dialog" has-buttons hide-shadow <oobe-dialog id="get-more-dialog" role="dialog" has-buttons hide-shadow
no-footer-padding no-header android> no-footer-padding no-header android>
<div class = "footer"> <div slot="footer">
<div id="main-container"> <div id="main-container">
<iron-icon src="assistant_logo.png"> <iron-icon src="assistant_logo.png">
</iron-icon> </iron-icon>
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<div id="insertion-point"></div> <div id="insertion-point"></div>
</div> </div>
</div> </div>
<div class="bottom-buttons flex layout horizontal"> <div slot="bottom-buttons" class="flex layout horizontal">
<div class="flex"></div> <div class="flex"></div>
<oobe-text-button id="next-button" inverse android on-tap="onNextTap_" <oobe-text-button id="next-button" inverse android on-tap="onNextTap_"
disabled="[[buttonsDisabled]]" hidden="[[moreContents]]"> disabled="[[buttonsDisabled]]" hidden="[[moreContents]]">
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<link rel="stylesheet" href="assistant_loading.css"> <link rel="stylesheet" href="assistant_loading.css">
<oobe-dialog id="loading-dialog" role="dialog" has-buttons hide-shadow <oobe-dialog id="loading-dialog" role="dialog" has-buttons hide-shadow
no-footer-padding no-header android> no-footer-padding no-header android>
<div class = "footer"> <div slot="footer">
<div id="error-container"> <div id="error-container">
<div class="title" <div class="title"
i18n-content="assistantOptinLoadErrorTitle"></div> i18n-content="assistantOptinLoadErrorTitle"></div>
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
<paper-progress class="slow" indeterminate></paper-progress> <paper-progress class="slow" indeterminate></paper-progress>
</div> </div>
</div> </div>
<div class="bottom-buttons flex layout horizontal"> <div slot="bottom-buttons" class="flex layout horizontal">
<div class="flex"></div> <div class="flex"></div>
<oobe-text-button id="retry-button" inverse android <oobe-text-button id="retry-button" inverse android
on-tap="onRetryTap_" disabled="[[buttonsDisabled]]"> on-tap="onRetryTap_" disabled="[[buttonsDisabled]]">
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<link rel="stylesheet" href="assistant_third_party.css"> <link rel="stylesheet" href="assistant_third_party.css">
<oobe-dialog id="third-party-dialog" role="dialog" has-buttons hide-shadow <oobe-dialog id="third-party-dialog" role="dialog" has-buttons hide-shadow
no-footer-padding no-header android> no-footer-padding no-header android>
<div class = "footer"> <div slot="footer">
<div id="main-container"> <div id="main-container">
<iron-icon src="assistant_logo.png"> <iron-icon src="assistant_logo.png">
</iron-icon> </iron-icon>
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="bottom-buttons flex layout horizontal"> <div slot="bottom-buttons" class="flex layout horizontal">
<div class="flex"></div> <div class="flex"></div>
<oobe-text-button id="next-button" inverse android on-tap="onNextTap_" <oobe-text-button id="next-button" inverse android on-tap="onNextTap_"
disabled="[[buttonsDisabled]]" hidden="[[moreContents]]"> disabled="[[buttonsDisabled]]" hidden="[[moreContents]]">
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<link rel="stylesheet" href="assistant_value_prop.css"> <link rel="stylesheet" href="assistant_value_prop.css">
<oobe-dialog id="value-prop-dialog" class="value-prop-loading" <oobe-dialog id="value-prop-dialog" class="value-prop-loading"
role="dialog" has-buttons no-footer-padding no-header android> role="dialog" has-buttons no-footer-padding no-header android>
<div class = "footer"> <div slot="footer">
<div id="view-container"> <div id="view-container">
<webview id="value-prop-view"></webview> <webview id="value-prop-view"></webview>
<div class="line"></div> <div class="line"></div>
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="bottom-buttons flex layout horizontal"> <div slot="bottom-buttons" class="flex layout horizontal">
<oobe-text-button id="skip-button" android on-tap="onSkipTap_" <oobe-text-button id="skip-button" android on-tap="onSkipTap_"
disabled="[[buttonsDisabled]]"> disabled="[[buttonsDisabled]]">
<div id="skip-button-text"></div> <div id="skip-button-text"></div>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment