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

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: @private 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
« no previous file with comments | « chrome/app/settings_strings.grdp ('k') | chrome/browser/resources/settings/about_page/about_page.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..bd1c689f544a8a34454add3ddf6d2f7f79d437be 100644
--- a/chrome/browser/resources/settings/about_page/about_page.html
+++ b/chrome/browser/resources/settings/about_page/about_page.html
@@ -7,6 +7,7 @@
<link rel="import" href="chrome://md-settings/settings_page/settings_section.html">
<link rel="import" href="chrome://md-settings/settings_shared_css.html">
<link rel="import" href="chrome://resources/cr_elements/icons.html">
+<link rel="import" href="chrome://resources/html/assert.html">
<link rel="import" href="chrome://resources/html/i18n_behavior.html">
<link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.html">
@@ -68,8 +69,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_">
« no previous file with comments | « chrome/app/settings_strings.grdp ('k') | chrome/browser/resources/settings/about_page/about_page.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698