summaryrefslogtreecommitdiffstats
path: root/chromium/chrome/browser/resources/settings/about_page/detailed_build_info.js
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/chrome/browser/resources/settings/about_page/detailed_build_info.js')
-rw-r--r--chromium/chrome/browser/resources/settings/about_page/detailed_build_info.js31
1 files changed, 14 insertions, 17 deletions
diff --git a/chromium/chrome/browser/resources/settings/about_page/detailed_build_info.js b/chromium/chrome/browser/resources/settings/about_page/detailed_build_info.js
index 18ad3b217ed..ba47cf969b4 100644
--- a/chromium/chrome/browser/resources/settings/about_page/detailed_build_info.js
+++ b/chromium/chrome/browser/resources/settings/about_page/detailed_build_info.js
@@ -13,9 +13,6 @@ Polymer({
behaviors: [I18nBehavior],
properties: {
- /** @private {!VersionInfo} */
- versionInfo_: Object,
-
/** @private */
currentlyOnChannelText_: String,
@@ -24,17 +21,17 @@ Polymer({
/** @private */
canChangeChannel_: Boolean,
+
+ eolMessageWithMonthAndYear: {
+ type: String,
+ value: '',
+ },
},
/** @override */
ready: function() {
const browserProxy = settings.AboutPageBrowserProxyImpl.getInstance();
browserProxy.pageReady();
-
- browserProxy.getVersionInfo().then(versionInfo => {
- this.versionInfo_ = versionInfo;
- });
-
this.updateChannelInfo_();
},
@@ -51,15 +48,6 @@ Polymer({
},
/**
- * @param {string} version
- * @return {boolean}
- * @private
- */
- shouldShowVersion_: function(version) {
- return version.length > 0;
- },
-
- /**
* @param {boolean} canChangeChannel
* @return {string}
* @private
@@ -93,6 +81,15 @@ Polymer({
this.showChannelSwitcherDialog_ = true;
},
+ /**
+ * @param {!Event} e
+ * @private
+ */
+ onBuildDetailsTap_: function(e) {
+ e.preventDefault();
+ window.open('chrome://version');
+ },
+
/** @private */
onChannelSwitcherDialogClosed_: function() {
this.showChannelSwitcherDialog_ = false;