Commit 1bf14974 authored by lgcheng's avatar lgcheng Committed by Commit Bot

Arc OOBE optin legacy(Non md)

As request by khmel@ After we add new content to Arc opt-in flow, we
should at least make legacy code not broken or crashed as long as we
have not removed it.
Note: Do not merge to M66. Legacy code is not running in product.

Bug: b/73452374
Bug: 826927
Test: Manual
Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation
Change-Id: I1a1431c8afd11898cdd7e4b21dfe1ca6bfc09aad
Reviewed-on: https://chromium-review.googlesource.com/993708Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
Commit-Queue: Long Cheng <lgcheng@google.com>
Cr-Commit-Position: refs/heads/master@{#547853}
parent 73a2ab05
......@@ -15,21 +15,39 @@
<div id="arc-tos-view-container">
<webview id="arc-tos-view"></webview>
</div>
<label>
<a id="arc-policy-link" href="#" i18n-content="arcPolicyLink">
</a>
</label>
<label>
<p id="arc-text-metrics"></p>
</label>
<label>
<input type="checkbox" id="arc-enable-backup-restore">
<p i18n-values=".innerHTML:arcTextBackupRestore"></p>
</label>
<label>
<input type="checkbox" id="arc-enable-location-service">
<p i18n-values=".innerHTML:arcTextLocationService"></p>
</label>
<div>
<label>
<a id="arc-policy-link" href="#" i18n-content="arcPolicyLink">
</a>
</label>
</div>
<div>
<label>
<p id="arc-text-metrics"></p>
</label>
</div>
<div>
<label>
<input type="checkbox" id="arc-enable-backup-restore">
<p i18n-values=".innerHTML:arcTextBackupRestore"></p>
</label>
</div>
<div>
<label id = "arc-location-service">
<input type="checkbox" id="arc-enable-location-service">
<p i18n-values=".innerHTML:arcTextLocationService"></p>
</label>
</div>
<div>
<label id="arc-pai-service">
<p i18n-values=".innerHTML:arcTextPaiService"></p>
</label>
</div>
<div>
<label id="arc-google-service-confirmation">
<p i18n-values=".innerHTML:arcTextGoogleServiceConfirmation"></p>
</label>
</div>
</div>
<div id="arc-tos-loading">
<p i18n-content="arcTermsOfServiceLoading"></p>
......
......@@ -330,6 +330,7 @@ login.createScreen('ArcTermsOfServiceScreen', 'arc-tos', function() {
enableButtons_: function(enable) {
$('arc-tos-skip-button').disabled = !enable;
$('arc-tos-accept-button').disabled = !enable;
$('arc-tos-next-button').disabled = !enable;
$('arc-tos-retry-button').disabled = !enable;
$('arc-tos-md').arcTosButtonsDisabled = !enable;
},
......
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