Chromium Code Reviews| 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 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 272 | 272 |
| 273 /** | 273 /** |
| 274 * @return {boolean} | 274 * @return {boolean} |
| 275 * @private | 275 * @private |
| 276 */ | 276 */ |
| 277 shouldShowRegulatoryInfo_: function() { | 277 shouldShowRegulatoryInfo_: function() { |
| 278 return this.regulatoryInfo_ !== null; | 278 return this.regulatoryInfo_ !== null; |
| 279 }, | 279 }, |
| 280 </if> | 280 </if> |
| 281 | 281 |
| 282 /** @private */ | |
| 283 onProductLogoTap_: function() { | |
| 284 var logo = this.$['product-logo']; | |
| 285 logo.classList.remove('spin'); | |
| 286 // Force a style recalc that cancels the animation specified by "spin". | |
| 287 getComputedStyle(logo).getPropertyValue('animation-name'); | |
| 288 logo.classList.add('spin'); | |
|
alancutter (OOO until 2018)
2016/09/08 01:58:47
If this doesn't get run on iOS you could write thi
Dan Beam
2016/09/08 17:41:24
Okie dokie: https://codereview.chromium.org/232191
| |
| 289 }, | |
| 290 | |
| 282 <if expr="_google_chrome"> | 291 <if expr="_google_chrome"> |
| 283 /** @private */ | 292 /** @private */ |
| 284 onReportIssueTap_: function() { | 293 onReportIssueTap_: function() { |
| 285 this.aboutBrowserProxy_.openFeedbackDialog(); | 294 this.aboutBrowserProxy_.openFeedbackDialog(); |
| 286 }, | 295 }, |
| 287 </if> | 296 </if> |
| 288 }); | 297 }); |
| OLD | NEW |