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

Unified Diff: chrome/browser/resources/settings/about_page/about_page.html

Issue 1997453006: MD Settings: About page, updating buttons based on current update status. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@about_page_main3
Patch Set: Nits. Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/about_page/about_page.html
diff --git a/chrome/browser/resources/settings/about_page/about_page.html b/chrome/browser/resources/settings/about_page/about_page.html
index a3095ba3ff49e4fea391c6d26eacee625417278d..0c91a937555f8ec93dce3c05fe11264e5f2618fa 100644
--- a/chrome/browser/resources/settings/about_page/about_page.html
+++ b/chrome/browser/resources/settings/about_page/about_page.html
@@ -68,8 +68,22 @@
</div>
<div class="secondary">$i18n{aboutBrowserVersion}</div>
</div>
+ <paper-button id="relaunch" class="secondary-action"
+ hidden="[[!shouldShowRelaunch_(currentUpdateStatusEvent_)]]"
+ on-tap="onRelaunchTap_">
+ $i18n{aboutRelaunch}
+ </paper-button>
<if expr="chromeos">
- <paper-button class="secondary-action">Check for update</paper-button>
+ <paper-button id="relaunchAndPowerwash" class="secondary-action"
+ hidden="[[!shouldShowRelaunchAndPowerwash_(currentUpdateStatusEvent_)]]"
+ on-tap="onRelaunchAndPowerwashTap_">
+ $i18n{aboutRelaunchAndPowerwash}
+ </paper-button>
+ <paper-button id="checkForUpdates" class="secondary-action"
+ hidden="[[!shouldShowCheckUpdates_(currentUpdateStatusEvent_)]]"
+ on-tap="onCheckUpdatesTap_">
+ $i18n{aboutCheckForUpdates}
+ </paper-button>
</if>
</div>
<div id="help" class="settings-box two-line" on-tap="onHelpTap_">

Powered by Google App Engine
This is Rietveld 408576698