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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 */ | 243 */ |
244 isTargetChannelMoreStable_: function() { | 244 isTargetChannelMoreStable_: function() { |
245 assert(this.currentChannel_.length > 0); | 245 assert(this.currentChannel_.length > 0); |
246 assert(this.targetChannel_.length > 0); | 246 assert(this.targetChannel_.length > 0); |
247 return settings.isTargetChannelMoreStable( | 247 return settings.isTargetChannelMoreStable( |
248 this.currentChannel_, this.targetChannel_); | 248 this.currentChannel_, this.targetChannel_); |
249 }, | 249 }, |
250 | 250 |
251 /** @private */ | 251 /** @private */ |
252 onDetailedBuildInfoTap_: function() { | 252 onDetailedBuildInfoTap_: function() { |
253 var animatedPages = /** @type {!SettingsAnimatedPagesElement} */ ( | 253 settings.navigateTo(settings.Route.DETAILED_BUILD_INFO); |
254 this.$.pages); | |
255 animatedPages.setSubpageChain(['detailed-build-info']); | |
256 }, | 254 }, |
257 | 255 |
258 /** @private */ | 256 /** @private */ |
259 onRelaunchAndPowerwashTap_: function() { | 257 onRelaunchAndPowerwashTap_: function() { |
260 this.lifetimeBrowserProxy_.factoryReset(); | 258 this.lifetimeBrowserProxy_.factoryReset(); |
261 }, | 259 }, |
262 | 260 |
263 /** | 261 /** |
264 * @return {boolean} | 262 * @return {boolean} |
265 * @private | 263 * @private |
(...skipping 27 matching lines...) Expand all Loading... |
293 }, | 291 }, |
294 </if> | 292 </if> |
295 | 293 |
296 <if expr="_google_chrome"> | 294 <if expr="_google_chrome"> |
297 /** @private */ | 295 /** @private */ |
298 onReportIssueTap_: function() { | 296 onReportIssueTap_: function() { |
299 this.aboutBrowserProxy_.openFeedbackDialog(); | 297 this.aboutBrowserProxy_.openFeedbackDialog(); |
300 }, | 298 }, |
301 </if> | 299 </if> |
302 }); | 300 }); |
OLD | NEW |