From 248b70b82a40964d5594eb04feca0fa36716185d Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Thu, 13 Feb 2020 10:55:42 +0100 Subject: BASELINE: Update Chromium to 79.0.3945.147 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit And new simplified snapshot filter Change-Id: I7c692bedd5b3833f05565bd6f6939115350b233a Reviewed-by: Michael BrĂ¼ning --- .../settings/about_page/detailed_build_info.js | 99 ---------------------- 1 file changed, 99 deletions(-) delete mode 100644 chromium/chrome/browser/resources/settings/about_page/detailed_build_info.js (limited to 'chromium/chrome/browser/resources/settings/about_page/detailed_build_info.js') 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 deleted file mode 100644 index ba47cf969b4..00000000000 --- a/chromium/chrome/browser/resources/settings/about_page/detailed_build_info.js +++ /dev/null @@ -1,99 +0,0 @@ -// Copyright 2016 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -/** - * @fileoverview 'settings-detailed-build-info' contains detailed build - * information for ChromeOS. - */ - -Polymer({ - is: 'settings-detailed-build-info', - - behaviors: [I18nBehavior], - - properties: { - /** @private */ - currentlyOnChannelText_: String, - - /** @private */ - showChannelSwitcherDialog_: Boolean, - - /** @private */ - canChangeChannel_: Boolean, - - eolMessageWithMonthAndYear: { - type: String, - value: '', - }, - }, - - /** @override */ - ready: function() { - const browserProxy = settings.AboutPageBrowserProxyImpl.getInstance(); - browserProxy.pageReady(); - this.updateChannelInfo_(); - }, - - /** @private */ - updateChannelInfo_: function() { - const browserProxy = settings.AboutPageBrowserProxyImpl.getInstance(); - browserProxy.getChannelInfo().then(info => { - // Display the target channel for the 'Currently on' message. - this.currentlyOnChannelText_ = this.i18n( - 'aboutCurrentlyOnChannel', - this.i18n(settings.browserChannelToI18nId(info.targetChannel))); - this.canChangeChannel_ = info.canChangeChannel; - }); - }, - - /** - * @param {boolean} canChangeChannel - * @return {string} - * @private - */ - getChangeChannelIndicatorSourceName_: function(canChangeChannel) { - return loadTimeData.getBoolean('aboutEnterpriseManaged') ? - '' : - loadTimeData.getString('ownerEmail'); - }, - - /** - * @param {boolean} canChangeChannel - * @return {CrPolicyIndicatorType} - * @private - */ - getChangeChannelIndicatorType_: function(canChangeChannel) { - if (canChangeChannel) { - return CrPolicyIndicatorType.NONE; - } - return loadTimeData.getBoolean('aboutEnterpriseManaged') ? - CrPolicyIndicatorType.DEVICE_POLICY : - CrPolicyIndicatorType.OWNER; - }, - - /** - * @param {!Event} e - * @private - */ - onChangeChannelTap_: function(e) { - e.preventDefault(); - this.showChannelSwitcherDialog_ = true; - }, - - /** - * @param {!Event} e - * @private - */ - onBuildDetailsTap_: function(e) { - e.preventDefault(); - window.open('chrome://version'); - }, - - /** @private */ - onChannelSwitcherDialogClosed_: function() { - this.showChannelSwitcherDialog_ = false; - cr.ui.focusWithoutInk(assert(this.$$('cr-button'))); - this.updateChannelInfo_(); - }, -}); -- cgit v1.2.3