Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(263)

Side by Side Diff: chrome/browser/resources/settings/about_page/about_page.js

Issue 2849663002: [MD settings] replace secondary-action with separator (Closed)
Patch Set: merge with master Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698