| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 /** | 5 /** |
| 6 * @fileoverview 'settings-about-page' contains version and OS related | 6 * @fileoverview 'settings-about-page' contains version and OS related |
| 7 * information. | 7 * information. |
| 8 */ | 8 */ |
| 9 Polymer({ | 9 Polymer({ |
| 10 is: 'settings-about-page', | 10 is: 'settings-about-page', |
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 return; | 219 return; |
| 220 } | 220 } |
| 221 // </if> | 221 // </if> |
| 222 this.showUpdateStatus_ = | 222 this.showUpdateStatus_ = |
| 223 this.currentUpdateStatusEvent_.status != UpdateStatus.DISABLED && | 223 this.currentUpdateStatusEvent_.status != UpdateStatus.DISABLED && |
| 224 !this.obsoleteSystemInfo_.endOfLine; | 224 !this.obsoleteSystemInfo_.endOfLine; |
| 225 }, | 225 }, |
| 226 | 226 |
| 227 /** | 227 /** |
| 228 * Hide the button container if all buttons are hidden, otherwise the | 228 * Hide the button container if all buttons are hidden, otherwise the |
| 229 * container displayes an unwanted border (see secondary-action class). | 229 * container displays an unwanted border (see separator class). |
| 230 * @private | 230 * @private |
| 231 */ | 231 */ |
| 232 updateShowButtonContainer_: function() { | 232 updateShowButtonContainer_: function() { |
| 233 // <if expr="not chromeos"> | 233 // <if expr="not chromeos"> |
| 234 this.showButtonContainer_ = this.showRelaunch_; | 234 this.showButtonContainer_ = this.showRelaunch_; |
| 235 // </if> | 235 // </if> |
| 236 // <if expr="chromeos"> | 236 // <if expr="chromeos"> |
| 237 this.showButtonContainer_ = this.showRelaunch_ || | 237 this.showButtonContainer_ = this.showRelaunch_ || |
| 238 this.showRelaunchAndPowerwash_ || this.showCheckUpdates_; | 238 this.showRelaunchAndPowerwash_ || this.showCheckUpdates_; |
| 239 // </if> | 239 // </if> |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 421 }); | 421 }); |
| 422 }, | 422 }, |
| 423 | 423 |
| 424 // <if expr="_google_chrome"> | 424 // <if expr="_google_chrome"> |
| 425 /** @private */ | 425 /** @private */ |
| 426 onReportIssueTap_: function() { | 426 onReportIssueTap_: function() { |
| 427 this.aboutBrowserProxy_.openFeedbackDialog(); | 427 this.aboutBrowserProxy_.openFeedbackDialog(); |
| 428 }, | 428 }, |
| 429 // </if> | 429 // </if> |
| 430 }); | 430 }); |
| OLD | NEW |